Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933731AbbHKIlJ (ORCPT ); Tue, 11 Aug 2015 04:41:09 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:39748 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932218AbbHKIlE convert rfc822-to-8bit (ORCPT ); Tue, 11 Aug 2015 04:41:04 -0400 Message-ID: <55C9B51D.1060601@arm.com> Date: Tue, 11 Aug 2015 09:41:01 +0100 From: "Suzuki K. Poulose" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andrew Haley , Catalin Marinas CC: "linux-arm-kernel@lists.infradead.org" , Mark Rutland , Will Deacon , "linux-kernel@vger.kernel.org" , "edward.nevill@linaro.org" Subject: Re: [RFC PATCH 01/10] arm64: feature registers: Documentation References: <1437731037-25795-1-git-send-email-suzuki.poulose@arm.com> <1437731037-25795-2-git-send-email-suzuki.poulose@arm.com> <20150810160636.GB15394@e104818-lin.cambridge.arm.com> <55C8E12E.6030305@arm.com> <55C8EB17.7090708@redhat.com> In-Reply-To: <55C8EB17.7090708@redhat.com> X-OriginalArrivalTime: 11 Aug 2015 08:41:01.0319 (UTC) FILETIME=[73A0B970:01D0D411] X-MC-Unique: Cg3p3kA7S56ooUJuEhgO2g-1 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1902 Lines: 55 On 10/08/15 19:19, Andrew Haley wrote: > On 08/10/2015 06:36 PM, Suzuki K. Poulose wrote: >> On 10/08/15 17:06, Catalin Marinas wrote: >>> Hi Suzuki, >>> >>> On Fri, Jul 24, 2015 at 10:43:47AM +0100, Suzuki K. Poulose wrote: >>>> From: "Suzuki K. Poulose" >>>> >>>> Documentation of the infrastructure >>>> >>>> Signed-off-by: Suzuki K. Poulose >>> >>> The implementation looks fine but I think the main discussion will be >>> around the goal of this feature and the ABI that it introduces. So I'll >>> just write my thoughts on this patch (I could as well have replied to >>> the cover letter). >>> >>> Another question: who's going to use this feature? I know people asked >>> in private but I'd like to have some public statements. >> >> Right, I am hoping that folks from glibc / JIT / GCC will respond to >> this thread. > > We certainly need it for OpenJDK. We need to know the manufacturer, > part number, revision id, etc. We already have workarounds in > OpenJDK for various bugs, and we also can generate better code if we > know the exact part. OK. > > I note that the REVIDR is not in this patch. That seems odd, because > it can be used to identify minor revisions. The REVIDR has to be used in conjunction with the MIDR to make real sense. We cannot guarantee that the REVIDR that we read (would) belong to the CPU where MIDR would have been read (unless the process is pinned) and hence the user may not be able to make any use of the information. Steve has a patch [1] to expose the MIDR,REVIDR info via sysfs. [1] https://lkml.org/lkml/2015/7/24/420 Thanks Suzuki > > Andrew. > > -- 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/