]> git.baikalelectronics.ru Git - arm-tf.git/commit
zynqmp: pm: Filter errors related to clock gate permissions
authorMirela Simonovic <mirela.simonovic@aggios.com>
Fri, 24 Aug 2018 15:09:07 +0000 (17:09 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 12 Nov 2020 09:26:57 +0000 (10:26 +0100)
commitc23cf053037ecc4521a7e03ba0100f1c78afd580
tree0e4fc3d5b563ab5072c947d23be12bcca68e9e53
parentd01f31c0366fa7b0aa8f0eee8daeee5385c88ce5
zynqmp: pm: Filter errors related to clock gate permissions

Linux clock framework cannot properly deal with these errors. When the
error is related to the lack of permissions to control the clock we
filter the error and report the success to linux. Before recent changes
in clock framework across the stack, this was done in the PMU-FW as a
workaround. Since the PMU-FW now handles clocks and the permissions to
control them using general principles rather than workarounds, it can
no longer distinguish such exceptions and it has to return no-access
error.

Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Change-Id: I1491a80e472f44e322a542b29a20eb1cb3319802
plat/xilinx/zynqmp/pm_service/pm_api_sys.c