From: kernel test robot <rong.a.chen@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Kalesh Singh <kaleshsingh@google.com>,
Mark Brown <broonie@kernel.org>
Subject: [mark:arm64/stacktrace/rework-cleanup 3/8] arch/arm64/kernel/sdei.c:66:21: error: use of undeclared identifier 'sdei_stack_normal_ptr'
Date: Thu, 4 Aug 2022 14:13:38 +0800 [thread overview]
Message-ID: <16ba6649-d680-69d4-dbd3-3b1ffb06319b@intel.com> (raw)
In-Reply-To: <202208040427.vAzlkXzS-lkp@intel.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
arm64/stacktrace/rework-cleanup
head: ff57049f8e5ec88c03b804c73bb4dd44ffa88896
commit: 10b1649e7fc666d82f11a5b4463013b3e46a7a53 [3/8] arm64:
stacktrace: move SDEI stack helpers to stacktrace code
config: arm64-buildonly-randconfig-r003-20220803
(https://download.01.org/0day-ci/archive/20220804/202208040427.vAzlkXzS-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project
495519e5f8232d144ed26e9c18dbcbac6a5f25eb)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=10b1649e7fc666d82f11a5b4463013b3e46a7a53
git remote add mark
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/stacktrace/rework-cleanup
git checkout 10b1649e7fc666d82f11a5b4463013b3e46a7a53
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm64/kernel/sdei.c:66:21: error: use of undeclared identifier 'sdei_stack_normal_ptr'
_free_sdei_stack(&sdei_stack_normal_ptr, cpu);
^
>> arch/arm64/kernel/sdei.c:67:21: error: use of undeclared identifier 'sdei_stack_critical_ptr'
_free_sdei_stack(&sdei_stack_critical_ptr, cpu);
^
arch/arm64/kernel/sdei.c:92:27: error: use of undeclared identifier
'sdei_stack_normal_ptr'
err = _init_sdei_stack(&sdei_stack_normal_ptr, cpu);
^
arch/arm64/kernel/sdei.c:95:27: error: use of undeclared identifier
'sdei_stack_critical_ptr'
err = _init_sdei_stack(&sdei_stack_critical_ptr, cpu);
^
4 errors generated.
vim +/sdei_stack_normal_ptr +66 arch/arm64/kernel/sdei.c
f5df26961853d6 James Morse 2018-01-08 57 f5df26961853d6 James Morse
2018-01-08 58 static void free_sdei_stacks(void)
f5df26961853d6 James Morse 2018-01-08 59 {
f5df26961853d6 James Morse 2018-01-08 60 int cpu;
f5df26961853d6 James Morse 2018-01-08 61 eec3bf6861a870 Will Deacon
2020-12-01 62 if (!IS_ENABLED(CONFIG_VMAP_STACK))
eec3bf6861a870 Will Deacon 2020-12-01 63 return;
eec3bf6861a870 Will Deacon 2020-12-01 64 f5df26961853d6 James Morse
2018-01-08 65 for_each_possible_cpu(cpu) {
f5df26961853d6 James Morse 2018-01-08 @66
_free_sdei_stack(&sdei_stack_normal_ptr, cpu);
f5df26961853d6 James Morse 2018-01-08 @67
_free_sdei_stack(&sdei_stack_critical_ptr, cpu);
f5df26961853d6 James Morse 2018-01-08 68 }
f5df26961853d6 James Morse 2018-01-08 69 }
f5df26961853d6 James Morse 2018-01-08 70
:::::: The code at line 66 was first introduced by commit
:::::: f5df26961853d6809d704cedcaf082c57f635a64 arm64: kernel: Add
arch-specific SDEI entry code and CPU masking
:::::: TO: James Morse <james.morse@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
parent reply other threads:[~2022-08-04 6:14 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <202208040427.vAzlkXzS-lkp@intel.com>]
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=16ba6649-d680-69d4-dbd3-3b1ffb06319b@intel.com \
--to=rong.a.chen@intel.com \
--cc=broonie@kernel.org \
--cc=kaleshsingh@google.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@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
all inboxes | Powered by JetHome®