]> git.baikalelectronics.ru Git - arm-tf.git/commit
zynqmp: pm: Invalidate several clocks that Linux doesn't need to control
authorJolly Shah <jollys@xilinx.com>
Fri, 4 Jan 2019 20:03:44 +0000 (12:03 -0800)
committerJolly Shah <jollys@xilinx.com>
Fri, 4 Jan 2019 20:03:54 +0000 (12:03 -0800)
commit50e1b8fe79895c7f9971e432c6d29bc04c1b41b6
tree8a010df6e2bf28c42c3fe5e619700f53ff61dd48
parentbf8ffb38ccf2c9478c6908610f5b8b27386faba4
zynqmp: pm: Invalidate several clocks that Linux doesn't need to control

Linux has no reason to use these system and debug clocks and therefore
shouldn't access them. These clocks are marked as invalid in order to
prevent Linux from registering and querying 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 causing
damage to the system.

Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_api_clock.c