Skip to content
Commit 15b43d77 authored by Andreas Baierl's avatar Andreas Baierl
Browse files

drm/lima: Fix lima cache creation



Due to the kernel merge of the hardened usercopy patch set
we have to whitelist the memory area which is used for
copy_from_user actions. Otherwise lima fails with an abort
and segmentation fault.

This is necessary on systems with CONFIG_HARDENED_USERCOPY enabled.
It was tested on a Cubieboard 1, Allwinner A10.

Signed-off-by: default avatarAndreas Baierl <ichgeh@imkreisrum.de>
parent 3bcd35ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment