On 10/25/24 00:18, Babu Moger wrote:
This series adds the support for following features in qemu.
1. RAS feature bits (SUCCOR, McaOverflowRecov)
2. perfmon-v2
3. Update EPYC-Genoa to support perfmon-v2 and RAS bits
4. Support for bits related to SRSO (sbpb, ibpb-brtype, srso-user-kernel-no)
5. Added support for feature bits CPUID_Fn80000021_EAX/CPUID_Fn80000021_EBX
to address CPUID enforcement requirement in Turin platforms.
6. Add support for EPYC-Turin.
Queued, thanks. I looked at
https://gitlab.com/qemu-project/qemu/-/issues/2571 and I think it's
caused by the ignore_msrs=1 parameter on the KVM kernel module.
However, can you look into adding new CPUID_SVM_* bits?
Thanks,
Paolo
Link: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/57238.zip
Link: https://www.amd.com/content/dam/amd/en/documents/corporate/cr/speculative-return-stack-overflow-whitepaper.pdf
---
v3: Added SBPB, IBPB_BRTYPE, SRSO_USER_KERNEL_NO, ERAPS and RAPSIZE bits
to EPYC-Turin.
v2: Fixed couple of typos.
Added Reviewed-by tag from Zhao.
Rebased on top of 6d00c6f98256 ("Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging")
v2: https://lore.kernel.org/kvm/cover.1723068946.git.babu.moger@xxxxxxx/
v1: https://lore.kernel.org/qemu-devel/cover.1718218999.git.babu.moger@xxxxxxx/
Babu Moger (6):
target/i386: Fix minor typo in NO_NESTED_DATA_BP feature bit
target/i386: Add RAS feature bits on EPYC CPU models
target/i386: Enable perfmon-v2 and RAS feature bits on EPYC-Genoa
target/i386: Expose bits related to SRSO vulnerability
target/i386: Expose new feature bits in CPUID 8000_0021_EAX/EBX
target/i386: Add support for EPYC-Turin model
Sandipan Das (1):
target/i386: Add PerfMonV2 feature bit
target/i386/cpu.c | 222 +++++++++++++++++++++++++++++++++++++++++++++-
target/i386/cpu.h | 27 +++++-
2 files changed, 242 insertions(+), 7 deletions(-)