[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250113231557.441289-1-helgaas@kernel.org>
Date: Mon, 13 Jan 2025 17:15:53 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: "David S . Miller" <davem@...emloft.net>,
Andreas Larsson <andreas@...sler.com>,
sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [PATCH v2 0/4] PCI: Simplify bus range parsing
From: Bjorn Helgaas <bhelgaas@...gle.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
Powered by blists - more mailing lists