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>
Sat, 19 Feb 2022 07:56:35 +0000 (16:56 +0900)
commitde647e574c29bc83c29a05e0c2708b14dd80809d
tree53d823dbc391c0dd59d31b96ac7f083b49377072
parent3c4093deb98aece5e35008af5f92bfa2edc6d6cb
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]