From: kernel test robot <lkp@intel.com>
To: Tim Merrifield <tim.merrifield@broadcom.com>,
"Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>,
Dave Hansen <dave.hansen@linux.intel.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>,
Xin Li <xin3.li@intel.com>, Ard Biesheuvel <ardb@kernel.org>,
Kai Huang <kai.huang@intel.com>,
Kevin Loughlin <kevinloughlin@google.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rick Edgecombe <rick.p.edgecombe@intel.com>,
Kees Cook <kees@kernel.org>, Mike Rapoport <rppt@kernel.org>,
Brian Gerst <brgerst@gmail.com>,
linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org,
Ajay Kaher <ajay.kaher@broadcom.com>,
Alexey Makhalov <alexey.makhalov@broadcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
virtualization@lists.linux.dev, alex.james@broadcom.com,
doug.covelli@broadcom.com, jeffrey.sheldon@broadcom.com,
kevin.christopher@broadcom.com,
aravind-as.srinivasan@broadcom.com, ravindra.kumar@broadcom.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 1/2] Add prctl to allow userlevel TDX hypercalls
Date: Sat, 27 Jul 2024 15:24:33 +0800 [thread overview]
Message-ID: <202407271528.NcCDP6PG-lkp@intel.com> (raw)
In-Reply-To: <651ceb5a89721621d522419e8a5d901632a78a22.1722019360.git.tim.merrifield@broadcom.com>
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-003-20240727 (https://download.01.org/0day-ci/archive/20240727/202407271528.NcCDP6PG-lkp@intel.com/config)
compiler: gcc-8 (Ubuntu 8.4.0-3ubuntu2) 8.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240727/202407271528.NcCDP6PG-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407271528.NcCDP6PG-lkp@intel.com/
All errors (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:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
include/linux/bitops.h:45:37: note: in definition of macro 'bitop'
__builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \
^~~~
arch/x86/kernel/process.c:1040:10: note: in expansion of macro 'test_bit'
return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
^~~~~~~~
>> arch/x86/kernel/process.c:1041:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
include/linux/bitops.h:46:16: note: in definition of macro 'bitop'
(uintptr_t)(addr) != (uintptr_t)NULL && \
^~~~
arch/x86/kernel/process.c:1040:10: note: in expansion of macro 'test_bit'
return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
^~~~~~~~
>> arch/x86/kernel/process.c:1041:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
include/linux/bitops.h:47:50: note: in definition of macro 'bitop'
__builtin_constant_p(*(const unsigned long *)(addr))) ? \
^~~~
arch/x86/kernel/process.c:1040:10: note: in expansion of macro 'test_bit'
return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
^~~~~~~~
>> arch/x86/kernel/process.c:1041:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
include/linux/bitops.h:48:17: note: in definition of macro 'bitop'
const##op(nr, addr) : op(nr, addr))
^~~~
arch/x86/kernel/process.c:1040:10: note: in expansion of macro 'test_bit'
return !test_bit(MM_CONTEXT_COCO_USER_HCALL,
^~~~~~~~
>> arch/x86/kernel/process.c:1041:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
include/linux/bitops.h:48:32: note: in definition of macro 'bitop'
const##op(nr, addr) : op(nr, addr))
^~~~
arch/x86/kernel/process.c:1040:10: note: in expansion of macro 'test_bit'
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:25: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤t->mm->context.flags);
^
arch/x86/kernel/process.c:1051:27: error: 'mm_context_t' {aka 'struct <anonymous>'} has no member named 'flags'
¤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]
}
^
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
next prev parent reply other threads:[~2024-07-27 7:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 18:57 [PATCH v2 0/2] Support userspace hypercalls for TDX Tim Merrifield
2024-07-26 18:58 ` [PATCH v2 1/2] Add prctl to allow userlevel TDX hypercalls Tim Merrifield
2024-07-27 7:13 ` kernel test robot
2024-07-27 7:24 ` kernel test robot [this message]
2024-08-02 12:47 ` Kirill A . Shutemov
2024-07-26 18:58 ` [PATCH v2 2/2] x86/vmware: VMware support for TDX userspace hypercalls Tim Merrifield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202407271528.NcCDP6PG-lkp@intel.com \
--to=lkp@intel.com \
--cc=ajay.kaher@broadcom.com \
--cc=alex.james@broadcom.com \
--cc=alexey.makhalov@broadcom.com \
--cc=aravind-as.srinivasan@broadcom.com \
--cc=ardb@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bp@alien8.de \
--cc=brgerst@gmail.com \
--cc=dave.hansen@linux.intel.com \
--cc=doug.covelli@broadcom.com \
--cc=hpa@zytor.com \
--cc=jeffrey.sheldon@broadcom.com \
--cc=kai.huang@intel.com \
--cc=kees@kernel.org \
--cc=kevin.christopher@broadcom.com \
--cc=kevinloughlin@google.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-coco@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ravindra.kumar@broadcom.com \
--cc=rick.p.edgecombe@intel.com \
--cc=rppt@kernel.org \
--cc=tglx@linutronix.de \
--cc=tim.merrifield@broadcom.com \
--cc=tzimmermann@suse.de \
--cc=virtualization@lists.linux.dev \
--cc=x86@kernel.org \
--cc=xin3.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).