]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: endpoint: Allow only_64bit on BAR_RESERVED
authorManikanta Maddireddy <mmaddireddy@nvidia.com>
Thu, 12 Mar 2026 13:02:30 +0000 (14:02 +0100)
committerManivannan Sadhasivam <mani@kernel.org>
Sun, 15 Mar 2026 16:34:28 +0000 (22:04 +0530)
commit27ce1d8ecb9b9ae025b9e9e199845624bc950998
tree8e0e2068cf1ae125b618f7f854e1cae219c02d1e
parent0834d6f4abd0ca35b5706d267a6e4b78303a95de
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
include/linux/pci-epc.h