From: kernel test robot <lkp@intel.com>
To: Joerg Roedel <jroedel@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [joro:sev-es-kexec 9/12] arch/x86/kernel/sev.c:698:17: sparse: sparse: symbol 'sev_jumptable_ap_park' was not declared. Should it be static?
Date: Thu, 8 Jul 2021 14:15:54 +0800 [thread overview]
Message-ID: <202107081415.O6XWbobR-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-kexec
head: 3467dc3cdbe65c619cd9b5c8db47da63b0655300
commit: f5fa86f9ca509214e22902fd1865e813d0d856b3 [9/12] x86/sev: Use AP Jump Table blob to stop CPU
config: x86_64-randconfig-s021-20210702 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/commit/?id=f5fa86f9ca509214e22902fd1865e813d0d856b3
git remote add joro https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git
git fetch --no-tags joro sev-es-kexec
git checkout f5fa86f9ca509214e22902fd1865e813d0d856b3
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/sev.c:698:17: sparse: sparse: symbol 'sev_jumptable_ap_park' was not declared. Should it be static?
arch/x86/kernel/sev.c:888:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got unsigned short [noderef] [usertype] __iomem *[assigned] jump_table @@
arch/x86/kernel/sev.c:888:41: sparse: expected void *base
arch/x86/kernel/sev.c:888:41: sparse: got unsigned short [noderef] [usertype] __iomem *[assigned] jump_table
arch/x86/kernel/sev.c:881:32: sparse: sparse: dereference of noderef expression
arch/x86/kernel/sev.c:882:32: sparse: sparse: dereference of noderef expression
Please review and possibly fold the followup patch.
---
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: 41421 bytes --]
next reply other threads:[~2021-07-08 6:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-08 6:15 kernel test robot [this message]
2021-07-08 6:15 ` [RFC PATCH joro] x86/sev: sev_jumptable_ap_park() can be static kernel test robot
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=202107081415.O6XWbobR-lkp@intel.com \
--to=lkp@intel.com \
--cc=jroedel@suse.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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).