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=-5.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 B8804C47094 for ; Mon, 7 Jun 2021 17:04:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5EEE360FEF for ; Mon, 7 Jun 2021 17:04:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5EEE360FEF 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=bombadil.20210309; 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=AtniDUcMhYUNmyFRjQ2vPMxbWxdf8TajEDFW7mlBtuk=; b=tyV0zoGY51Ke/WmGfhtaVxoCI+ OXlEAvxPPfLwUnwOBTCz/iCgti6nnLXKiOsWMLgLJETcQuCoFToFlR45ky3tOLsCWPWp4J2JvPJxs mCEcWYeJ0L8YiRVZ4DmEqIi5vW24HhGtqIiiBN+yR1CfvzcuN/jybuxy6DzwayNMZDUy7huF9Djjp crn2ioyNrr3I4XfmSxvAN861OP/qMtyP+2ccehc02bWdnjayUgsOKu0KgBflxsCEcFiec3O/HqY1M FtqFHCQCS+/N6ib2/ZuDr1aPzZ8Earjh3A3JZ8VLnux6fOQ1BLfNC5+3Y4KJBeeuXaWujvXT+i3+7 8R4vSbtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqIdn-004fBY-Nb; Mon, 07 Jun 2021 17:02:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqIdg-004fAK-4o for linux-arm-kernel@lists.infradead.org; Mon, 07 Jun 2021 17:02:16 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6762960FEF; Mon, 7 Jun 2021 17:02:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623085331; bh=NUBegMkHMRU0efBpVXAEVuvKfOjguw4pIRnAwazn6bU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EtnJIyYwNslqxRzpJaVTW6zcxGkq6HC7UFWBECKb8Z+IJ+qvsnv3mMtH9//n7AKX0 9ALilcqD0jjPz1LGnfUiYxT3m/TBKsJA58alYT+5VnWwugt/qf00KpkA1gyrHKFULM 3b8sBrVmLa0U6RFx/FoeqlL9b1s2NkGyJviX6DYhOPPUlFJbQOP+EC27pm86vp+LKS 14SKfUGRe6quUqAQYQXLJYQRGEsBSYi0mc6e3LcdzzVuTQ3JQ2OhWWHp/q/tNGOcCa cI1FGINYLeLPHQ6rmaU2g6W+LwCxSa0+p3Uo8mtGZ9QMEh7WjkaIYWZQLya2a6aGp+ dFzM9XzsW5ZNA== Date: Mon, 7 Jun 2021 18:01:54 +0100 From: Mark Brown To: Suraj Jitindar Singh Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, madvenka@linux.microsoft.com, duwe@lst.de, sjitindarsingh@gmail.com, benh@kernel.crashing.org Subject: Re: [RFC PATCH 1/1] arm64: implement live patching Message-ID: <20210607170154.GC10625@sirena.org.uk> References: <20210604235930.603-1-surajjs@amazon.com> MIME-Version: 1.0 In-Reply-To: <20210604235930.603-1-surajjs@amazon.com> X-Cookie: I never did it that way before. 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-20210607_100212_228055_2CCAAD86 X-CRM114-Status: GOOD ( 10.75 ) 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="===============7927005854731231153==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7927005854731231153== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 04, 2021 at 04:59:30PM -0700, Suraj Jitindar Singh wrote: > + * CONFIG_ARM64_BTI_KERNEL: > + * - Inserts a hint #0x22 on function entry if the function is called > + * indirectly (to satisfy BTI requirements), which is inserted before > + * the two nops from above. Please write out the symbolic name of the HINT (BTI C here) rather than the number, it helps with readability especially in a case like this where there are multiple relevant hints. --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmC+UQIACgkQJNaLcl1U h9Dw0Af9Fck3O7T1Cap/Vuk6PkvHxnQ4xCF728tOGwzHZ+CuIr2ormUC6vMhp0Lp nGOJn/yJ9wzKy/murvphmhJ94w/Ybw4eabvZY0PDuMc0bMkVwC+EpwNYU+FwhWXf zrIVFIYZ8OfsmdUXpP+jsHOz7kaNToEV5OD0uk0384HGtcMea8rY33CxRVHHrjMM 2gvvSwmZiQQx0M9wWF/6wxjDZXWZsc3WyBZGktjrbSG2PK0t54tGaYE8Baf5dG9p FOTF8cts8/lqRUi84svY6uQh+1LvMggLLBDDEegxqnKmiDE9sHc+5WnTWsI3QzkT EpojB1GptMHvP35LNXIAPGjhqZsMkQ== =YC3F -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- --===============7927005854731231153== 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 --===============7927005854731231153==--