]> Git Repo - linux.git/commit
PCI: endpoint: Drop only_64bit on reserved BARs
authorNiklas Cassel <[email protected]>
Fri, 16 Feb 2024 13:45:15 +0000 (14:45 +0100)
committerManivannan Sadhasivam <[email protected]>
Fri, 16 Feb 2024 15:01:10 +0000 (20:31 +0530)
commit9266514689fe6476423209ee40168db53134101d
treef681039ec7fe691ebfa87bda5e633545ccb17352
parente01c9797c0ebb307c9bb196c677f6e571335773e
PCI: endpoint: Drop only_64bit on reserved BARs

The definition of a reserved BAR is that EPF drivers should not touch
them.

The definition of only_64bit is that the EPF driver must configure this
BAR as 64-bit. (An EPF driver is not allowed to choose if this BAR should
be configured as 32-bit or 64-bit.)

Thus, it does not make sense to put only_64bit of a BAR that EPF drivers
are not allow to touch.

Drop the only_64bit property from hardware descriptions that are of type
reserved BAR.

Signed-off-by: Niklas Cassel <[email protected]>
Reviewed-by: Kishon Vijay Abraham I <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pcie-uniphier-ep.c
drivers/pci/endpoint/pci-epc-core.c
include/linux/pci-epc.h
This page took 0.066633 seconds and 4 git commands to generate.