Files
linux/drivers
Boris Brezillon 4aea3ddac0 drm/panfrost: Don't try to map pages that are already mapped
commit f45da8204f upstream.

We allocate 2MB chunks at a time, so it might appear that a page fault
has already been handled by a previous page fault when we reach
panfrost_mmu_map_fault_addr(). Bail out in that case to avoid mapping the
same area twice.

Cc: <stable@vger.kernel.org>
Fixes: 187d292920 ("drm/panfrost: Add support for GPU heap allocations")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210205111757.585248-3-boris.brezillon@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-14 09:44:13 +02:00
..
2020-09-09 19:12:21 +02:00
2021-04-10 13:34:30 +02:00
2020-12-30 11:51:26 +01:00
2021-03-04 10:26:29 +01:00
2021-05-11 14:04:12 +02:00
2021-05-07 10:51:38 +02:00
2021-04-07 14:47:39 +02:00
2020-02-24 08:36:48 +01:00
2021-04-16 11:46:39 +02:00