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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 81052C43460 for ; Thu, 6 May 2021 16:03:47 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 1714F61078 for ; Thu, 6 May 2021 16:03:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1714F61078 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=desiato.20200630; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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-Owner; bh=sowiX5Tc7asC0vCXB+MSLs2Arxdustc4Vbj3bKfUq4w=; b=p8/mH+7/Vny8NRy+GrMwKvgzF SFdgqJObmzuQH6rb+sg/TPWNyqAPLTSuJWKpup7SV3TJ4F+fr/YmUwiAm+N8V7sP0dFA4aiRdyVh8 1xv9MjsoMacepUW2mRG9gcGQTgKCl8f4VcIFO47l/lUnG9GzU/Nsk/+yvxZ71mWvfKcieqcKINoEp tfTufLz7b6/ZpeIiFSmgXqtHHGBLsKDxsrIoxYCqQOFgZ0Ouebc6M2E4qFqI800zIMpHR++Rg9CST rzqQpP2vN6Tc7ECpsERVaOht7uKZgDcR4mPsDTkA7HDF1WXgf27Ph9cdBYiKLIv3PaK25DRI7QDZh eX+2ZHacw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1legPx-004j1G-5M; Thu, 06 May 2021 16:00:01 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leg5E-004c48-9v for linux-arm-kernel@desiato.infradead.org; Thu, 06 May 2021 15:38:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OF5PEurupkUAiAUIMYP8aVshT25w9rwXrm3hPJm8WYQ=; b=j+R5AU7UAJRXTpuYZTMJ8WwwYp rgWfqYNFoFYzLbAYDLxE4VweNa/twizWK/4I2/Jse7df5Wce0p5tbAGSlsxsfISRKYZHZseuyz4se gd6W8L9DELrozAT5JMOGyEqm9Y46Xcs3PTYpbm3ivIZWDP3HfYEiKcCZ42MPthSPCSEcsX5gSrZoa eCGtKNGuLP11ibZTDGi31q+iSab6yBH46kRmKXKEFr3A1TpTrNH4woBOyLCXwKL7L2tKmxiUL7m0g wOfE6aIelgGAmsp7u5fDziMMFIp2EmQByGgNe7zq1htF5okLGpa5b6YD6SZWFrJHvfA6kVuQIYWHL MaY6aoCQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leg5B-006ASi-Ke for linux-arm-kernel@lists.infradead.org; Thu, 06 May 2021 15:38:34 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 756AF610A1; Thu, 6 May 2021 15:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620315513; bh=Q0AranOJ2+2R5VGGKS2I1dV1saSj95Pxw1bkJgk4TOw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K1dYaLVfKwmMdywlq+dp4lgLL14sAB8nlpvKcKEPfl+/a7xB+/v/MiccBHrmR8g6X NGqmPtk9l4W1PbH4KpxwUA67EjnyJqksUqPw3gvxRJDIU8FD6LNhnHU0kSn+WBA3F4 opWFJwZG+zhydS0F6nY1gpNgSDstCGtDLoBq6ApRtGEX4hSdJzLgYdpnxG/0w+l+Mn R5dvmmQNssVIYz2622Bzs2k+04fwHchUAaz+nYcpMLNSsmTzcameH7ojKVDYnr4Ccr dfCkk0CmirETJrI9dLPH7oY/XqiWP84SClNqsRX05e1/G/1sY1MlD/UAY5YWgFijh/ ynC7OtLGhZUTA== Date: Thu, 6 May 2021 16:37:56 +0100 From: Mark Brown To: "Madhavan T. Venkataraman" Cc: jpoimboe@redhat.com, mark.rutland@arm.com, jthierry@redhat.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, pasha.tatashin@soleen.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v3 3/4] arm64: Handle miscellaneous functions in .text and .init.text Message-ID: <20210506153756.GA3377@sirena.org.uk> References: <65cf4dfbc439b010b50a0c46ec500432acde86d6> <20210503173615.21576-1-madvenka@linux.microsoft.com> <20210503173615.21576-4-madvenka@linux.microsoft.com> <20210506141211.GE4642@sirena.org.uk> <8268fde8-5f3b-0781-971b-b29b5e0916cf@linux.microsoft.com> MIME-Version: 1.0 In-Reply-To: <8268fde8-5f3b-0781-971b-b29b5e0916cf@linux.microsoft.com> X-Cookie: Is this really happening? 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-20210506_083833_730072_959D9BED X-CRM114-Status: GOOD ( 20.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3879702908662337079==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3879702908662337079== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 06, 2021 at 10:30:21AM -0500, Madhavan T. Venkataraman wrote: > On 5/6/21 9:12 AM, Mark Brown wrote: > > On Mon, May 03, 2021 at 12:36:14PM -0500, madvenka@linux.microsoft.com wrote: > > I was thinking it'd be good to do this by modifying SYM_CODE_START() to > > emit the section, that way nobody can forget to put any SYM_CODE into a > > special section. That does mean we'd have to first introduce a new > OK. I could make the section an argument to SYM_CODE*() so that a developer > will never miss that. Some documentation may be in order so the guidelines > are clear. I will do the doc patch separately, if that is alright with > you all. I was thinking to have standard SYM_CODE default to a section then a variant for anything that cares (like how we have SYM_FUNC_PI and friends for the PI code for EFI). > > We also have a bunch of things like __cpu_soft_restart which don't seem > > to be called out here but need to be in .idmap.text. > It is already in .idmap.text. Right, I meant that I was expecting to see things that need to be in a specific section other than .code.text called out separately here if we're enumerating them. Though if the annotations are done separately then this patch wouldn't need to do that calling out at all, it'd be covered as part of fiddling around with the annotations. --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCUDVMACgkQJNaLcl1U h9Drpwf/SRzqFMWq22H1Ml8s27Hh49gC4CLFUccseoSmz/co/VzB6TRhYlOyIfHE CquUlAiLLDlHRaIeZLOc9bPRdafdaXoC58VYe8TUsyKHl0+pmWo4X2A9ky2Ig9RM pFFvTMAU2xA1wAh6JRpJVYU0tPZv5nrQ7HSOmoDkySeimDkMbE64RJLIrOr/uxMw LPuqYgruwUirX05C7FPyEQHPCle7/IkJ448nrY9noXSJ5Qh69Mf5YyfKCvVQI1bC mKhjwpj9r13kF0dpMa8haPuLNmu1pbFcCgTcwzpJ87w7AQ1LtGPy+Pmvzj7ESM6y lu03JhhYAU9hJSRQAfMFkyb/FTqShg== =HPop -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- --===============3879702908662337079== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3879702908662337079==--