Re: [PATCH 1/3] target/arm: Check VSTCR.SW when assigning the stage 2 output PA space

2022-03-27 Thread Rémi Denis-Courmont
Le sunnuntaina 27. maaliskuuta 2022, 12.34.26 EEST Idan Horowitz a écrit : > As per the AArch64.SS2OutputPASpace() psuedo-code in the ARMv8 ARM when the > PA space of the IPA is non secure, the output PA space is secure if and only > if all of the bits VTCR., VSTCR. are not set. > >

Re: [PATCH] target/arm: Fix pauth_check_trap vs SEL2

2022-03-15 Thread Rémi Denis-Courmont
mp; arm_feature(env, ARM_FEATURE_EL2)) { > +if (el < 2 && arm_is_el2_enabled(env)) { > uint64_t hcr = arm_hcr_el2_eff(env); > bool trap = !(hcr & HCR_API); > if (el == 0) { Ack. -- Rémi Denis-Courmont http://www.remlab.net/