]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat: xilinx: Mask unnecessary bytes of return error code
authorRavi Patel <ravi.patel@xilinx.com>
Mon, 23 Nov 2020 12:19:08 +0000 (04:19 -0800)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 7 Dec 2020 11:08:09 +0000 (11:08 +0000)
commitaddc4e969bb157d736ccd0d46db85c8e9c835d42
tree2d753bb73f852eafdd52893195f20e0845620710
parentd4c7b55050df147dce8c243e6bc8a3e9645c027b
plat: xilinx: Mask unnecessary bytes of return error code

Versal firmware adds extra error codes along with PM error codes
while sending response to driver. This makes incorrect error
identification at driver side.

To fix this, mask the unnecessary error bytes before sending the
error code to the driver.

Signed-off-by: Ravi Patel <ravi.patel@xilinx.com>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Change-Id: I18c2f3bd2d067e91344852c2f0c1bafea0e6eb23
plat/xilinx/common/pm_service/pm_ipi.c