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 E86F0C41604 for ; Tue, 6 Oct 2020 16:42:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 89E7A206D4 for ; Tue, 6 Oct 2020 16:42:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NrEWHdkN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="esAOhbLY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89E7A206D4 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=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=wPsLcE1hy+c5BJFzkW/lZXa+LHEZr372dAlZzzoVebA=; b=NrEWHdkNiccR2QxuwrVZCoeVn JsQjZ7GNgpkj63HH/h9YlEo0+cC1yj1XZcIsiUMDzBPcPHPLrZn8JNm9QcUez8dlqpkhBVZouOOuN 2HAuNPayLyxJSSZx+zSztm20B4kz0Z+foxZWNjCc7C2SoCR8/95PxcxEfGM6VgQHb5o4hq4bbGyqU L+jwr3kKdRopa7x3iRA7kFv/8kapdEWmlkdTlco/ZKEXCnvCNb2Hn4yGBIOGGs8Fi51aKukh1B/A6 KU57iow7CzflLat7Q5ep4dGjs/wjuOxVYDzG+sGsRycw6kRnVNUkPjSXvpN9ss83FIx300WcVI69w 8XwYSOE0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPq1B-0000JF-75; Tue, 06 Oct 2020 16:40:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPq19-0000IW-9L for linux-arm-kernel@lists.infradead.org; Tue, 06 Oct 2020 16:40:47 +0000 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 15BFE206F7; Tue, 6 Oct 2020 16:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602002446; bh=7Kafi3SMR5wUFUKEpxTCLbAGQeHhDJktANYroBfi6As=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=esAOhbLYNjHKVB6XxpntZ8n20rm3hLJNEB7/6dx2pGzfPGg33K333ks/65mtGEmwE tIKJ6ax7tFOX6yZPuRS9fhopfGdDXuuaQcRC1QKqseQpvQ/3L2xpGj/+AIWaa6ZwBC BdgA3S2b2HvadrKup2Ez5dDhYYNGXu2R3iLKFyNw= Date: Tue, 6 Oct 2020 17:39:43 +0100 From: Mark Brown To: Jeremy Linton Subject: Re: [BUG][PATCH v3] crypto: arm64: Use x16 with indirect branch to bti_c Message-ID: <20201006163943.GD5259@sirena.org.uk> References: <20201006163326.2780619-1-jeremy.linton@arm.com> MIME-Version: 1.0 In-Reply-To: <20201006163326.2780619-1-jeremy.linton@arm.com> X-Cookie: Will it improve my CASH FLOW? 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-20201006_124047_386196_C9503AA6 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: herbert@gondor.apana.org.au, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, ardb@kernel.org, linux-crypto@vger.kernel.org, will@kernel.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, dave.martin@arm.com Content-Type: multipart/mixed; boundary="===============5917371407214651623==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5917371407214651623== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6Nae48J/T25AfBN4" Content-Disposition: inline --6Nae48J/T25AfBN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 06, 2020 at 11:33:26AM -0500, Jeremy Linton wrote: > The AES code uses a 'br x7' as part of a function called by > a macro. That branch needs a bti_j as a target. This results > in a panic as seen below. Using x16 (or x17) with an indirect > branch keeps the target bti_c. Reviewed-by: Mark Brown --6Nae48J/T25AfBN4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl98nc4ACgkQJNaLcl1U h9CLAwf9FiPQZ/xkGSQroau0bLLgKubdsRTXCnzajbWymLdZcF7NPVkEqC61rY+X hTAWXCf2S9EtKxSV93rO0ea9HsRomillICgvVTDfk0tn4AOz8d60dTNtMaMuwQZ4 qlOxUBnkMk1XL4QoOiY5X8G9APy/sEIcZas0GqobABxmnRA1DduxLQtfF5x0BRoO BKhSQ2v3nHThDpOJ5ati6KAq3R3IdAtgzPt02Y6K28RXRXktAUbtcPJFMMCEWPox XylPKGq4FGqFWGEoeGAdf+6vcT3v1A40fSp9WvX94RO43YuJfJhSjwUVcDApiXSX BVagPfdEIahk4NrD2q4kDgQW3Z7Tsg== =eHIP -----END PGP SIGNATURE----- --6Nae48J/T25AfBN4-- --===============5917371407214651623== 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 --===============5917371407214651623==--