On Mon, Aug 21 2023, Jing Zhang <jingzhangos@xxxxxxxxxx> 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@xxxxxxxxxx>?