qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v1 2/2] target-arm: Extend PAR format determinatio


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH v1 2/2] target-arm: Extend PAR format determination
Date: Mon, 18 Sep 2017 16:50:23 +0100

On 11 July 2017 at 11:38, Edgar E. Iglesias <address@hidden> wrote:
> Another way could also be to have get_phys_addr() fill in generic
> fields in the FaultInfo struct and then have a faultinfo_to_fsr
> mapping function to populate FSR/PAR. Do you see any issues with that?

Edgar, did you ever have a go at implementing this?
I'm currently running into a similar issue with M profile,
where at the moment we stuff the information about what
kind of fault the MPU generates into a v7PMSA format
FSR value and reinterpret it into M profile exception
types and fault status register bits later. This works
OK, but for v8M we want to start reporting kinds of fault
(like SecureFault) that don't have equivalents in v7PMSA
at all, and maybe it would be better to clean this up rather
than assigning arbitrary bogus fsr values for internal use...

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]