[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240612085629.5015-1-ilpo.jarvinen@linux.intel.com>
Date: Wed, 12 Jun 2024 11:56:26 +0300
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>,
linux-pci@...r.kernel.org,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Wilczyński <kw@...ux.com>
Cc: Jonathan Hunter <jonathanh@...dia.com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org,
Robert Richter <rric@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Subject: [PATCH 0/3] PCI: Resource helper improvements
This series introduces resource_set_{range,size}() helpers to replace
often repeated code fragments to set resource start and end addresses.
The last patch cleans up nearby code to use pre-existing helpers &
defines.
For now, this series only converts PCI subsystem. There are plenty of
resource start/end setting code elsewhere in the kernel but those can
be converted once the helpers reach Linus' tree.
Ilpo Järvinen (3):
resource: Add resource set range and size helpers
PCI: Use resource_set_{range,size}() helpers
PCI: Use align and resource helpers, and SZ_* in quirk_s3_64M()
drivers/pci/controller/pci-tegra.c | 2 +-
drivers/pci/controller/pci-thunder-pem.c | 4 +--
drivers/pci/ecam.c | 2 +-
drivers/pci/iov.c | 6 ++--
drivers/pci/pci.c | 3 +-
drivers/pci/quirks.c | 23 +++++++---------
drivers/pci/setup-bus.c | 35 ++++++++++--------------
drivers/pci/setup-res.c | 7 ++---
include/linux/ioport.h | 32 ++++++++++++++++++++++
9 files changed, 68 insertions(+), 46 deletions(-)
--
2.39.2
Powered by blists - more mailing lists