Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp943640pxb; Wed, 6 Apr 2022 05:00:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDqjcEKVo6PLl1jrS6D1g81puGCCFbx9DBNtLZci8RvIB57uIfOqKR002jqVWiOoloFe7Z X-Received: by 2002:a05:6a00:2990:b0:4fa:dacf:2e3 with SMTP id cj16-20020a056a00299000b004fadacf02e3mr8502178pfb.67.1649246429374; Wed, 06 Apr 2022 05:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649246429; cv=none; d=google.com; s=arc-20160816; b=anL3IMxDFNvHvUrzs8MRhbvzcJSdLcChNkltOsCU5Y8gPAmUtOcKtljG3uP7GZkRJy 4Neey3ur5jB+HZyd6fa+G93msyIgs0IpHLC6pC9MV11zctx9UEYM+JE4fcNE6Gs9pHGB QgJdDqBfLXZe+ZVToDUPfRrah7385CW+YynPlW+taLHXbzlPqPUSG/Sf2fD2wYcaS48y KgCXM4Sncpq8VNUj6Az/2Jz09tOIPMNQdqNIKeCdyWLIp6vWZsentDbVA6ZKYX6BuY7W CdWxtL18J2aJo7HCrc/Vv7g+jIbSdVKUICe5Po40bahvwW7B0+m/vrW1xaZ8gtc6yP9v en5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=s1FajxbgsqVMCBu63jXGn1+aPvj2NTsHX4bAwRMuwJA=; b=buKV4b7DvKXpPOVTKjyGcqoLy3TR8UK5lRrsLm/8xRqReCQMGtPjnEPAiehBu3MjSh WoS9Ax1mHcH5neQ7FwH7yYJ8kZcm2hosIPQK63stUb6Zd2YL0BMuBztWTYc4QjZFKcH9 fV1X+8zke+D3O4JOGe9VhIP3zontaesMvnUNxcy0I61RVWf0QuaNjg3zuZAWMEzTIoKU 517IFHsZsofmCoCnxdUsj/F08eoqDA0Jy5Ug+OwnKeJ8ip367vGBEfq/KygfQ7ZXlsro wdjy23aUqSAiFnl1yUfMIED94v/sMtdr2w6mPGlv8LFDd7GmlR2RJC6hVHGSciTl7ks1 AjqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JE+V071s; 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=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z12-20020a170902cccc00b00153f969542esi14997436ple.136.2022.04.06.05.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:00:29 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=JE+V071s; 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=redhat.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8597D664576; Wed, 6 Apr 2022 03:23:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355281AbiDEUvy (ORCPT + 99 others); Tue, 5 Apr 2022 16:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1446352AbiDEPoc (ORCPT ); Tue, 5 Apr 2022 11:44:32 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC12EF3A5A for ; Tue, 5 Apr 2022 07:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649168077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s1FajxbgsqVMCBu63jXGn1+aPvj2NTsHX4bAwRMuwJA=; b=JE+V071sEq+VTQUEc6Kabvq+H1BYIw6/9vS42lBqTneEkxnjyGsBBltMDGrm5wRAXd2WLn rvS03+p40uXxeerQcFvG+xJPCDLu7sN55bSUcajXe9qU30kzJ16jHfQMURCbXJPiBydLFG nOwgSyuvGHpsW4WcRtLmgjmRv+zb2nI= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-224-wFT2nYbbNUied3t0GWT30Q-1; Tue, 05 Apr 2022 10:14:36 -0400 X-MC-Unique: wFT2nYbbNUied3t0GWT30Q-1 Received: by mail-wm1-f71.google.com with SMTP id l7-20020a05600c1d0700b0038c9c48f1e7so1412384wms.2 for ; Tue, 05 Apr 2022 07:14:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=s1FajxbgsqVMCBu63jXGn1+aPvj2NTsHX4bAwRMuwJA=; b=qLGkkIPcCQMqITcuR5u2PKZhOiB2L27mqe1JJIdDnZW6EXoumttTcHhYJZW+KfOubn CQevRbtqeLq2Gza7FIauL49ouuCq6pmq5DxFw0P+EMHIZjSZG2zrHIIPyepsdm2nvjPE Ek6cpA7I/+nuwcBg0rXrO6FfIQCC5NVjVFoZ2OyBXTVzXZnwy80Rmiwatwa2KL9sDSLI K9Ah//8MqQ02eimiBvDAseeQLoddwpuhPZLykvq9H/rsXUY6yaj/riVjPX1MKtSvgGeP ZvoxmWYqWGSLML+4WvGZTqVNA/xMXHu19aePtuSink/6X+tblQrz1MR7AWME+dGGwqx2 0rDA== X-Gm-Message-State: AOAM530AaFrYzh9dVzIuduaDnKCUHez5yqDofawcT/f3Dg6BmlBBvgKG Sc91fKZ/XfDTqj/DCvDygyG/doRTKP0kqK2Mk+UVhNCPlz4ozgHNMsxZn5QDxDkCfuAGl9MinL9 lZTHJvYRFnHRa5ALVr4qLRR3g X-Received: by 2002:a1c:770e:0:b0:38e:75d3:16f2 with SMTP id t14-20020a1c770e000000b0038e75d316f2mr3273390wmi.204.1649168075042; Tue, 05 Apr 2022 07:14:35 -0700 (PDT) X-Received: by 2002:a1c:770e:0:b0:38e:75d3:16f2 with SMTP id t14-20020a1c770e000000b0038e75d316f2mr3273377wmi.204.1649168074862; Tue, 05 Apr 2022 07:14:34 -0700 (PDT) Received: from [10.32.181.87] (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.googlemail.com with ESMTPSA id g6-20020a5d5406000000b001f049726044sm11960422wrv.79.2022.04.05.07.14.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Apr 2022 07:14:34 -0700 (PDT) Message-ID: <1474e665-c619-1a01-3a28-51894161e316@redhat.com> Date: Tue, 5 Apr 2022 16:14:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [RFC PATCH v5 037/104] KVM: x86/mmu: Allow non-zero init value for shadow PTE Content-Language: en-US To: Kai Huang , isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: isaku.yamahata@gmail.com, Jim Mattson , erdemaktas@google.com, Connor Kuehl , Sean Christopherson References: <968de4765e63d8255ae1b3ac7062ffdca64706e4.camel@intel.com> <3cfffe9a29e53ae58dc59d0af3d52128babde79f.camel@intel.com> From: Paolo Bonzini In-Reply-To: <3cfffe9a29e53ae58dc59d0af3d52128babde79f.camel@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 4/1/22 09:13, Kai Huang wrote: > Btw, I think the relevant part of TDP MMU change should be included in this > patch too otherwise TDP MMU is broken with this patch. I agree. Paolo > Actually in this series legacy MMU is not supported to work with TDX, so above > change to legacy MMU doesn't matter actually. Instead, TDP MMU change should be > here.