From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 D6015230BE9 for ; Wed, 29 Oct 2025 23:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761778828; cv=none; b=Hxzm1V7lqwIWOBwRHTDTFFGekngzixr1E5XbtcvqxnimXZfXWuxL/I+E2tF2NKYPlOzIFwhYnWfi9hwtKsveU4eIyLOEJlgXPpCPEPozGaguIOBOMVxhGZniuYAFXF5ZdE6xocTARd41A0ifGR21RQ5SScARO/AUgN+8pMxCChU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761778828; c=relaxed/simple; bh=CiI5Nn3m3g4rYOkdtlhfN/EsnGcr6LlTcetEUgKPJfY=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=pNnsvvuR9f8SsOlA2TUDi9Lir1/bKD02ZhO07RdPMToAdzaEpe5tH/Dsr6BE6ISyAoIDQMIxnfV1t8x51TN/IacirkMQyPq0dezerVDEXSntUBkexw+fhJU0V3c0Ult6q748PkH+P9blcjuyXZ6NkOhOQv+AuaMU2RSOsTHwfcg= 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=JboSAFnd; arc=none smtp.client-ip=209.85.216.73 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="JboSAFnd" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-3307af9b55eso302548a91.2 for ; Wed, 29 Oct 2025 16:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1761778826; x=1762383626; 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=z9ixBsj91glcxroJP2Rf1HQlKO0xZv2gSTaOETVHtQw=; b=JboSAFnd9dktDVxOOlBulPwwWbc6pgvFObSP9+N3D/onGHMkn+3xE/Q49KrYFchhbv Gt9+idwC6givZSZg9CiCxCJOxxupZ8YHktX48P8LDldLR4LXo66xl/GWlPI2AE0SgT3e AXCFPLKrk6GSuwAwX08cXy3xqBIKe3u6OTnu6LMYZeyCsLiG1LCRdiNdx6azujzWRTjU KmqTXsin7X0HBdgqhCxiTjGDm20oCAVweP+XYqW/4K2w6h4L1ZiASKrDU0NLPD8RKWvN Gie5rahbDn7LS5kOTi6e0+t1vRovdUcMDGngFZJKDNnmn+m63SCullFdniBzffLjHcQM fR4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761778826; x=1762383626; 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=z9ixBsj91glcxroJP2Rf1HQlKO0xZv2gSTaOETVHtQw=; b=kd/lpyNb0N1Dtc7Mjes/bPW9+mukT1BTXcAQwQ+HTWFkPJ56ab8B7v7NrsJMnf03ny iZ4y2Wyo+T8U9aBstPPkF4WHRxxeOOOywocBrkcoYY3rdWMCseaVHWIWIlmygLgYrU6H 5XaR6doyxY9pvaHwV3rKNj+WKTDJoXJdOsshwLMGkksiSsTZ2yA2EKyVdeMLKF1/YuO1 1pLf/5Jj4LBymqt/haFIYNzXM0Dk2V1GpFsPX8NcRD+PjzSXmXCtzjAZkEYHGx3c47jJ 4SiFQzmjw0FJVtZ0RbzExdP8UqHrnyDBgU6/J1HTrUKCM6cc5dx5pjGXz1KWNdksLF5+ 2eDg== X-Forwarded-Encrypted: i=1; AJvYcCVvReYyc40oduwDOj4nfXiDsoXxJyWTgg7CjJcc6Rl8fvQHie1THG2ZRRS9hZrXd87bDV3VRghU2AcvDyE=@vger.kernel.org X-Gm-Message-State: AOJu0YyRW0QDpWaqWq5BR2w3mLiLlRaEsiLfXspk3+EYt7F2M1sDxVgz zMdSls8wlPVot2RgUjWr8oX4sWxNlddnHxKb2LS0+ovEYfdbl2N8T/XjWphT6iddJlQWKgsQBFK tQAoGag== X-Google-Smtp-Source: AGHT+IFs6NM2xgQel/cu5JnoaHPVb6EDk919Fxynofiz29lgkoJxWfP5QqyKPuANosTJ1r3A01CgINrEjRQ= X-Received: from pjvn22.prod.google.com ([2002:a17:90a:de96:b0:33b:a0ae:940]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:56c7:b0:32e:a10b:ce33 with SMTP id 98e67ed59e1d1-3403a299e57mr5756186a91.21.1761778826096; Wed, 29 Oct 2025 16:00:26 -0700 (PDT) Date: Wed, 29 Oct 2025 16:00:24 -0700 In-Reply-To: <2e0e538e-99f0-4828-bdd3-fda7ad3794c3@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251029194829.F79F929D@davehans-spike.ostc.intel.com> <20251029194831.6819B2E7@davehans-spike.ostc.intel.com> <6bfe570e35364bd121b648fe8475f705666183d6.camel@intel.com> <2e0e538e-99f0-4828-bdd3-fda7ad3794c3@intel.com> Message-ID: Subject: Re: [PATCH 1/2] x86/virt/tdx: Remove __user annotation from kernel pointer From: Sean Christopherson To: Dave Hansen Cc: Rick P Edgecombe , "linux-kernel@vger.kernel.org" , "dave.hansen@linux.intel.com" , "bp@alien8.de" , "kas@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "tglx@linutronix.de" , "x86@kernel.org" , "kvm@vger.kernel.org" , "pbonzini@redhat.com" , Xiaoyao Li Content-Type: text/plain; charset="us-ascii" On Wed, Oct 29, 2025, Dave Hansen wrote: > On 10/29/25 14:06, Edgecombe, Rick P wrote: > > For the KVM side of tdx, the commits are getting prefixed with "KVM: TDX: ", and > > "x86/virt/tdx" is being used arch/x86/virt/vmx/tdx/tdx.c. It's probably not too > > late to adopt the one true naming scheme. I don't have a strong preference > > except some consistency and that the maintainers agree :) > > Yeah, I just picked one. I honestly don't care what we do in the end. I do. Being able to quickly determine if something touches KVM is valuable. TDX blurs the line since much of the code is split across KVM and x86/virt, but I still find value in differentiating when possible. > I was also probably just going to send these in the tip/x86/tdx branch unless > anyone screams, so I did it the tip-ish way. But this doesn't have anything to do with what tree the patches get routed through. Scopes are always about what files/content is changing. I also don't undertand why you would take these through tip. They only touch KVM (which is annoying hard to see since there's no shortlog in the cover letter). Sure, they're minor changes and _probably_ won't conflict with anything, but again I don't see how that matters. These are clearly KVM patches.