lkml.org 
[lkml]   [2018]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] xen/pv: Call get_cpu_address_sizes to set x86_virt/phys_bits
From
Date
On 07/21/2018 03:49 PM, M. Vefa Bicakci wrote:
> diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
> index 439a94bf89ad..87afb000142a 100644
> --- a/arch/x86/xen/enlighten_pv.c
> +++ b/arch/x86/xen/enlighten_pv.c
> @@ -1257,6 +1257,7 @@ asmlinkage __visible void __init xen_start_kernel(void)
>
> /* Work out if we support NX */
> get_cpu_cap(&boot_cpu_data);
> + get_cpu_address_sizes(&boot_cpu_data);
> x86_configure_nx();


Have you observed any problems without this call? get_cpu_cap() is only
called here to set X86_FEATURE_NX, and is then called again, together
with get_cpu_address_sizes(), from early_identify_cpu().

-boris

\
 
 \ /
  Last update: 2018-07-21 23:26    [W:0.247 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site