Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp969634pxp; Wed, 16 Mar 2022 23:01:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx3iFJzxavcpAEgsjLTHxkrZ1JDJMU6qRHahbiwlFiuTjD5oZMyCDEuhvwWgLHPneJWq9I X-Received: by 2002:a17:902:9043:b0:14f:aa08:8497 with SMTP id w3-20020a170902904300b0014faa088497mr3078613plz.109.1647496862002; Wed, 16 Mar 2022 23:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647496861; cv=none; d=google.com; s=arc-20160816; b=gGQazZjfV9TMfleGFuL8yX4fSOBaSPqRnHh/ZTQcYrOfn9B/lJfdyhopNYSMbzCr32 OZCh+hsElDyBsSvSE4doBRLJUfPb9gDiXolW6Q/VeSTL5dL98tdm55QblD6GV6IDPnJc I1QY0rRuqsaujznAsnxua+COmyn+Z7IGKYVwRes0LyzX7k+1RJVWKDDmBb30qDmg4tz8 PJPY8HxtiCHWlowTn1GNny6z6myFM6xQB95SaWRMJW7x1O2ZMuBtFvKxX/JZWDgsyNzT IDGXiG8d/1i6YBSQ0mNhWf9ro7C9RF22sLKTNkd+pa3V7I0AgtXeTJ0LtcVyuV6o5zZB nSeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CkRKUqXzNKNvD5i68RkAY8b28ocNKIDHaB+3AycaSKY=; b=qT0wtOIKbUYTWQZIwQrQtaRBLwposilZWWQvcxlKXLGVtbLswEr+SC4yBNxoTDyaIc zzjibSuG+1eATITzo4zJMqco//1btCJ9+RfRp/UsZvCs5E5on+5/FJnpoagmlsLSlkv6 4K2iXR+MqDWnkHiUQIzYzn6ZB2prl+krN/xe91aAu2MdNMsWlktmFQPxotTVmDFgrRl6 aNJjzeIN9i4VHQWgjFoIA1XhxehNm9uz6cH4cHw6TC0qq45iLviDJ2qn/OCErxIZNSJU HtiQiAHptr5oS12lk7rFtoDxj2HF8Vri42whEYYxBZgxVHy3QegLEqEd/BhbosTVASou eMfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CapuCZmc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r130-20020a632b88000000b003816043f019si1108405pgr.526.2022.03.16.23.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:01:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CapuCZmc; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 82640ECD82; Wed, 16 Mar 2022 22:00:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348298AbiCOMbA (ORCPT + 99 others); Tue, 15 Mar 2022 08:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237425AbiCOMa7 (ORCPT ); Tue, 15 Mar 2022 08:30:59 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D622D53701; Tue, 15 Mar 2022 05:29:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 85EF7B8122D; Tue, 15 Mar 2022 12:29:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4292C340ED; Tue, 15 Mar 2022 12:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647347385; bh=yu1IZzfDQbWy54cvNCINeIZqwhUe63idE+YJeXm73Og=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CapuCZmc1rLoomDXg3av9VkLre/R2z5lX0fJTda4v0qGKzMzg6oYxa2CZHmEw6dhH VGnWzMHRQ7Wf6Xklg0oTYY6S/vFvu9Q5yJlHrk3LCOVGQyVL6Vy7NebX3NpZqSW05K vF7Snkt4Ds/0fTMir4PXsuymBxWKEBj4YNXWoXlY= Date: Tue, 15 Mar 2022 13:29:40 +0100 From: Greg Kroah-Hartman To: James Morse Cc: Pavel Machek , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Catalin Marinas Subject: Re: [PATCH 5.10 38/58] KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A Message-ID: References: <20220310140812.869208747@linuxfoundation.org> <20220310140813.956533242@linuxfoundation.org> <20220310234858.GB16308@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Tue, Mar 15, 2022 at 12:20:31PM +0000, James Morse wrote: > Hi guys, > > On 3/11/22 6:42 AM, Greg Kroah-Hartman wrote: > > On Fri, Mar 11, 2022 at 12:48:59AM +0100, Pavel Machek wrote: > > > What is going on here? > > > > > > > commit 5bdf3437603d4af87f9c7f424b0c8aeed2420745 upstream. > > > > > > Upstream commit 5bdf is very different from this. In particular, > > > > > > > arch/arm64/kvm/hyp/smccc_wa.S | 66 +++++++++++++++++++++++++++++++++++++++ > > > > > > I can't find smccc_wa.S, neither in mainline, nor in -next. And it > > > looks buggy. I suspect loop_k24 should loop 24 times, but it does 8 > > > loops AFAICT. Same problem with loop_k32. > > Yup, that's a bug. Thanks for spotting it! > I'll post a replacement for this patch. That's going to be hard as this is now in a merged tree :( Can you just send a fixup? thanks, greg k-h