Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755550AbaJWUPX (ORCPT ); Thu, 23 Oct 2014 16:15:23 -0400 Received: from mail-yh0-f50.google.com ([209.85.213.50]:58886 "EHLO mail-yh0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755282AbaJWUPW (ORCPT ); Thu, 23 Oct 2014 16:15:22 -0400 Date: Thu, 23 Oct 2014 16:15:19 -0400 (EDT) From: Nicolas Pitre To: Russell King - ARM Linux cc: Catalin Marinas , "mathieu.poirier@linaro.org" , "stefano.stabellini@eu.citrix.com" , "ezequiel.garcia@free-electrons.com" , Liviu Dudau , "thomas.petazzoni@free-electrons.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ARM: supplementing IO accessors with 64 bit capability In-Reply-To: <20141023195119.GL27405@n2100.arm.linux.org.uk> Message-ID: References: <1413993983-17310-1-git-send-email-mathieu.poirier@linaro.org> <20141022164454.GI15370@e104818-lin.cambridge.arm.com> <20141023195119.GL27405@n2100.arm.linux.org.uk> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@linaro.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/