linux/Documentation
Ilpo Järvinen d92250b5fd PCI: Move Resizable BAR code to rebar.c
[ Upstream commit 9f71938cd7 ]

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
Stable-dep-of: ee7471fe96 ("PCI: Skip Resizable BAR restore on read error")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-07-24 15:51:58 +02:00
..
ABI xhci: dbc: Allow users to modify DbC poll interval via sysfs 2025-12-07 06:09:15 +09:00
accounting sched/psi: report zeroes for CPU full at the system level 2022-06-09 10:22:48 +02:00
admin-guide cpufreq: Documentation: fix conservative governor freq_step description 2026-07-24 15:51:33 +02:00
arm Documentation: arm: marvell: Add 88F6825 model into list 2021-08-24 13:26:32 -06:00
arm64 arm64: errata: Mitigate TLBI errata on Microsoft Azure Cobalt 100 CPU 2026-06-19 13:33:50 +02:00
block Documentation: block: blk-mq: Fix small typo in multi-queue docs 2021-08-24 13:30:00 -06:00
bpf libbpf: Rename libbpf documentation index file 2021-08-18 08:45:25 -07:00
cdrom docs: cdrom-standard.rst: get rid of uneeded UTF-8 chars 2021-05-11 11:00:17 -06:00
core-api timers: Update the documentation to reflect on the new timer_shutdown() API 2026-02-11 13:35:28 +01:00
cpu-freq cpufreq: Remove ready() callback 2021-09-02 18:04:17 +02:00
crypto crypto: af_alg - Remove zero-copy support from skcipher and aead 2026-07-24 15:51:27 +02:00
dev-tools kfence: allow use of a deferrable timer 2025-03-13 12:50:49 +01:00
devicetree dt-bindings: media: sun4i-a10-video-engine: Add interconnect properties 2026-07-24 15:51:27 +02:00
doc-guide docs: doc-guide: avoid using ReST :doc:foo markup 2021-06-17 13:24:37 -06:00
driver-api PCI: Move Resizable BAR code to rebar.c 2026-07-24 15:51:58 +02:00
fault-injection debugfs: fix error when writing negative value to atomic_t debugfs file 2022-12-31 13:14:03 +01:00
fb Documentation: Add leading slash to some paths 2021-03-31 13:49:19 -06:00
features RISC-V Patches for the 5.15 Merge Window, Part 2 2021-09-11 14:29:42 -07:00
filesystems fs_context: drop the unused lsm_flags member 2026-01-19 13:09:38 +01:00
firmware-guide Documentation: ACPI: Fix parent device references 2025-08-28 16:24:15 +02:00
firmware_class firmware: revamp firmware documentation 2017-01-11 09:42:59 +01:00
fpga fpga: fix spelling mistakes 2021-07-21 19:54:21 -07:00
gpu drm/vmwgfx: Copy DRM hash-table code into driver 2025-10-19 16:21:41 +02:00
hid Documentation: Add leading slash to some paths 2021-03-31 13:49:19 -06:00
hwmon hwmon: (adm1177) fix sysfs ABI violation and current unit conversion 2026-04-18 10:33:26 +02:00
i2c Documentation: i2c: add i2c-sysfs into index 2021-08-10 22:58:32 +02:00
ia64 docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
ide docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
iio iio: hrtimer: Allow sub Hz granularity 2021-03-25 19:13:49 +00:00
infiniband RDMA/core: Remove FMR device ops 2020-06-02 20:32:54 -03:00
input Input: iforce - add support for Boeder Force Feedback Wheel 2022-09-20 12:39:45 +02:00
isdn isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros 2025-12-07 06:09:32 +09:00
kernel-hacking timers: Update the documentation to reflect on the new timer_shutdown() API 2026-02-11 13:35:28 +01:00
leds Documentation: leds: standartizing LED names 2021-08-20 10:26:24 +02:00
litmus-tests Documentation/litmus-tests: Add note on herd7 7.56 in atomic litmus test 2020-06-29 12:05:18 -07:00
livepatch docs: livepatch: Fix a typo and remove the unnecessary gaps in a sentence 2021-03-08 17:25:16 -07:00
locking kcsan, seqlock: Support seqcount_latch_t 2024-12-14 19:50:46 +01:00
m68k docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
maintainer media: add a subsystem profile documentation 2021-03-22 08:56:42 +01:00
mhi docs: Add documentation for MHI bus 2020-03-19 07:41:04 +01:00
mips docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
misc-devices dw-xdata-pcie: Update outdated info and improve text format 2021-04-14 19:47:28 +02:00
netlabel docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
netlink/specs fou: Don't allow 0 for FOU_ATTR_IPPROTO. 2026-02-06 16:41:52 +01:00
networking net: dpaa2: replace dpaa2_mac_is_type_fixed() with dpaa2_mac_is_type_phy() 2026-04-18 10:33:09 +02:00
nios2 docs: nios2: add missing ReST file 2020-12-07 08:35:21 -07:00
nvdimm nvdimm: fixes to maintainter-entry-profile 2020-05-25 10:19:19 -06:00
openrisc docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
parisc docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
PCI PCI: endpoint: Automatically create a function specific attributes group 2026-02-19 16:21:46 +01:00
pcmcia docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
power Documentation: PM: Clarify pm_runtime_resume_and_get() return value 2024-12-19 18:07:21 +01:00
powerpc powerpc/doc: Fix htmldocs errors 2021-08-27 00:56:34 +10:00
process Documentation: process: Also mention Sasha Levin as stable tree maintainer 2026-01-19 13:09:19 +01:00
RCU timers: Update the documentation to reflect on the new timer_shutdown() API 2026-02-11 13:35:28 +01:00
riscv riscv: Move early dtb mapping into the fixmap region 2023-05-01 08:23:24 +09:00
s390 vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICE 2021-06-21 15:29:25 -06:00
scheduler This was a reasonably active cycle for documentation; this pull includes: 2021-06-28 16:53:05 -07:00
scsi scsi: libsas: Delete lldd_clear_aca callback 2025-05-02 07:44:07 +02:00
security KEYS: trusted: allow use of kernel RNG for key material 2023-10-19 23:05:33 +02:00
sh docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
sound ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument 2024-02-23 08:54:46 +01:00
sparc docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
sphinx docs: kernel_include.py: Cope with docutils 0.21 2024-05-25 16:20:19 +02:00
sphinx-static doc-rst: Reduce CSS padding around Field 2019-10-02 10:03:06 -06:00
spi spi: pxa2xx: Update documentation to point out that it's outdated 2021-05-18 14:05:36 +01:00
staging remoteproc updates for v5.9 2020-08-11 11:17:45 -07:00
target tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
timers Documentation: Replace del_timer/del_timer_sync() 2026-02-11 13:35:28 +01:00
trace Documentation: trace: historgram-design: Separate sched_waking histogram section heading and the following diagram 2025-10-19 16:21:35 +02:00
translations timers: Update the documentation to reflect on the new timer_shutdown() API 2026-02-11 13:35:28 +01:00
tty/device_drivers serial: 8250: Add proper clock handling for OxSemi PCIe devices 2022-08-17 14:24:23 +02:00
usb docs: usb: fix malformed table 2021-08-05 12:31:51 +02:00
userspace-api crypto: qat - remove unused character device and IOCTLs 2026-07-04 13:39:41 +02:00
virt KVM: s390: disable migration mode when dirty tracking is disabled 2023-03-10 09:40:01 +01:00
vm Documentation: fix a hugetlbfs reservation statement 2026-06-01 17:35:32 +02:00
w1 w1: fix build warning in w1_ds2438.rst 2021-05-26 09:11:24 +02:00
watchdog docs: watchdog: fix obsolete include file reference in pcwd 2021-03-06 17:36:51 -07:00
x86 x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key 2024-04-10 16:18:48 +02:00
xtensa A much quieter cycle for documentation (happily), with, one hopes, the bulk 2020-12-14 16:55:54 -08:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
arch.rst docs: Group arch-specific documentation under "CPU Architectures" 2021-03-15 13:35:35 -06:00
asm-annotations.rst x86/entry: Emit a symbol for register restoring thunk 2021-01-14 17:18:25 +01:00
atomic_bitops.txt locking/atomic: Make test_and_*_bit() ordered on failure 2022-08-25 11:39:54 +02:00
atomic_t.txt Documentation/atomic_t: Document forward progress expectations 2021-08-04 15:16:47 +02:00
Changes docs: add back 'Documentation/Changes' file (as symlink) 2016-12-14 16:30:12 -08:00
CodingStyle doc: re-add CodingStyle and SubmittingPatches 2016-10-24 08:12:35 -02:00
conf.py docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0 2022-06-09 10:23:30 +02:00
COPYING-logo Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
docutils.conf doc-rst: Add missing newline at end of file 2019-06-20 14:16:56 -06:00
dontdiff kbuild: generate Module.symvers only when vmlinux exists 2021-04-25 05:17:02 +09:00
index.rst docs: Group arch-specific documentation under "CPU Architectures" 2021-03-15 13:35:35 -06:00
Kconfig docs: Kconfig/Makefile: add a check for broken ABI files 2020-10-30 13:08:07 +01:00
logo.gif Revert "linux.conf.au 2009: Tuz" 2009-04-27 12:00:27 -07:00
Makefile docs: Makefile: Use CONFIG_SHELL not SHELL 2021-06-18 11:26:08 -06:00
memory-barriers.txt asm-generic: Add memory barrier dma_mb() 2025-08-28 16:24:36 +02:00
SubmittingPatches doc: re-add CodingStyle and SubmittingPatches 2016-10-24 08:12:35 -02:00
watch_queue.rst docs: watch_queue: fix some warnings 2020-09-10 10:48:56 -06:00