From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 09 Mar 2018 12:25:57 +0100 (CET) Received: from mail.kernel.org ([198.145.29.99]:60058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23994774AbeCILZt1eBHC (ORCPT ); Fri, 9 Mar 2018 12:25:49 +0100 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) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 62863 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: jhogan@kernel.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips --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--