From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-devel@nongnu.org, philmd@oss.qualcomm.com, qemu-stable@nongnu.org
Subject: Re: [PATCH] accel/tcg: Use TLB_FORCE_SLOW not TLB_MMIO for user-only plugins
Date: Fri, 03 Jul 2026 08:42:20 +0100 [thread overview]
Message-ID: <87echksen7.fsf@draig.linaro.org> (raw)
In-Reply-To: <20260702171057.47998-1-richard.henderson@linaro.org> (Richard Henderson's message of "Thu, 2 Jul 2026 10:10:56 -0700")
Richard Henderson <richard.henderson@linaro.org> writes:
> In 6d03226b422 we set TLB_MMIO to a non-zero value for user-only
> so that we could return a non-zero value from probe_* functions
> so that we could force callers like Arm SVE vector moves to use
> the slow path rather than direct access. All for the sake of
> exposing these accesses to plugins.
>
> Back then, TLB_FORCE_SLOW did not exist, so TLB_MMIO seemed like
> a reasonable solution. However, user-only doesn't really have
> MMIO and this has knock-on effects, like forcing Arm SVE first-fault
> vector loads to stop. Better to use TLB_FORCE_SLOW as a more exact
> exact trigger for plugins.
>
> Cc: qemu-stable@nongnu.org
> Fixes: 6d03226b422 ("plugins: force slow path when plugins instrument memory ops")
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
prev parent reply other threads:[~2026-07-03 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 17:10 [PATCH] accel/tcg: Use TLB_FORCE_SLOW not TLB_MMIO for user-only plugins Richard Henderson
2026-07-03 2:33 ` Philippe Mathieu-Daudé
2026-07-03 7:42 ` Alex Bennée [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=87echksen7.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=philmd@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=richard.henderson@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.