public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: nilal@redhat.com
Cc: kbuild-all@01.org, kvm@vger.kernel.org, pbonzini@redhat.com,
	pagupta@redhat.com, wei.w.wang@intel.com,
	yang.zhang.wz@gmail.com, riel@redhat.com, david@redhat.com,
	mst@redhat.com, dodgen@google.com, konrad.wilk@oracle.com
Subject: Re: [Patch v5 5/7] KVM: Sending hyperlist to the host via hinting_vq
Date: Wed, 29 Nov 2017 21:01:30 +0800	[thread overview]
Message-ID: <201711292017.v0weekPO%fengguang.wu@intel.com> (raw)
In-Reply-To: <20171128200324.4432-6-nilal@redhat.com>

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

Hi Nitesh,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvm/linux-next]
[also build test WARNING on v4.15-rc1 next-20171128]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/nilal-redhat-com/KVM-Guest-page-hinting/20171129-180331
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-randconfig-x016-201748 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers//virtio/virtio_balloon.c: In function 'tell_host_one_page':
>> drivers//virtio/virtio_balloon.c:107:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     u64 gpaddr = virt_to_phys((void *)gvaddr);
                               ^
   drivers//virtio/virtio_balloon.c:110:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     virtqueue_add_chain(vq, id, 0, NULL, (void *)gpaddr, NULL);
                                          ^
   drivers//virtio/virtio_balloon.c: In function 'virtballoon_page_hinting':
>> drivers//virtio/virtio_balloon.c:115:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     u64 gvaddr = (u64)hypervisor_pagelist;
                  ^

vim +107 drivers//virtio/virtio_balloon.c

   101	
   102	#ifdef CONFIG_KVM_FREE_PAGE_HINTING
   103	static void tell_host_one_page(struct virtio_balloon *vb, struct virtqueue *vq,
   104				       u64 gvaddr, int len)
   105	{
   106		unsigned int id = VIRTQUEUE_DESC_ID_INIT;
 > 107		u64 gpaddr = virt_to_phys((void *)gvaddr);
   108	
   109		virtqueue_add_chain_desc(vq, gpaddr, len, &id, &id, 0);
   110		virtqueue_add_chain(vq, id, 0, NULL, (void *)gpaddr, NULL);
   111	}
   112	
   113	void virtballoon_page_hinting(struct virtio_balloon *vb, int hyper_entries)
   114	{
 > 115		u64 gvaddr = (u64)hypervisor_pagelist;
   116	
   117		vb->num_pfns = hyper_entries;
   118		tell_host_one_page(vb, vb->hinting_vq, gvaddr, hyper_entries);
   119	}
   120	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  reply	other threads:[~2017-11-29 13:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28 20:03 [Patch v5 0/7] KVM: Guest page hinting nilal
2017-11-28 20:03 ` [Patch v5 1/7] KVM: Support for guest " nilal
2017-11-28 20:03 ` [Patch v5 2/7] KVM: Guest page hinting functionality nilal
2017-11-28 20:03 ` [Patch v5 3/7] KVM: Adding tracepoints for guest page hinting nilal
2017-11-28 20:03 ` [Patch v5 4/7] virtio: Exposes added descriptor to the other side synchronously nilal
2017-11-28 20:03 ` [Patch v5 5/7] KVM: Sending hyperlist to the host via hinting_vq nilal
2017-11-29 13:01   ` kbuild test robot [this message]
2017-11-29 13:42   ` kbuild test robot
2017-11-28 20:03 ` [Patch v5 6/7] KVM: Enabling guest page hinting via static key nilal
2017-11-29 13:01   ` kbuild test robot
2017-11-29 15:45   ` kbuild test robot
2017-11-28 20:03 ` [Patch v5 7/7] KVM: Disabling page poisoning to avoid memory corruption errors nilal
2017-11-28 20:04 ` [QEMU PATCH] kvm: Support for guest page hinting nilal

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=201711292017.v0weekPO%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=david@redhat.com \
    --cc=dodgen@google.com \
    --cc=kbuild-all@01.org \
    --cc=konrad.wilk@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=nilal@redhat.com \
    --cc=pagupta@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=riel@redhat.com \
    --cc=wei.w.wang@intel.com \
    --cc=yang.zhang.wz@gmail.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