]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Add informational printk for invalid BARs
authorMyron Stowe <myron.stowe@redhat.com>
Thu, 30 Oct 2014 17:54:50 +0000 (11:54 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Nov 2014 22:07:42 +0000 (15:07 -0700)
commit7e79c5f8cad2ac1dc26c03e1aa16216391a04dad
tree72176348356d3958a4294b77dfdf6519dc3cf309
parentf795d86aaa578501551a2d1b463eac4bbea84db2
PCI: Add informational printk for invalid BARs

As a consequence of restoring the detection of invalid BARs, add a new
informational printk like the following when such occurrences are
encountered.

  pci ssss:bb:dd.f: [Firmware Bug]: reg 0xXX: invalid BAR (can't size)

Reported-by: William Unruh <unruh@physics.ubc.ca>
Reported-by: Martin Lucina <martin@lucina.net>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Matthew Wilcox <willy@linux.intel.com>
drivers/pci/probe.c