Re: [PATCH] drm/panfrost: Don't dereference bogus MMU pointers

2019-10-29 Thread Rob Herring
On Mon, Oct 28, 2019 at 3:08 PM Robin Murphy wrote: > > It seems that killing an application while faults are occurring > (particularly with a GPU in FPGA at a whopping 40MHz) can lead to > handling a lingering page fault after all the address space contexts > have already been freed. In this situ

[PATCH] drm/panfrost: Don't dereference bogus MMU pointers

2019-10-28 Thread Robin Murphy
It seems that killing an application while faults are occurring (particularly with a GPU in FPGA at a whopping 40MHz) can lead to handling a lingering page fault after all the address space contexts have already been freed. In this situation, the LRU list is empty so addr_to_drm_mm_node() ends up d