The IOMMUs integrated on Apple's M1 Pro/MaxJ SoC use a different page table
authorkettenis <kettenis@openbsd.org>
Mon, 28 Feb 2022 15:51:02 +0000 (15:51 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 28 Feb 2022 15:51:02 +0000 (15:51 +0000)
commit5d50335578fc88e884390db4ed94a97c7ff0360a
tree92b103b1a436a19d019716a39f8e9e80005e0309
parentfd80a8c4300b22c0792d942d0f689933c8a0ec5e
The IOMMUs integrated on Apple's M1 Pro/MaxJ SoC use a different page table
layout where the physical (CPU) address needs to be shifted to allow for the
larger physical address space implemented in these SoCs.  Make apldart(4)
handle this new page table layout based on the compatible property.

ok jsg@
sys/arch/arm64/dev/apldart.c