stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@denx.de>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: James Morse <james.morse@arm.com>,
	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
Date: Thu, 17 Mar 2022 11:05:08 +0100	[thread overview]
Message-ID: <20220317100508.GA2150@amd> (raw)
In-Reply-To: <YjMHefyJIHBj5tak@kroah.com>

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

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.
> > 
> > There are two copy-and-paste errors in the templates: __spectre_bhb_loop_k24
> > should loop 24 times and __spectre_bhb_loop_k32 32.
> > 
> > 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
> 
> Thanks, now queued up!

Thank you.

Reviewed-by: Pavel Machek <pavel@denx.de>
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

      reply	other threads:[~2022-03-17 10:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15 13:57 [stable:PATCH v5.10.105] arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable James Morse
2022-03-17 10:03 ` Greg KH
2022-03-17 10:05   ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220317100508.GA2150@amd \
    --to=pavel@denx.de \
    --cc=catalin.marinas@arm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=james.morse@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).