PCI: Head alignment fix series
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | resource: Add __resource_contains_unbound() for internal contains checksinclude/ kernel/ | +19 | 0 replies | |
| 2/10 | resource: Pass full extent of empty space to resource_alignf callbackarch/ arch/ arch/ +13 more | +35 | 0 replies | |
| 3/10 | resource: Rename 'tmp' variable to 'full_avail'kernel/ | +14 | 0 replies | |
| 4/10 | ARM/PCI: Remove unnecessary second application of alignarch/ | +0 | 0 replies | |
| 5/10 | m68k/PCI: Remove unnecessary second application of alignarch/ | +0 | 0 replies | |
| 6/10 | MIPS: PCI: Remove unnecessary second application of alignarch/ | +0 | 0 replies | |
| 7/10 | parisc/PCI: Clean up align handlingarch/ | +4 | 0 replies | |
| 8/10 | PCI: Rename window_alignment() to pci_min_window_alignment()drivers/ drivers/ | +6 | 0 replies | |
| 9/10 | PCI: Align head space betterarch/ arch/ arch/ +9 more | +67 | 0 replies | |
| 10/10 | PCI: Fix alignment calculation for resource size larger than aligndrivers/ | +8 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Xifer | Greg Ungerer |
|---|---|---|
| 1/10 | T-b | |
| 2/10 | T-b | |
| 3/10 | T-b | |
| 4/10 | ||
| 5/10 | A-b | |
| 6/10 | ||
| 7/10 | ||
| 8/10 | T-b | |
| 9/10 | T-b | |
| 10/10 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] PCI: Head alignment fix series
Hi,
This series [1] fixed resource assignment regressions for a few setups so I'm sending it now to stable.
The series resolves regressions caused by 3958bf16e2fe ("PCI: Stop over-estimating bridge window size") + bc75c8e50711 ("PCI: Rewrite bridge window head alignment function"), the latter adds new head alignment strategy and the former removes the old strategy making the new, more memory efficient strategy the only one.
I've added those two commit as Fixes and a recent bugzilla ticket + Tested-by done with 6.18 to patch 09/10. These are plain cherrypicks from the upstream commits codewise, no manual modifications to the code changes have been done.
I've not heard the series itself causing any regression.
I didn't know what is the correct way to deal with my Sign-off-by when sending patches separately to stable like this, that is, whether to add another (duplicate) Sign-off-by line of mine as the last line to each patch or not so I left it out.
[1] https://lore.kernel.org/linux-pci/[email protected]/
Ilpo Järvinen (10):
resource: Add __resource_contains_unbound() for internal contains
checks
resource: Pass full extent of empty space to resource_alignf callback
resource: Rename 'tmp' variable to 'full_avail'
ARM/PCI: Remove unnecessary second application of align m68k/PCI: Remove unnecessary second application of align
MIPS: PCI: Remove unnecessary second application of align parisc/PCI: Clean up align handling
PCI: Rename window_alignment() to pci_min_window_alignment()
PCI: Align head space better
PCI: Fix alignment calculation for resource size larger than align
arch/alpha/kernel/pci.c | 1 + arch/arm/kernel/bios32.c | 9 ++++--- arch/m68k/kernel/pcibios.c | 8 +++++-- arch/mips/pci/pci-generic.c | 8 ++++--- arch/mips/pci/pci-legacy.c | 3 +++ arch/parisc/kernel/pci.c | 17 ++++++++------ arch/powerpc/kernel/pci-common.c | 6 ++++- arch/s390/pci/pci.c | 1 + arch/sh/drivers/pci/pci.c | 6 ++++- arch/x86/pci/i386.c | 5 +++- arch/xtensa/kernel/pci.c | 3 +++ drivers/pci/pci.h | 3 +++ drivers/pci/setup-bus.c | 15 ++++++++---- drivers/pci/setup-res.c | 40 +++++++++++++++++++++++++++++++- drivers/pcmcia/rsrc_nonstatic.c | 3 ++- include/linux/ioport.h | 22 +++++++++++++++--- include/linux/pci.h | 12 +++++++--- kernel/resource.c | 33 +++++++++++++------------- 18 files changed, 149 insertions(+), 46 deletions(-)
base-commit: 9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92
Signature · 1 line
2.47.3