diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-01 18:32:29 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-08 19:14:31 +0100 |
commit | 63e22924f5dc08badf9870c4a52ef4e7f7cbf218 (patch) | |
tree | f579dab1633fb9c2fa3633df78995773098ecd8a /drivers/pci | |
parent | x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs (diff) | |
download | linux-63e22924f5dc08badf9870c4a52ef4e7f7cbf218.tar.xz linux-63e22924f5dc08badf9870c4a52ef4e7f7cbf218.zip |
PCI: Mark shadow copy of VGA ROM as IORESOURCE_PCI_FIXED
A shadow copy of an option ROM is placed by the BIOS as a fixed address.
Set IORESOURCE_PCI_FIXED to indicate that we can't move the shadow copy.
This prevents warnings like the following when we assign resources:
BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
This warning is emitted by pdev_sort_resources(), which already ignores
IORESOURCE_PCI_FIXED resources.
Link: http://lkml.kernel.org/r/CA+55aFyVMfTBB0oz_yx8+eQOEJnzGtCsYSj9QuhEpdZ9BHdq5A@mail.gmail.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions