Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753641AbdGUOZb (ORCPT ); Fri, 21 Jul 2017 10:25:31 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:8325 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750802AbdGUOZa (ORCPT ); Fri, 21 Jul 2017 10:25:30 -0400 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Fri, 21 Jul 2017 16:36:35 +0100 Date: Fri, 21 Jul 2017 15:25:28 +0100 From: James Hogan To: Aleksandar Markovic CC: , Goran Ferenc , Miodrag Dinic , Aleksandar Markovic , Douglas Leung , , Paul Burton , Petar Jovanovic , Raghu Gandham , Ralf Baechle Subject: Re: [PATCH v3 04/16] MIPS: VDSO: Fix clobber lists in fallback code paths Message-ID: <20170721142528.GI6973@jhogan-linux.le.imgtec.org> References: <1500646206-2436-1-git-send-email-aleksandar.markovic@rt-rk.com> <1500646206-2436-5-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="npqkS5PSNd2BVonv" Content-Disposition: inline In-Reply-To: <1500646206-2436-5-git-send-email-aleksandar.markovic@rt-rk.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: 1b7d744b Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2673 Lines: 80 --npqkS5PSNd2BVonv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 21, 2017 at 04:09:02PM +0200, Aleksandar Markovic wrote: > From: Goran Ferenc >=20 > Extend clobber lists to include all GP registers. >=20 Consider adding: Fixes: 0b523a85e134 ("MIPS: VDSO: Add implementation of gettimeofday() fall= back") > Signed-off-by: Miodrag Dinic > Signed-off-by: Goran Ferenc > Signed-off-by: Aleksandar Markovic Reviewed-by: James Hogan Cheers James > --- > arch/mips/vdso/gettimeofday.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/arch/mips/vdso/gettimeofday.c b/arch/mips/vdso/gettimeofday.c > index 974276e..e2690d7 100644 > --- a/arch/mips/vdso/gettimeofday.c > +++ b/arch/mips/vdso/gettimeofday.c > @@ -35,7 +35,8 @@ static __always_inline long gettimeofday_fallback(struc= t timeval *_tv, > " syscall\n" > : "=3Dr" (ret), "=3Dr" (error) > : "r" (tv), "r" (tz), "r" (nr) > - : "memory"); > + : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", > + "$14", "$15", "$24", "$25", "hi", "lo", "memory"); > =20 > return error ? -ret : ret; > } > @@ -55,7 +56,8 @@ static __always_inline long clock_gettime_fallback(cloc= kid_t _clkid, > " syscall\n" > : "=3Dr" (ret), "=3Dr" (error) > : "r" (clkid), "r" (ts), "r" (nr) > - : "memory"); > + : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", > + "$14", "$15", "$24", "$25", "hi", "lo", "memory"); > =20 > return error ? -ret : ret; > } > --=20 > 2.7.4 >=20 --npqkS5PSNd2BVonv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAllyDtcACgkQbAtpk944 dnoQqA//bTTtqNCB9Yj6iq6FSFKbqHeKMheT2Whd5Kl8TC12CO/5oqDyf2ocRjPj MuHR8pBoxkw6BCnReDzQYilR/fOJGzyeKJt+V6O+T8WFLjv7eMbkgVfsrR1vaQ1z 8m1hcpxyB4urmItr1YjYhxvyWv4SGw6KqL9L1tzbJ+IZ98mKgnj5gxziHudboAx6 2NYqv1YI+Icl6Ufl25Eb9psnT89BL4JqWSB/Ina7iPT38sXXnq5lr2KCkCkggLVR w0/62yulIPet65OPX8+5KBw+Q5OZ56w5nzO/my+Qxcst37QnWW4/CW0D/+2d22wf pGMAzibGWNOAZGUNjMzbIu4X4Biq6E68vA/p90kGTEHiv5zn1PYppJNFMHeEvmIl rZi0TbW/BXAKnTiY9Ek+Q7djl2VYA6VY4A06bpEOq0Mflxpd5LC40K3fmIBWwN/D RogbJAFtj/ooz4TTdv5qgDiDq3pnzSabJr2gSNWcJ/ZtiVY8ctfuAXZYeYV4NYjz rVi9aJxrIKTcUCbbUVDUYRpHsv4CBjaUxRxxfkGWci9X3BPTfxCOFx1vYHSuHPNm WQB7oerYkmbtsnUh10zwl+VqtuUqMEqpyZ/ThEe4QmW+UTmhafqjo7jrs0ruXIKi WZWevcYUI/kVM/IwbEZ9LIye40D5B8KzYiBgkqsv19Cp9C1XVYU= =NZL4 -----END PGP SIGNATURE----- --npqkS5PSNd2BVonv--