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 10F1226215A for ; Tue, 11 Feb 2025 19:03:33 +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=1739300615; cv=none; b=hFnTWJ9ek02CiZl6kRQG39Gs9zQLVHqjD0FmACpbOq7xHmm8Zg0m33ySe5bGn/1rAIZ14H038j8CepQalvCsq4WKMnF2DkIQj73FeY1898BQrsg99+9IrC4PMgl95c51fQP05XzWqp6ldnovd5d03153jsC1l8neLnv6Su3Y42Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739300615; c=relaxed/simple; bh=aFRbjSre0n/PpbhfPdOu1q5jYzsALXfM3ldTnjaDe4k=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Y4rrr53aFYfHPWOc8+53iLtYdjuSYnz3Lf1zQ6ZK3F6GqqHoLWWCIZ4ZyH+tyY7RMXg0/2O9XSupZixQTy4ZqIYoKYlqc/KQTfEYITatIqXrjC/A+h8+aAfbNYopohRphrcMhDTOz/HZgZ3B0ckPg76govdrb2h+ZD9m6jUd41A= 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=Cv5L6rSD; 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="Cv5L6rSD" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-21f5ae4d62dso130287145ad.0 for ; Tue, 11 Feb 2025 11:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1739300613; x=1739905413; darn=lists.linux.dev; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=X6RZHwu8fSUx1PRlASdGoMqhsw6pMz1JSKazfVdmFy0=; b=Cv5L6rSDPNGvzvuudYZwO6YcDoLb9Ebx4MY2bAJ/JF5X8Ksf02wQGsrHVKCN1dhD3Y ND1aHx2HpaLD+k3nfBDp5BjO5IdW7xGdT9R6oXrvcmsYtKtQKDy2yT6xJ5sxKrremMCO 7MhS5zwREbDzXe8BlG8mopiOfjeJcS5tr7/EWkLhvOrz3W1C4Fj4m0TF+43VoGE3/LcH wplU+5nmiUUkDzd7mvOArbuhpb54oofnG2mSXKKrA7IKj5Sa/0HqqZZeB2f27ZuKzjo6 ZYpLYc6Eo6Bz486BXtoNN7xwsjedIOBqDeU8DR6Fx+/AHIdrT4E4YKBA8D0CT9wy9nTX aRoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739300613; x=1739905413; 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=X6RZHwu8fSUx1PRlASdGoMqhsw6pMz1JSKazfVdmFy0=; b=QlUUQT+lP0E65mOzCncuPdzuqbGeqT7oQfwr1BupH3dmEPGh8VjHbD06i2fAZrFEcm p4pGAwxt/ToYvaSjs3q85xmfpFkJIk9AeqYVbH7J2BAPsi1acCwQJoTJiIJw7tchvnOF Zh+RzI7Vm4QQ/9oesVg3/6hgd1wAeqo1yT1cj+miBI3nn9eDRjjfnXYI1W8Fr1K+y5Bx ReUMhX+cjE7GWLapakpTSqW+YxuwBVpzSziie+7V/GTbG+uLjFnmb+9LP/e9pH+bWTYP 6VgcBDD+GQDAYq/NRebzz6+I87D3laamMqcqvY2bjqcf31aKEsaTK0t41NEhCF8kXgO7 xN8A== X-Forwarded-Encrypted: i=1; AJvYcCWazRh438WF9ATX8bq56irnPRYxfeQpRVati//XA7upKkNCzhPftB5QpZxbZMMtpJYPkiCQSeorJB7EZ/iAlA==@lists.linux.dev X-Gm-Message-State: AOJu0Yxz8xd1QhTEAHC2HIWsBT381lCPfL4EC2BRlqpIrSrGor+XHRqa 5dI+bmPnEV+5BdcX5GYre/V3e80vXSe/USRSXius0tl9kH0SSbN2p6wG586ifkRE1gNphDTMpfU ojw== X-Google-Smtp-Source: AGHT+IF83FAVS6JbAJzhSAAsNQR7sGHkfYmlENylg6JcCsQBTAIdcwm5DyQRH0pv2Gc0GyUcz7M5iSbKK64= X-Received: from pfbbh7.prod.google.com ([2002:a05:6a00:3087:b0:730:7b6c:d5d1]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:258e:b0:1e0:d6ef:521a with SMTP id adf61e73a8af0-1ee5c732f01mr650938637.1.1739300613311; Tue, 11 Feb 2025 11:03:33 -0800 (PST) Date: Tue, 11 Feb 2025 11:03:32 -0800 In-Reply-To: <20250211184021.GFZ6uZlZWPVTI5qO1_@fat_crate.local> Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250201021718.699411-1-seanjc@google.com> <20250201021718.699411-2-seanjc@google.com> <20250211150114.GCZ6tmOqV4rI04HVuY@fat_crate.local> <20250211184021.GFZ6uZlZWPVTI5qO1_@fat_crate.local> Message-ID: Subject: Re: [PATCH 01/16] x86/tsc: Add a standalone helpers for getting TSC info from CPUID.0x15 From: Sean Christopherson To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "Kirill A. Shutemov" , Juergen Gross , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Ajay Kaher , Alexey Makhalov , Jan Kiszka , Paolo Bonzini , Andy Lutomirski , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, virtualization@lists.linux.dev, linux-hyperv@vger.kernel.org, jailhouse-dev@googlegroups.com, kvm@vger.kernel.org, xen-devel@lists.xenproject.org, Nikunj A Dadhania , Tom Lendacky Content-Type: text/plain; charset="us-ascii" On Tue, Feb 11, 2025, Borislav Petkov wrote: > On Tue, Feb 11, 2025 at 09:25:47AM -0800, Sean Christopherson wrote: > > Because obviously optimizing code that's called once during boot is super > > critical? > > Because let's stick 'em where they belong and keep headers containing only > small, trivial and inlineable functions. LOL, sorry, I was being sarcastic and poking fun at myself. I completely agree there's no reason to make them inline.