Received: by 10.223.185.111 with SMTP id b44csp190091wrg; Fri, 9 Mar 2018 03:27:13 -0800 (PST) X-Google-Smtp-Source: AG47ELseaUyEG9MEzc1M5QAhO2vmJUjd1AqObyW/bmpdRXp2QUvmu4aMg+n19IqwL+b64qWpqpmX X-Received: by 2002:a17:902:8c97:: with SMTP id t23-v6mr27435894plo.372.1520594833774; Fri, 09 Mar 2018 03:27:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520594833; cv=none; d=google.com; s=arc-20160816; b=x7qvvKoRpLYDdDoY+uWFdcZBGC9G4hhnkaIG+qaDW7n4DXk5e5R8uEYd+jTkRrJm7h wca/bPLgMQY6vmSeO41oUKZTRJDYf4cO3b1ZpjBdjfnUeMLjbMg4a+pvG89R9dOxL81Z McDYAm/inBDcwwZZAD8/u3OLR5KQfT/lu6vvH9GhRNI0CCOtAS7LiTcLjk8V+8VF0Flp UIPt1iLMfqmjaejQ9M3efn80MiOq7zxfhYDV1ep2fh5MC7C+2JTIOyqevF0xmeVNXw7R pOaMfyaob2EQYuuFSCoEFpYUdpWkPM7/hcxalUMISZzH5AtJlmmHAlMfl0rZUdcg4fDO msoA== 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=ENQL7iK1EEAN7jKzjxcH2H1sYPFy5yg9whvb0+0a3as=; b=V430gwZOL9M/61nA32xT2RdGk5eo9QNh6tONsJti4eXnj/Q4vw8Rjdb/y3GU2byDxR 6JVF2PkinaGn8GcYXqwdiaeo+b0mMKKlAKumtxe+r1OMGEArWHJOq6ounUSqYLqrP09E ILPpe3ubrQT1tYUjTpFSW+MmXcOS+V4uTwYy1P/xJ95bDHUCBqrFNiaYXHqEdmhjJJ8W ChcrWOlRXvkcqrcDDGMrbpMv/2H6sRmB/9db6oEaGeV6AqTxDiwDItczR92Gcc8Apu8T 8SfVaeCCjgWU/ZofpXy+6vUljVWO/UFlDfwRkpJcGv+YbrDtCdctlQjVLXCfv0vrt2cq sNTQ== 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 i136si607207pgc.416.2018.03.09.03.26.59; Fri, 09 Mar 2018 03:27:13 -0800 (PST) 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 S1751130AbeCILZo (ORCPT + 99 others); Fri, 9 Mar 2018 06:25:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:36390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbeCILZn (ORCPT ); Fri, 9 Mar 2018 06:25:43 -0500 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 5EA90205F4; Fri, 9 Mar 2018 11:25:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5EA90205F4 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: Fri, 9 Mar 2018 11:25:37 +0000 From: James Hogan To: Matt Redfearn Cc: Ralf Baechle , linux-mips@linux-mips.org, Paul Burton , linux-kernel@vger.kernel.org, "Maciej W. Rozycki" , David Daney Subject: Re: [PATCH 0/4] MIPS: Introduce isa-rev.h to define MIPS_ISA_REV Message-ID: <20180309112536.GE24558@saruman> References: <1519664565-10955-1-git-send-email-matt.redfearn@mips.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pY3vCvL1qV+PayAL" Content-Disposition: inline In-Reply-To: <1519664565-10955-1-git-send-email-matt.redfearn@mips.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 --pY3vCvL1qV+PayAL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 26, 2018 at 05:02:41PM +0000, Matt Redfearn wrote: > There are multiple instances in the kernel where we need to include or > exclude particular instructions based on the ISA revision of the target > processor. For MIPS32 / MIPS64, the compiler exports a __mips_isa_rev > define. However, when targeting MIPS I - V, this define is absent. This > leads to each use of __mips_isa_rev having to check that it is defined > first. To simplify this, this series introduces the isa-rev.h header > which always exports MIPS_ISA_REV (the name is changed so as to avoid > confusion with the compiler builtin and to avoid accidentally using the > builtin). All uses of __mips_isa_rev are then replaced with the new > define, removing the check that it is defined. >=20 > Applies on v4.16-rc1 >=20 >=20 > Matt Redfearn (4): > MIPS: Introduce isa-rev.h to define MIPS_ISA_REV > MIPS: cpu-features.h: Replace __mips_isa_rev with MIPS_ISA_REV > MIPS: BPF: Replace __mips_isa_rev with MIPS_ISA_REV > MIPS: VDSO: Replace __mips_isa_rev with MIPS_ISA_REV Applied for 4.17, Thanks James --pY3vCvL1qV+PayAL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlqibzAACgkQbAtpk944 dnriTg//axat2ZVYjGpD1ArP8HiDNdFjSh35vumKNvnd4CGDFAgzMSzZV4bx+lGj /sw8Go7PbTAfkmoi9CAixTeaxQSmAPZ1v9k3MDpRpUJk+5OjFbG4d0xzOHayg/fM ETM7uuzSj16ee4DRcSgmfS30QJvSCcZFXWeVugM8Im7wCMeIQ5LWrxjTXqoFsc+/ URRgMola5oh7MvvduX1nPJuuk2Xk9YL9W/Qja8RDQqNTVTWDXWHGk4YFl0EFGZXi RFRKJlMaK1fLkY12H0n0WxMzFoBkAYnNYq4cqDEKUW+cf0DbXQlYxc54YWd37BB+ opZkz6Ed84NI9NcyqLbMnDjqcrzULblhkJWAZ00NAAzNRlqdU+Iwv6mTDVzeAQZB hr2IYi4bWunjzuvSnZTOx1eb+PYPZ8Y4gY10nPVmHDdXhI/g9SqVO5ojgmufLEu4 4Mafd7o2phX2Q1EstX6CIL/56DWSpITrpqf8OXISxumWHYwy0mehDRbuKIQZoMt0 8ilxvSa/Fohxeywc65vX/b7xKRLsAIczzctNDPoCeJgF6mlqLg331yV6/diBNDNV NoaTvICCm/RnZ9AWiDvZVvZoTAP/Q5aVgP5uDwNlIcG3hphLZ3NwNIGgKZd2bSPb yMJ7xh0OeGZazAuXXj/wuQCma3DWKxRGBEI0fQEqcf5Kz8pdi8o= =FsvF -----END PGP SIGNATURE----- --pY3vCvL1qV+PayAL--