Commit 5af47394 authored by Zhiyuan Dai's avatar Zhiyuan Dai Committed by Bjorn Helgaas
Browse files

PCI: Increase Resizable BAR support from 512 GB to 128 TB

Per PCIe r6.0, sec 7.8.6.2, devices can advertise Resizable BAR sizes up to
128 TB in the Resizable BAR Capability register.  Larger sizes can be
advertised via the Capability register, but that requires an API change.

Update pci_rebar_get_possible_sizes() and pbus_size_mem() to increase the
sizes we currently support from 512 GB to 128 TB.

Link: https://lore.kernel.org/r/20250307053535.44918-1-daizhiyuan@phytium.com.cn


Signed-off-by: default avatarZhiyuan Dai <daizhiyuan@phytium.com.cn>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 2499f534
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment