Skip to contentSkip to conversation

hvf: Invalid ISV on data abort

DISCUSSION Antonio Caggiano 2 participants 2 messages Aug 2, 2023

lore
Share & tools
lore
#0 lore raw

Hi there,

I am trying to bring up a guest on HVF, which at a certain point is trying to write to an area of mmio space and it triggers a data abort where ISV=0 (translation fault level 2).

I wonder what could cause it and how to recover.

Kind regards,
Antonio

#1 lore raw

Hi Antonio,

Quoted 8 lines · Antonio Caggiano

Hi there,

I am trying to bring up a guest on HVF, which at a certain point is trying to write to an area of mmio space and it triggers a data abort where ISV=0 (translation fault level 2).

I wonder what could cause it and how to recover.

QEMU's HVF implementation - like KVM - only supports MMIO accesses from hardware decoded, "simple" load/store instructions. It will only execute guest OSs that are aware of that limitation and limit MMIO accesses to that set of instructions, such as Linux.

If you see this effect with an enlightened OS, you are most likely exposing memory that the guest expects to be represented as RAM as MMIO.

Thanks,

Alex

Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879