]> Gentwo Git Trees - linux/.git/commit
PCI: Move Resizable BAR code to rebar.c
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 13 Nov 2025 18:00:43 +0000 (20:00 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Nov 2025 18:34:21 +0000 (12:34 -0600)
commit9f71938cd77f32a448f40a288e409eca60e55486
treeaae2d3db078edc994adf7fc78475ddaf6aeea60b
parent7409c1b12c5b11157d10108db644bd39c0a99426
PCI: Move Resizable BAR code to rebar.c

For lack of a better place to put it, Resizable BAR code has been placed
inside pci.c and setup-res.c that do not use it for anything.  Upcoming
changes are going to add more Resizable BAR related functions, increasing
the code size.

As pci.c is huge as is, move the Resizable BAR related code and the BAR
resize code from setup-res.c to rebar.c.

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-2-ilpo.jarvinen@linux.intel.com
Documentation/driver-api/pci/pci.rst
drivers/pci/Makefile
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/rebar.c [new file with mode: 0644]
drivers/pci/setup-res.c