All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] x86/PCI: Ignore EFI memmap MMIO entries
@ 2022-02-14 15:17 Hans de Goede
  2022-02-14 15:17 ` [RFC 1/2] x86/e820: Map EFI_MEMORY_MAPPED_IO to a new E820_TYPE_MMIO type Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hans de Goede @ 2022-02-14 15:17 UTC (permalink / raw)
  To: Rafael J . Wysocki, Bjorn Helgaas, Ingo Molnar, Borislav Petkov,
	H . Peter Anvin
  Cc: Hans de Goede, Mika Westerberg, Krzysztof Wilczyński,
	Myron Stowe, Juha-Pekka Heikkila, Benoit Grégoire, Hui Wang,
	linux-acpi, linux-pci, x86, linux-kernel

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(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-15 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 15:17 [RFC 0/2] x86/PCI: Ignore EFI memmap MMIO entries Hans de Goede
2022-02-14 15:17 ` [RFC 1/2] x86/e820: Map EFI_MEMORY_MAPPED_IO to a new E820_TYPE_MMIO type Hans de Goede
2022-02-14 15:17 ` [RFC 2/2] x86/PCI: Ignore EFI memmap MMIO entries Hans de Goede
2022-02-15 16:12 ` [RFC 0/2] " Hans de Goede
2022-02-15 17:20   ` Rafael J. Wysocki
2022-02-15 20:20     ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.