soc: apple: sart: Add SART driver
authorSven Peter <sven@svenpeter.dev>
Thu, 9 Dec 2021 16:22:52 +0000 (17:22 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 18 Jan 2022 11:21:22 +0000 (20:21 +0900)
commite0f94f1742d6e91d5172b6c950c68336f2b671a7
tree68101191ac99718f6742d39c7f4f6101d1d270c0
parentbf79f75cb07b8b24f54005b4f35f32467972ffc0
soc: apple: sart: Add SART driver

The NVMe co-processor on the Apple M1 uses a DMA address filter called
SART for some DMA transactions. This adds a simple driver used to
configure the memory regions from which DMA transactions are allowed.

Co-developed-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
MAINTAINERS
drivers/soc/apple/Kconfig
drivers/soc/apple/Makefile
drivers/soc/apple/sart.c [new file with mode: 0644]
include/linux/soc/apple/sart.h [new file with mode: 0644]