On Mon, 20 Sept 2021 at 19:11, Simon Glass <s...@chromium.org> wrote: > > Hi Mark, > > On Mon, 20 Sept 2021 at 02:33, Mark Kettenis <mark.kette...@xs4all.nl> wrote: > > > > > From: Simon Glass <s...@chromium.org> > > > Date: Sun, 19 Sep 2021 21:16:00 -0600 > > > > > > Hi Mark, > > > > > > On Sat, 18 Sept 2021 at 07:55, Mark Kettenis <kette...@openbsd.org> wrote: > > > > > > > > The DART is an IOMMU that is used on Apple's M1 SoC. This driver > > > > supports the DART in bypass mode as well as in a mode where it > > > > creates a 1:1 mapping of a subset of RAM as not all DARTs support > > > > bypass mode. The USB3 ports integrated on the SoC use a DART > > > > that supports bypass mode. The 1:1 mapping will be used in the > > > > future to support other devices such as the PCIe host bridge > > > > of the M1 SoC. > > > > > > > > Signed-off-by: Mark Kettenis <kette...@openbsd.org> > > > > --- > > > > drivers/misc/Kconfig | 7 ++ > > > > drivers/misc/Makefile | 1 + > > > > drivers/misc/apple_dart.c | 171 ++++++++++++++++++++++++++++++++++++++ > > > > 3 files changed, 179 insertions(+) > > > > create mode 100644 drivers/misc/apple_dart.c > > > > >
Tested on: Macbook Air M1 Tested-by: Simon Glass <s...@chromium.org>