Skip to content

Commit e741ee6

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 2dd0960 commit e741ee6

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
@@ -43,6 +43,7 @@ config PCIE_APPLE
4343
depends on ARCH_APPLE || COMPILE_TEST
4444
depends on OF
4545
depends on PCI_MSI
46+
depends on PAGE_SIZE_16KB || COMPILE_TEST
4647
select PCI_HOST_COMMON
4748
select IRQ_MSI_LIB
4849
help

0 commit comments

Comments
 (0)