mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
fix: pass SMCCCv1.3 SVE hint to internal flags
This change fixes the initial support for SMCCCv1.3 SVE hint bit [1]. In the aarch64 smc handler, the FID[16] bit is improperly extracted and results in the corresponding flags bit to be always set. Fix by doing the proper masking and set into the flags register. [1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/17511 Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I62b8e211d48a50f28e184ff27cd718f51d8d56bf
This commit is contained in:
parent
bf1e58e737
commit
b2d851785f
1 changed files with 2 additions and 1 deletions
|
@ -519,7 +519,8 @@ sync_handler64:
|
|||
* flags using the appropriate helper.
|
||||
*/
|
||||
2:
|
||||
bfi x7, x0, #FUNCID_SVE_HINT_SHIFT, #FUNCID_SVE_HINT_MASK
|
||||
and x16, x0, #(FUNCID_SVE_HINT_MASK << FUNCID_SVE_HINT_SHIFT)
|
||||
orr x7, x7, x16
|
||||
bic x0, x0, #(FUNCID_SVE_HINT_MASK << FUNCID_SVE_HINT_SHIFT)
|
||||
|
||||
/* Get the unique owning entity number */
|
||||
|
|
Loading…
Add table
Reference in a new issue