Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755302AbbKWVUF (ORCPT ); Mon, 23 Nov 2015 16:20:05 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:55853 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755277AbbKWVUD (ORCPT ); Mon, 23 Nov 2015 16:20:03 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Stephen Boyd , Nicolas Pitre , Peter Maydell , =?ISO-8859-1?Q?M=E5ns_Rullg=E5rd?= , Russell King - ARM Linux , "linux-arm-msm@vger.kernel.org" , lkml - Kernel Mailing List , Steven Rostedt , Christopher Covington Subject: Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions Date: Mon, 23 Nov 2015 22:19:21 +0100 Message-ID: <133921941.Qfq59EaTOs@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151123203847.GB19156@codeaurora.org> References: <1448068997-26631-1-git-send-email-sboyd@codeaurora.org> <105706554.vF12QZslMx@wuerfel> <20151123203847.GB19156@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:/1lO4CnaqrEEK5RUHL/qMAFVdFmv6kYPgMYVIc5nIN0j2HzYQNc THDVNviO0TiEKGfoAssUTjyYgNPkq6A9RDvW+KYBa2PA+VSOulhSMuYtdwbtIQgxC+nR0RO YYsfBrKY2JG46xtf6o3TcureJCREdnAER8LB6cKCto0gd4KU3whZZUU7WX5RdDrrToP3+fw Ap380Fy5fDSkfIt/yePag== X-UI-Out-Filterresults: notjunk:1;V01:K0:k//x/pN4H6Q=:1cyi9EUdzaZJ3xV8rCpURH WGrAvAw9yh77/dq6nb52sNcnuDQVMSX2XxGgAmKUfXsoNymUurv30UDy8ydkQThMf23RVdZTG wLqhJnPyIVI5RBU+YWAdVnLuC3PFNOD7d+ZVi8hAVJbvZHzqjCLxJ7k+RYA/2UhrwAL6BBhTf L4D5vgXqVeqjD2ZIeMKJFA8QbifqYhishrh6+9674aivbf1Nb9r6TJEAhnFcd03ZhAzsyizWP JW1ZHUiGojy2bqrtO0f36J9y9MbWfDBlGnD7aoEDVjAhX/x6UTnXD78OsU6oyF5FENTgRa857 Hktxx4BQlRXGepemvEWLJ2/PqJ38Q3vWoqhCj8ID42FSBYiMu2MqfnqaV6/qQIVQHwAB7dqiW kPoaw4ntST4Moiq15mfnPQH5TFjPpjf2yi0IpT+rBwacWoncLEYuYXEbOqj8xjRymPqq2qGvy Hmzl+jxkF0HYjy6YijQVKQeoerx/YR5cIrueqJPKS5/62i3VnJj1tW0p4+VmOQXWYHJbJ31z2 LewJo0Oph1oDMgzChuMwLDRRKSEQ46cqCnmAuQrnzf+Lbnqv81nA2A1i5BYLu3Byxk7YG1S8x S2efwmbq9CRfXLB/5+f/BRgORKAkBtfgehHZI75EiNImXok8qen4W8kHtdN5mbVpW/5MDN6Zm CFY18ISxVbz1gOqEXr/9sjYE7Efjbk0ZozBHN+/RcVPLvHUAXlLAmiyBliCXDh2i5QBXYuy9Z oyahkikG2Rar8P2P Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2374 Lines: 63 On Monday 23 November 2015 12:38:47 Stephen Boyd wrote: > On 11/23, Arnd Bergmann wrote: > > On Monday 23 November 2015 09:14:39 Christopher Covington wrote: > > > On 11/23/2015 03:15 AM, Arnd Bergmann wrote: > > > LPAE is only supported in the Krait 450. > > > > > > http://www.anandtech.com/show/7537/qualcomms-snapdragon-805-25ghz-128bit-memory-interface-d3d11class-graphics-more > > > > > > I'm pretty sure idiv support came earlier, but I don't have the > > > specifics on hand. > > > > I have seen that article, but didn't trust it as a canonical > > source of information here. > > > > If you can confirm that it's right, that would mean that we > > don't support LPAE on mach-qcom, as the only SoC with Krait 450 > > seems to be APQ8084, and mainline Linux doesn't run on that. > > arch/arm/boot/dts/qcom-apq8084.dtsi exists in the mainline > kernel. We support more than what's in the Kconfig language > under mach-qcom. Ok, cool. I'm sometimes confused by the model numbers, could you do a separate patch to update the Kconfig help text? > And yes LPAE is supported by apq8084 (as is > IDIV). Here's the /proc/cpuinfo on that device. > # cat /proc/cpuinfo > processor : 0 > model name : ARMv7 Processor rev 1 (v7l) > BogoMIPS : 38.40 > Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm Ok. > > The ones we do support are MSM8x60 (Scorpion), MSM8960 > > (Krait-without-number),and MSM7874 (Krait 400). Do those all > > support IDIV but not LPAE? > > > > Krait supports IDIV for all versions. Scorpion doesn't support > IDIV or lpae. Here's the output of /proc/cpuinfo on that device. > > # cat /proc/cpuinfo > processor : 0 > model name : ARMv7 Processor rev 2 (v7l) > BogoMIPS : 13.50 > Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 > CPU implementer : 0x51 > CPU architecture: 7 > CPU variant : 0x0 > CPU part : 0x02d > CPU revision : 2 Ok, that leaves just one missing puzzle piece: can you confirm that no supported Krait variant other than Krait 450 / apq8084 has LPAE? Arnd -- 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/