From: kbuild test robot <lkp@intel.com>
To: Jason Yan <yanaijie@huawei.com>,
pbonzini@redhat.com, sean.j.christopherson@intel.com,
vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com,
joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com,
bp@alien8.de, x86@kernel.org, hpa@zytor.com, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org, Hulk Robot <hulkci@huawei.com>
Cc: kbuild-all@lists.01.org, Jason Yan <yanaijie@huawei.com>
Subject: Re: [PATCH] x86/kvm: make steal_time static
Date: Thu, 16 Apr 2020 04:29:47 +0800 [thread overview]
Message-ID: <202004160431.KSp9SkA3%lkp@intel.com> (raw)
In-Reply-To: <20200415084939.6367-1-yanaijie@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 3891 bytes --]
Hi Jason,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kvm/linux-next]
[also build test WARNING on v5.7-rc1 next-20200415]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Jason-Yan/x86-kvm-make-steal_time-static/20200416-010910
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-debian-10.3 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/asm-generic/percpu.h:7:0,
from arch/x86/include/asm/percpu.h:556,
from arch/x86/include/asm/current.h:6,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from arch/x86/kernel/kvm.c:10:
>> arch/x86/kernel/kvm.c:58:40: warning: '__externally_visible__' attribute have effect only on public objects [-Wattributes]
static DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64) __visible;
^
include/linux/percpu-defs.h:104:31: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
__PCPU_ATTRS(sec) __typeof__(type) name
^~~~
>> include/linux/percpu-defs.h:185:46: note: in expansion of macro 'DEFINE_PER_CPU'
#define DEFINE_PER_CPU_DECRYPTED(type, name) DEFINE_PER_CPU(type, name)
^~~~~~~~~~~~~~
>> arch/x86/kernel/kvm.c:58:8: note: in expansion of macro 'DEFINE_PER_CPU_DECRYPTED'
static DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64) __visible;
^~~~~~~~~~~~~~~~~~~~~~~~
vim +/__externally_visible__ +58 arch/x86/kernel/kvm.c
> 10 #include <linux/context_tracking.h>
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/kvm_para.h>
14 #include <linux/cpu.h>
15 #include <linux/mm.h>
16 #include <linux/highmem.h>
17 #include <linux/hardirq.h>
18 #include <linux/notifier.h>
19 #include <linux/reboot.h>
20 #include <linux/hash.h>
21 #include <linux/sched.h>
22 #include <linux/slab.h>
23 #include <linux/kprobes.h>
24 #include <linux/debugfs.h>
25 #include <linux/nmi.h>
26 #include <linux/swait.h>
27 #include <asm/timer.h>
28 #include <asm/cpu.h>
29 #include <asm/traps.h>
30 #include <asm/desc.h>
31 #include <asm/tlbflush.h>
32 #include <asm/apic.h>
33 #include <asm/apicdef.h>
34 #include <asm/hypervisor.h>
35 #include <asm/tlb.h>
36 #include <asm/cpuidle_haltpoll.h>
37
38 static int kvmapf = 1;
39
40 static int __init parse_no_kvmapf(char *arg)
41 {
42 kvmapf = 0;
43 return 0;
44 }
45
46 early_param("no-kvmapf", parse_no_kvmapf);
47
48 static int steal_acc = 1;
49 static int __init parse_no_stealacc(char *arg)
50 {
51 steal_acc = 0;
52 return 0;
53 }
54
55 early_param("no-steal-acc", parse_no_stealacc);
56
57 static DEFINE_PER_CPU_DECRYPTED(struct kvm_vcpu_pv_apf_data, apf_reason) __aligned(64);
> 58 static DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64) __visible;
59 static int has_steal_clock = 0;
60
---
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: 35001 bytes --]
prev parent reply other threads:[~2020-04-15 20:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 8:49 Jason Yan
2020-04-15 14:42 ` Paolo Bonzini
2020-04-16 2:15 ` Jason Yan
2020-04-16 11:14 ` Paolo Bonzini
2020-04-15 20:29 ` kbuild test robot [this message]
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=202004160431.KSp9SkA3%lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=hulkci@huawei.com \
--cc=jmattson@google.com \
--cc=joro@8bytes.org \
--cc=kbuild-all@lists.01.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=sean.j.christopherson@intel.com \
--cc=tglx@linutronix.de \
--cc=vkuznets@redhat.com \
--cc=wanpengli@tencent.com \
--cc=x86@kernel.org \
--cc=yanaijie@huawei.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®