Re: [PATCH 2/3] pci: Make auto-config code a little more robust

2021-01-07 Thread Simon Glass
On Sun, 3 Jan 2021 at 15:05, Phil Sutter wrote: > > On my DS414, some PCI devices return odd values when probing BAR sizes. > An obvious case is all-ones response, the Linux driver > (drivers/pci/probe.c) catches those explicitly and a comment explains > that either bit 0 or bit 1 must be clear

Re: [PATCH 2/3] pci: Make auto-config code a little more robust

2021-01-05 Thread Stefan Roese
Adding a few more PCI experts (Simon & Bin) to Cc. On 03.01.21 23:06, Phil Sutter wrote: On my DS414, some PCI devices return odd values when probing BAR sizes. An obvious case is all-ones response, the Linux driver (drivers/pci/probe.c) catches those explicitly and a comment explains that

[PATCH 2/3] pci: Make auto-config code a little more robust

2021-01-03 Thread Phil Sutter
On my DS414, some PCI devices return odd values when probing BAR sizes. An obvious case is all-ones response, the Linux driver (drivers/pci/probe.c) catches those explicitly and a comment explains that either bit 0 or bit 1 must be clear (depending on MEM or IO type). Other BARs return e.g.