On 7/19/2022 3:49 PM, Guillaume Tucker wrote:
On 19/07/2022 03:28, kernel test robot wrote:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 036ad6daa8f0fd357af7f50f9da58539eaa6f68c
commit: 3bb267a36185b64949ea9c8bbfe93eb01986f6cb [8922/11208] selftests: drop khdr make target
reproduce: make O=/tmp/kselftest -C tools/testing/selftests
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Note: the linux-next/master HEAD 036ad6daa8f0fd357af7f50f9da58539eaa6f68c builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
lib/x86_64/processor.c: In function 'vm_xsave_req_perm':
lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared (first use in this function)
636 | .attr = KVM_X86_XCOMP_GUEST_SUPP,
|
This is because the kernel headers have to be installed first
now. So this command needs to be added:
Hi Guillaume,
Thanks for your guidance, we have added the command to the CI.
Best Regards,
Rong Chen
make O=/tmp/kselftest headers
before running this one:
make O=/tmp/kselftest -C tools/testing/selftests
See the email thread for more details:
https://lore.kernel.org/lkml/b39b9e0b-45f3-1818-39fe-58921182d957@xxxxxxxxxxxxxxxxxxx/
Thanks,
Guillaume