From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBA3D426D20 for ; Thu, 5 Feb 2026 15:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770306790; cv=none; b=VQ+dpWuBnFH2Y3xSCmhzxOtDketf2FT3dRrLxauSFqhb+VE1K6AFGbypxTgYhInXtr5YltKedRbmMoFxURUdhLFsVuIj9/kkk5YGJzBdP/FT6G58GQsjUZEuxZIqwhMPumC/RXgc72jj5w/v9dh3enWWANzw8eZ683zNxq3cpPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770306790; c=relaxed/simple; bh=YqRD+cKBfYWmS+ctu1ucUed79XYvh05hyJ19wxjDW/s=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mhShub7VhLrKm6KMlYJDfPUZKgQTN7lkzmGu5JnZ2p2hrxcC5AKVfXL3gHMrR+CM5gFNb4qm1zZ06OvfuNshvuTW+4woLaQeEbZXxf52d/crw2I8+MYRVYeBM09fzNZSK47CeaymAZRGk/CQDuk8cVEe44VrRdM/M4MQlS7JYIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=H0mk3Tw1; arc=none smtp.client-ip=209.85.215.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="H0mk3Tw1" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-c6310f81285so1970278a12.0 for ; Thu, 05 Feb 2026 07:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770306790; x=1770911590; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Xcx7wlzL60d1Aa7ekaPBgmgQ/lwDEM/p/AnSieBZ0xQ=; b=H0mk3Tw1u+QA7ErrOvMVvvQIyWu9tfC7YKiA+Fx/gcZ8WaHs4tvktlEz8bNkTUyryv elLpCrpft9+vsPY7APhwDsBKkmrEXGroWzYfNawexU+6ycvXLtLQh7INMG07P5PFqUtt ksMMRtwA1v9mZK3To4heabm7lW7icXlgYpW948e//5UHNIlq8eTj1fq/IfwugphebQlJ rhcdJOKww3bu3SoO2HnT7GcWSu+rIel0UIQf15T5sH7KWz6OrpcaZP1o5nFI8v/3R1Ew ZauSKHUVXp1fX4DfIV5NJBbnjxhYyRD+rEigjTwKv4ykXlDEPHDu9cmFghIqZ9xQExKp lN7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770306790; x=1770911590; 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=Xcx7wlzL60d1Aa7ekaPBgmgQ/lwDEM/p/AnSieBZ0xQ=; b=v2vpN9VgpB7H5QaklyJgWpnHYCTgy71RxnTZAowiWHOnbutzFoLGGYfLB4Rca4BKap tPYUhbVL09Wm8KqGT3gk2yfFSQD8vEt/EBXNGX9vHYBQKjgT4X8ZRegzfeYHtz7s5QfB dfVh+O9Sf+eHwymriNVklk5eIy0CINXjeUlX/OmO8sZuxKeP8YQEsBG5Fb/4icvsJiNA HdM7MrtxxEr6TtQxmE8Y6GnUqWiQ260fLX7e0p2rDmeB9UWU9r7QbVcI2T+XGXt2q+BI PO/00o4oWHkX5eYA7Qqh/LkS7MdDEwuF6qFBLlkRMqcrjNLRxulnmiu6fySUvP/qziQ5 571g== X-Forwarded-Encrypted: i=1; AJvYcCXea3bFzg88x6qDna1CEZMvWRIZY6veIOiguGuiMcsHzk01CgWxT/42dIR9t6ydCzzM6/IcDCqIEd/voFY=@vger.kernel.org X-Gm-Message-State: AOJu0YwOHCf7Z4zU9hpIheuUkpn0h/i4gll/qErkGmMwny7Nr4u5zHOb vezLP8sco5gUa2/U93ew2L/+GaG2VjeqDPY9GshtR9yL5rgkZfOPwYxMNVRamfnLe2qmisKZeZy QVaErZA== X-Received: from pgi124.prod.google.com ([2002:a63:882:0:b0:bc0:d9a9:8a8e]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:7fa8:b0:358:dc7d:a2cc with SMTP id adf61e73a8af0-393720d9943mr8123776637.17.1770306790120; Thu, 05 Feb 2026 07:53:10 -0800 (PST) Date: Thu, 5 Feb 2026 07:53:08 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260129011517.3545883-1-seanjc@google.com> Message-ID: Subject: Re: [RFC PATCH v5 00/45] TDX: Dynamic PAMT + S-EPT Hugepage From: Sean Christopherson To: Dave Hansen Cc: Konrad Rzeszutek Wilk , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Kiryl Shutsemau , Paolo Bonzini , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, kvm@vger.kernel.org, Kai Huang , Rick Edgecombe , Yan Zhao , Vishal Annapurve , Ackerley Tng , Sagi Shahar , Binbin Wu , Xiaoyao Li , Isaku Yamahata Content-Type: text/plain; charset="us-ascii" On Wed, Feb 04, 2026, Dave Hansen wrote: > On 2/4/26 06:38, Sean Christopherson wrote: > ... > > We can and do have tests and VMM support, but it's all out-of-tree (for now). > > All I'm saying here is that I'm ok landing the S-EPT hugepage code in advance of > > guest_memfd hugepage support, e.g. so that we don't end up in a stalemate due to > > cyclical dependecies, or one big megaseries. > > Does "landing" mean having it sit in some topic branch, or pushing to Linus? I was thinking pushing to Linus' tree, but a topic branch could likely provide almost as much value? > I'm all for getting these hellish dependency chains out of the way, but > we usually try pretty hard to avoid having dead/unreachable code in > mainline. > > If it is something you want to do in mainline, we should probably do a > bit of cross-x86/kvm brainstorming to make sure there's no other option. I'm a-ok starting with a topic branch. If maintaining that branch becomes too costly, then we can always revisit things. And that would probably be good motiviation to beat guest_memfd hugepage into shape :-)