Skip to content

Commit 83fb58e

Browse files
committed
PCI: apple: Add depends on PAGE_SIZE_16KB
The iommu on Apple's M1 and M2 supports only a page size of 16kB and is mandatory for PCIe devices. The PCI controller itself is not affeccted by the CPU page size the page size mismatch devices are renderer useless due to non-working DMA. While the the iommu prints a warning in this scenario it seems a common and hard to debug problem. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 1401c1f commit 83fb58e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pci/controller/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ config PCIE_APPLE
4545
depends on ARCH_APPLE || COMPILE_TEST
4646
depends on OF
4747
depends on PCI_MSI
48+
depends on PAGE_SIZE_16KB || COMPILE_TEST
4849
select PCI_HOST_COMMON
4950
select IRQ_MSI_LIB
5051
help

0 commit comments

Comments
 (0)