Skip to content
Snippets Groups Projects
Commit 5fd6a3e2 authored by Alexander Graf's avatar Alexander Graf Committed by Richard Henderson
Browse files

hvf: arm: Ignore cache operations on MMIO


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.

Reported-by: default avatarAJ Barris <AwlsomeAlex@github.com>
Signed-off-by: default avatarAlexander Graf <agraf@csgraf.de>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
Reference: https://github.com/utmapp/UTM/issues/3197


Message-Id: <20211026071241.74889-1-agraf@csgraf.de>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 9dad363a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment