[PATCH v4 1/3] KVM: arm64: Disable fields that KVM doesn't know how to handle in ID_AA64PFR1_EL1
Shaoqin Huang
shahuang at redhat.com
Wed Jul 17 23:58:20 PDT 2024
Hi Oliver,
On 7/18/24 14:09, Oliver Upton wrote:
> Hi Shaoqin,
>
> On Wed, Jul 17, 2024 at 11:50:14PM -0400, Shaoqin Huang wrote:
>> For some of the fields in the ID_AA64PFR1_EL1 register, KVM doesn't know
>> how to handle them right now. So explicitly disable them in the register
>> accessor, then those fields value will be masked to 0 even if on the
>> hardware the field value is 1.
>
> It is probably important to note that the only reason this is safe to do
> from a UAPI POV is that read_sanitised_ftr_reg() doesn't yet return a
> nonzero value for any of these fields.
(Reply again by the plain text)
Yeah. That would be more clear if I tell the reader this information.
Will add this when updating.
Thanks,
Shaoqin
>
--
Shaoqin
More information about the linux-arm-kernel
mailing list