Files
nvdriver/kernel-open
Solomon Choina 2be365241d kernel: detect pci_resize_resource exclude_bars from pci.h
exclude_bars arrived in 6.19 and was backported to 6.18 stable, so a
LINUX_VERSION_CODE >= 6.19 check misses those trees. Key the fourth
argument off the declaration in include/linux/pci.h, the same way
PCI_IRQ_INTX is keyed off the macro.

- kernel-open/Kbuild defines NV_RS_PCI_RESIZE_EXCLUDE_BARS when pci.h
  declares exclude_bars.
- pci_adapter.c prefers that macro, then the 6.19 and Ubuntu checks.
- docs/KERNEL_COMPAT.md records the guard.
2026-11-30 20:23:04 -05:00
..