Re: [PATCH v8 2/2] x86/kvm: use __bss_decrypted attribute in shared variables

2018-09-13 Thread kbuild test robot
Hi Brijesh, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.19-rc3 next-20180913] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linu

Re: [PATCH v8 2/2] x86/kvm: use __bss_decrypted attribute in shared variables

2018-09-13 Thread Thomas Gleixner
On Thu, 13 Sep 2018, Brijesh Singh wrote: > > +static void __init kvmclock_init_mem(void) > +{ > + unsigned int ncpus = num_possible_cpus() - HVC_BOOT_ARRAY_SIZE; > + unsigned int order = get_order(ncpus * sizeof(*hvclock_mem)); > + struct page *p; > + int r; > + > + p = alloc

[PATCH v8 2/2] x86/kvm: use __bss_decrypted attribute in shared variables

2018-09-13 Thread Brijesh Singh
The recent removal of the memblock dependency from kvmclock caused a SEV guest regression because the wall_clock and hv_clock_boot variables are no longer mapped decrypted when SEV is active. Use the __bss_decrypted attribute to put the static wall_clock and hv_clock_boot in the .bss..decrypted se