Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp700678pxp; Fri, 11 Mar 2022 12:45:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJz28ycK8q6ZR1LyHdXKJ4FE3e0UGvrm4z0naMns+cUgGYD88XjZlvcHPZt27SRTbxuElo2B X-Received: by 2002:a62:de82:0:b0:4f7:86e1:869c with SMTP id h124-20020a62de82000000b004f786e1869cmr6879988pfg.13.1647031527163; Fri, 11 Mar 2022 12:45:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647031527; cv=none; d=google.com; s=arc-20160816; b=ZnEXqBrArxNCRK8yS6U2j/1Sx/X9pZwtaH7U350vji1/Xk3UMLCPamAEtmdiLSmECn qovktBuKgl108IZXPg2C4XsfmafWXwceFSeemWShLcg6m7ljInOocXIu6/FvvlGQ3C1k mUTm7TeCMfVOJTCvjWG7vxf8z3P8nikMkuYSwNt55CxJ/hcNPX1HiPC3ZVyjuS8o4NNU 5km1MSutGDdbHsV5dGOTm5CXCLJk7cEXzkX6AEM0JhMREULF+YGYPyHCwWKmFefsmAZE C2hUSANtKzxnWxSsii9gzMbMpJxf/VQFRcmXbbhXTXhDSOJHDOTpBAqf2qKWuYheeoOH CR1w== 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=HCT20c2+bB2hJJdeiisxbyz1GqkkvtstjXkcydz4sY8=; b=zEaQfkDqvyy3IypDtVBhmMTQDFIrbf9gBZhZLOXFTHIzMZqshTjp9HY0EGzJFtRmi1 UpWDa9LbMx96em4aZLUM05l2TQVzVfl0e1iQ5vZjsdHLNwdL9U+cVpWSH6/BmU1wAmuy 4C5Om+ZoWIreSGoBNZSIDCTt2R8gxZyBD0YMpM6sZ71CTbEZ2/rBWCIgNLRLRHmQnHGD W3qublfcp2LHPa8ILvgebqVu0didDQ7xj8JsgrlX0aMePbPnrQj0jyR5e3QHmVJ5V2I6 qgQa9IIg7miq+UY5xRzaP5VZajaFQB2uJRidBktGWJqso/za5PkSA48uuRG88AG4JZEG ckwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PEdAuJ28; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r32-20020a63fc60000000b00364f31fb850si8498194pgk.843.2022.03.11.12.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 12:45:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PEdAuJ28; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 825961E0166; Fri, 11 Mar 2022 12:41:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346734AbiCKGnP (ORCPT + 99 others); Fri, 11 Mar 2022 01:43:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346755AbiCKGnL (ORCPT ); Fri, 11 Mar 2022 01:43:11 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37D1D18DAB7; Thu, 10 Mar 2022 22:42:08 -0800 (PST) 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 D2F7FB82AD0; Fri, 11 Mar 2022 06:42:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B10BC340EC; Fri, 11 Mar 2022 06:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646980925; bh=KHmrA0e9XJ0drm0KHtDYjHPot3SnAT2Zkho6x2+qGDQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PEdAuJ28Kk052LmQd6G2UpwvrpvYzpU8FVVIDz0LfW4Yl29FyDI7HvTeZdVVlA4mT qcy6y6e92W2iTPtOVL9UM5rwcPlFswHPWMrQBy6biYNEotdwMciISnXbR6KNx3BcFK xtpxDVtBgdbL6aweq6eJPgn7t4pGHhizjekcSs4k= Date: Fri, 11 Mar 2022 07:42:01 +0100 From: Greg Kroah-Hartman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Catalin Marinas , James Morse 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: <20220310234858.GB16308@amd> X-Spam-Status: No, score=-2.4 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 Fri, Mar 11, 2022 at 12:48:59AM +0100, Pavel Machek wrote: > Hi! > > 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. The kvm portion of these patches is the "trickiest" portions. I'll let James explain them, as he did so to me when sending the backports. thanks, greg k-h