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 4D8C6334C13 for ; Wed, 18 Feb 2026 14:29:12 +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=1771424954; cv=none; b=JcSiTUczuOwkzXwS0i3PHo/MLkqbgQ3g412FuZzvX1uLR/fUNVAMkhSnaQylsaKkinjubmXcW9SbC44PKCKOi9EKg7cYHOhJWoQ0SSwoyWOMpe6Qrbrp/f0bN7U66lYAvWSPfvEBWpSp1wwdqOS7ZzLYXAkN7k33UoXuOQiIQZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771424954; c=relaxed/simple; bh=IRBQndA03HmhOZxNpi9Cu1G1MHrDVhLuavMjYLrYIZU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=qpZzTDwvfdPz5/NC2jR0X5jkl5lCBqJCddXVAj/PclSAqP5eT6Edh92gKAQM9/XbaKoeyVbYXtv2xmUWJqPRF1XzmTWGaLz7FmfemTEZdEj2qlSW2IGlHONn4eZ0yqyBRXvciRgre34RNAeI25LOeeo8hGR850yUsdX8eyCWvso= 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=DAiwtb4o; 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="DAiwtb4o" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2a76f2d7744so58987485ad.3 for ; Wed, 18 Feb 2026 06:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771424952; x=1772029752; 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=LJeuFVbekGNTo9ZbL6yrJVWhF0vC+VBsyIOWnUV0wG4=; b=DAiwtb4odMlDkFp58OGhsiPpK8n+mkWttigqlzHELmnfxIVb1iqJgaC6naFiznYOQw Fkv5pKR05FdPd89c4WOZm8S9wmRBzOw+8O5yrPSZacA1ApZEIrNnfDe6npcEtoCUt7cA ZCZWrZxBrYLS1WGo0Ow3z9/H5OLovgUtFn7Pk1e5nfq1bW7ppZmK3DbpvOWJF4NHvELn UQdfMqseiDi39QW8372fVhU4BW8Z6zZyOR2I+g71k2nWRnihgY0T5JeKAZqROVCBX76Y GPKlVmyWpE0FA5ETp8FepMD8LkcFyBGFYj3w5+4RwY1bIOh/JXIhBK0acyni7bbDo8zg wv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771424952; x=1772029752; 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=LJeuFVbekGNTo9ZbL6yrJVWhF0vC+VBsyIOWnUV0wG4=; b=CzEghVyTiXswS0WVYuaa0PgQMJL4vtWiUhrkxUean0oVSEFDHCx/Rv4QY8zS3+P/Yb POoT8H2LgXhfh4LRrSGKVj8oGTcv6YH4/ZQheU/aL0mDkSUUU3ssYSsC27lbVfmxQc5F 50xlo9HwlIsgVgZqMfn06MP8/X3My04dmXjUU/yAaraTBR/MGoTAEvkM6dezb6f8LqF5 RjodUs3TsQ/3r6zzZxH1FhcP9KW9eGkIKTdUV6AFyBSjae0ivY/2jHmfodO5IfJIQQ5z JQZ8JCPHcv+ZrJGERM2+kagAzm97Y0Nxqv5Iq4R/5Ifk8mxx8fmEzkx1jxBLD5oAnGld zxfg== X-Forwarded-Encrypted: i=1; AJvYcCVEhT/DGMYvOr3Nwj91OJEUQH53g45kJzeXHq12h8ipKYqNBKzPKyG3KdEYWKPrz0XMOZyy7ghYWfxrlXk=@vger.kernel.org X-Gm-Message-State: AOJu0YxNoEinAtCeQmaq+f6HgSjjeaTlSqrfl2a9i6qQrHNTRTSM458t TJ9ngdJEKuBQXJ9Fc3VRMtgiHR3VlRpUthC1J6QFOlRJDjUhc1SXyZ5x9F3zMDG/HXEaDvCvNtQ 8XCcVyA== X-Received: from plch7.prod.google.com ([2002:a17:902:f2c7:b0:2aa:d7bd:1139]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:f685:b0:2a9:602c:159 with SMTP id d9443c01a7336-2ad50ebb14cmr20825435ad.19.1771424951473; Wed, 18 Feb 2026 06:29:11 -0800 (PST) Date: Wed, 18 Feb 2026 06:29:10 -0800 In-Reply-To: <330ed8d57ee5c7574d7bc1b637598bbef5325ee4.camel@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260218082133.400602-1-jgross@suse.com> <20260218082133.400602-5-jgross@suse.com> <330ed8d57ee5c7574d7bc1b637598bbef5325ee4.camel@intel.com> Message-ID: Subject: Re: [PATCH v3 04/16] KVM: x86: Remove the KVM private read_msr() function From: Sean Christopherson To: Rick P Edgecombe Cc: "kvm@vger.kernel.org" , "jgross@suse.com" , "linux-coco@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , "bp@alien8.de" , "kas@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "tglx@kernel.org" , "pbonzini@redhat.com" Content-Type: text/plain; charset="us-ascii" On Wed, Feb 18, 2026, Rick P Edgecombe wrote: > On Wed, 2026-02-18 at 09:21 +0100, Juergen Gross wrote: > > Instead of having a KVM private read_msr() function, just use > > rdmsrq(). > > Might be nice to include a little bit more on the "why", but the patch > is pretty simple. Eh, the why is basically "KVM is old and crusty". I'm a-ok without a history lesson on how we got here :-) > > Signed-off-by: Juergen Gross > > Reviewed-by: H. Peter Anvin (Intel) > > Reviewed-by: Rick Edgecombe Acked-by: Sean Christopherson