From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emJos-0002ob-2k for qemu-devel@nongnu.org; Thu, 15 Feb 2018 08:43:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emJoo-00023y-W0 for qemu-devel@nongnu.org; Thu, 15 Feb 2018 08:43:26 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:38409) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emJoo-00023T-MS for qemu-devel@nongnu.org; Thu, 15 Feb 2018 08:43:22 -0500 References: <20180124211301.10095-1-laurent@vivier.eu> <20180124211301.10095-5-laurent@vivier.eu> From: Laurent Vivier Message-ID: Date: Thu, 15 Feb 2018 14:43:05 +0100 MIME-Version: 1.0 In-Reply-To: <20180124211301.10095-5-laurent@vivier.eu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v4 4/4] linux-user: MIPS set cpu to r6 CPU if binary is R6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , YunQiang Su , Riku Voipio , Richard Henderson , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Igor Mammedov , Aaron Sierra Le 24/01/2018 à 22:13, Laurent Vivier a écrit : > From: YunQiang Su > > So here we need to detect the version of binaries and set > cpu_model for it. > > Signed-off-by: YunQiang Su > [lv: original patch modified to move code into cpu_get_model()] > Signed-off-by: Laurent Vivier > Reviewed-by: Richard Henderson > --- > include/elf.h | 4 ++++ > linux-user/mips/target_elf.h | 3 +++ > linux-user/mips64/target_elf.h | 3 +++ > 3 files changed, 10 insertions(+) > Applied to my 'linux-user-for-2.12' branch. Thanks, Laurent