Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2204706rwb; Thu, 27 Jul 2023 03:57:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlG0Udfru/lx93IN4Rd5uprW/yJkszwc5bTxlKMxDK0isra8nufxUKshQ+hEFt3q77CMyMAZ X-Received: by 2002:a17:907:78c8:b0:99b:d788:3a19 with SMTP id kv8-20020a17090778c800b0099bd7883a19mr1424730ejc.25.1690455466901; Thu, 27 Jul 2023 03:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690455466; cv=none; d=google.com; s=arc-20160816; b=BiEM8iHUr+z9kZZ6TKZm3mPjZK6d+i1BJ67Se9uHXR1jcgIWYHwGrau17KBkHL8KNp 1Tqjo9HW4yJqwWWsSH2Dl1HEIWqkeKkgyxg/aFCYzoBLrWqcXip8+pn2tYDPZb6mi4CM JqsRlRxQjoKtdO2QDGFVctwpV2pwd3Ae1/R0ivMGJT78UuFQmMjjjtIVDk7a0pGA+7W4 CLr7ksXN7cmwGP+2A+qKH4QU/ISTHD8o/lZhc+uVZvf44IPq0HnZ9wNoW8AKXTXvapEZ 6HxeMVo8FV5cVQJWEg06UvQBO5CrSCtKwn60mT7UvRx/YPS9y29bkoK9EWHJKinQFjfB GJsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CWMGeii5aP33Oc/MC9Eb5M/WuFOC45pDT/vsmRd32XQ=; fh=nyzrJ9kOJK9Sf4buTxnHSbb69lewbhljYpDMQx4Rs5k=; b=EtQfBaDXMNByOQraVvc1R5oB77yqeDBxmiqJXVE21NJiYsm8DhEPFiIMD4qBaseAZH s7lmfSt3e3Mb9xSkcsHiKWBqfkZkZ/GsGRb8WjQIcZEd+Shs7lgpeDw9mixn6/DddVRH BTe0o6NnfgQsVH9eshHsGja6Yt7e3/o1Z42eu5ce37hOOalYP/tM9wUJz/oHo4RVlnpD GfopjZFtDVwAjkzYoFWATbPJjei1ocQdaGLBmBk3QxJFk8XBLhmFOoW6NhwfIBTwcDcn /1nRw8tmNI4uA2sDBakd48oPej655zO86BR3+Rb75TGdPBVJ0CoaX5grxNES1jx30j+x SccQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q14nCng3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020a17090607cf00b0098d373fa9d9si797284ejc.149.2023.07.27.03.57.21; Thu, 27 Jul 2023 03:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q14nCng3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231334AbjG0KTg (ORCPT + 99 others); Thu, 27 Jul 2023 06:19:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233495AbjG0KTd (ORCPT ); Thu, 27 Jul 2023 06:19:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3527173F for ; Thu, 27 Jul 2023 03:19:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5921C61E13 for ; Thu, 27 Jul 2023 10:19:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D395BC433CA; Thu, 27 Jul 2023 10:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690453171; bh=v9Xz5riwIR0HgvyWvbGHeuPbkWh6R0cVzSMB6uqSUOo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q14nCng3maaQb3B4kymY8Nii/P1N6qN0ySyiGJNUnx3UK2wiPK4XSOhvCmhRnMb6i Xk3R5sA0yufNmXdPN6IY34bO2WkaXWdRSqA899vmRvJ8jGl7AuTDetRW9pnSpu2lQp cXwV+d+JcQ6FGBhUj7fpWRTTxq02scG/Cl5Z2QCAbmG46dE8PvWVA+Q/6eCh3KRytO IjHUxjsAPgn6+moV1yZg6OLVd1U7CidIIX9R+EG73TeV1plwV/IxlcucBWo1zTyFoS wNHf3225gLS2iNwg6cAQwyxC9Semces9zy22EHiIKCajKpofWjV1VGsG+jZSeV3KJC lz1glQo0GL4WQ== Date: Thu, 27 Jul 2023 11:19:27 +0100 From: Will Deacon To: Jisheng Zhang Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: vdso: remove two .altinstructions related symbols Message-ID: <20230727101926.GB18721@willie-the-truck> References: <20230726173619.3732-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726173619.3732-1-jszhang@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, Jul 27, 2023 at 01:36:19AM +0800, Jisheng Zhang wrote: > The two symbols __alt_instructions and __alt_instructions_end are not > used, remove them. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/kernel/vdso/vdso.lds.S | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arm64/kernel/vdso/vdso.lds.S b/arch/arm64/kernel/vdso/vdso.lds.S > index 6028f1fe2d1c..45354f2ddf70 100644 > --- a/arch/arm64/kernel/vdso/vdso.lds.S > +++ b/arch/arm64/kernel/vdso/vdso.lds.S > @@ -50,9 +50,7 @@ SECTIONS > > . = ALIGN(4); > .altinstructions : { > - __alt_instructions = .; > *(.altinstructions) > - __alt_instructions_end = .; > } If we don't need the symbols, then why do we need this section at all? Will