diff options
| author | Manikanta Maddireddy <mmaddireddy@nvidia.com> | 2026-03-12 16:02:30 +0300 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-03-15 19:34:28 +0300 |
| commit | 27ce1d8ecb9b9ae025b9e9e199845624bc950998 (patch) | |
| tree | 8e0e2068cf1ae125b618f7f854e1cae219c02d1e | |
| parent | 0834d6f4abd0ca35b5706d267a6e4b78303a95de (diff) | |
| download | linux-27ce1d8ecb9b9ae025b9e9e199845624bc950998.tar.xz | |
PCI: endpoint: Allow only_64bit on BAR_RESERVED
Remove the documentation that forbids setting only_64bit on a BAR of type
BAR_RESERVED.
When a reserved BAR is 64-bit by default, setting only_64bit is the most
accurate description. If we later add support to disable a reserved BAR
(e.g. disable_bar() for BARs that were never set via set_bar()), the
implementation will need to clear the adjacent BAR (upper 32 bits) as well;
having only_64bit set documents that requirement.
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260312130229.2282001-14-cassel@kernel.org
| -rw-r--r-- | include/linux/pci-epc.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h index c981ea7d52c0..5c59f5606869 100644 --- a/include/linux/pci-epc.h +++ b/include/linux/pci-epc.h @@ -207,11 +207,6 @@ enum pci_epc_bar_type { * @only_64bit: if true, an EPF driver is not allowed to choose if this BAR * should be configured as 32-bit or 64-bit, the EPF driver must * configure this BAR as 64-bit. - * - * only_64bit should not be set on a BAR of type BAR_RESERVED. - * (If BARx is a 64-bit BAR that an EPF driver is not allowed to - * touch, then both BARx and BARx+1 must be set to type - * BAR_RESERVED.) */ struct pci_epc_bar_desc { enum pci_epc_bar_type type; |
