Skip to content

x86/PCI: Log E820 clipping

Bjorn Helgaas linux-acpi linux-pci lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/PCI: Eliminate remove_e820_regions() common subexpressionsarch/x86/kernel/resource.c+4 -20 replies
2/3x86: Log resource clipping for E820 regionsarch/x86/kernel/resource.c+7 -01 reply
3/3x86/PCI: Clip only host bridge windows for E820 regionsarch/x86/include/asm/e820/api.h arch/x86/kernel/resource.c arch/x86/pci/acpi.c+17 -70 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de GoedeMika WesterbergRafael J. Wysocki
SeriesR-b
1/3R-b R-b A-b
2/3A-b
3/3R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] x86/PCI: Log E820 clipping

From: Bjorn Helgaas <[email protected]>

This is still work-in-progress on the issue of PNP0A03 _CRS methods that are buggy or not interpreted correctly by Linux.

The previous try at:
https://lore.kernel.org/r/[email protected]
caused regressions on some Chromebooks:
https://lore.kernel.org/r/[email protected]

This v2 drops the commit that caused the Chromebook regression, so it also doesn't fix the issue we were *trying* to fix on Lenovo Yoga and Clevo Barebones.

The point of this v2 update is to split the logging patch into (1) a pure logging addition and (2) the change to only clip PCI windows, which was previously hidden inside the logging patch and not well documented.

Bjorn Helgaas (3):
x86/PCI: Eliminate remove_e820_regions() common subexpressions
x86: Log resource clipping for E820 regions
x86/PCI: Clip only host bridge windows for E820 regions

 arch/x86/include/asm/e820/api.h |  5 +++++
 arch/x86/kernel/resource.c      | 23 ++++++++++++++++-------
 arch/x86/pci/acpi.c             |  5 +++++
 3 files changed, 26 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1