Received: by 10.213.65.68 with SMTP id h4csp750990imn; Thu, 22 Mar 2018 07:49:24 -0700 (PDT) X-Google-Smtp-Source: AG47ELvHgcf5OtaRSfRkiKn/Fc0Q45bIX7POOSiNtO5poempvQYC936k6oDcMO92OYiePwuizoF3 X-Received: by 2002:a17:902:770f:: with SMTP id n15-v6mr10385495pll.92.1521730164890; Thu, 22 Mar 2018 07:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521730164; cv=none; d=google.com; s=arc-20160816; b=KeKmS6w7H5+VLJxEvGhFWPnDQoK7K13mb7QUJvuJ4C6Pq/LqzUp1JAiNT0rF//WPsh HJYGzOOPDoVAprVkFTlZSBBkx3xvo51ugdaAdHbedaJMgg/7q+AKx3gGgeOGSEdeapsX 62BDjAI/Ogz+gD5eiX5wzg/o6zIAa7V97qMfxCobGiuxo+VpqSKbahjbdGozgTGseT3S b3CiTEseEdAadBJiFvB2ca20CwUheWHPmj7iha1iqyGXyMiq0cSvpJf418jF9tVZpNS0 hfrTYktO+pMyZxQ2WCMrg/2mlZmeFA9EK2I+sbGTpMouM0l69h0Q9itEwKnzUiSREf4v iM1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=KA3InP7u4TA9NGG833JfMdcfbrhD22/4bl1MPMXVT3A=; b=SbZugHrPP3Ue0tzaEp1maxCdZl0ke7nWESfODuJnfPHI7Fup6jIvkAhW3ojhHkKiNs 6ULEPlLWWhWxTqqohVH+eGJM9lDAA+pupUrcygs7eDwkSVqYyOIbXHAnrW0XQpppw/0r P72kmwCbP4yQTfIr0h+plPf4D2lxqkdGt3/MzGzthtm13p1q88Dyno3aZF4ZARDHneja 8ZA6UhZ0pZxvSjgqW/QB6Vx6IiFjisioUGQ/hrwpwhVIL+rP9T0GYhni68glg2cxzVjB A3ltyoNdFr4dkMRmpiX5C3cjgDQYbDwKIL28eQ9EF8gt/c5R2WSXb4WGbQbla569zOLZ 8AIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si4454523pgu.760.2018.03.22.07.49.09; Thu, 22 Mar 2018 07:49:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755121AbeCVNlE (ORCPT + 99 others); Thu, 22 Mar 2018 09:41:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:51160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754239AbeCVNlD (ORCPT ); Thu, 22 Mar 2018 09:41:03 -0400 Received: from saruman (jahogan.plus.com [212.159.75.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CE1E72177B; Thu, 22 Mar 2018 13:41:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE1E72177B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jhogan@kernel.org Date: Thu, 22 Mar 2018 13:40:58 +0000 From: James Hogan To: Jiaxun Yang Cc: chenhc@lemote.com, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] MIPS: Loongson64: Define has_cpu_mips64r2_user for Loongson-3 Message-ID: <20180322134057.GG13126@saruman> References: <20180321145304.4639-1-jiaxun.yang@flygoat.com> <20180321145304.4639-2-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BzCohdixPhurzSK4" Content-Disposition: inline In-Reply-To: <20180321145304.4639-2-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --BzCohdixPhurzSK4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 21, 2018 at 10:53:04PM +0800, Jiaxun Yang wrote: > All loongson-3 processors support mips64r2 usermode instructions. > However 3A1000 3B1000 3B1500 should be treated as mips64r1 in kernel. >=20 > Signed-off-by: Jiaxun Yang > --- > arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.= h b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h > index 581915ce231c..71c893249374 100644 > --- a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h > +++ b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h > @@ -49,6 +49,7 @@ > #define cpu_has_wsbh 1 > #define cpu_has_ic_fills_f_dc 1 > #define cpu_hwrena_impl_bits 0xc0000000 > +#define cpu_has_mips64r2_user 1 What about cpu_has_mips32r2_user? Cheers James --BzCohdixPhurzSK4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlqzsmkACgkQbAtpk944 dnrACA/7BokuXdSxjgIOhDyKYjJkYtzXW7PF7FMAiB3IPVTorb7mgeudyZ6bsWYs dHOnoO38RA35wxMJtlg2pntdxsX0ABosbJFXJz91svgfcvOYPXG+aKK2jygf8Zv2 Yu0uxRV86twTZdnQXj07HHx3qWQMPcWAtxPXUl/ANHvCVRisIqp5gP46RY9WcHTw 6DsxMjg9oiL1T0GMnRHXNTqdGhRMgQE55aVPtPQ23K2cT+yy9cUvzwL1vSLk/hsF 5ibYXaBn6Lj7ixGTi3WYzA3vgw7aY1VnCSXb9LirpA8BeVj338QuBZ2mYg0NjLv6 +16i6jzgXz6wDSDusKHsoyeOxGgNxVe3npHw7c0aZ4F+vfBhacLhr+KVCBqOG6ly P+j3KhtiMMB1dzDZIB8MNwu46xmxEquCofFph9/bdzHOJd293vIOKnCShZb7fxd/ sNBGnemcAPNwUi4hXiFDD5BV/gUPopQR2+DMKli70SJJ6WRN84Vu5HNxx+liuo94 PvgYJEOACXjLI9B9m9SQmLW75QlJ8F5XVfjfpWYV3UfXuJc2vMtGKYDuyl0SdEJx S1EzpQb7gUEhPW7J6N1i0VThfX4RMcqz8IeOAcBzRdEzhP9RBe6egE0iCB8UVG5V azlNWTbTZTrqX+SWQKyag2wbRbrRoGV2qJxJsdB2uPPngED50GQ= =8C3d -----END PGP SIGNATURE----- --BzCohdixPhurzSK4--