diff options
author | Nina Wu <nina-cm.wu@mediatek.corp-partner.google.com> | 2023-09-07 17:21:39 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2023-10-02 06:31:53 +0000 |
commit | 244ec489f22b0a70c06c03262b3bd881635c78df (patch) | |
tree | 30ce5b5c56caff0646867c319e36c0213e31419c /tests/mock | |
parent | 3748fca5955bc975ea426cf9bd9fd8e9278a9752 (diff) |
soc/mediatek/mt8188: devapc: Update permission for master domain setup
Currently, all the masters controlled by DAPC are in domain 0. With
this setting, there is a potential security problem. For example, if a
certain master is somehow hacked, it may attempt to access registers
that it is not supposed to, with successful results. This is due to the
fact that, in the current setting, all masters are in domain 0 and can
access almost all registers. To prevent this problem, we assign masters
to different domains and restrict access to registers based on each
domain.
This patch updates the permission settings for domains 2, 3, 4, 5, 7,
8, 9, and 14, as these domains will be assigned masters in the upcoming
patch.
BUG=b:270657858
TEST=build pass
Change-Id: I6e95ddb5d84a09ff865d7615596430e25b69d3fc
Signed-off-by: Nina Wu <nina-cm.wu@mediatek.com>
Signed-off-by: Jason Chen <Jason-ch.Chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77861
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'tests/mock')
0 files changed, 0 insertions, 0 deletions