qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: kettenis@openbsd.org, "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Cameron Esfahani" <dirty@apple.com>,
	qemu-devel@nongnu.org, "Roman Bolshakov" <r.bolshakov@yadro.com>,
	"Alexander Graf" <agraf@csgraf.de>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH v2] hvf: arm: Ignore cache operations on MMIO
Date: Tue, 2 Nov 2021 06:01:50 -0400	[thread overview]
Message-ID: <47d35b2d-bfbf-6ee8-a004-ad74e713db13@linaro.org> (raw)
In-Reply-To: <CAFEAcA_wBCL++KREtW2COtDC8nHAD3DRsDbWBxPr0k7i8EWRnw@mail.gmail.com>

On 11/1/21 3:35 PM, Peter Maydell wrote:
> On Mon, 1 Nov 2021 at 19:28, Richard Henderson
> <richard.henderson@linaro.org> wrote:
>>
>> On 10/26/21 3:12 AM, Alexander Graf wrote:
>>> Apple's Hypervisor.Framework forwards cache operations as MMIO traps
>>> into user space. For MMIO however, these have no meaning: There is no
>>> cache attached to them.
>>>
>>> So let's just treat cache data exits as nops.
>>>
>>> This fixes OpenBSD booting as guest.
>>>
>>> Signed-off-by: Alexander Graf <agraf@csgraf.de>
>>> Reported-by: AJ Barris <AwlsomeAlex@github.com>
>>> Reference: https://github.com/utmapp/UTM/issues/3197
>>> ---
>>>    target/arm/hvf/hvf.c | 7 +++++++
>>>    1 file changed, 7 insertions(+)
>>
>> Thanks, applied to target-arm.next
> 
> ...did you see my email saying I think we also need
> to test S1PTW ?

That arrived afterward.

r~


  reply	other threads:[~2021-11-02 10:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26  7:12 [PATCH v2] hvf: arm: Ignore cache operations on MMIO Alexander Graf
2021-10-26  8:57 ` Philippe Mathieu-Daudé
2021-10-26  9:34 ` Mark Kettenis
2021-10-26 16:10 ` Richard Henderson
2021-10-26 16:38   ` Alexander Graf
2021-10-26 17:39     ` Richard Henderson
2021-11-01 18:03       ` Peter Maydell
2021-11-01 17:55   ` Peter Maydell
2021-11-01 18:04     ` Richard Henderson
2021-11-01 18:02 ` Richard Henderson
2021-11-01 19:35   ` Peter Maydell
2021-11-02 10:01     ` Richard Henderson [this message]
2021-11-02 10:42       ` Peter Maydell
2021-11-02 11:15         ` Richard Henderson
2021-11-02 18:19           ` Richard Henderson
2021-11-01 18:19 ` Peter Maydell

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=47d35b2d-bfbf-6ee8-a004-ad74e713db13@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=agraf@csgraf.de \
    --cc=dirty@apple.com \
    --cc=f4bug@amsat.org \
    --cc=kettenis@openbsd.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=r.bolshakov@yadro.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).