Re: [PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-16 Thread Bjorn Helgaas
; ker...@vger.kernel.org; Wasim Khan > > Subject: Re: [PATCH] PCI : check if type 0 devices have all BARs of size > > zero > > > > On Fri, Feb 12, 2021 at 11:08:56AM +0100, Wasim Khan wrote: > > > From: Wasim Khan > > > > > > Log a message if al

RE: [PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-15 Thread Wasim Khan
Hi Bjorn, > -Original Message- > From: Bjorn Helgaas > Sent: Tuesday, February 16, 2021 2:43 AM > To: Wasim Khan (OSS) > Cc: bhelg...@google.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Wasim Khan > Subject: Re: [PATCH] PCI : check if type 0

Re: [PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-15 Thread Bjorn Helgaas
On Fri, Feb 12, 2021 at 11:08:56AM +0100, Wasim Khan wrote: > From: Wasim Khan > > Log a message if all BARs of type 0 devices are of > size zero. This can help detecting type 0 devices > not reporting BAR size correctly. I could be missing something, but I don't think we can do this. I would

[PATCH] PCI : check if type 0 devices have all BARs of size zero

2021-02-12 Thread Wasim Khan
From: Wasim Khan Log a message if all BARs of type 0 devices are of size zero. This can help detecting type 0 devices not reporting BAR size correctly. Signed-off-by: Wasim Khan --- drivers/pci/probe.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pci/probe.c