]> Gentwo Git Trees - linux/.git/commit
PCI: Add pci_rebar_get_max_size()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 13 Nov 2025 18:00:50 +0000 (20:00 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Nov 2025 18:34:21 +0000 (12:34 -0600)
commit1c680f2acdbb3b64965962ca060a6daa6379575d
treee42e6370dc3329c004b327a08368ed58d1ef250e
parent2987a64de3f257028998c3f1b5b9646359bda94f
PCI: Add pci_rebar_get_max_size()

Add pci_rebar_get_max_size() to allow simplifying code that wants to know
the maximum possible size for a Resizable BAR.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patch.msgid.link/20251113180053.27944-9-ilpo.jarvinen@linux.intel.com
drivers/pci/rebar.c
include/linux/pci.h