]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(xilinx): handle CRC failure in IPI callback
authorNaman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com>
Tue, 7 Mar 2023 07:11:12 +0000 (12:41 +0530)
committerAkshay Belsare <akshay.belsare@amd.com>
Thu, 9 Mar 2023 09:35:37 +0000 (15:05 +0530)
commit6173d914d673249ec47c080909c31a1654545913
tree077b8f77ce661624bc465808d9f528bf2b72df5c
parent5e92be5121e8ecd81a0f89eaae0d1a7ac8f4bfd7
fix(xilinx): handle CRC failure in IPI callback

Currently, if CRC validation fails during IPI communication,
pm_ipi_buff_read_callb() logs error message but don't return
error code to upper layers.

Added CRC failure specific error code which will be returned by
pm_ipi_buff_read_callb() if CRC validation fails.

Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com>
Change-Id: I2eaca073e2bf325a8c86b1820bdd7cca487b783e
plat/xilinx/common/include/pm_ipi.h
plat/xilinx/common/pm_service/pm_ipi.c
plat/xilinx/versal/pm_service/pm_api_sys.c
plat/xilinx/versal/pm_service/pm_api_sys.h
plat/xilinx/versal/pm_service/pm_svc_main.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.h
plat/xilinx/zynqmp/pm_service/pm_svc_main.c