Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2043376pxb; Fri, 24 Sep 2021 18:55:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeKs9HS53ATQoKnURHVYeIehYixMPGdpeJLISclX1pKQfIUXzM6nPQwl3/afsFxFJAmfYo X-Received: by 2002:a17:906:dbf0:: with SMTP id yd16mr14635724ejb.445.1632534933143; Fri, 24 Sep 2021 18:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632534933; cv=none; d=google.com; s=arc-20160816; b=rQD592VLyIv+ecgs484MC5ny9Q/f52kbPx0E6KNXplqnEyMFnQVLJ3X3TPmYMWjrHW tZdm5e+J4NyckQYOOsbBzgLmPM9v8Xkkk03diMf4Fm8LSjuNPi0uSD5oqP/PH+KxkHiw L2FiIWqYF1p9exJjn2crQ780l20FxYcNKLpUsihQg4TenselmcefmdxIspF1IIaYzyT2 8vAfoZW+SagwmU71B/CSJXizr3cq6S7jhs118dSqQnT40EkZrrtXPNSS2iBpPWPqBtR+ CTJCzfPJlOoW/3638+O1CrZNC8bu/xeZbpv2ydDzMF+fNu+r8VFDvICVuPJpHS8b9njt WRIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gpLv3NaIY3taek3BYZswl3ai95dgybFjPmfsQxm8ad8=; b=R9m1PfRu1M+uTf+gO9MY3zWAUUEL3Jmxa/zawdpPEAjiLleKNs5dF/BkGtjr/0TGH9 mQp4hSzO9zodPeyK34YBGwG3ITl52cjfJQ2urWa4cRATylNbcTCOxWGASdPOh7jzBniK 9RzorpqaaKjGK4wy1ZMtZ11ZWltEZKHHpBp4xRbffWQ+PzwCPsbR2fYkZffn4rElin+F ZKHupOFd3G0fCKBJQk1PFWJ38VFoahEkqJnq/kg8BTAuNDBaPcUB8Sb4FSod6ZSHh7hY 2nDmRMp0Y8+ZlQqA4VI3Fi0qLC+XL3qMMkeGtBDj5ex/qqCNN78GEngKEpMz25E92n0p 475w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AD1A1IDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si553918edb.334.2021.09.24.18.55.09; Fri, 24 Sep 2021 18:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AD1A1IDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234271AbhIXQnc (ORCPT + 99 others); Fri, 24 Sep 2021 12:43:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:40618 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233969AbhIXQnb (ORCPT ); Fri, 24 Sep 2021 12:43:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7C9260EE7; Fri, 24 Sep 2021 16:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632501718; bh=H423tEhL4STBIrStMHc+PhfbtwH8UWS0A41glaA+Nl4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AD1A1IDaA7kbGa5je+K+I6q33oR96VpWsUQJmPi4SDadXyUKmTxvCX4wkaXt4Ww0s zcdzOXuqCsfEDdbjhiefCfK6MTXQ49HZyBWn9xERTLwIKUG9nQ+UinMez/YEy4j25j 395etTNWCWl7s3X0+L2NOYf1LaOq1vROR6q7WyafXG9D0k5V6prMgR2mgUHBuqI+N6 sIXFlHulGnT11e3O7BtsIZjyjuS1FdBA8XRWK1VhAl60ER8SKwqfAefbcG7S9J2rh+ VZxpGPgJ1oNDiTiOJWbUUeEduvJ80v4DQ3RVZVuOrIJZl0ron98N8sylPrXCNecj6U 8FBuwO8BD5pJw== Date: Fri, 24 Sep 2021 12:41:56 -0400 From: Sasha Levin To: Florian Fainelli Cc: Alexander Sverdlin , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Steven Rostedt , Ingo Molnar , Russell King , "moderated list:ARM PORT" Subject: Re: [PATCH stable 4.9 v2 0/4] ARM: ftrace MODULE_PLTS warning Message-ID: References: <20210922170246.190499-1-f.fainelli@gmail.com> <34ae79e3-f109-bc4b-341a-f05d95cf15e3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <34ae79e3-f109-bc4b-341a-f05d95cf15e3@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 24, 2021 at 09:11:18AM -0700, Florian Fainelli wrote: >On 9/24/21 8:27 AM, Alexander Sverdlin wrote: >> Hi Sasha, >> >> On 24/09/2021 13:52, Sasha Levin wrote: >>>>> This?patch?series?is?present?in?v5.14?and?fixes?warnings?seen?at?insmod >>>>> with?FTRACE?and?MODULE_PLTS?enabled?on?ARM/Linux. >>>> >>>> All?now?queued?up,?thanks. >>> >>> Looks?like?4.19?and?older?break?the?build: >>> >>> arch/arm/kernel/ftrace.c:?In?function?'ftrace_update_ftrace_func': >>> arch/arm/kernel/ftrace.c:157:9:?error:?too?few?arguments?to?function?'ftrace_call_replace' >>> ??157?|???new?=?ftrace_call_replace(pc,?(unsigned?long)func); >>> ??????|?????????^~~~~~~~~~~~~~~~~~~ >> >> in principle you can add ", true" as a third argument in all these ftrace_call_replace() >> call-sites which still have two args. > >Sasha, what configuration failed to build? I build tested with >mutli_v7_defconfig which does enable FTRACE by default and then ensured >that CONFIG_ARM_MODULE_PLTS was enabled. From there I will re-submit, >sorry about that. allmodconfig seemed to have hit that. -- Thanks, Sasha