* [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared
@ 2022-07-19 1:28 kernel test robot
2022-07-19 7:49 ` Guillaume Tucker
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-07-19 1:28 UTC (permalink / raw)
To: Guillaume Tucker; +Cc: kbuild-all, Linux Memory Management List, Shuah Khan
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@intel.com>
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,
| ^~~~~~~~~~~~~~~~~~~~~~~~
lib/x86_64/processor.c:636:25: note: each undeclared identifier is reported only once for each function it appears in
>> lib/x86_64/processor.c:652:38: error: 'ARCH_REQ_XCOMP_GUEST_PERM' undeclared (first use in this function); did you mean 'ARCH_REQ_XCOMP_PERM'?
652 | rc = syscall(SYS_arch_prctl, ARCH_REQ_XCOMP_GUEST_PERM, bit);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| ARCH_REQ_XCOMP_PERM
>> lib/x86_64/processor.c:661:38: error: 'ARCH_GET_XCOMP_GUEST_PERM' undeclared (first use in this function); did you mean 'ARCH_GET_XCOMP_PERM'?
661 | rc = syscall(SYS_arch_prctl, ARCH_GET_XCOMP_GUEST_PERM, &bitmask);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| ARCH_GET_XCOMP_PERM
lib/x86_64/processor.c: In function 'vcpu_save_xsave_state':
>> lib/x86_64/processor.c:1085:33: error: 'KVM_CAP_XSAVE2' undeclared (first use in this function); did you mean 'KVM_CAP_XSAVE'?
1085 | size = vm_check_cap(vm, KVM_CAP_XSAVE2);
| ^~~~~~~~~~~~~~
| KVM_CAP_XSAVE
lib/x86_64/processor.c:1093:40: error: 'KVM_GET_XSAVE2' undeclared (first use in this function); did you mean 'KVM_GET_XSAVE'?
1093 | return ioctl(vcpu->fd, KVM_GET_XSAVE2, state->xsave);
| ^~~~~~~~~~~~~~
| KVM_GET_XSAVE
lib/x86_64/processor.c:1094:1: warning: control reaches end of non-void function [-Wreturn-type]
1094 | }
| ^
--
fs_test.c: In function 'layout1_file_and_dir_access_rights_child':
>> fs_test.c:404:21: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
404 | #define ACCESS_LAST LANDLOCK_ACCESS_FS_REFER
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs_test.c:418:9: note: in expansion of macro 'ACCESS_LAST'
418 | ACCESS_LAST)
| ^~~~~~~~~~~
fs_test.c:429:38: note: in expansion of macro 'ACCESS_ALL'
429 | .handled_access_fs = ACCESS_ALL,
| ^~~~~~~~~~
fs_test.c:404:21: note: each undeclared identifier is reported only once for each function it appears in
404 | #define ACCESS_LAST LANDLOCK_ACCESS_FS_REFER
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs_test.c:418:9: note: in expansion of macro 'ACCESS_LAST'
418 | ACCESS_LAST)
| ^~~~~~~~~~~
fs_test.c:429:38: note: in expansion of macro 'ACCESS_ALL'
429 | .handled_access_fs = ACCESS_ALL,
| ^~~~~~~~~~
fs_test.c: In function 'layout1_unknown_access_rights_child':
>> fs_test.c:404:21: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
404 | #define ACCESS_LAST LANDLOCK_ACCESS_FS_REFER
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs_test.c:470:55: note: in expansion of macro 'ACCESS_LAST'
470 | for (access_mask = 1ULL << 63; access_mask != ACCESS_LAST;
| ^~~~~~~~~~~
fs_test.c: In function 'layout1_reparent_refer_child':
fs_test.c:1980:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
1980 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'layout1_reparent_link_child':
fs_test.c:2026:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
2026 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'layout1_reparent_rename_child':
fs_test.c:2104:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
2104 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'reparent_exdev_layers_enforce1':
fs_test.c:2245:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
2245 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'layout1_reparent_remove_child':
fs_test.c:2540:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
2540 | .access = LANDLOCK_ACCESS_FS_REFER |
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'layout1_reparent_dom_superset_child':
fs_test.c:2602:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
2602 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
fs_test.c: In function 'layout1_bind_reparent_cross_mount_child':
fs_test.c:3244:35: error: 'LANDLOCK_ACCESS_FS_REFER' undeclared (first use in this function); did you mean 'LANDLOCK_ACCESS_FS_READ_DIR'?
3244 | .access = LANDLOCK_ACCESS_FS_REFER,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| LANDLOCK_ACCESS_FS_READ_DIR
--
pm_nl_ctl.c: In function 'capture_events':
>> pm_nl_ctl.c:189:61: error: 'MPTCP_ATTR_SERVER_SIDE' undeclared (first use in this function); did you mean 'MPTCP_ATTR_REM_ID'?
189 | else if (attrs->rta_type == MPTCP_ATTR_SERVER_SIDE)
| ^~~~~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_REM_ID
pm_nl_ctl.c:189:61: note: each undeclared identifier is reported only once for each function it appears in
pm_nl_ctl.c: In function 'dsf':
>> pm_nl_ctl.c:347:46: error: 'MPTCP_PM_CMD_SUBFLOW_DESTROY' undeclared (first use in this function)
347 | off = init_genl_req(data, pm_family, MPTCP_PM_CMD_SUBFLOW_DESTROY,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> pm_nl_ctl.c:391:60: error: 'MPTCP_PM_ATTR_ADDR_REMOTE' undeclared (first use in this function); did you mean 'MPTCP_PM_ATTR_ADDR'?
391 | ((arg == 0) ? MPTCP_PM_ATTR_ADDR : MPTCP_PM_ATTR_ADDR_REMOTE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| MPTCP_PM_ATTR_ADDR
>> pm_nl_ctl.c:430:25: error: 'MPTCP_PM_ATTR_TOKEN' undeclared (first use in this function); did you mean 'MPTCP_ATTR_TOKEN'?
430 | rta->rta_type = MPTCP_PM_ATTR_TOKEN;
| ^~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_TOKEN
pm_nl_ctl.c: In function 'csf':
>> pm_nl_ctl.c:461:46: error: 'MPTCP_PM_CMD_SUBFLOW_CREATE' undeclared (first use in this function)
461 | off = init_genl_req(data, pm_family, MPTCP_PM_CMD_SUBFLOW_CREATE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pm_nl_ctl.c:505:60: error: 'MPTCP_PM_ATTR_ADDR_REMOTE' undeclared (first use in this function); did you mean 'MPTCP_PM_ATTR_ADDR'?
505 | ((arg == 0) ? MPTCP_PM_ATTR_ADDR : MPTCP_PM_ATTR_ADDR_REMOTE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| MPTCP_PM_ATTR_ADDR
pm_nl_ctl.c:556:25: error: 'MPTCP_PM_ATTR_TOKEN' undeclared (first use in this function); did you mean 'MPTCP_ATTR_TOKEN'?
556 | rta->rta_type = MPTCP_PM_ATTR_TOKEN;
| ^~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_TOKEN
pm_nl_ctl.c: In function 'remove_addr':
>> pm_nl_ctl.c:580:46: error: 'MPTCP_PM_CMD_REMOVE' undeclared (first use in this function); did you mean 'MPTCP_PM_CMD_UNSPEC'?
580 | off = init_genl_req(data, pm_family, MPTCP_PM_CMD_REMOVE,
| ^~~~~~~~~~~~~~~~~~~
| MPTCP_PM_CMD_UNSPEC
>> pm_nl_ctl.c:593:41: error: 'MPTCP_PM_ATTR_LOC_ID' undeclared (first use in this function); did you mean 'MPTCP_ATTR_LOC_ID'?
593 | rta->rta_type = MPTCP_PM_ATTR_LOC_ID;
| ^~~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_LOC_ID
pm_nl_ctl.c:603:41: error: 'MPTCP_PM_ATTR_TOKEN' undeclared (first use in this function); did you mean 'MPTCP_ATTR_TOKEN'?
603 | rta->rta_type = MPTCP_PM_ATTR_TOKEN;
| ^~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_TOKEN
pm_nl_ctl.c: In function 'announce_addr':
>> pm_nl_ctl.c:632:46: error: 'MPTCP_PM_CMD_ANNOUNCE' undeclared (first use in this function); did you mean 'MPTCP_PM_CMD_UNSPEC'?
632 | off = init_genl_req(data, pm_family, MPTCP_PM_CMD_ANNOUNCE,
| ^~~~~~~~~~~~~~~~~~~~~
| MPTCP_PM_CMD_UNSPEC
pm_nl_ctl.c:732:25: error: 'MPTCP_PM_ATTR_TOKEN' undeclared (first use in this function); did you mean 'MPTCP_ATTR_TOKEN'?
732 | rta->rta_type = MPTCP_PM_ATTR_TOKEN;
| ^~~~~~~~~~~~~~~~~~~
| MPTCP_ATTR_TOKEN
pm_nl_ctl.c: In function 'print_addr':
>> pm_nl_ctl.c:1008:37: error: 'MPTCP_PM_ADDR_FLAG_IMPLICIT' undeclared (first use in this function); did you mean 'MPTCP_PM_ADDR_FLAG_FULLMESH'?
1008 | if (flags & MPTCP_PM_ADDR_FLAG_IMPLICIT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| MPTCP_PM_ADDR_FLAG_FULLMESH
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared
2022-07-19 1:28 [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared kernel test robot
@ 2022-07-19 7:49 ` Guillaume Tucker
0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Tucker @ 2022-07-19 7:49 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, Linux Memory Management List, Shuah Khan
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@intel.com>
>
> 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:
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@linuxfoundation.org/
Thanks,
Guillaume
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared
@ 2022-07-19 7:49 ` Guillaume Tucker
0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Tucker @ 2022-07-19 7:49 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
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@intel.com>
>
> 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:
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(a)linuxfoundation.org/
Thanks,
Guillaume
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kbuild-all] Re: [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared
2022-07-19 7:49 ` Guillaume Tucker
(?)
@ 2022-07-20 5:23 ` Chen, Rong A
-1 siblings, 0 replies; 4+ messages in thread
From: Chen, Rong A @ 2022-07-20 5:23 UTC (permalink / raw)
To: Guillaume Tucker, kernel test robot
Cc: kbuild-all, Linux Memory Management List, Shuah Khan
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@intel.com>
>>
>> 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@linuxfoundation.org/
>
> Thanks,
> Guillaume
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-20 5:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 1:28 [linux-next:master 8922/11208] lib/x86_64/processor.c:636:25: error: 'KVM_X86_XCOMP_GUEST_SUPP' undeclared kernel test robot
2022-07-19 7:49 ` Guillaume Tucker
2022-07-19 7:49 ` Guillaume Tucker
2022-07-20 5:23 ` [kbuild-all] " Chen, Rong A
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.