mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jinqian Yang <yangjinqian1@huawei.com>
To: Oliver Upton <oliver.upton@linux.dev>
Cc: <yuzenghui@huawei.com>, <maz@kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <kvmarm@lists.linux.dev>,
	<linux-kernel@vger.kernel.org>, <liuyonglong@huawei.com>,
	<wangzhou1@hisilicon.com>
Subject: Re: [PATCH v2 0/3] KVM: arm64: make EL2 feature fields writable in ID_AA64MMFR1_EL1
Date: Wed, 10 Sep 2025 09:42:32 +0800	[thread overview]
Message-ID: <6a1ec9d7-f41b-4ea2-a42c-26eec9591195@huawei.com> (raw)
In-Reply-To: <aL_QjZbkvHsYIRt6@linux.dev>



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


      reply	other threads:[~2025-09-10  1:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-09  3:44 Jinqian Yang
2025-09-09  3:44 ` [PATCH v2 1/3] KVM: arm64: Make ID_AA64MMFR1_EL1.HCX writable from userspace Jinqian Yang
2025-09-09  7:07   ` Oliver Upton
2025-09-09 10:10     ` Marc Zyngier
2025-09-09 21:38       ` Oliver Upton
2025-09-10  1:57         ` Jinqian Yang
2025-09-09  3:44 ` [PATCH v2 2/3] KVM: arm64: Make ID_AA64MMFR1_EL1.TWED " Jinqian Yang
2025-09-09  3:44 ` [PATCH v2 3/3] KVM: arm64: Make ID_AA64MMFR1_EL1.VH " Jinqian Yang
2025-09-09  5:32   ` Oliver Upton
2025-09-10  1:42     ` Jinqian Yang
2025-09-09  7:00 ` [PATCH v2 0/3] KVM: arm64: make EL2 feature fields writable in ID_AA64MMFR1_EL1 Oliver Upton
2025-09-10  1:42   ` Jinqian Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a1ec9d7-f41b-4ea2-a42c-26eec9591195@huawei.com \
    --to=yangjinqian1@huawei.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuyonglong@huawei.com \
    --cc=maz@kernel.org \
    --cc=oliver.upton@linux.dev \
    --cc=wangzhou1@hisilicon.com \
    --cc=yuzenghui@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®