]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(versal-net): clear power down interrupt status before enable
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Fri, 30 Dec 2022 05:47:54 +0000 (21:47 -0800)
committerJay Buddhabhatti <jay.buddhabhatti@amd.com>
Tue, 10 Jan 2023 10:19:33 +0000 (02:19 -0800)
commit2d056db4e4981e0f8a58de0d1e44e46058b308f4
tree46d61cba2d16cb30cf1f9e9b2df54edd7117da5e
parent21d1966a23b57425a400730270c8694e37b1a85c
fix(versal-net): clear power down interrupt status before enable

Currently power down interrupt status is set by default before its
getting enabled. Because of that Linux is getting crashed since its
triggering interrupt before core goes to WFI state. So clear interrupt
status before enabling power down interrupt.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Change-Id: Ia8d047b6078a49ab3dbe3e0bf24422357f0138c2
plat/xilinx/versal_net/include/versal_net_def.h
plat/xilinx/versal_net/pm_service/pm_client.c