Skip to content

RFC x86/PCI: Ignore EFI memmap MMIO entries

Hans de Goede linux-acpi linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/e820: Map EFI_MEMORY_MAPPED_IO to a new E820_TYPE_MMIO typearch/x86/include/asm/e820/types.h arch/x86/include/asm/iommu.h arch/x86/kernel/e820.c +4 more+30 -70 replies
2/2x86/PCI: Ignore EFI memmap MMIO entriesarch/x86/kernel/resource.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] x86/PCI: Ignore EFI memmap MMIO entries

Hi All,

Here is a new attempt at fixing the issue where on some laptops there are EFI memmap MMIO entries covering the entire PCI bridge mem window, causing Linux to be unable to find free space to assign to unassigned BARs.

This is marked as RFC atm because I'm waiting for feedback from testers.

Regards,

Hans

Hans de Goede (2):
x86/e820: Map EFI_MEMORY_MAPPED_IO to a new E820_TYPE_MMIO type x86/PCI: Ignore EFI memmap MMIO entries

 arch/x86/include/asm/e820/types.h       |  3 +++
 arch/x86/include/asm/iommu.h            |  3 ++-
 arch/x86/kernel/e820.c                  |  5 +++++
 arch/x86/kernel/resource.c              |  4 ++++
 arch/x86/mm/ioremap.c                   |  1 +
 arch/x86/pci/mmconfig-shared.c          | 15 +++++++++++----
 arch/x86/platform/efi/efi.c             |  5 ++++-
 drivers/firmware/efi/libstub/x86-stub.c |  5 ++++-
 8 files changed, 34 insertions(+), 7 deletions(-)
Signature · 1 line
2.33.1