KVM Archive on lore.kernel.org
 help / color / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kbuild-all@lists.01.org, kvm@vger.kernel.org,
	Robert Hu <robert.hu@intel.com>,
	Farrah Chen <farrah.chen@intel.com>,
	Danmei Wei <danmei.wei@intel.com>
Subject: [kvm:kvm-tlb-cleanup 254/287] arch/x86/kvm/mmu/mmu.c:5544:52: note: in expansion of macro 'INVALID_PAGE'
Date: Fri, 27 Mar 2020 07:27:15 +0800
Message-ID: <202003270711.WQa7uxpJ%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-tlb-cleanup
head:   99fb89fe3b4678408f59b0979873d5364cbcbe0c
commit: 0afc096d825a033d81612114a2d9e0b4db265c07 [254/287] KVM: x86: introduce kvm_mmu_invalidate_gva
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
        git checkout 0afc096d825a033d81612114a2d9e0b4db265c07
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kvm_host.h:36:0,
                    from arch/x86/kvm/irq.h:15,
                    from arch/x86/kvm/mmu/mmu.c:18:
   arch/x86/kvm/mmu/mmu.c: In function 'kvm_mmu_invlpg':
   arch/x86/include/asm/kvm_host.h:104:22: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
    #define INVALID_PAGE (~(hpa_t)0)
>> arch/x86/kvm/mmu/mmu.c:5544:52: note: in expansion of macro 'INVALID_PAGE'
     kvm_mmu_invalidate_gva(vcpu, vcpu->arch.mmu, gva, INVALID_PAGE);
   cc1: all warnings being treated as errors

vim +/INVALID_PAGE +5544 arch/x86/kvm/mmu/mmu.c

  5542	void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva)
  5543	{
> 5544		kvm_mmu_invalidate_gva(vcpu, vcpu->arch.mmu, gva, INVALID_PAGE);
  5545		++vcpu->stat.invlpg;
  5546	}
  5547	EXPORT_SYMBOL_GPL(kvm_mmu_invlpg);

0-DAY CI Kernel Test Service, Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 71494 bytes --]

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202003270711.WQa7uxpJ%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=danmei.wei@intel.com \
    --cc=farrah.chen@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=robert.hu@intel.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

KVM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kvm/0 kvm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kvm kvm/ https://lore.kernel.org/kvm \
	public-inbox-index kvm

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git