diff options
| author | Naveen N Rao <naveen@kernel.org> | 2026-03-16 15:11:52 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:08:50 +0100 |
| commit | 0ff26b41c882ce5066ec3a4fdae3091ccd67cdf0 (patch) | |
| tree | f68d06ed6c00d922c73dc69b8d18aa151d6c3426 /lib/is_single_threaded.c | |
| parent | ba28a0dcc41ae2b89fe147e3b8d8a22464a01861 (diff) | |
KVM: SVM: Add a helper to look up the max physical ID for AVIC
[ Upstream commit f2f6e67a56dc88fea7e9b10c4e79bb01d97386b7 ]
To help with a future change, add a helper to look up the maximum
physical ID depending on the vCPU AVIC mode. No functional change
intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Naveen N Rao (AMD) <naveen@kernel.org>
Link: https://lore.kernel.org/r/0ab9bf5e20a3463a4aa3a5ea9bbbac66beedf1d1.1757009416.git.naveen@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Stable-dep-of: 87d0f901a9bd ("KVM: SVM: Set/clear CR8 write interception when AVIC is (de)activated")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions
