From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FAB9C388F7 for ; Thu, 22 Oct 2020 15:02:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1099C24630 for ; Thu, 22 Oct 2020 15:02:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Az19VXqb"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="GFfjiu0p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1099C24630 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jQOzZiy0AtHvCH1FoymyNR5FRu5ZI/IqhIayyAypZEY=; b=Az19VXqbHLJVRZjSiENXp4x7Q 34YQXv0XjEkllNee5IMGNHcwDlm4hsEBOow4mSqb91d4APAd2EaiZBiylMepsPeyvrn96HuyXFsk4 BQSUwF9fcOMax/ivCxuyEB7GdFxypkhfe0T/MTVHSNGwPrPWKvJYiWJkui40yjmm8IHGiEp9lStyD DlbSOdE69aV+j7xOGOYrDvlBfncgJtIGktWXFYLKLPg1Q8AhsIOdE2Blymzp+HcUk7Ga/PVQh8e56 rg0t9NFzKEcCHB020SzT31EFWrtw1bG2A/tuDGhEkUsJlGJ1DwN3sk/Pcg7ckWKrns20ij1TwT5nD FnIZyDhZg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVc55-0003gH-LD; Thu, 22 Oct 2020 15:00:43 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVc53-00033s-Ew for linux-arm-kernel@lists.infradead.org; Thu, 22 Oct 2020 15:00:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EI7SUHNGo9RIx0dNIUmbKVTRaF3ifnJ7HykDmE4g0kA=; b=GFfjiu0pPasi/OTB9R4P4Xoei YzMLcZbLe4gEsd8KmuTaYF6gh8hETygpFkKLT+Bsbune1Wbdu6kQ9McFVQiXzkZOU0QRdeGHCVz3y 61Eu/CkXANq4VZCe71o6H5RBmympCmjkA0hC5QVzWmhEiGenFHJGYY5Edcm4Vnqj0V+8WkQRrYGsY 9oo+aGAZMcMVQ6iqe+zRxzXlbQbgECiw+b/mQFarK/Ca9JyWdR+MbHQGXtnJKFFV1eW2KtdBoBtC6 D4l+0rlgvHtazJfKlan4ZanxQFUjhx+RQ0EB5oP1TJmaDtkYSc9c3fmJhGilLDDt0piB8MKxuiAjk VSZYWFq2w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:49556) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVc23-0002AJ-O3; Thu, 22 Oct 2020 15:57:35 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kVc23-0007UR-1g; Thu, 22 Oct 2020 15:57:35 +0100 Date: Thu, 22 Oct 2020 15:57:35 +0100 From: Russell King - ARM Linux admin To: Dmitry Osipenko Subject: Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error Message-ID: <20201022145734.GO1551@shell.armlinux.org.uk> References: <20201021225737.739-1-digetx@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201021225737.739-1-digetx@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201022_110041_512994_0D2902C8 X-CRM114-Status: GOOD ( 15.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Nick Desaulniers , Kees Cook , linux-arm-kernel@lists.infradead.org, Ingo Molnar Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 22, 2020 at 01:57:37AM +0300, Dmitry Osipenko wrote: > The vfp_kmode_exception() function now is unreachable using relative > branching in THUMB2 kernel configuration, resulting in a "relocation > truncated to fit: R_ARM_THM_JUMP19 against symbol `vfp_kmode_exception'" > linker error. Let's use long jump in order to fix the issue. > > Fixes: eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input sections") > Signed-off-by: Dmitry Osipenko I guess the problem is that vfp_support_entry is in .text which tends to be at the beginning of the text section, but vfp_kmode_exception is in something like .text.vfp_kmode_exception ? Would it be an idea just to change the section name that stuff like vfp_support_entry ends up in, rather than making the code less efficient? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel