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:
Rajesh Kemisetti <rajeshk@codeaurora.org>
Loading
Please register or sign in to comment