diff options
| author | 2025-01-31 19:29:51 +0100 | |
|---|---|---|
| committer | 2025-03-08 14:43:05 +0000 | |
| commit | 4eb208424c9c49dc3298a45e8db7cf43fdf15600 (patch) | |
| tree | 0ddc2da36e2d94442ea01f57066181033197b6dc /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | PCI: endpoint: Allow EPF drivers to configure the size of Resizable BARs (diff) | |
PCI: endpoint: Add pci_epc_bar_size_to_rebar_cap()
Add a helper function to convert a size to the representation used by the
Resizable BAR Capability Register.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250131182949.465530-11-cassel@kernel.org
[mani: squashed the change that added PCIe spec reference to comments
from https://lore.kernel.org/linux-pci/20250219171454.2903059-2-cassel@kernel.org]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
