mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Oliver Upton <oliver.upton@linux.dev>,
	Joey Gouly <joey.gouly@arm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	Quentin Perret <qperret@google.com>
Cc: Vincent Donnefort <vdonnefort@google.com>,
	Fuad Tabba <tabba@google.com>,
	linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/7] Move pKVM ownership state to hyp_vmemmap
Date: Tue, 29 Apr 2025 14:41:08 +0100	[thread overview]
Message-ID: <174593405817.3620453.10683944453931548390.b4-ty@kernel.org> (raw)
In-Reply-To: <20250416152648.2982950-1-qperret@google.com>

On Wed, 16 Apr 2025 15:26:40 +0000, Quentin Perret wrote:
> This series moves the hypervisor's ownership state to the hyp_vmemmap,
> as discussed in [1]. The two main benefits are:
> 
>  1. much cheaper hyp state lookups, since we can avoid the hyp stage-1
>     page-table walk;
> 
>  2. de-correlates the hyp state from the presence of a mapping in the
>     linear map range of the hypervisor; which enables a bunch of
>     clean-ups in the existing code and will simplify the introduction of
>     other features in the future (hyp tracing, ...)
> 
> [...]

Applied to next, thanks!

[1/7] KVM: arm64: Track SVE state in the hypervisor vcpu structure
      commit: 5db1bef933427aa467ad89c7b695a84a6b4afe16
[2/7] KVM: arm64: Fix pKVM page-tracking comments
      commit: ba637018ca67224fa21dc2212cb4457b357a5455
[3/7] KVM: arm64: Use 0b11 for encoding PKVM_NOPAGE
      commit: cd4b039165a5e709d0d599e207709d73141a8bed
[4/7] KVM: arm64: Introduce {get,set}_host_state() helpers
      commit: ba5b2e5b9dff5ba14940e1525f6e3a595f012466
[5/7] KVM: arm64: Move hyp state to hyp_vmemmap
      commit: 3390b3cbb613bc0822854f5754437cd1d1b3d5d0
[6/7] KVM: arm64: Defer EL2 stage-1 mapping on share
      commit: 48d848882395a6a42ff1bb685082c79791d4e753
[7/7] KVM: arm64: Unconditionally cross check hyp state
      commit: 43c475504a39e98f10f5e6ec4d9d9ed60672a753

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



      parent reply	other threads:[~2025-04-29 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16 15:26 Quentin Perret
2025-04-16 15:26 ` [PATCH v2 1/7] KVM: arm64: Track SVE state in the hypervisor vcpu structure Quentin Perret
2025-04-16 15:26 ` [PATCH v2 2/7] KVM: arm64: Fix pKVM page-tracking comments Quentin Perret
2025-04-16 15:26 ` [PATCH v2 3/7] KVM: arm64: Use 0b11 for encoding PKVM_NOPAGE Quentin Perret
2025-04-16 15:26 ` [PATCH v2 4/7] KVM: arm64: Introduce {get,set}_host_state() helpers Quentin Perret
2025-04-16 15:26 ` [PATCH v2 5/7] KVM: arm64: Move hyp state to hyp_vmemmap Quentin Perret
2025-04-16 15:26 ` [PATCH v2 6/7] KVM: arm64: Defer EL2 stage-1 mapping on share Quentin Perret
2025-04-16 15:26 ` [PATCH v2 7/7] KVM: arm64: Unconditionally cross check hyp state Quentin Perret
2025-04-29 13:41 ` Marc Zyngier [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=174593405817.3620453.10683944453931548390.b4-ty@kernel.org \
    --to=maz@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=joey.gouly@arm.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver.upton@linux.dev \
    --cc=qperret@google.com \
    --cc=suzuki.poulose@arm.com \
    --cc=tabba@google.com \
    --cc=vdonnefort@google.com \
    --cc=will@kernel.org \
    --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®