mbox series

[0/2] PCI: endpoint: set prefetchable bit

Message ID 20240229104900.894695-1-cassel@kernel.org (mailing list archive)
Headers show
Series PCI: endpoint: set prefetchable bit | expand

Message

Niklas Cassel Feb. 29, 2024, 10:48 a.m. UTC
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

This series sets the prefetchable bit for all backing memory that the EPF
core allocates for a 64-bit BAR.

So far, only compile tested. Please test.


Kind regards,
Niklas

Niklas Cassel (2):
  PCI: endpoint: Move .only_64bit check to core
  PCI: endpoint: Set prefetch when allocating memory for 64-bit BARs

 drivers/pci/endpoint/functions/pci-epf-test.c | 14 --------------
 drivers/pci/endpoint/pci-epf-core.c           |  8 +++++---
 2 files changed, 5 insertions(+), 17 deletions(-)