diff options
author | Nina Wu <nina-cm.wu@mediatek.corp-partner.google.com> | 2023-09-08 10:03:09 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2023-10-02 06:32:01 +0000 |
commit | 95a3c79d559d1b4ef064c752571221484f913a9a (patch) | |
tree | 4746b93b9cdebae2cc544c5fdd77b89a7aee0bea /src/vendorcode/intel/Makefile.inc | |
parent | 244ec489f22b0a70c06c03262b3bd881635c78df (diff) |
soc/mediatek/mt8188: devapc: Set master domains
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 sets domains for masters:
SSPM - domain 3
CPUEB - domain 14
PCIE0 - domain 2
SPM - domain 9
Change-Id: Ie3e1d5055e72824257b66d6257982652eeb05953
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/+/77862
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/intel/Makefile.inc')
0 files changed, 0 insertions, 0 deletions