From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057AbdDAWk2 (ORCPT ); Sat, 1 Apr 2017 18:40:28 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:38845 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbdDAWk1 (ORCPT ); Sat, 1 Apr 2017 18:40:27 -0400 Message-ID: <1491086420.12745.3.camel@decadent.org.uk> Subject: Re: [PATCH 3.16 00/19] 3.16.43-rc1 review From: Ben Hutchings To: Guenter Roeck , linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org Date: Sat, 01 Apr 2017 23:40:20 +0100 In-Reply-To: <9c24421a-d010-38eb-ee1d-602642a3ee95@roeck-us.net> References: <9c24421a-d010-38eb-ee1d-602642a3ee95@roeck-us.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-4NZhRkHwCB4D07PcTSnG" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-4NZhRkHwCB4D07PcTSnG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2017-04-01 at 10:43 -0700, Guenter Roeck wrote: [snip list of MIPS failures] > I tried to build mips:allnoconfig with the following binutils versions. > They all fail with the same errors. > 2.22 (from Poky version 1.3) > 2.22 (kernel toolchain, gcc 4.6.3) > 2.24 (kernel toolchain, gcc 4.9.0) > 2.26.1 (buildroot toolchain, gcc 5.4.0) >=20 > Bisect points to commit c4cf8e3a3e8f as the culprit. >=20 > > Details are available at http://kerneltests.org/builders. > Unfortunately, just reverting this one patch doesn't work. > Reverting >=20 > f1ece3b9dd5e MIPS: Fix build with binutils 2.24.51+ > f8547d2f97c8 MIPS: init upper 64b of vector registers when MSA is first u= sed > c4cf8e3a3e8f MIPS: save/restore MSACSR register on context switch >=20 > fixes the problem, at least for an allnoconfig build with binutils 2.24. I've now tested with binutils 2.25 and 2.28 and added these: 558155a0a731 MIPS: allow msa.h to be included in assembly files 631afc65e8f4 MIPS: Push .set mips64r* into the functions needing it f23ce3883a30 MIPS: assume at as source/dest of MSA copy/insert instructions a3a49810c55e MIPS: remove MSA macro recursion e1bebbab1eae MIPS: wrap cfcmsa & ctcmsa accesses for toolchains with MSA su= pport which resolve the build regressions for these versions at least. I can't build a MIPS allnoconfig with binutils 2.25, but selecting the Malta platform instead of IP22 works. This is not a regression and is apparently due to a binutils bug; see commit ae2f5e5ed04a. I could pick that workaround for the next cycle. Ben. --=20 Ben Hutchings It is easier to change the specification to fit the program than vice versa. --=-4NZhRkHwCB4D07PcTSnG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAljgLFQACgkQ57/I7JWG EQlhdRAAo7gFCpx8d3LJZNLD8KVlLzUqic1wtWVhXrA0rYloQ0OtvkXuPDS0t+8I sRW2Y03AWWlaDgENwyrRTo7ZISukMABqqboMt1a9tFS3dhejCRx24aFNMC3ISPye Vc57HVgQLYSNP9GZPsFOqmXe0EHn17m6r912lnYqGwvoFcYn7xamMz5R8bS9EpIt 23GwV8UzuzHPrD7gKOZpwgVOM9I7lGzMQGrGrm80QaMFL5kB3FmjpZNEussuvtzU zM4TdeQp4X0R/UbEogXYQhXvLjxi5l4mRDRqhSeheHu3/s10lpeDrux5XKPzdDUZ tZnRlc+Ouue8dsVlQiIXjqTyVkvTfo+i5eWP23dNyknNls7FCw9d3vFd6vz84As9 5+uDAhVVHndxV3oifT6TVDadC7Jkb0+Ku9vfzuTSP2fRAKbwRy1+UpOKllQECdz+ rAXAx6fVqzVMLruL6f/kWF/RHKuI+4ej2cnt5D7pQwsLHcavfVFan8lW4Ub02yl+ Sl+GQV4zroMU28iMmJ+llMBacTS1lfUHTn4Fs2TYE7Q9MbLs3zCcEQcorYdXjdVe D0pkar9UvyQwrK21muW1HHoj3ltV8Oy4GKxC20QnDZGm39mmM2xodP0dtVZwmXgD PGxtF6qQjuqM0nXrgThnsp7v4hC7mgrmSDVXyC3qez8UrOFVzHQ= =4Zib -----END PGP SIGNATURE----- --=-4NZhRkHwCB4D07PcTSnG--