12 Aug, 2013

1 commit


27 Jun, 2013

1 commit

  • Admitedly, reading a MMIO register to load PC is very weird.
    Writing PC to a MMIO register is probably even worse. But
    the architecture doesn't forbid any of these, and injecting
    a Prefetch Abort is the wrong thing to do anyway.

    Remove this check altogether, and let the adventurous guest
    wander into LaLaLand if they feel compelled to do so.

    Reported-by: Catalin Marinas
    Acked-by: Catalin Marinas
    Signed-off-by: Marc Zyngier
    Signed-off-by: Christoffer Dall

    Marc Zyngier
     

07 Mar, 2013

11 commits


12 Feb, 2013

1 commit


24 Jan, 2013

1 commit

  • When the guest accesses I/O memory this will create data abort
    exceptions and they are handled by decoding the HSR information
    (physical address, read/write, length, register) and forwarding reads
    and writes to QEMU which performs the device emulation.

    Certain classes of load/store operations do not support the syndrome
    information provided in the HSR. We don't support decoding these (patches
    are available elsewhere), so we report an error to user space in this case.

    This requires changing the general flow somewhat since new calls to run
    the VCPU must check if there's a pending MMIO load and perform the write
    after userspace has made the data available.

    Reviewed-by: Will Deacon
    Reviewed-by: Marcelo Tosatti
    Signed-off-by: Rusty Russell
    Signed-off-by: Marc Zyngier
    Signed-off-by: Christoffer Dall

    Christoffer Dall