[PATCH 00/14] Fix issues with ARMv6+v6k+v7 kernels

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Feb 10 08:16:51 EST 2011


On Thu, Feb 10, 2011 at 01:12:35PM +0000, Catalin Marinas wrote:
> On Thu, 2011-02-10 at 13:04 +0000, Russell King - ARM Linux wrote:
> > On Wed, Feb 09, 2011 at 10:01:33AM +0000, Catalin Marinas wrote:
> > > Could we make the domains usage a run-time feature based on the
> > > architecture version? For ARMv7, we need to have the vectors page
> > > read-only anyway if the SWP emulation is enabled (and I posted a
> > > simple patch in a reply to your email).
> > >
> > > The issue I see is that ARM11MPCore is reported as v7 though we still
> > > use domains on this processor (we could always remove the domains if
> > > TLS register is available or use some more precise architecture
> > > version identification).
> > 
> > We could also do the below, which I think is more logical - SWP emulation
> > requires that CPU domains aren't enabled, so let's make that explicit
> > in the Kconfig.
> 
> This may work but it is to restrictive IMHO.

At this point I really don't care - mainly because of the lack of support
from the community for sorting out these problems and testing solutions
to them.

It's the simplest solution for the corner we find ourselves in with all
this crap, and avoids any possibility of any side effects caused by having
different behaviours from the same kernel.

I've merged it into my tree and I'm intending to push it upstream.  We can
then readdress it later once we have the real v6v7 crap fixed.



More information about the linux-arm-kernel mailing list