[PATCH v9 00/11] Enable writable for idregs DFR0,PFR0, MMFR{0,1,2,3}

Cornelia Huck cohuck at redhat.com
Wed Aug 23 00:37:13 PDT 2023


On Mon, Aug 21 2023, Jing Zhang <jingzhangos at google.com> wrote:

> This patch series enable userspace writable for below idregs:
> ID_AA64DFR0_EL1, ID_DFR0_EL1, ID_AA64PFR0_EL1, ID_AA64MMFR{0, 1, 2, 3}_EL1.
> A vm ioctl is added to get feature ID register writable masks from userspace.
> A selftest is added to verify that KVM handles the writings from user space
> correctly.
> A relevant patch from Oliver is picked from [3].
>
> ---
>
> * v8 -> v9
>   - Rebase on v6.5-rc7.
>   - Don't allow writable on RES0 fields and those fields not exposed by KVM.
>   - Fixed build dependency issue for system register definition generation in
>     selftest.

What about the changes to the userspace interface as proposed by Marc in
<86sf8hg45k.wl-maz at kernel.org>?




More information about the linux-arm-kernel mailing list