Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1232554pxp; Thu, 17 Mar 2022 05:49:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwEyRi5X7WLGJd1S4GT/b8Ez8vGihcNyHUH7pyl30yyia6vxCqmGx3JdWZZC3wStVo7c+d X-Received: by 2002:a05:6402:5146:b0:415:fd95:6afa with SMTP id n6-20020a056402514600b00415fd956afamr4290386edd.200.1647521344237; Thu, 17 Mar 2022 05:49:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647521344; cv=none; d=google.com; s=arc-20160816; b=nkjItSUVXoPJcVF9T+1QLhBmkL7AFpgTIPCez0NgPaBhbzamy+x3+OQyZa8lb+3TFG CNi6C0IF4it0TzUjuueTFJtcw7uC86yY7IgLu1yHxevjQYH8AyXpbn+PWYEoh4tEaxpS LLfCNbHxsOKLEsn18CkrMKUOtmOvYberUQFk4otsgMlSvW5jKAzmzj5weU7mhMyKvUOw Sv4X4gxyo+kLlQ212NViNu9HyrIEM/CepHe5EohLXsLMHnECztNXUHl9UJzCWQzUq1Ys 7Y+BDePSUm4qZyvGyXhW3n+dsyzVjz3ZPztT3Z5vPs11P3z+5aNe5Ace9m59uoTaaUpE jXWA== 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; bh=KM+9q6Lv+pcLvMp5ic+GuZmCaD13a52uROPQk80UDmY=; b=exznDx+tW8K/5aP9CP7Lrv/ROxW+31n4dtzEX9HAA3Qq+xB/h5RKSWBI6SCNL8LFP2 NSVeERSn5gchEGWfvq+QztjlpB8FLn5aH51sqlXTTUBe5NooBEW7mrm5goD76M6AWyVN MiAc4c/Q0DFW9ZtkDB+wjOZVXCvXaKGegMaUkvX7xF9QXiPL7qEt5Qnv7+er6noRTVBQ rZ2bw/PzWef8THHQpWEpNg1D92YR+7AzSyDnfV87mWVPZ7fYJGJ/UAoDtG2y4cYONh7V hKsCCxaSbjcZ0QQy+aeLERcS8JxqcCobf3hUiZhsViXMOWSeR3jf62kEj2zYxeKx8fbs 7Htg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m24-20020a170906161800b006d06e8a6290si2800217ejd.416.2022.03.17.05.48.38; Thu, 17 Mar 2022 05:49:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232322AbiCQKG1 (ORCPT + 99 others); Thu, 17 Mar 2022 06:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbiCQKG0 (ORCPT ); Thu, 17 Mar 2022 06:06:26 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7CBC12CE; Thu, 17 Mar 2022 03:05:10 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 2064C1C0B7F; Thu, 17 Mar 2022 11:05:09 +0100 (CET) Date: Thu, 17 Mar 2022 11:05:08 +0100 From: Pavel Machek To: Greg KH Cc: James Morse , stable@vger.kernel.org, pavel@denx.de, catalin.marinas@arm.com, linux-kernel@vger.kernel.org Subject: Re: [stable:PATCH v5.10.105] arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable Message-ID: <20220317100508.GA2150@amd> References: <20220315135720.1302143-1-james.morse@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no 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 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > KVM's infrastructure for spectre mitigations in the vectors in v5.10 and > > earlier is different, it uses templates which are used to build a set of > > vectors at runtime. > >=20 > > There are two copy-and-paste errors in the templates: __spectre_bhb_loo= p_k24 > > should loop 24 times and __spectre_bhb_loop_k32 32. > >=20 > > Fix these. > > @@ -68,7 +68,7 @@ SYM_DATA_START(__spectre_bhb_loop_k24) > > esb > > sub sp, sp, #(8 * 2) > > stp x0, x1, [sp, #(8 * 0)] > > - mov x0, #8 > > + mov x0, #24 > > 2: b . + 4 > > subs x0, x0, #1 > > b.ne 2b >=20 > Thanks, now queued up! Thank you. Reviewed-by: Pavel Machek Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmIzB9QACgkQMOfwapXb+vLMFgCfXOysq/wLsP/H+MYCuf8HQXOQ 51IAoIWhU78OMj0/f5j5uRpOomcosK7r =zChd -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--