Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753787AbbD2Phv (ORCPT ); Wed, 29 Apr 2015 11:37:51 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:46759 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753639AbbD2Pht (ORCPT ); Wed, 29 Apr 2015 11:37:49 -0400 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Wed, 29 Apr 2015 16:37:48 +0100 Message-ID: <5540FA8E.40209@imgtec.com> Date: Wed, 29 Apr 2015 16:36:46 +0100 From: James Hogan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Maciej W. Rozycki" CC: Leonid Yegoshin , , , Ralf Baechle , Subject: Re: [PATCH] MIPS64: R6: R2 emulation bugfix References: <20150428195335.11229.4516.stgit@ubuntu-yegoshin> <5540A1BF.7060408@imgtec.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GEwuTDbBnpoWsPeSG51Jr99L7Rt5Nklwv" X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: b93fcccb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2664 Lines: 75 --GEwuTDbBnpoWsPeSG51Jr99L7Rt5Nklwv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 29/04/15 10:49, Maciej W. Rozycki wrote: > On Wed, 29 Apr 2015, James Hogan wrote: >=20 >>> Error recovery pointers for fixups was improperly set as ".word" >>> which is unsuitable for MIPS64. >>> >>> Replaced by __stringify(PTR) >> >> Every other case of this sort of thing uses STR(PTR) (or __UA_ADDR in >> uaccess.h). Can we stick to STR(PTR) for consistency please? >=20 > Or __PA_ADDR in paccess.h. >=20 > I have mixed feelings, the reason for __stringify being absent is the = > macro being generic and more recently added than pieces of code that us= e=20 > STR, e.g. unaligned.c that has been there since forever. And we do use= =20 > __stringify in many other cases. Well I don't particularly mind, so feel free to add my Reviewed-by regardless, though it'd be nice to have some consistency eventually one way or another. Cheers James >=20 > On the other hand STR is short and sweet, unlike __stringify. >=20 > So how about adding a macro like __STR_PTR that expands to=20 > __stringify(PTR) and converting all the places throughout our port=20 > (including ones currently using __UA_ADDR/__PA_ADDR) to use the new mac= ro? >=20 > Leonid's bug fix will need to go in first of course. >=20 > Maciej >=20 --GEwuTDbBnpoWsPeSG51Jr99L7Rt5Nklwv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVQPqOAAoJEGwLaZPeOHZ6nuQP/2PFoG4cBDqkwcRL9HZ0hWaP KKr8qvWj7SUa/HcHGhB3mhXMrFvRuIea9KClV/8AM9xlHogmjkD0K2o24uD2gXF1 PZWSR31qzl/p+aWNQti2f+j0z4Kq9g+rUwXFKN8IA7ECVCskWChYGTdYvjQcMCNc uhVq4lXeVdwL9790gLsGx/7jyWVjEbJ4uSOotrdk8G3g6H+0IyhqPLBXQiq8K9mK hTL/arD+jSlasbhbkROXJPbf7NtJFQymrJQe9gq0udA9P+Q3QdLiL6WpM0mbUJme fO8IOdBbS09qeGxBOgRf9Bkwmi3QfgE3pvnBpHVnx8ZL6iGCNb589c+ji5q+7AlE B2AJxF6+Rvr4pa90pOuV1ronuvB17DBGp7etjKrm/G7+fkm96g3KBqHucDetKYR8 wDJSYR4Z2YKnY/50kEqT07pK0spG56KfI8IDxMRT/qj+gDSM1Oi3GsJ6O/ZpHkH3 wfX7pzJ321/hN/XHUrU5pchN8V9orluxZxeyDnbb6dAGhrTZkZiEtVAQp6tvH8Ld 7xLXobMpV6hW0P8MR6bw53b1hw9SOCdjSsi+y/AXWE3tratqSv+Zy+3qc49I+x9E DM3KlXjn+2OKu95rcGpOdJ2+iNp0SUVWmMZNxoDeGyoCU5vG0K/hOhbPoObkrqwc J2hl9kObhUYvAtw8AOnO =uW7F -----END PGP SIGNATURE----- --GEwuTDbBnpoWsPeSG51Jr99L7Rt5Nklwv-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/