Re: [PATCH v4, REBASED 1/2] ARM: Pass IFSR register to do_PrefetchAbort()

From: Kirill A. Shutemov
Date: Wed Sep 23 2009 - 07:48:23 EST


On Tue, Sep 22, 2009 at 2:00 PM, Kirill A. Shutemov
<kirill@xxxxxxxxxxxxx> wrote:
> Instruction fault status register, IFSR, was introduced on ARMv6 to
> provide status information about the last insturction fault. It
> needed for proper prefetch abort handling.
>
> Now we have three prefetch abort model:
>
> Â* legacy - for CPUs before ARMv6. They doesn't provide neither
> Â ÂIFSR nor IFAR. We simulate IFSR with section translation fault
> Â Âstatus for them to generalize code;
> Â* ARMv6 - provides IFSR, but not IFAR;
> Â* ARMv7 - provides both IFSR and IFAR.
>
> Signed-off-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>

Any feedback?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/