Skip to content

kvm/cpuid: set proper GuestPhysBits in CPUID.0x80000008

Gerd Hoffmann kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 7 repliesIn review
  2. v32 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- comment fixups.
- picked up reviewed-by tags,

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kvm/cpuid: remove GuestPhysBits code.arch/x86/kvm/cpuid.c+10 -110 replies
2/2kvm/cpuid: set proper GuestPhysBits in CPUID.0x80000008arch/x86/kvm/cpuid.c arch/x86/kvm/mmu.h arch/x86/kvm/mmu/mmu.c+32 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchXiaoyao Li
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] kvm/cpuid: set proper GuestPhysBits in CPUID.0x80000008

Use the GuestPhysBits field (EAX[23:16]) to communicate the max addressable GPA to the guest. Typically this is identical to the max effective GPA, except in case the CPU supports MAXPHYADDR > 48 but does not support 5-level TDP.

See commit messages and source code comments for details.

v4 changes:
- comment fixups.
- picked up reviewed-by tags,

Gerd Hoffmann (2):
kvm/cpuid: remove GuestPhysBits code. kvm/cpuid: set proper GuestPhysBits in CPUID.0x80000008

 arch/x86/kvm/mmu.h     |  2 ++
 arch/x86/kvm/cpuid.c   | 41 +++++++++++++++++++++++++++++++----------
 arch/x86/kvm/mmu/mmu.c |  5 +++++
 3 files changed, 38 insertions(+), 10 deletions(-)
Signature · 1 line
2.44.0