Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1858939rwd; Thu, 15 Jun 2023 17:19:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/oa/PQ0OCrBiVa9Tn6i0khTXpCXjLgZTR2Iu7wRW3rQ/MOyHgonYWcKlS/FHQgZfbQTza X-Received: by 2002:a05:6a21:38c5:b0:10c:1b38:c8a4 with SMTP id yk5-20020a056a2138c500b0010c1b38c8a4mr782673pzb.31.1686874764895; Thu, 15 Jun 2023 17:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686874764; cv=none; d=google.com; s=arc-20160816; b=qCaIBxa5JKA+No+sPKSxzR/XR4cCe4iXv3ujM/b3U5X3UE2picd91YMUJ4wBoBmdSe XEarYvzKxcl6o0+4BKVJj2KMkwELyH7Yu2ZhMlDa14ScAG7Fx5dhW9g9uU0+u5FdF4WT FwjKLHR7FnUy2DjEZ2Zk8FNZZ/814GZQI4eRNyzhZ/ucNJVbeL03530Pioy2tfYH0nv9 XBisEhhsTsREFKPndcpsFLa8ydEXiEtAlgBR4/wCB6WpYGYHZLB1pW0RIB2YJdoXt+fJ UKmR9THYTnm5Pe8+Poh6Zj5trenOkeioVqZjONeMC4aC9Ffh1kONbv5Jt5I8b0/UCQM7 ziiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=xTMEKODPb3FRJH2K0p0YFyg3i5TgEpiZ3kirtZdTv2w=; b=hmCnriJAPxX9imdJ8QrPJZx997ptDxHAM9hpj1FP5woeF7o0tBHNvWokSUrBdDrZN/ UDuKSuphZ3BE+Qvt7OUCtDM1wUIl4h8FXn2FQgJY6ROBBW63bDabk9m8whD0sYTAgJDO 5IqhoCqkA93ieGSfIrlM4exS0N6CIsuTdMNxTKZ3R8fzjEjtQOgIjpOIEmh9h9sOuTz2 TCwcfwkINyOVL7A1Hx9NSIwSS07W9nwauDgdT01h2kedhAHeA1vQXLN1xm6FKhzNGDhi DolBSL5XbJ6n97T7/FL1vMNxUwvrYb3OMFGCXa9jQYtcIHcAryZMXrIeNyZMQT/IdNEj d8qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=tbF2tohE; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 193-20020a6302ca000000b0054fcfc40fc3si4795690pgc.683.2023.06.15.17.18.57; Thu, 15 Jun 2023 17:19:24 -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=@google.com header.s=20221208 header.b=tbF2tohE; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238246AbjFPAAz (ORCPT + 99 others); Thu, 15 Jun 2023 20:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231195AbjFPAAw (ORCPT ); Thu, 15 Jun 2023 20:00:52 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3712271C for ; Thu, 15 Jun 2023 17:00:51 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-bc6a920e69aso109240276.0 for ; Thu, 15 Jun 2023 17:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686873651; x=1689465651; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=xTMEKODPb3FRJH2K0p0YFyg3i5TgEpiZ3kirtZdTv2w=; b=tbF2tohEtNLhni/iXAr2HyqNmMRvOaf26O4dDG69+zW+inRRkk0Bw3jL93JHrgbLNY 1TV+5AqWnXfAiXAtYLHtq79rKjfJ++Qai5D/nVCLLJegnYTfQt0j8O1urGlq1uF7nNEE qzaWUmQJUeIuD1hDg/PXU8k25x2Vc+HlQKxpk9WEpUNcsVNth60XvynygkTdRoi/4QwR iDfNDfrUouGx/fKx55ou+AQRxnjZWo0ll2TYl/1at+sTtbAUW4ARjjM13d13Lmlhiu02 tJgnNTKTXxPIyZabyzOHnMdlkN2xFjNZ0UBwULzMvf2HZkWjnMyvvmDMoQOMQToV5R3O 4ZZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686873651; x=1689465651; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xTMEKODPb3FRJH2K0p0YFyg3i5TgEpiZ3kirtZdTv2w=; b=GOnjuEw3pp0Kf7cNdrhZERjA3npRbK6IzkOexbaJPg0WK9xo/mLPKxfzRr0Hblsbpd k7WSsf3nlyrVBJJZQDEjxxnUVWr6V+c+ULj2PgnAauP9KKRTGFD33fF0T9i5OV9uWXYb AIdJMbge/no0xgqQGwA0N7rXX9r77orn8buWZPlMjW5UrN2mGbkQXrmqK2pIMSP1c6x8 2GDsMVYS6RE0QuMT3WDE7hgi6+r/nLIjEukYKlBDkGiumYczdGxPd5paZinb6N5P0Vo2 YErKprszAyV9trIzTaANOytKqG6t33VNP5DgcpdAi1ycL/A8XeJ0rQSTVXclclWQvcuT Yueg== X-Gm-Message-State: AC+VfDzErUk+8u8hue4f85QdiGEoauLeGh0qMrTcXRfzaVLGSAvel/Ua OetqosST5f2FXr91icYhTF36UFpxdwU= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:420c:0:b0:bd0:4e03:a247 with SMTP id p12-20020a25420c000000b00bd04e03a247mr70704yba.5.1686873651284; Thu, 15 Jun 2023 17:00:51 -0700 (PDT) Date: Thu, 15 Jun 2023 17:00:49 -0700 In-Reply-To: Mime-Version: 1.0 References: <20230511040857.6094-1-weijiang.yang@intel.com> Message-ID: Subject: Re: [PATCH v3 00/21] Enable CET Virtualization From: Sean Christopherson To: Yang Weijiang Cc: pbonzini@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, rppt@kernel.org, binbin.wu@linux.intel.com, rick.p.edgecombe@intel.com, john.allen@amd.com Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL 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 Thu, Jun 15, 2023, Sean Christopherson wrote: > Your cover letter from v2 back in April said the same thing. Why hasn't the patch > been posted? And what exactly is the issue? IIUC, setting CR4.CET with > MSR_IA32_S_CET=0 and MSR_IA32_U_CET=0 should be a nop, which suggests that there's > a KVM bug. And if that's the case, the next obvious questions is, why are you > posting known buggy code? Ah, is the problem that the test doesn't set CR0.WP as required by CR4.CET=1?