[PATCH 0/4] x86: add EFI PCI host and iTCO watchdog support
Ahmad Fatoum
ahmad at a3f.at
Fri Apr 16 07:24:32 BST 2021
v1 is here:
https://lore.barebox.org/barebox/20191204125659.22506-1-a.fatoum@pengutronix.de/
Series tested with:
* QEMU q35: ns16550 serial, iTCO and virtio-pci
* Dell Latitude 7490: Bus enumeration works correctly
v1 -> v2:
- add DMA helpers, so the new virtio-pci support is usable on x86 as
well
- add preassigned bus support, so already running PCI UEFI drivers can
continue to function
- handle zero size resources correctly
- add iTCO watchdog support in new commit
Cheers,
Ahmad Fatoum (4):
x86: add DMA support
PCI: support PCI BIOS preassigned buses
pci: add EFI PCI root bridge IO protocol driver
watchdog: add support for Intel TCO watchdog timer
arch/arm/include/asm/pci.h | 7 +
arch/mips/include/asm/pci.h | 7 +
arch/x86/Kconfig | 1 +
arch/x86/configs/efi_defconfig | 2 +
arch/x86/include/asm/dma.h | 36 +++-
arch/x86/include/asm/pci.h | 7 +
drivers/efi/Kconfig | 1 +
drivers/pci/Kconfig | 5 +
drivers/pci/Makefile | 1 +
drivers/pci/pci-efi.c | 342 ++++++++++++++++++++++++++++++++
drivers/pci/pci-efi.h | 343 ++++++++++++++++++++++++++++++++
drivers/pci/pci.c | 106 ++++++----
drivers/watchdog/Kconfig | 17 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/itco_wdt.c | 346 +++++++++++++++++++++++++++++++++
include/linux/pci.h | 3 +
16 files changed, 1187 insertions(+), 38 deletions(-)
create mode 100644 arch/arm/include/asm/pci.h
create mode 100644 arch/mips/include/asm/pci.h
create mode 100644 arch/x86/include/asm/pci.h
create mode 100644 drivers/pci/pci-efi.c
create mode 100644 drivers/pci/pci-efi.h
create mode 100644 drivers/watchdog/itco_wdt.c
--
2.31.0
More information about the barebox
mailing list