Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2268757pxp; Mon, 21 Mar 2022 15:26:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaa0EF67fsub+W2Ez/pOAnvCoqJtwlDk7b+cX/eSWkrQLPbVB3S4WO0EO6ZVcKWNGJJRK5 X-Received: by 2002:a17:90b:3ec3:b0:1c7:24c4:e28f with SMTP id rm3-20020a17090b3ec300b001c724c4e28fmr1400213pjb.191.1647901577993; Mon, 21 Mar 2022 15:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901577; cv=none; d=google.com; s=arc-20160816; b=hxwIhBK6r4cEPcxv0Xq65tpo20bpFuk2C5yXxnRP/G5eu9ncv1+4fU48Qk4jATIBw2 B76dmqjLWAe/XIUnCk6xkeFSJsGO+oNOsgbH3cVQSRWvAJhz0OPL6g/TfPbv55xtHVRb E0M2SXifNRGqhPSpIZXQV/GvKu4c1NdEM4at5cFeAcJdvlCQ6rsW3d4F8qDGM689h0g1 yObDaW8giNEIoW+VUgzQd1NN978L8V54J1qW4Oy6boIBsdtH8zzqWuDYpq2Z4qptVyOO LqUCxmR40Bx/AfOTmMKFY6J1kenJwDzBqAYcU+IxFIXbc/Eu63NVKC5hKma761OANdQH 4NzQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s1qMUYJFjmWyu035BdBnjaHwH6ewc5Y1L9uHmY8pit0=; b=YcuhGBKa32ErlUM5xWk5F4BCZmWGhsaRxggC/0cLwrgXM/uvY1qXRRyCSfNik4T44C w/bZoO+B10OECfugyKS+FaSDrXVvKHjJF4d8F8zikp755S2/atVJd1Zvi5xjsFPhidDn YFynr8pFzhP7RYCSn2OhApOklIzlc0GpupABWL9+mEbqpXvdgYt5LWGG3KAsN9Q2NZPl nAmuQKYHlchsqh6PJUxASSxwHGcfQRHw9yLqJNfC5Xya0et8u+0lAna2f1Vb9bIpHi18 YmqL9fpNfsQURUM9WW5B4kaSolF/H/Upg9wIakOHwZLzYBaJ04HV3739ko1mzZZ2CpNx FChA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=herOR2Yp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d11-20020a056a0024cb00b004fab5b9a1e6si1300707pfv.252.2022.03.21.15.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:26:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=herOR2Yp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C685225DAA2; Mon, 21 Mar 2022 14:40:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242471AbiCSISf (ORCPT + 99 others); Sat, 19 Mar 2022 04:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233088AbiCSISe (ORCPT ); Sat, 19 Mar 2022 04:18:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E905C23193D; Sat, 19 Mar 2022 01:17:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 84C8260DB4; Sat, 19 Mar 2022 08:17:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78192C340EC; Sat, 19 Mar 2022 08:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647677834; bh=XKOQjqIaURxgBzAC86d2mUm8wd3h7T9RaXyq8DIm5MU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=herOR2Ypvi98+mCJGFrD9bfd8rZH/+UE7Gad4k5Zda5Vt8fIyMEQRsFmqxukYcOSn CArPvPGzHu2n+UY5I8Pd3d1L9Q79yiZltv0OesnYPuV/LjOo2pynTvOaAFBOeOXEwK 7gC8Om8TZrwu3CACnuwqKBhjm7USf5gOx89IlLj4= Date: Sat, 19 Mar 2022 09:17:10 +0100 From: Greg Kroah-Hartman To: James Morse Cc: Florian Fainelli , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Catalin Marinas , Sasha Levin Subject: Re: fixup for [PATCH 5.4 18/43] arm64 entry: Add macro for reading symbol address from the trampoline Message-ID: References: <20220318173713.2320567-1-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220318173713.2320567-1-james.morse@arm.com> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 05:37:13PM +0000, James Morse wrote: > __sdei_asm_trampoline_next_handler shouldn't have its own name as the > tramp_data_read_var takes the symbol name, and generates the name for > the value in the data page if CONFIG_RANDOMIZE_BASE is clear. > > This means when CONFIG_RANDOMIZE_BASE is clear, this code won't compile > as __sdei_asm_trampoline_next_handler doesn't exist. > > Use the proper name, and let the macro do its thing. > > Reported-by: Florian Fainelli > Tested-by: Florian Fainelli > Signed-off-by: James Morse > --- > arch/arm64/kernel/entry.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S > index e4b5a15c2e2e..cfc0bb6c49f7 100644 > --- a/arch/arm64/kernel/entry.S > +++ b/arch/arm64/kernel/entry.S > @@ -1190,7 +1190,7 @@ __entry_tramp_data_start: > __entry_tramp_data_vectors: > .quad vectors > #ifdef CONFIG_ARM_SDE_INTERFACE > -__entry_tramp_data___sdei_asm_trampoline_next_handler: > +__entry_tramp_data___sdei_asm_handler: > .quad __sdei_asm_handler > #endif /* CONFIG_ARM_SDE_INTERFACE */ > .popsection // .rodata > @@ -1319,7 +1319,7 @@ ENTRY(__sdei_asm_entry_trampoline) > */ > 1: str x4, [x1, #(SDEI_EVENT_INTREGS + S_ORIG_ADDR_LIMIT)] > > - tramp_data_read_var x4, __sdei_asm_trampoline_next_handler > + tramp_data_read_var x4, __sdei_asm_handler > br x4 > ENDPROC(__sdei_asm_entry_trampoline) > NOKPROBE(__sdei_asm_entry_trampoline) > -- > 2.30.2 > Thanks, now queued up. greg k-h