Re: [PATCH] target/arm: fix s2mmu input size check

2022-05-07 Thread Keisuke Iida
On 2022/05/06 1:13, Richard Henderson wrote: On 5/4/22 22:12, m...@sfc.wide.ad.jp wrote: From: Keisuke Iida The maximum IPA size('inputsize') is constrained by the implemented PA size that is specified by ID_AA64MMFR0_EL1.PARange. Please reference Arm Architecture Reference Ma

Re: [PATCH] target/arm: fix s2mmu input size check

2022-05-05 Thread Keisuke Iida
R0, PARANGE); ps = MIN(ps, param.ps); assert(ps < ARRAY_SIZE(pamax_map)); outputsize = pamax_map[ps]; When 'param.ps' determined by VTCR_EL2.PS less than 'ps', 'outputsize' is set to PA address by VTCR_EL2.PS. -- Keisuke Iida On 2022/05/05 17:20,