[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407271423.sLLB8VXR-lkp@intel.com>
Date: Sat, 27 Jul 2024 15:13:52 +0800
From: kernel test robot <lkp@...el.com>
To: Tim Merrifield <tim.merrifield@...adcom.com>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H . Peter Anvin" <hpa@...or.com>,
Xin Li <xin3.li@...el.com>, Ard Biesheuvel <ardb@...nel.org>,
Kai Huang <kai.huang@...el.com>,
Kevin Loughlin <kevinloughlin@...gle.com>,
Thomas Zimmermann <tzimmermann@...e.de>,
Rick Edgecombe <rick.p.edgecombe@...el.com>,
Kees Cook <kees@...nel.org>, Mike Rapoport <rppt@...nel.org>,
Brian Gerst <brgerst@...il.com>, linux-coco@...ts.linux.dev,
linux-kernel@...r.kernel.org, Ajay Kaher <ajay.kaher@...adcom.com>,
Alexey Makhalov <alexey.makhalov@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
virtualization@...ts.linux.dev, alex.james@...adcom.com,
doug.covelli@...adcom.com, jeffrey.sheldon@...adcom.com,
kevin.christopher@...adcom.com, aravind-as.srinivasan@...adcom.com,
ravindra.kumar@...adcom.com
Cc: oe-kbuild-all@...ts.linux.dev
Subject: Re: [PATCH v2 1/2] Add prctl to allow userlevel TDX hypercalls
Hi Tim,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/x86/vmware]
[also build test ERROR on tip/x86/tdx linus/master v6.10 next-20240726]
[cannot apply to tip/x86/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Tim-Merrifield/Add-prctl-to-allow-userlevel-TDX-hypercalls/20240727-025221
base: tip/x86/vmware
patch link: https://lore.kernel.org/r/651ceb5a89721621d522419e8a5d901632a78a22.1722019360.git.tim.merrifield%40broadcom.com
patch subject: [PATCH v2 1/2] Add prctl to allow userlevel TDX hypercalls
config: i386-buildonly-randconfig-001-20240727 (https://download.01.org/0day-ci/archive/20240727/202407271423.sLLB8VXR-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240727/202407271423.sLLB8VXR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407271423.sLLB8VXR-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from include/linux/kernel.h:23,
from arch/x86/kernel/process.c:5:
arch/x86/kernel/process.c: In function 'get_coco_user_hcall_mode':
>> arch/x86/kernel/process.c:1041:46: error: 'mm_context_t' has no member named 'flags'
1041 | ¤t->mm->context.flags);
| ^
include/linux/bitops.h:45:44: note: in definition of macro 'bitop'
45 | __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \
| ^~~~
arch/x86/kernel/process.c:1040:17: note: in expansion of macro 'test_bit'
1040 | return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
| ^~~~~~~~
>> arch/x86/kernel/process.c:1041:46: error: 'mm_context_t' has no member named 'flags'
1041 | ¤t->mm->context.flags);
| ^
include/linux/bitops.h:46:23: note: in definition of macro 'bitop'
46 | (uintptr_t)(addr) != (uintptr_t)NULL && \
| ^~~~
arch/x86/kernel/process.c:1040:17: note: in expansion of macro 'test_bit'
1040 | return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
| ^~~~~~~~
>> arch/x86/kernel/process.c:1041:46: error: 'mm_context_t' has no member named 'flags'
1041 | ¤t->mm->context.flags);
| ^
include/linux/bitops.h:47:57: note: in definition of macro 'bitop'
47 | __builtin_constant_p(*(const unsigned long *)(addr))) ? \
| ^~~~
arch/x86/kernel/process.c:1040:17: note: in expansion of macro 'test_bit'
1040 | return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
| ^~~~~~~~
>> arch/x86/kernel/process.c:1041:46: error: 'mm_context_t' has no member named 'flags'
1041 | ¤t->mm->context.flags);
| ^
include/linux/bitops.h:48:24: note: in definition of macro 'bitop'
48 | const##op(nr, addr) : op(nr, addr))
| ^~~~
arch/x86/kernel/process.c:1040:17: note: in expansion of macro 'test_bit'
1040 | return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
| ^~~~~~~~
>> arch/x86/kernel/process.c:1041:46: error: 'mm_context_t' has no member named 'flags'
1041 | ¤t->mm->context.flags);
| ^
include/linux/bitops.h:48:39: note: in definition of macro 'bitop'
48 | const##op(nr, addr) : op(nr, addr))
| ^~~~
arch/x86/kernel/process.c:1040:17: note: in expansion of macro 'test_bit'
1040 | return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
| ^~~~~~~~
arch/x86/kernel/process.c: In function 'set_coco_user_hcall_mode':
arch/x86/kernel/process.c:1048:46: error: 'mm_context_t' has no member named 'flags'
1048 | ¤t->mm->context.flags);
| ^
arch/x86/kernel/process.c:1051:48: error: 'mm_context_t' has no member named 'flags'
1051 | ¤t->mm->context.flags);
| ^
arch/x86/kernel/process.c: In function 'get_coco_user_hcall_mode':
>> arch/x86/kernel/process.c:1042:1: warning: control reaches end of non-void function [-Wreturn-type]
1042 | }
| ^
vim +1041 arch/x86/kernel/process.c
1037
1038 static int get_coco_user_hcall_mode(void)
1039 {
1040 return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
> 1041 ¤t->mm->context.flags);
> 1042 }
1043
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists