Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp348398lqp; Thu, 4 Apr 2024 15:31:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqiG8iQIH9EOPCODJ41jcrl610SAD3G5VnuIAxP4gklhpWuJLkpDplKaWuFOYkHGdHrCHDys1HMtUOIDoP75TpUsPN0uPqMvu3x9gCMw== X-Google-Smtp-Source: AGHT+IGtzMYccW+Ad9eI1o+z1xBXrGb0t6gIOk29a0kgLPJNDLg6eWHgdG6fX3Wvy6MIq3LwUCPs X-Received: by 2002:a05:6870:c1d1:b0:222:99cb:2215 with SMTP id i17-20020a056870c1d100b0022299cb2215mr1065356oad.28.1712269881367; Thu, 04 Apr 2024 15:31:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712269881; cv=pass; d=google.com; s=arc-20160816; b=0Rx3TAU482tvM7dwW8sDeQesIK0ghGLACP12Ed+32XyYuyr/KLbnH641onxOxqR3yf CFO4y9SUQH+q4UwupHxZ3UCEdZBxn2pUv0U7FQWhm6yuXwQ2sDGNN9jpFITIOnht8jho uhRvN/F89t9+0lbr7euB5sAw112JfEWNVcFjS3X1vKscSQdUzkyXx+MapZfOYoTHpVSN s1um4RiExA7GIOkjqZckNbVupATwlVY0fTrPgkCjYjVSGcNgv5WjbYv2EN/UPPnMWxr6 W/4cFtENpN3oqaGlXmdeT43unklpnmIfynHcR3f6klwlDPSzIqoTnfEtMAP9PPQlDYi0 VBHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j/Rfl6RxVxI67F2An6zgcGT7E6MSmVAZx+wtedII7+g=; fh=5l1bA1nSiVSNkP2PV1SQc4ARDf8Mvl4oxoe+51CcVgM=; b=qAN4MED4Cz4Utr8SkPfVwv0H1cj7SDyw9dRvbZEWsvK3Tkqm1oDV5TUS8Y+tQZVGyf mLLN0v3PzxmcgB+d1ZFWtORL/oxm9ue5Q6LPmmaL7UKMcmxNV0xOFkvxNUNi6k2OjxHO 4Q6/sVP5AQEm+TpMvq2yYJswRzoADW5p/06H6NL52cJbu1tzzdvkGpLG7PAZQfUFwW0R 5mNN5DJt+dd7K6XAYdhfokmp2xIkquoxnBOPotf2TH6wmd4h4CQbRjLYpXNpUYwY4pn4 43G51Et5+293a1NedeUEhN3NuZFtG1Dl/QTlhbnBx3b51TraJlawGgztu7s4R2nFf2O5 qfFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J9NYB2uP; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-132206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y1-20020a05620a0e0100b0078bd759d83esi356380qkm.315.2024.04.04.15.31.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 15:31:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J9NYB2uP; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-132206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 18CF71C21CA2 for ; Thu, 4 Apr 2024 22:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BE536F06B; Thu, 4 Apr 2024 22:31:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="J9NYB2uP" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C90512E71; Thu, 4 Apr 2024 22:31:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712269868; cv=none; b=gYQrCbYh18YnGMSQ5qUf4el1S8ZOuz2MrrEu88h7+ZYHYLOIxX1k+D/qQnzM0FD8pUhDRUn4mHDHt32mNyYQ1fvamBWjOO+j8jW2Z2g7IuHoYu9PsrJQ/MMJ9D3ewKJt9sxNh6n8UL4pfmTaOpAeO736wQly3yz62++HH2+X2sU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712269868; c=relaxed/simple; bh=AQpAgM1DagYMJg1fnpZvTj9AAHHiJDRQZ2gyDukS6s8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mdo/Sh3FZIvyWPJUN9veXObVc+DdSj6BIImlx1CruXpmPRNdTE3jij719XcpSHJUPF7mxCqGrCXFnzDyFxQNw6LhI/c+9eGvXVonR7L3U/vCGa70hVYoP0ITc7lZh8tWpiwO8/3q9Isqgf+CY50W0MCjJGF3DDvwgpmg2PJjpmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=J9NYB2uP; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712269864; x=1743805864; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=AQpAgM1DagYMJg1fnpZvTj9AAHHiJDRQZ2gyDukS6s8=; b=J9NYB2uP3A97eCxsqSXohcaEv6NPhCx1XC1od6v/wf3w8j6rqLPc2cY9 PhyPYxDNmHvOYNNF/Jk4fpx5kur4nXXFjaCbTtxaeb+Cr46HHXDilARw1 9m0ZQN551QpenhVa0V/thc3rH9ow7sZsWKoBlNGGmiiXpWgcsvVg6Aixk roOfiXUgpafA6UEcvj9d2ZjFY1TGjZ6PgXdMm/oT9B8R8LTY48aNHrykT vubKryP+lolzLaVmjRmoQstqhaxFjw+cHYzcEY6BtjRz9Q6HcfQWBa8cD zZabTgSiLb3Ml8qrnlpA4EQ6vzVpWzGDDaOGxP+5fUxNUg3WTlwtqZue8 w==; X-CSE-ConnectionGUID: k6rI8D9eRt6iFqVZ+YJlCg== X-CSE-MsgGUID: P8T5J3kpSSWd4Weq8gZYdw== X-IronPort-AV: E=McAfee;i="6600,9927,11034"; a="7822622" X-IronPort-AV: E=Sophos;i="6.07,180,1708416000"; d="scan'208";a="7822622" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2024 15:31:04 -0700 X-CSE-ConnectionGUID: cs1P56iWS/6Z5etnMLbN5Q== X-CSE-MsgGUID: TdvMaUo4TDm7zpWVR0ubpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,180,1708416000"; d="scan'208";a="19395148" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by orviesa006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2024 15:31:03 -0700 Date: Thu, 4 Apr 2024 15:31:02 -0700 From: Isaku Yamahata To: "Edgecombe, Rick P" Cc: "Yamahata, Isaku" , "Gao, Chao" , "Zhang, Tina" , "seanjc@google.com" , "Huang, Kai" , "Chen, Bo2" , "sagis@google.com" , "linux-kernel@vger.kernel.org" , "Yuan, Hang" , "Aktas, Erdem" , "kvm@vger.kernel.org" , "pbonzini@redhat.com" , "isaku.yamahata@linux.intel.com" , "isaku.yamahata@gmail.com" Subject: Re: [PATCH v19 018/130] KVM: x86/mmu: Assume guest MMIOs are shared Message-ID: <20240404223102.GT2444378@ls.amr.corp.intel.com> References: <3c51ec38e523db291ecc914805e0a51208e9ca9f.camel@intel.com> <20240327172227.GE2444378@ls.amr.corp.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Mar 27, 2024 at 05:27:52PM +0000, "Edgecombe, Rick P" wrote: > On Wed, 2024-03-27 at 10:22 -0700, Isaku Yamahata wrote: > > On Mon, Mar 25, 2024 at 11:41:56PM +0000, > > "Edgecombe, Rick P" wrote: > > > > > On Mon, 2024-02-26 at 00:25 -0800, isaku.yamahata@intel.com wrote: > > > > From: Chao Gao > > > > > > > > TODO: Drop this patch once the common patch is merged. > > > > > > What is this TODO talking about? > > > > https://lore.kernel.org/all/ZcUO5sFEAIH68JIA@google.com/ > > > > This patch was shot down and need to fix it in guest side. TDVF. > > It needs a firmware fix? Is there any firmware that works (boot any TD) with this patch missing? Yes. Config-B (OvmfPkg/IntelTdx/IntelTdxX64.dsc) works for me without this patch. I'm looking into config-A(OvmfPkg/OvmfPkgX64.dsc) now. -- Isaku Yamahata