Re: [PATCH] Handle instruction cache maintenance fault properly

From: Valdis . Kletnieks
Date: Mon May 10 2010 - 10:53:43 EST


On Mon, 10 May 2010 16:34:57 +0300, "Kirill A. Shutemov" said:

> It looks like cache maintenance fault was introduced in ARMv6.
>
> So, what is the right way to fix it? Something like:
>
> #if __LINUX_ARM_ARCH__ < 6
> { do_bad, SIGBUS, 0, "external

This would need to be a runtime test, no? Or does LINUX_ARM_ARCH not allow
it to run on other arch levels? (i.e. can an ARM kernel boot for v5 and v6?)

Attachment: pgp00000.pgp
Description: PGP signature