Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426146AbdD2SOy (ORCPT ); Sat, 29 Apr 2017 14:14:54 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:52566 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031956AbdD2SOt (ORCPT ); Sat, 29 Apr 2017 14:14:49 -0400 Date: Sat, 29 Apr 2017 19:14:32 +0100 From: Sergei Trofimovich To: Tony Luck Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] ia64: fix module loading for gcc-5.4 Message-ID: <20170429191432.5ebe2129@sf> In-Reply-To: <20170408195318.18080-1-slyfox@gentoo.org> References: <20170408195318.18080-1-slyfox@gentoo.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/OZ5I.vO1_G3QQCjMgsQsPc3"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1821 Lines: 59 --Sig_/OZ5I.vO1_G3QQCjMgsQsPc3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 8 Apr 2017 20:53:18 +0100 Sergei Trofimovich wrote: > Starting from gcc-5.4+ gcc generates MLX > instructions in more cases to refer local > symbols: > https://gcc.gnu.org/PR60465 >=20 > That caused ia64 module loader to choke > on such instructions: > fuse: invalid slot number 1 for IMM64 >=20 > Linux kernel used to handle only case where > relocation pointed to slot=3D2 instruction in > the bundle. That limitation was fixed in linux by > commit 9c184a073bfd ("[IA64] Fix 2.6 kernel for the new ia64 assembler") > See http://sources.redhat.com/bugzilla/show_bug.cgi?id=3D1433 >=20 > This change lifts the slot=3D2 restriction from > linux kernel module loader. >=20 > Tested on 'fuse' and 'btrfs' kernel modules. >=20 > Cc: Markus Elfring > Cc: H. J. Lu > Cc: Tony Luck > Cc: Fenghua Yu > Cc: linux-ia64@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Andrew Morton > Bug: https://bugs.gentoo.org/601014 > Tested-by: =C3=89meric MASCHINO > Signed-off-by: Sergei Trofimovich > --- > Change since v1: added 'Tested-by' > Change since v2: checkpatched, fixed typos by found by Markus Elfring Ping :) --=20 Sergei --Sig_/OZ5I.vO1_G3QQCjMgsQsPc3 Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSZKa0VG5avZRlY01hxoe52YR/zqgUCWQTYCQAKCRBxoe52YR/z qvviAJ9vvOptrhATiYO5/vRmPegGfwtOUgCfSeoTYhaTD0ZqAtVyzqkPCD7G24s= =wvtz -----END PGP SIGNATURE----- --Sig_/OZ5I.vO1_G3QQCjMgsQsPc3--