All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] PCI: Simplify bus range parsing
@ 2025-01-13 23:15 Bjorn Helgaas
  2025-01-13 23:15 ` [PATCH v2 1/4] PCI: Unexport of_pci_parse_bus_range() Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2025-01-13 23:15 UTC (permalink / raw)
  To: Rob Herring
  Cc: David S . Miller, Andreas Larsson, sparclinux, linux-kernel,
	linux-pci, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

Unexport of_pci_parse_bus_range() since it's only used in drivers/pci/of.c.

Drop the "No bus range found" message since host bridges typically lead to
[bus 00-ff], and we already default to that if there is no "bus-range" DT
property, so there's no point in requiring it in DT or complaining if it's
not there.

Drop bus range parameters from devm_of_pci_get_host_bridge_resources()
since they're always the same values.

Update a sparc comment that referred to of_pci_get_host_bridge_resources(),
which no longer exists.

Bjorn Helgaas (4):
  PCI: Unexport of_pci_parse_bus_range()
  PCI: of: Drop 'No bus range found' message
  PCI: of: Simplify devm_of_pci_get_host_bridge_resources() interface
  sparc/PCI: Update reference to devm_of_pci_get_host_bridge_resources()

 arch/sparc/kernel/pci_common.c |  2 +-
 drivers/pci/of.c               | 22 ++++++++++------------
 drivers/pci/pci.h              |  7 -------
 3 files changed, 11 insertions(+), 20 deletions(-)

Changes since v1
(https://lore.kernel.org/r/20250103213129.5182-1-helgaas@kernel.org):
  - Fix compile error
  - Drop 'No bus range found' message
  - Add Ack from Andreas for the sparc/PCI comment update
  - Add Reviewed-by from Rob for the unexport patch

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

end of thread, other threads:[~2025-01-15 21:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 23:15 [PATCH v2 0/4] PCI: Simplify bus range parsing Bjorn Helgaas
2025-01-13 23:15 ` [PATCH v2 1/4] PCI: Unexport of_pci_parse_bus_range() Bjorn Helgaas
2025-01-15  0:31   ` Sathyanarayanan Kuppuswamy
2025-01-13 23:15 ` [PATCH v2 2/4] PCI: of: Drop 'No bus range found' message Bjorn Helgaas
2025-01-15  0:31   ` Sathyanarayanan Kuppuswamy
2025-01-13 23:15 ` [PATCH v2 3/4] PCI: of: Simplify devm_of_pci_get_host_bridge_resources() interface Bjorn Helgaas
2025-01-15  0:21   ` Sathyanarayanan Kuppuswamy
2025-01-15 21:28     ` Bjorn Helgaas
2025-01-13 23:15 ` [PATCH v2 4/4] sparc/PCI: Update reference to devm_of_pci_get_host_bridge_resources() Bjorn Helgaas
2025-01-15  0:34   ` Sathyanarayanan Kuppuswamy
2025-01-15 21:29 ` [PATCH v2 0/4] PCI: Simplify bus range parsing Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.