public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel•org>
To: Vincent Donnefort <vdonnefort@google•com>
Cc: oliver.upton@linux•dev, joey.gouly@arm•com,
	suzuki.poulose@arm•com, yuzenghui@huawei•com,
	catalin.marinas@arm•com, will@kernel•org,
	linux-arm-kernel@lists•infradead.org, kvmarm@lists•linux.dev,
	kernel-team@android•com
Subject: Re: [PATCH] KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc
Date: Fri, 15 May 2026 11:21:15 +0100	[thread overview]
Message-ID: <867bp5x9b8.wl-maz@kernel.org> (raw)
In-Reply-To: <20260514162624.3477857-1-vdonnefort@google.com>

On Thu, 14 May 2026 17:26:24 +0100,
Vincent Donnefort <vdonnefort@google•com> wrote:
> 
> pKVM must validate the host-provided tracing buffer descriptor.
> However, if an error is found, the hypervisor would just return 0 to the
> host. Fix the return value on validation failure.
> 
> While at it, rename the function to hyp_trace_desc_is_valid() and skip
> validation for the nVHE mode as we trust host-provided data in that
> case.
> 
> Signed-off-by: Vincent Donnefort <vdonnefort@google•com>

Fixes: tag? Should it be considered as a Cc: to stable?

	M.

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


  reply	other threads:[~2026-05-15 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-14 16:26 [PATCH] KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc Vincent Donnefort
2026-05-15 10:21 ` Marc Zyngier [this message]
2026-05-15 12:58   ` Vincent Donnefort
2026-05-20  7:17 ` 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=867bp5x9b8.wl-maz@kernel.org \
    --to=maz@kernel$(echo .)org \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=joey.gouly@arm$(echo .)com \
    --cc=kernel-team@android$(echo .)com \
    --cc=kvmarm@lists$(echo .)linux.dev \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=oliver.upton@linux$(echo .)dev \
    --cc=suzuki.poulose@arm$(echo .)com \
    --cc=vdonnefort@google$(echo .)com \
    --cc=will@kernel$(echo .)org \
    --cc=yuzenghui@huawei$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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