aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/debug.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2017-06-14 23:18:35 +0000
committerThierry Reding <[email protected]>2017-06-15 12:22:32 +0000
commit571cbf70c117664d142b34fa2b3b915d8374a327 (patch)
tree58c09c29d12a99fa7a9f6a5a185b6363e8495310 /drivers/gpu/host1x/debug.c
parentgpu: host1x: Do not leak BO's phys address to userspace (diff)
downloadkernel-571cbf70c117664d142b34fa2b3b915d8374a327.tar.gz
kernel-571cbf70c117664d142b34fa2b3b915d8374a327.zip
gpu: host1x: Forbid relocation address shifting in the firewall
Incorrectly shifted relocation address will cause a lower memory corruption and likely a hang on a write or a read of an arbitrary data in case of IOMMU absence. As of now, there is no known use for the address shifting and adding a proper shifts / sizes validation is a much more work. Let's forbid shifts in the firewall till a proper validation is implemented. Signed-off-by: Dmitry Osipenko <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Mikko Perttunen <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
0 files changed, 0 insertions, 0 deletions