[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1273503275.10282.63.camel@e102109-lin.cambridge.arm.com>
Date: Mon, 10 May 2010 15:54:35 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Valdis.Kletnieks@...edu
Cc: "Kirill A. Shutemov" <kirill@...temov.name>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Siarhei Siamashka <siarhei.siamashka@...ia.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Aaro Koskinen <aaro.koskinen@...ia.com>
Subject: Re: [PATCH] Handle instruction cache maintenance fault properly
On Mon, 2010-05-10 at 15:52 +0100, Valdis.Kletnieks@...edu wrote:
> 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?)
v6 and v7 probably but I doubt v5 and v6 would work. There are other
#ifdefs in arch/arm/include/asm/system.h like barriers.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists