Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp379910rwb; Fri, 4 Aug 2023 14:26:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPjXXIX0QWfmejUW6yg1k4Zo4aIKtltw4s9Kwe2FicIltb16hWT/1Oj75qcF8RsDonK2TO X-Received: by 2002:a05:6a00:1a54:b0:687:4de3:d6f7 with SMTP id h20-20020a056a001a5400b006874de3d6f7mr4002666pfv.20.1691184415743; Fri, 04 Aug 2023 14:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691184415; cv=none; d=google.com; s=arc-20160816; b=PfQJcJwTtk5nipxZtx5AaMK4/63e4OO6Ys10DmPApeWFizrE6gsOwLHirz1C+hmIck 4e+HU2uciyTp2/GZgsABym+poouovUfk5pnZH8OgM7CAQQQbx748gItE0jjbZC2zSLhp GAZkGWy1aDbESBUaTsLMiwTIdvROlMbWDquWEaXk+YZqnTszHxb4j7fwwqu0iBPe5kDb uK6uY0d5SpqZj4DKjKbBeDHHL0uf0+4zbLMy9KVrXj6xg4NQD5SEIkO2Ueq3tTdVl8uP GhrJMD4mz7qQROJS+j/DZOVTira3AbDQawRd3hQ9JFYsdup1qTiFQgnt+PYzMmLU58Zh UFpA== 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=JFFCsN9K9Ex5Mwtfom51BRrJsL5nDFgNUaXFoOYJG7w=; fh=Iu4yXTPTG2p2t/yiPU5VpnJpX1l4qGzHrtzyPCC9INY=; b=DWh543g/Im8YpdHmEkaj13PYrF/S0j6ZEfrJFuulU2UAPk2zk4avFLmCklCOB4s1Rt 4O1NWOHx0zZz/tDfOW8PJX0wiFK6Poa3MH1Cflp+gsOPtVeFJcfoJAaSx/XMaoLggSFB NF6WA3em80/VSALBQ5fG1IDaBXUPU8E9EqQGU99N5+Tmv7C4SfMky4gG3PI4ij0k5Y40 wg0XPxt5lMhiEA+ZplocOfN/icLDKhNFzwCKqesBVo09wmjWgoUaTFDT0t5FR3K/Ra+F vFhKrn8lYTnM/4P7bHGpFcYokM8Cp7IZ3uoPl1lD9ma5J+1Gpine346M6/bvLG//l8Vn IIAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=rHhdTFI8; 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 p21-20020a056a000b5500b0065addb172d1si2282416pfo.380.2023.08.04.14.26.43; Fri, 04 Aug 2023 14:26:55 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=rHhdTFI8; 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 S230170AbjHDVAS (ORCPT + 99 others); Fri, 4 Aug 2023 17:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbjHDVAK (ORCPT ); Fri, 4 Aug 2023 17:00:10 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E97D0E42; Fri, 4 Aug 2023 14:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=JFFCsN9K9Ex5Mwtfom51BRrJsL5nDFgNUaXFoOYJG7w=; b=rHhdTFI81CG1zh2GbAP9Se94kO lgjelzV0T49hJyoXlu2aILrMovxWhUnY0T7jBImcKI0KqIQjtU9JjpWTpCSzmvUhGxYbSCx+K823X WkaWv04qWNRoamYY2nogdL/5N7lQLHryDZZ3vE8tUcgQtIfpnT9RpuCdASSyYfwtZejoQYV50Gnfr i0D3ThFImuY2joHyuX18g13EBzB5yMP4E8OrXMZVUIThmpXr988HjTwXg0zuO0gsY0a3EJxHOMZMI BtIM6EkQL2a5z8InZxwyV/vPGPJVcD6xesoadFuCEW+MhMfmbOFVqufq7/Zpt6BSlSl6+VvhzAuwZ bIzUGzPA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qS1tt-00C0MG-K0; Fri, 04 Aug 2023 20:59:57 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1D22A30007E; Fri, 4 Aug 2023 22:59:55 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0893E276A4B5F; Fri, 4 Aug 2023 22:59:55 +0200 (CEST) Date: Fri, 4 Aug 2023 22:59:54 +0200 From: Peter Zijlstra To: Sean Christopherson Cc: Weijiang Yang , Chao Gao , pbonzini@redhat.com, john.allen@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, rick.p.edgecombe@intel.com, binbin.wu@linux.intel.com Subject: Re: [PATCH v5 09/19] KVM:x86: Make guest supervisor states as non-XSAVE managed Message-ID: <20230804205954.GS212435@hirez.programming.kicks-ass.net> References: <20230803042732.88515-1-weijiang.yang@intel.com> <20230803042732.88515-10-weijiang.yang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham 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, Aug 04, 2023 at 01:45:11PM -0700, Sean Christopherson wrote: > So unless I'm missing something, NAK to this approach, at least not without trying > the kernel FPU approach, i.e. I want somelike like to PeterZ or tglx to actually > full on NAK the kernel approach before we consider shoving a hack into KVM. Not having fully followed things (I'll go read up), SSS is blocked on FRED. But it is definitely on the books to do SSS once FRED is go. So if the approach as chosen gets in the way of host kernel SS management, that is a wee problem.