Re: 4.3-rc3 BAR allocation problems on multiple machines

From: Meelis Roos
Date: Tue Oct 13 2015 - 03:30:35 EST


> > Updated on V210 - the others were more recent. Now I get more BAR
> > warning there too:
> >
> > http://kodu.ut.ee/~mroos/dm/dm.v210+patches
> >
>
> interesting, mem and mem64 is overlapping.
>
> [ 38.824625] /pci@1f,700000: TOMATILLO PCI Bus Module ver[4:0]
> [ 38.824654] /pci@1f,700000: PCI IO [io
> 0x7f601000000-0x7f601ffffff] offset 7f601000000
> [ 38.824680] /pci@1f,700000: PCI MEM [mem
> 0x7f700000000-0x7f7ffffffff] offset 7f700000000
> [ 38.824704] /pci@1f,700000: PCI MEM64 [mem
> 0x7f700000000-0x7f7ffffffff] offset 7f700000000
> [ 38.826310] PCI: Scanning PBM /pci@1f,700000
> [ 38.826479] schizo f0069c00: PCI host bridge to bus 0000:00
> [ 38.826506] pci_bus 0000:00: root bus resource [io
> 0x7f601000000-0x7f601ffffff] (bus address [0x0000-0xffffff])
> [ 38.826536] pci_bus 0000:00: root bus resource [mem
> 0x7f700000000-0x7f7ffffffff] (bus address [0x00000000-0xffffffff])
> [ 38.826565] pci_bus 0000:00: root bus resource [mem
> 0x7f700000000-0x7f7ffffffff] (bus address [0x00000000-0xffffffff])
>
> We need to add more sanitary checking.
>
> Can you send boot log after booting with "debug ignore_loglevel ofpci_debug=1" ?

http://kodu.ut.ee/~mroos/dm/dm.v210+patch+debug

Applied the fix_mem_mem64_overlapping.patch and retested. The BAR
allocation problems are still there:

http://kodu.ut.ee/~mroos/dm/dm.v210+patch+mem64patch+debug

--
Meelis Roos (mroos@xxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/