Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-27 Thread Simon Glass
Hi Mark, On Sun, 26 Sept 2021 at 14:53, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Mon, 20 Sep 2021 19:11:25 -0600 > > Hi Simon, > > > [..] > > > > > > > +static int apple_dart_bind(struct udevice *dev) > > > > > +{ > > > > > + void *base; > > > > > + int sid, i; > > > >

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-26 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 20 Sep 2021 19:11:25 -0600 Hi Simon, > [..] > > > > > +static int apple_dart_bind(struct udevice *dev) > > > > +{ > > > > + void *base; > > > > + int sid, i; > > > > + > > > > + base = dev_read_addr_ptr(dev); > > > > + if (!base) > > > >

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-25 Thread Simon Glass
On Mon, 20 Sept 2021 at 19:11, Simon Glass wrote: > > Hi Mark, > > On Mon, 20 Sept 2021 at 02:33, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Sun, 19 Sep 2021 21:16:00 -0600 > > > > > > Hi Mark, > > > > > > On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote: > > > > > > > >

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-20 Thread Simon Glass
Hi Mark, On Mon, 20 Sept 2021 at 02:33, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Sun, 19 Sep 2021 21:16:00 -0600 > > > > Hi Mark, > > > > On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote: > > > > > > The DART is an IOMMU that is used on Apple's M1 SoC. This driver > > >

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-20 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 19 Sep 2021 21:16:00 -0600 > > Hi Mark, > > On Sat, 18 Sept 2021 at 07:55, Mark Kettenis 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

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-19 Thread Simon Glass
Hi Mark, On Sat, 18 Sept 2021 at 07:55, Mark Kettenis 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

[PATCH 3/5] misc: Add Apple DART driver

2021-09-18 Thread Mark Kettenis
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