diff options
author | Jolly Shah <jollys@xilinx.com> | 2019-01-02 13:48:19 -0800 |
---|---|---|
committer | Jolly Shah <jollys@xilinx.com> | 2019-01-04 12:00:07 -0800 |
commit | bf8ffb38ccf2c9478c6908610f5b8b27386faba4 (patch) | |
tree | 2fa2c737c98ec19be6aa1c5997569c4163d182ce /plat/xilinx | |
parent | 284b2f095bce33487fd6d3c3c11e77ef8d79dd3f (diff) |
zynqmp: pm: Add ACPU_FULL and ACPU_HALF clocks in the invalid list
These clocks are marked as invalid in order to prevent Linux from
registering them.
Note that despite clocks being marked as invalid a security issue
still remains in place as there is nothing that prevents the
non-secure world from gating these clocks and that way halt
the whole APU subsystem.
Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
Diffstat (limited to 'plat/xilinx')
-rw-r--r-- | plat/xilinx/zynqmp/pm_service/pm_api_clock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plat/xilinx/zynqmp/pm_service/pm_api_clock.c b/plat/xilinx/zynqmp/pm_service/pm_api_clock.c index d91f4e46..8901ea69 100644 --- a/plat/xilinx/zynqmp/pm_service/pm_api_clock.c +++ b/plat/xilinx/zynqmp/pm_service/pm_api_clock.c @@ -2253,7 +2253,10 @@ static struct pm_ext_clock ext_clocks[] = { }; /* Array of clock which are invalid for this variant */ -static uint32_t pm_clk_invalid_list[] = {CLK_USB0, CLK_USB1, CLK_CSU_SPB}; +static uint32_t pm_clk_invalid_list[] = {CLK_USB0, CLK_USB1, CLK_CSU_SPB, + CLK_ACPU_FULL, + CLK_ACPU_HALF, +}; /** * pm_clock_valid - Check if clock is valid or not |