Re: [Xen-devel] [PATCH] x86: properly gate clearing of PKU feature

2019-08-29 Thread Jan Beulich
On 29.08.2019 15:21, Andrew Cooper wrote: > On 29/08/2019 14:13, Jan Beulich wrote: >> On 29.08.2019 12:46, Andrew Cooper wrote: >>> On 29/08/2019 10:27, Jan Beulich wrote: setup_clear_cpu_cap() is __init and hence may not be called post-boot. Note that opt_pku nevertheless is not

Re: [Xen-devel] [PATCH] x86: properly gate clearing of PKU feature

2019-08-29 Thread Andrew Cooper
On 29/08/2019 14:13, Jan Beulich wrote: > On 29.08.2019 12:46, Andrew Cooper wrote: >> On 29/08/2019 10:27, Jan Beulich wrote: >>> setup_clear_cpu_cap() is __init and hence may not be called post-boot. >>> Note that opt_pku nevertheless is not getting __initdata added - see >>> e.g. commit

Re: [Xen-devel] [PATCH] x86: properly gate clearing of PKU feature

2019-08-29 Thread Jan Beulich
On 29.08.2019 12:46, Andrew Cooper wrote: > On 29/08/2019 10:27, Jan Beulich wrote: >> setup_clear_cpu_cap() is __init and hence may not be called post-boot. >> Note that opt_pku nevertheless is not getting __initdata added - see >> e.g. commit 43fa95ae6a ("mm: make opt_bootscrub non-init"). >> >>

Re: [Xen-devel] [PATCH] x86: properly gate clearing of PKU feature

2019-08-29 Thread Andrew Cooper
On 29/08/2019 10:27, Jan Beulich wrote: > setup_clear_cpu_cap() is __init and hence may not be called post-boot. > Note that opt_pku nevertheless is not getting __initdata added - see > e.g. commit 43fa95ae6a ("mm: make opt_bootscrub non-init"). > > Signed-off-by: Jan Beulich Acked-by: Andrew

[Xen-devel] [PATCH] x86: properly gate clearing of PKU feature

2019-08-29 Thread Jan Beulich
setup_clear_cpu_cap() is __init and hence may not be called post-boot. Note that opt_pku nevertheless is not getting __initdata added - see e.g. commit 43fa95ae6a ("mm: make opt_bootscrub non-init"). Signed-off-by: Jan Beulich --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@