Pass through cache information for TOPOEXT CPUs
PATCH 1/1 Pass through cache information for TOPOEXT CPUs
Signed-off-by Stanislav Lanci <[email protected]>
--- target/i386/cpu.c | 5 +++++ 1 file changed, 5 insertions(+)
target/i386/cpu.c +5 -0
@@ -4546,6 +4546,11 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,break ;case 0x8000001D : *eax =0 ; +/* pass through cache information */ +if (cpu->cache_info_passthrough) { +host_cpuid (index, count, eax, ebx, ecx, edx); +break ; + }switch (count) {case 0 :/* L1 dcache info */ encode_cache_cpuid8000001d(env->cache_info_amd.l1d_cache, cs,
Signature · 1 line
2.21.0
Quoted 1 line · Stanislav Lanci
Signed-off-by Stanislav Lanci <[email protected]>
Thanks. Queued for 4.1.
Signature · 1 line
Eduardo