From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754225AbcESLNJ (ORCPT ); Thu, 19 May 2016 07:13:09 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:21293 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751760AbcESLNH (ORCPT ); Thu, 19 May 2016 07:13:07 -0400 Subject: Re: [PATCH] arm64: cpuinfo: add AArch64 & elf platform for app compatibility To: Catalin Marinas References: <1463625873-60016-1-git-send-email-saberlily.xia@hisilicon.com> <20160519104925.GL22378@e104818-lin.cambridge.arm.com> CC: , , , , , , "Mark Rutland" From: "Xiaqing (A)" Message-ID: <573D9E40.4000705@hisilicon.com> Date: Thu, 19 May 2016 19:06:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160519104925.GL22378@e104818-lin.cambridge.arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.184.222.232] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.573D9F84.021E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: f72cd4ad59bfeb718beadcf453ee57ec Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2016/5/19 18:49, Catalin Marinas 写道: > On Thu, May 19, 2016 at 10:44:33AM +0800, x00195127 wrote: >> we find that some apps will read cpuinfo when start up, >> they need the string as follows: >> "Processor : AArch64 Processor rev 0 (aarch64)" >> >> Then thay could load the corresponding libs. But now >> arm64 platform's cpuinfo don't has this now, so >> we need add this. > > I have the same question as Martinez: what are those apps? If they are > 64-bit apps, they can always assume AArch64 processor. > Those are 32-bit apps, and those apps are very popular in our country.