From: kernel test robot <lkp@intel.com>
To: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Andrey Konovalov <andreyknvl@google.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 9572/9613] arch/arm64/kernel/mte.c:138:17: error: 'struct thread_struct' has no member named 'sctlr_tcf0'
Date: Mon, 30 Nov 2020 20:37:50 +0800 [thread overview]
Message-ID: <202011302043.TpXkIlxO-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2163 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
commit: 3394cb084a8d6f5125c69406e5f2909921ecdd07 [9572/9613] arm64: mte: add in-kernel MTE helpers
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3394cb084a8d6f5125c69406e5f2909921ecdd07
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 3394cb084a8d6f5125c69406e5f2909921ecdd07
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/arm64/kernel/mte.c: In function 'set_sctlr_el1_tcf0':
>> arch/arm64/kernel/mte.c:138:17: error: 'struct thread_struct' has no member named 'sctlr_tcf0'
138 | current->thread.sctlr_tcf0 = tcf0;
| ^
At top level:
arch/arm64/kernel/mte.c:130:13: warning: 'set_sctlr_el1_tcf0' defined but not used [-Wunused-function]
130 | static void set_sctlr_el1_tcf0(u64 tcf0)
| ^~~~~~~~~~~~~~~~~~
vim +138 arch/arm64/kernel/mte.c
129
130 static void set_sctlr_el1_tcf0(u64 tcf0)
131 {
132 /*
133 * mte_thread_switch() checks current->thread.sctlr_tcf0 as an
134 * optimisation. Disable preemption so that it does not see
135 * the variable update before the SCTLR_EL1.TCF0 one.
136 */
137 preempt_disable();
> 138 current->thread.sctlr_tcf0 = tcf0;
139 update_sctlr_el1_tcf0(tcf0);
140 preempt_enable();
141 }
142
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76198 bytes --]
next reply other threads:[~2020-11-30 12:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 12:37 kernel test robot [this message]
2020-11-30 13:04 ` Catalin Marinas
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=202011302043.TpXkIlxO-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=catalin.marinas@arm.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=vincenzo.frascino@arm.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