Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247712

Re: [PATCH] pci: restrict 64-bit pci device to assign resource from behind of max_pfn

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] pci: restrict 64-bit pci device to assign resource from behind of max_pfn
Date 2015-10-15 13:40 +0200
Message-ID <qjP34-592-31@gated-at.bofh.it> (permalink)
References <qjOgG-3WB-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Wenlin,

[auto build test ERROR on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Wenlin-Kang/pci-restrict-64-bit-pci-device-to-assign-resource-from-behind-of-max_pfn/20151015-184913
config: mips-fuloong2e_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   drivers/pci/setup-res.c: In function '__pci_assign_resource':
>> drivers/pci/setup-res.c:224:6: error: 'max_pfn' undeclared (first use in this function)
        (max_pfn + 1) << PAGE_SHIFT : PCIBIOS_MIN_MEM;
         ^
   drivers/pci/setup-res.c:224:6: note: each undeclared identifier is reported only once for each function it appears in

vim +/max_pfn +224 drivers/pci/setup-res.c

   218		 * For 64-bit pci device, assign resource start from the next page
   219		 * boundary above the maximum physical page address
   220		 */
   221		resource_size_t min_iomem;
   222	
   223		min_iomem = (res->flags & IORESOURCE_MEM_64) ?
 > 224					(max_pfn + 1) << PAGE_SHIFT : PCIBIOS_MIN_MEM;
   225		min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : min_iomem;
   226	#else
   227		min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM;

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] pci: restrict 64-bit pci device to assign resource from behind of max_pfn Wenlin Kang <wenlin.kang@windriver.com> - 2015-10-15 12:50 +0200
  Re: [PATCH] pci: restrict 64-bit pci device to assign resource from  behind of max_pfn kbuild test robot <lkp@intel.com> - 2015-10-15 13:40 +0200
    Re: [PATCH] pci: restrict 64-bit pci device to assign resource from  behind of max_pfn Wenlin Kang <wenlin.kang@windriver.com> - 2015-10-16 08:30 +0200
  Re: [PATCH] pci: restrict 64-bit pci device to assign resource from  behind of max_pfn Bjorn Helgaas <helgaas@kernel.org> - 2015-10-15 16:10 +0200
    Re: [PATCH] pci: restrict 64-bit pci device to assign resource from  behind of max_pfn Wenlin Kang <wenlin.kang@windriver.com> - 2015-10-16 10:10 +0200

csiph-web