[PATCH v2 0/9] PCI: endpoint: set prefetchable bit for 64-bit BARs
Niklas Cassel
cassel at kernel.org
Tue Mar 12 03:51:40 PDT 2024
Shradha Todi wanted to add prefetchable BAR support by adding more things
to epc_features:
https://lore.kernel.org/linux-pci/20240228134448.56372-1-shradha.t@samsung.com/T/#t
The series starts off with some generic cleanups and fixes which was needed
to make the implementation of the actual feature easier.
The final patch in the series sets the prefetchable bit for all backing memory
that the EPF core allocates for a 64-bit BAR.
Kind regards,
Niklas
Changes since V2:
-Addressed my own comments.
-Added additional clean up patches.
Niklas Cassel (9):
PCI: endpoint: pci-epf-test: Fix incorrect loop increment
PCI: endpoint: Allocate a 64-bit BAR if that is the only option
PCI: endpoint: pci-epf-test: Remove superfluous code
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_alloc_space() loop
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_set_bar() loop
PCI: endpoint: pci-epf-test: Clean up pci_epf_test_unbind()
PCI: cadence: Set a 64-bit BAR if requested
PCI: rockchip-ep: Set a 64-bit BAR if requested
PCI: endpoint: Set prefetch when allocating memory for 64-bit BARs
.../pci/controller/cadence/pcie-cadence-ep.c | 5 +-
drivers/pci/controller/pcie-rockchip-ep.c | 2 +-
drivers/pci/endpoint/functions/pci-epf-test.c | 67 +++++++------------
drivers/pci/endpoint/pci-epf-core.c | 10 ++-
4 files changed, 33 insertions(+), 51 deletions(-)
--
2.44.0
More information about the Linux-rockchip
mailing list