]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'pci/resource'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Apr 2026 17:50:05 +0000 (12:50 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Apr 2026 17:50:05 +0000 (12:50 -0500)
commit6cf4941ba9b11c28bbd7c9a7c1a461b94cd486c3
treed7a48bf700c47930685502f300b93a24ab2adabd
parent12b56ec723d2d736feb16ea6ea2505520de3cc58
parent8cb081667377709f4924ab6b3a88a0d7a761fe91
Merge branch 'pci/resource'

- Prevent assigning space to unimplemented bridge windows; previously we
  mistakenly assumed prefetchable window existed and assigned space and put
  a BAR there (Ahmed Naseef)

- Avoid shrinking bridge windows to fit in the initial Root Port window;
  this fixes one problem with devices with large BARs connected via
  switches, e.g., Thunderbolt (Ilpo Järvinen)

- Retain information about optional resources to make assignment during
  rescan more likely to succeed (Ilpo Järvinen)

- Add __resource_contains_unbound() for use in finding space for resources
  with no address assigned (Ilpo Järvinen)

- Pass full extent of empty space, not just the aligned space, to
  resource_alignf callback so free space before the requested alignment can
  be used (Ilpo Järvinen)

- Remove unnecessary second alignment from ARM, m68k, MIPS (Ilpo Järvinen)

- Place small resources before larger ones for better utilization of
  address space (Ilpo Järvinen)

- Fix alignment calculation for resource size larger than align, e.g.,
  bridge windows larger than the 1MB required alignment (Ilpo Järvinen)

* pci/resource:
  PCI: Fix alignment calculation for resource size larger than align
  PCI: Align head space better
  PCI: Rename window_alignment() to pci_min_window_alignment()
  parisc/PCI: Clean up align handling
  MIPS: PCI: Remove unnecessary second application of align
  m68k/PCI: Remove unnecessary second application of align
  ARM/PCI: Remove unnecessary second application of align
  resource: Rename 'tmp' variable to 'full_avail'
  resource: Pass full extent of empty space to resource_alignf callback
  resource: Add __resource_contains_unbound() for internal contains checks
  PCI: Fix premature removal from realloc_head list during resource assignment
  PCI: Prevent shrinking bridge window from its required size
  PCI: Prevent assignment to unsupported bridge windows
drivers/pci/pci.h
drivers/pci/probe.c
include/linux/pci.h