Re: [PATCH 4/4] iommu/vt-d: Do access checks before calling handle_mm_fault()

From: David Woodhouse
Date: Fri Nov 20 2015 - 10:36:11 EST

On Tue, 2015-11-17 at 16:11 +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
> Not doing so is a bug and might trigger a BUG_ON in
> handle_mm_fault(). So add the proper permission checks
> before calling into mm code.
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>

Acked-By: David Woodhouse <David.Woodhouse@xxxxxxxxx>

As noted, I can't test it right now until I've replaced my test
hardware. Certainly looks better than the last version though :)


David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

Attachment: smime.p7s
Description: S/MIME cryptographic signature