From: kernel test robot <lkp@intel.com>
To: Jim Mattson <jmattson@google.com>,
Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Maxim Levitsky <mlevitsk@redhat.com>,
kvm@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Jim Mattson <jmattson@google.com>
Subject: Re: [PATCH] KVM: x86: Complain about an attempt to change the APIC base address
Date: Wed, 26 Jun 2024 06:22:24 +0800 [thread overview]
Message-ID: <202406260523.KaaWyitN-lkp@intel.com> (raw)
In-Reply-To: <20240621224946.4083742-1-jmattson@google.com>
Hi Jim,
kernel test robot noticed the following build warnings:
[auto build test WARNING on kvm/queue]
[also build test WARNING on linus/master v6.10-rc5 next-20240625]
[cannot apply to kvm/linux-next]
[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/Jim-Mattson/KVM-x86-Complain-about-an-attempt-to-change-the-APIC-base-address/20240625-181629
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link: https://lore.kernel.org/r/20240621224946.4083742-1-jmattson%40google.com
patch subject: [PATCH] KVM: x86: Complain about an attempt to change the APIC base address
config: i386-randconfig-141-20240626 (https://download.01.org/0day-ci/archive/20240626/202406260523.KaaWyitN-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/20240626/202406260523.KaaWyitN-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/202406260523.KaaWyitN-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:22,
from arch/x86/include/asm/bug.h:87,
from include/linux/bug.h:5,
from include/linux/alloc_tag.h:8,
from include/linux/percpu.h:5,
from include/linux/context_tracking_state.h:5,
from include/linux/hardirq.h:5,
from include/linux/kvm_host.h:7,
from arch/x86/kvm/lapic.c:20:
arch/x86/kvm/lapic.c: In function 'kvm_lapic_set_base':
include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/printk.h:436:25: note: in definition of macro 'printk_index_wrap'
436 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
include/linux/printk.h:658:17: note: in expansion of macro 'printk'
658 | printk(fmt, ##__VA_ARGS__); \
| ^~~~~~
include/linux/printk.h:672:9: note: in expansion of macro 'printk_ratelimited'
672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:672:28: note: in expansion of macro 'KERN_ERR'
672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
include/linux/kvm_host.h:855:9: note: in expansion of macro 'pr_err_ratelimited'
855 | pr_err_ratelimited("kvm [%i]: " fmt, \
| ^~~~~~~~~~~~~~~~~~
include/linux/kvm_host.h:860:9: note: in expansion of macro 'kvm_pr_unimpl'
860 | kvm_pr_unimpl("vcpu%i, guest rIP: 0x%lx " fmt, \
| ^~~~~~~~~~~~~
arch/x86/kvm/lapic.c:2586:17: note: in expansion of macro 'vcpu_unimpl'
2586 | vcpu_unimpl(vcpu, "APIC base %#llx is not %#llx",
| ^~~~~~~~~~~
>> include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/printk.h:436:25: note: in definition of macro 'printk_index_wrap'
436 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
include/linux/printk.h:658:17: note: in expansion of macro 'printk'
658 | printk(fmt, ##__VA_ARGS__); \
| ^~~~~~
include/linux/printk.h:672:9: note: in expansion of macro 'printk_ratelimited'
672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:672:28: note: in expansion of macro 'KERN_ERR'
672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
include/linux/kvm_host.h:855:9: note: in expansion of macro 'pr_err_ratelimited'
855 | pr_err_ratelimited("kvm [%i]: " fmt, \
| ^~~~~~~~~~~~~~~~~~
include/linux/kvm_host.h:860:9: note: in expansion of macro 'kvm_pr_unimpl'
860 | kvm_pr_unimpl("vcpu%i, guest rIP: 0x%lx " fmt, \
| ^~~~~~~~~~~~~
arch/x86/kvm/lapic.c:2586:17: note: in expansion of macro 'vcpu_unimpl'
2586 | vcpu_unimpl(vcpu, "APIC base %#llx is not %#llx",
| ^~~~~~~~~~~
vim +5 include/linux/kern_levels.h
314ba3520e513a Joe Perches 2012-07-30 4
04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001'
04d2c8c83d0e3a Joe Perches 2012-07-30 7
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-06-25 22:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 22:48 [PATCH] KVM: x86: Complain about an attempt to change the APIC base address Jim Mattson
2024-06-25 22:22 ` kernel test robot [this message]
2024-06-25 23:38 ` 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=202406260523.KaaWyitN-lkp@intel.com \
--to=lkp@intel.com \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=mlevitsk@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.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