Hi Geert, Thank you for the review.
On Friday 28 February 2014 18:48:22 Geert Uytterhoeven wrote: > On Fri, Feb 28, 2014 at 4:24 PM, Laurent Pinchart wrote: > > +/* > > + * VMSA that states in section B3.6.3 "Control of Secure or Non-secure > > memory > > VMSA states > > > + * access, Long-descriptor format" that the NStable bit being set in a > > table + * descriptor will result in the NStable and NS bits of all child > > entries being + * ignored and considered as being set. The IPMMU seems > > not to comply with this, + * as it generates a secure access page fault > > if any of the NStable and NS bits + * isn't set when running in > > non-secure mode. > > + */ > > > > + /* > > + * TTBCR > > + * We use long descriptor, with inner-shareable WBWA tables and > > allocate > > descriptors > > > + * the whole 32-bit VA space to TTBR0. > > + */ > > > > + /* > > + * Clear the error status flags. Unlike traditionnal interrupt > > flag > > traditional > > Sorry, only comments on the comments ;-) I'll of course assume this means that the driver is perfect ;-) I'll fix all this in v2. -- Regards, Laurent Pinchart _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu