|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 7/7] x86/hyperv: setup VP assist page
On 22.01.2020 21:23, Wei Liu wrote:
> @@ -142,15 +143,40 @@ static void setup_hypercall_pcpu_arg(void)
> this_cpu(hv_vp_index) = vp_index_msr;
> }
>
> +static void setup_vp_assist(void)
> +{
> + void *mapping;
> + uint64_t val;
> +
> + mapping = this_cpu(hv_vp_assist);
> +
> + if ( !mapping )
> + {
> + mapping = alloc_xenheap_page();
> + if ( !mapping )
> + panic("Failed to allocate vp_assist page for CPU%u\n",
> + smp_processor_id());
Quite obviously the same AP/BSP related remark here as was given for
patch 5.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |