Re: [PATCH] ARM: supplementing IO accessors with 64 bit capability

From: Nicolas Pitre
Date: Thu Oct 23 2014 - 16:15:27 EST


On Thu, 23 Oct 2014, Russell King - ARM Linux wrote:

> On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
> > On Wed, 22 Oct 2014, Catalin Marinas wrote:
> >
> > > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poirier@xxxxxxxxxx wrote:
> > > > +#if __LINUX_ARM_ARCH__ >= 5
> > >
> > > My old ARMv5 book does not list LDRD/STRD. It looks like they only come
> > > with ARMv5TE. Are there any processors prior to this supported by the
> > > kernel?
> >
> > We still supports ARMv4 targets.
> >
> > As far as I know, all the ARMv5 targets we support are also TE capable.
>
> Not quite. We have ARM1020, which according to our proc-*.S files is
> only ARMv5T, not ARMv5TE.

Oh well. Never saw such a beast in the field though.

Maybe to be on the very safe side, given that no ARMV5TE is likely to
need 64-bit IO accessors at this point, this could simply be
__LINUX_ARM_ARCH__ >= 6 instead.


Nicolas
--
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/