Testing [PATCH v2 0/4] KVM: arm64: writable MIDR/REVIDR

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Fri Feb 14 13:27:29 PST 2025


I also found the aarch32 CP15 MIDR register not trapped,
so updating SYS_MIDR_EL1 are not working with
`-cpu host,aarch64=off -accel kvm`


On Fri, Feb 14, 2025 at 3:54 AM 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com> wrote:
>
> I have the commands
>
> `-cpu host,aarch64=off -accel kvm`
> ```
> [ 1471.611306] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
> [ 1471.611315] Call trace:
> [ 1471.611319]  set_id_reg_non_ftr+0x98/0x168 (P)
> [ 1471.611325]  kvm_sys_reg_set_user+0xe8/0x240
> [ 1471.611331]  kvm_arm_sys_reg_set_reg+0x40/0x220
> [ 1471.611336]  kvm_arm_set_reg+0x1c0/0x5a8
> [ 1471.611343]  kvm_arch_vcpu_ioctl+0x61c/0x8c8
> [ 1471.611350]  kvm_vcpu_ioctl+0x67c/0xa80
> [ 1471.611357]  __arm64_sys_ioctl+0xd8/0x130
> [ 1471.611364]  invoke_syscall+0x74/0x128
> [ 1471.611370]  el0_svc_common.constprop.0+0x4c/0x140
> [ 1471.611375]  do_el0_svc+0x28/0x58
> [ 1471.611379]  el0_svc+0x40/0x1a8
> [ 1471.611386]  el0t_64_sync_handler+0x134/0x160
> [ 1471.611391]  el0t_64_sync+0x1b8/0x1c0
> [ 1471.611398] Code: 2a1503e1 97fffdff 714602bf 54000041 (d51c0013)
> [ 1471.611405] ---[ end trace 0000000000000000 ]---
> [ 1471.630443] pstore: backend (efi_pstore) writing error (-28)
> ```
> --
>          此致
>> 罗勇刚
> Yours
>     sincerely,
> Yonggang Luo



-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo



More information about the linux-arm-kernel mailing list