summary refs log tree commit diff stats
path: root/rust/qemu-api/src/bindings.rs
diff options
context:
space:
mode:
authorBabu Moger <babu.moger@amd.com>2025-05-08 14:58:01 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-28 19:35:55 +0200
commitfc014d9ba5b26b27401e0e88a4e1ef827c68fe64 (patch)
tree3199bc13bb914f9d22ed573ec3038f2455a442b5 /rust/qemu-api/src/bindings.rs
parent83d940e9700527ff080416ce2fa52ee1f4771d72 (diff)
downloadfocaccia-qemu-fc014d9ba5b26b27401e0e88a4e1ef827c68fe64.tar.gz
focaccia-qemu-fc014d9ba5b26b27401e0e88a4e1ef827c68fe64.zip
target/i386: Update EPYC-Milan CPU model for Cache property, RAS, SVM feature bits
Found that some of the cache properties are not set correctly for EPYC models.
l1d_cache.no_invd_sharing should not be true.
l1i_cache.no_invd_sharing should not be true.

L2.self_init should be true.
L2.inclusive should be true.

L3.inclusive should not be true.
L3.no_invd_sharing should be true.

Fix these cache properties.

Also add the missing RAS and SVM features bits on AMD EPYC-Milan model.
The SVM feature bits are used in nested guests.

succor          : Software uncorrectable error containment and recovery capability.
overflow-recov  : MCA overflow recovery support.
lbrv            : LBR virtualization
tsc-scale       : MSR based TSC rate control
vmcb-clean      : VMCB clean bits
flushbyasid     : Flush by ASID
pause-filter    : Pause intercept filter
pfthreshold     : PAUSE filter threshold
v-vmsave-vmload : Virtualized VMLOAD and VMSAVE
vgif            : Virtualized GIF

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Maksim Davydov <davydov-max@yandex-team.ru>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/c619c0e09a9d5d496819ed48d69181d65f416891.1746734284.git.babu.moger@amd.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/bindings.rs')
0 files changed, 0 insertions, 0 deletions