]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(plat/css): fix invalid redistributor poweroff
authorWaleed Elmelegy <waleed.elmelegy@arm.com>
Mon, 16 Jan 2023 15:10:38 +0000 (15:10 +0000)
committerwaleed.elmelegy <waleed.elmelegy@arm.com>
Wed, 18 Jan 2023 14:19:14 +0000 (16:19 +0200)
commit60719e4e0965aead49d927f12bf2a37bd2629012
tree42bfa44b628b9a7c58c2b21cb39ca63c8c7363f4
parent28a8efd2e2abc242d8d56f5a3d93bd2fa9df2df0
fix(plat/css): fix invalid redistributor poweroff

Commit 4d8c18196378824e388cf31ef991ba8fbbb09cbf
introduced an invalid redistributor power off
where we turn off the redistributor without
checking if the system power domain level is
turning off, otherwise we can turn off a
redistributor when other cores or clusters are
sharing it, also if it does indeed needs
powering off during suspend we do it twice.
This change fixes this by checking on the
system power state first then turning off
the redistributor.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
Change-Id: Id202bc2316ab7c516298fa33ea089ae2e221a933
plat/arm/css/common/css_pm.c