Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d43e5c1b authored by Rajesh Kemisetti's avatar Rajesh Kemisetti
Browse files

msm: kgsl: Change device-type memory mapping to Normal-NC



Device type memory mapping enforces certain restrictions
on unaligned address accesses.

If userspace in an IOCTL incorrectly sends an unaligned
address at the boundary of device type memory mapping to
kernel, there will be a fault because kernel goes ahead
and reads the device type memory with unaligned access.

To overcome such issues, change device-type memory mapping
to Normal-noncached wherever it is possible.

Change-Id: I34e8268a0defe335ca9d360e910655c2891cd572
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
parent d5fa91ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment