From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 20E8235A155 for ; Thu, 13 Nov 2025 16:29:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763051352; cv=none; b=JJwN+vy7vGfKT1tcLoRK9LJar7GgkrUsIGebZgkpEm0IBnytIt7hCXTTDcc6TA9JTl3lXZTbvN3emHPy2zrCsTkLyoSuIUKZXMeYW+OnFH5JLKYqICjEEClOE6pcRPDpWkf7EmMfEE2kdTuSepc9uttG7jzGKopaFsCEo72MpKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763051352; c=relaxed/simple; bh=JPzSVp59ZCmlDUI9Beydu0hu21hddcAy+tsckcJKHLI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=uswx50AhyXZtyqpO47MtsyvW5ymGmYUF/QAI6rwwgnQj1b0EGr3PsFyjP2QmpOtVZDlAbnoXeX9I+QPcz2NwlX3FgXyhhPCB1fa6Wbl9WoHbESjpAZf4cXHjGimEq8qYsfgpFMRDMAfqjJ7skmz5uagJy6sIED+zZ8PD1lfNHoU= 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=IMD82bH3; arc=none smtp.client-ip=209.85.214.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="IMD82bH3" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-297f587dc2eso12902225ad.2 for ; Thu, 13 Nov 2025 08:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763051350; x=1763656150; 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=Jggj5Ym/rIR7T7fXmMSGr1c+7mHxEtZV9zaRb5SwErk=; b=IMD82bH36oioDahCDvILysNXnaq2DaXCUir9392v2WbW5JU/mSoDjPJxuQtVRIqEOI Wa/1sLh0HExEjwlboyCy+asnYoim7mPOHygiSKJwYM3VcQNnh1kab909Iq46OcOge7/y 1xX/d61/4DK0R9Xkh5+JIizyjIGb/3l8WpAJfZ1XiCU1si38JBz5VYHpVF0WsAwvlpBU vaJmLAmDRJsUP2dxfedczQxIgGU0EK3Cv5CmSPoMGK449FpcsjEHJ+6GzicPZsT6WD36 scgxgSdd5tjtLjewp2KKUvUFkNtjqxrBVQgM+KgVln73bAsIM1DPrHm7byBlnYo6GsiF Ltng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763051350; x=1763656150; 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=Jggj5Ym/rIR7T7fXmMSGr1c+7mHxEtZV9zaRb5SwErk=; b=k8NCr5KSAbP1LXUabGRv+EfAJY+48xXWKFST/kovO76v3M1p/O0UEOwvMb2kww3OIu juu4dT7JSq45NB9VaOuYr8hl7YMe3pq4hII82SvuLlMFQBVgVAFRra56WB6Nr/Cg/OUr y9MIL3l6abX39A2DUtf05nkKmC5Ykh/bvY0fFRb1XnhJJxDva4MdzXp2Oqmc7YuTr+6A 1Y546DTwRFJxDbhdsAcN864RdPY7vpNCs9YoUzkTcunisIGoZX+kE/t0PIMTr+YTOQaN WRyjcgfNm5Kw154lI+ROCKRuQSjYfd/0bXn0DRNYNEVAUv4T3e8mqIZ84cQMw/z98biP v1/w== X-Forwarded-Encrypted: i=1; AJvYcCX5dmncWv6Zl9Xfz7mbwam5EmCql430tiqd0xsiR+mffYfPXh+KKzW318d6E1D9UslsVqAnPxbny3AORp0=@vger.kernel.org X-Gm-Message-State: AOJu0YzD/tSkAOit+AE32/1p0l12BMFRH25Dw/8zSYVdKor20yTnFdn1 GdsYWuFIyp/sRdbmZh98uX0FQ9SMuZKtEU/83/myBoBJwYXl/PLglx9UCZQhAWF6W6v8ip/zHrB 7GAxgxg== X-Google-Smtp-Source: AGHT+IGN4f1Z5MZfxK3TyPutsSVmoeFbSOAbtCMPNamHDfo8B2Hxzq7CUQshCWhzAT4nMU/PWEj7huMl4y8= X-Received: from plbkj13.prod.google.com ([2002:a17:903:6cd:b0:268:cfa:6a80]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:f683:b0:298:60d5:d27a with SMTP id d9443c01a7336-29860d5d2famr21044725ad.28.1763051350343; Thu, 13 Nov 2025 08:29:10 -0800 (PST) Date: Thu, 13 Nov 2025 08:29:08 -0800 In-Reply-To: <0d9e4840da85ae419b5f583c9dacee1588a509ba.camel@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251112171630.3375-1-thorsten.blum@linux.dev> <4a2a74e01bfd31bc4bd7a672452c2d3d513c33db.camel@intel.com> <0d9e4840da85ae419b5f583c9dacee1588a509ba.camel@intel.com> Message-ID: Subject: Re: [PATCH RESEND] KVM: TDX: Use struct_size and simplify tdx_get_capabilities From: Sean Christopherson To: Rick P Edgecombe Cc: "bp@alien8.de" , "x86@kernel.org" , "thorsten.blum@linux.dev" , "hpa@zytor.com" , "mingo@redhat.com" , "tglx@linutronix.de" , "dave.hansen@linux.intel.com" , "pbonzini@redhat.com" , "kvm@vger.kernel.org" , "linux-coco@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "kas@kernel.org" Content-Type: text/plain; charset="us-ascii" On Thu, Nov 13, 2025, Rick P Edgecombe wrote: > On Wed, 2025-11-12 at 12:24 -0800, Sean Christopherson wrote: > > Your CI caught me just in time; I applied this locally last week, but haven't > > fully pushed it to kvm-x86 yet. :-) > > The TDX CI tracks some upstream branches. Is there one in kvm_x86 tree that > would be useful? It's not foolproof enough to warrant sending out automated > mails. But we monitor it and might notice TDX specific issues. Ideally we would > not be chasing generic bugs in like scratch code not headed upstream or > something. Assuming you're tracking linux-next, I wouldn't bother adding kvm-x86 as kvm-x86/next is fed into linux-next. I do push to topic branches, e.g. kvm-x86/tdx, before merging to kvm-x86/next, but at best you might "gain" a day or two, and the entire reason I do "half" pushes is so that I can run everything through my testing before "officially" publishing it to the world. All in all, explicitly tracking anything kvm-x86 would likely be a net negative.