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

Skip to content
Commit e5c1bddd authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

iommu/arm-smmu: Fix missing power off for TCU space in testbus handling



When userspace specifies an incorrect testbus sel value, the testbus
write function immediately bails out, leaving the TCU space powered
on, which is not correct. Sanitize the testbus sel value before
programming the TCU testbus registers so that the register space is
powered on only when userspace provides a meaningful value.

Change-Id: I2c0935e056bd411d12ffdcc7d113c628e0e609d4
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 3856a267
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