From: Marc Zyngier <maz@kernel.org>
To: Oliver Upton <oupton@google.com>
Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org,
James Morse <james.morse@arm.com>,
Alexandru Elisei <alexandru.elisei@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
linux-arm-kernel@lists.infradead.org,
Peter Shier <pshier@google.com>,
Ricardo Koller <ricarkol@google.com>,
Reiji Watanabe <reijiw@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH 1/2] Documentation: KVM: Update documentation to indicate KVM is arm64-only
Date: Thu, 03 Mar 2022 07:21:44 +0000 [thread overview]
Message-ID: <87r17j5wmv.wl-maz@kernel.org> (raw)
In-Reply-To: <20220302194221.1774513-2-oupton@google.com>
Hi Oliver,
Thanks for taking the hint! :D A few remarks below.
On Wed, 02 Mar 2022 19:42:20 +0000,
Oliver Upton <oupton@google.com> wrote:
>
> KVM support for 32-bit ARM hosts (KVM/arm) has been removed from the
> kernel since commit 541ad0150ca4 ("arm: Remove 32bit KVM host
> support"). There still exists some remnants of the old architecture in
> the KVM documentation.
>
> Remove all traces of 32-bit host support from the documentation. Note
> that AArch32 guests are still supported.
>
> Fixes: 541ad0150ca4 ("arm: Remove 32bit KVM host support")
TBH, I'd drop the Fixes. Otherwise, it is going to be dragged into
-stable versions, and generate a number of pointless conflicts.
> Suggested-by: Marc Zyngier <maz@kernel.org>
> Signed-off-by: Oliver Upton <oupton@google.com>
> ---
> Documentation/virt/kvm/api.rst | 83 ++++++++++++-------------
> Documentation/virt/kvm/arm/hyp-abi.rst | 54 ++++++++--------
> Documentation/virt/kvm/arm/ptp_kvm.rst | 4 +-
> Documentation/virt/kvm/devices/vcpu.rst | 2 +-
> 4 files changed, 70 insertions(+), 73 deletions(-)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 9f3172376ec3..25423ee890e2 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
This part looks good.
> diff --git a/Documentation/virt/kvm/arm/hyp-abi.rst b/Documentation/virt/kvm/arm/hyp-abi.rst
> index 4d43fbc25195..516ea630d160 100644
> --- a/Documentation/virt/kvm/arm/hyp-abi.rst
> +++ b/Documentation/virt/kvm/arm/hyp-abi.rst
The content of this file is, however, still valid. Despite KVM having
been removed, the 32bit kernel still supports being entered at HYP
(bootloaders such as u-boot will definitely do that), and still uses
this internal API to switch back to HYP on kexec. Other hypervisors
(such as jailhouse) also rely on this API to install themselves at
runtime.
> diff --git a/Documentation/virt/kvm/arm/ptp_kvm.rst b/Documentation/virt/kvm/arm/ptp_kvm.rst
> index aecdc80ddcd8..5d47f7ecbf5a 100644
> --- a/Documentation/virt/kvm/arm/ptp_kvm.rst
> +++ b/Documentation/virt/kvm/arm/ptp_kvm.rst
> @@ -1,7 +1,7 @@
> .. SPDX-License-Identifier: GPL-2.0
>
> -PTP_KVM support for arm/arm64
> -=============================
> +PTP_KVM support for arm64
This is a service that the arm64 hypervisor offers to guests,
including 32bit guests. It was actually merged after 32bit port was
removed. So this file should probably stay untouched, or be amended to
clarify the nuance in terms of support.
> +=========================
>
> PTP_KVM is used for high precision time sync between host and guests.
> It relies on transferring the wall clock and counter value from the
> diff --git a/Documentation/virt/kvm/devices/vcpu.rst b/Documentation/virt/kvm/devices/vcpu.rst
> index 60a29972d3f1..92942440a9e7 100644
> --- a/Documentation/virt/kvm/devices/vcpu.rst
> +++ b/Documentation/virt/kvm/devices/vcpu.rst
This one is OK.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-03-03 7:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 19:42 [PATCH 0/2] KVM: arm: Drop documentation of 32-bit KVM Oliver Upton
2022-03-02 19:42 ` [PATCH 1/2] Documentation: KVM: Update documentation to indicate KVM is arm64-only Oliver Upton
2022-03-03 7:21 ` Marc Zyngier [this message]
2022-03-02 19:42 ` [PATCH 2/2] Documentation: KVM: Move KVM/arm64 docs into aptly named directory Oliver Upton
2022-03-03 7:28 ` Marc Zyngier
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=87r17j5wmv.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=alexandru.elisei@arm.com \
--cc=james.morse@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=oupton@google.com \
--cc=pbonzini@redhat.com \
--cc=pshier@google.com \
--cc=reijiw@google.com \
--cc=ricarkol@google.com \
--cc=suzuki.poulose@arm.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;
as well as URLs for NNTP newsgroup(s).