Home
last modified time | relevance | path

Searched hist:"4 a50363aaeaa16edafcff17486006049b30e1e2f" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/xilinx/versal_net/
H A Dsip_svc_setup.c4a50363aaeaa16edafcff17486006049b30e1e2f Wed Feb 15 11:39:22 UTC 2023 Michal Simek <michal.simek@amd.com> fix(versal): check smc_fid 23:16 bits

23:16 bits when they gets to SMC handler should be all zeros but be
inside SIP Service Calls range which is defined as 0x82000000-0x8200ffff
or 0xc2000000-0xc200ffff. That's why make sure that code won't handle
any SMCs in SIP range out of predefined range.

Also fix MASK values to check the same range for PM/IPI calls to make
sure that masking covers all required bits including 23:16. Bits 15:12
are used for different class of requests.

Change-Id: I9d3e91aa521d6bb90f6b15b71ff1e89fa77ee379
Signed-off-by: Michal Simek <michal.simek@amd.com>
/rk3399_ARM-atf/plat/xilinx/versal/
H A Dsip_svc_setup.c4a50363aaeaa16edafcff17486006049b30e1e2f Wed Feb 15 11:39:22 UTC 2023 Michal Simek <michal.simek@amd.com> fix(versal): check smc_fid 23:16 bits

23:16 bits when they gets to SMC handler should be all zeros but be
inside SIP Service Calls range which is defined as 0x82000000-0x8200ffff
or 0xc2000000-0xc200ffff. That's why make sure that code won't handle
any SMCs in SIP range out of predefined range.

Also fix MASK values to check the same range for PM/IPI calls to make
sure that masking covers all required bits including 23:16. Bits 15:12
are used for different class of requests.

Change-Id: I9d3e91aa521d6bb90f6b15b71ff1e89fa77ee379
Signed-off-by: Michal Simek <michal.simek@amd.com>