[PATCH] drm/etnaviv: remove BUG_ON in MMU unmap path

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Apr 28 13:55:45 UTC 2016


On Wed, Apr 27, 2016 at 02:38:18PM +0200, Lucas Stach wrote:
> If the MMU map fails caused by an unaligned SG entry, the unmap path
> is called to undo all already setup SG mappings. When encountering the
> unaligned SG the unmap path hangs the kernel with a BUG(), while the
> error is recoverable by just failing the submit that references the
> faulty object.

I'm very tempted to NAK this, because I introduced it with good reason:
we should never see anything except a page-aligned number of bytes here.

Are you seeing this trigger?

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.


More information about the dri-devel mailing list