From: kbuild test robot <lkp@intel.com>
To: Wei Wang <wei.w.wang@intel.com>
Cc: kbuild-all@01.org, virtio-dev@lists.oasis-open.org,
linux-kernel@vger.kernel.org, qemu-devel@nongnu.org,
virtualization@lists.linux-foundation.org, kvm@vger.kernel.org,
linux-mm@kvack.org, mst@redhat.com, mhocko@kernel.org,
akpm@linux-foundation.org, mawilcox@microsoft.com,
david@redhat.com, cornelia.huck@de.ibm.com,
mgorman@techsingularity.net, aarcange@redhat.com,
amit.shah@redhat.com, pbonzini@redhat.com, willy@infradead.org,
liliang.opensource@gmail.com, yang.zhang.wz@gmail.com,
quan.xu@aliyun.com
Subject: Re: [PATCH v14 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG
Date: Sun, 20 Aug 2017 05:37:27 +0800 [thread overview]
Message-ID: <201708200550.JNNiv6Kb%fengguang.wu@intel.com> (raw)
In-Reply-To: <1502940416-42944-4-git-send-email-wei.w.wang@intel.com>
[-- Attachment #1: Type: text/plain, Size: 2808 bytes --]
Hi Wei,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc5 next-20170817]
[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/Wei-Wang/lib-xbitmap-Introduce-xbitmap/20170820-035516
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
drivers/virtio/virtio_balloon.c: In function 'tell_host_sgs':
>> drivers/virtio/virtio_balloon.c:203:3: error: implicit declaration of function 'pfn_to_kaddr' [-Werror=implicit-function-declaration]
sg_addr = (void *)pfn_to_kaddr(sg_pfn_start);
^
cc1: some warnings being treated as errors
vim +/pfn_to_kaddr +203 drivers/virtio/virtio_balloon.c
176
177 /*
178 * Send balloon pages in sgs to host. The balloon pages are recorded in the
179 * page xbitmap. Each bit in the bitmap corresponds to a page of PAGE_SIZE.
180 * The page xbitmap is searched for continuous "1" bits, which correspond
181 * to continuous pages, to chunk into sgs.
182 *
183 * @page_xb_start and @page_xb_end form the range of bits in the xbitmap that
184 * need to be searched.
185 */
186 static void tell_host_sgs(struct virtio_balloon *vb,
187 struct virtqueue *vq,
188 unsigned long page_xb_start,
189 unsigned long page_xb_end)
190 {
191 unsigned long sg_pfn_start, sg_pfn_end;
192 void *sg_addr;
193 uint32_t sg_len, sg_max_len = round_down(UINT_MAX, PAGE_SIZE);
194
195 sg_pfn_start = page_xb_start;
196 while (sg_pfn_start < page_xb_end) {
197 sg_pfn_start = xb_find_next_bit(&vb->page_xb, sg_pfn_start,
198 page_xb_end, 1);
199 if (sg_pfn_start == page_xb_end + 1)
200 break;
201 sg_pfn_end = xb_find_next_bit(&vb->page_xb, sg_pfn_start + 1,
202 page_xb_end, 0);
> 203 sg_addr = (void *)pfn_to_kaddr(sg_pfn_start);
204 sg_len = (sg_pfn_end - sg_pfn_start) << PAGE_SHIFT;
205 while (sg_len > sg_max_len) {
206 send_balloon_page_sg(vb, vq, sg_addr, sg_max_len);
207 sg_addr += sg_max_len;
208 sg_len -= sg_max_len;
209 }
210 send_balloon_page_sg(vb, vq, sg_addr, sg_len);
211 xb_zero(&vb->page_xb, sg_pfn_start, sg_pfn_end);
212 sg_pfn_start = sg_pfn_end + 1;
213 }
214 }
215
---
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: 50926 bytes --]
next prev parent reply other threads:[~2017-08-19 21:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 3:26 [PATCH v14 0/5] Virtio-balloon Enhancement Wei Wang
2017-08-17 3:26 ` [PATCH v14 1/5] lib/xbitmap: Introduce xbitmap Wei Wang
2017-08-19 20:30 ` kbuild test robot
2017-08-17 3:26 ` [PATCH v14 2/5] lib/xbitmap: add xb_find_next_bit() and xb_zero() Wei Wang
2017-08-17 3:26 ` [PATCH v14 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG Wei Wang
2017-08-18 2:22 ` Michael S. Tsirkin
2017-08-18 7:39 ` Wei Wang
2017-08-21 20:22 ` Michael S. Tsirkin
2017-08-19 21:37 ` kbuild test robot [this message]
2017-08-17 3:26 ` [PATCH v14 4/5] mm: support reporting free page blocks Wei Wang
2017-08-18 13:46 ` Michal Hocko
2017-08-21 6:12 ` Wei Wang
2017-08-21 6:14 ` Michal Hocko
2017-08-18 17:23 ` Michael S. Tsirkin
2017-08-21 6:18 ` Michal Hocko
2017-08-17 3:26 ` [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ Wei Wang
2017-08-18 2:13 ` Michael S. Tsirkin
2017-08-18 8:41 ` Wei Wang
2017-08-18 18:26 ` Michael S. Tsirkin
2017-08-21 5:21 ` Wei Wang
2017-08-18 2:28 ` Michael S. Tsirkin
2017-08-18 8:36 ` Wei Wang
2017-08-18 18:10 ` Michael S. Tsirkin
2017-08-21 5:28 ` [virtio-dev] " Wei Wang
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=201708200550.JNNiv6Kb%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=amit.shah@redhat.com \
--cc=cornelia.huck@de.ibm.com \
--cc=david@redhat.com \
--cc=kbuild-all@01.org \
--cc=kvm@vger.kernel.org \
--cc=liliang.opensource@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mawilcox@microsoft.com \
--cc=mgorman@techsingularity.net \
--cc=mhocko@kernel.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quan.xu@aliyun.com \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=wei.w.wang@intel.com \
--cc=willy@infradead.org \
--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