[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a1ec9d7-f41b-4ea2-a42c-26eec9591195@huawei.com>
Date: Wed, 10 Sep 2025 09:42:32 +0800
From: Jinqian Yang <yangjinqian1@...wei.com>
To: Oliver Upton <oliver.upton@...ux.dev>
CC: <yuzenghui@...wei.com>, <maz@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>, <kvmarm@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, <liuyonglong@...wei.com>,
<wangzhou1@...ilicon.com>
Subject: Re: [PATCH v2 0/3] KVM: arm64: make EL2 feature fields writable in
ID_AA64MMFR1_EL1
On 2025/9/9 15:00, Oliver Upton wrote:
> On Tue, Sep 09, 2025 at 11:44:12AM +0800, Jinqian Yang wrote:
>> Allow userspace to downgrade EL2 features (VH, TWED, HCX) to ensure VM live
>> migration compatibility between hosts with varying feature support.
>>
>> v1: https://lore.kernel.org/linux-arm-kernel/20250325121126.1380681-1-yangjinqian1@huawei.com/
>>
>> Change Log:
>> v1->v2:
>> -Added support for downgrading TWED and VH fields.
>> -Added corresponding test cases to the set_id_regs selftest.
>>
>> Jinqian Yang (3):
>> KVM: arm64: Make ID_AA64MMFR1_EL1.HCX writable from userspace
>> KVM: arm64: Make ID_AA64MMFR1_EL1.TWED writable from userspace
>> KVM: arm64: Make ID_AA64MMFR1_EL1.VH writable from userspace
>>
>> arch/arm64/kvm/sys_regs.c | 3 ---
>> tools/testing/selftests/kvm/arm64/set_id_regs.c | 3 +++
>
> General comment: please make do kernel and selftest changes in separate
> patches.
>
Will be changed in v3.
Thanks,
Jinqian
Powered by blists - more mailing lists