mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: Convert maintaining FW-assigned BIOS BAR values to a list of temporary entries
@ 2011-11-10  0:43 Myron Stowe
  2011-11-10  0:43 ` [PATCH 1/3] PCI: Fix starting basis for resource requests Myron Stowe
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Myron Stowe @ 2011-11-10  0:43 UTC (permalink / raw)
  To: jbarnes; +Cc: linux-pci, bhelgaas, linux-kernel

In commit 58c84eda075 functionality was introduced that tries to reinstate
the original, FW-assigned, BAR addresses of a PCI device when normal
resource assignment attempts fail.  To keep track of the BIOS BAR
addresses, struct pci_dev was augmented with an array to hold the BAR
addresses of the PCI device: 'resource_size_t
fw_addr[DEVICE_COUNT_RESOURCE]'.

The reinstatement of BAR addresses is an uncommon event leaving the
'fw_addr' array unused normally.  As the use of struct pci_dev is so
prevalent, this seems wasteful.

This patch series introduces a stand alone data structure and
corresponding set of interfacing routines, converting the underlying
aspects of the existing maintanence scheme to a list of temporary BIOS
BAR value entries instead.

---

Myron Stowe (3):
      x86/PCI: Convert maintaining FW-assigned BIOS BAR values to use a list
      PCI: Maintain a list of FW-assigned BIOS BAR values
      PCI: Fix starting basis for resource requests


 arch/x86/pci/i386.c     |    2 -
 drivers/pci/setup-res.c |  100 ++++++++++++++++++++++++++++++++++++++++++-----
 include/linux/pci.h     |    2 -
 3 files changed, 92 insertions(+), 12 deletions(-)

-- 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-14 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10  0:43 [PATCH 0/3] PCI: Convert maintaining FW-assigned BIOS BAR values to a list of temporary entries Myron Stowe
2011-11-10  0:43 ` [PATCH 1/3] PCI: Fix starting basis for resource requests Myron Stowe
2011-11-10  0:43 ` [PATCH 2/3] PCI: Maintain a list of FW-assigned BIOS BAR values Myron Stowe
2011-11-11 17:45   ` Jesse Barnes
2011-11-14 17:47     ` Myron Stowe
2011-11-10  0:43 ` [PATCH 3/3] x86/PCI: Convert maintaining FW-assigned BIOS BAR values to use a list Myron Stowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome