acrn-hypervisor/hypervisor/arch/x86/guest
Haiwei Li b31fcd3519 hv: cpuid: fix hybrid related cpuid error
Some cpuids will return invalid values on hybrid platform because of the
error in the pointer arithmetic. Add `(void *)` before
`cpu_cpuids.leaves`.

Leaf 0x14 is used to report Intel Processor Trace Enumeration and varies
between P-cores and E-cores on hybrid platform. So add it to
`hybrid_leaves`.

Tracked-On: #8608
Fixes: 59a8cc4c2 ("hv: cpuid: make leaf 0x4 per-cpu in hybrid architecture")
Signed-off-by: Haiwei Li <haiwei.li@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2024-06-19 17:07:10 +08:00
..
assign.c hv: bugfix: skip invalid ffs64 return value 2023-07-14 17:38:16 +08:00
ept.c hv: define a MACRO to indicate maximum memory size 2023-09-12 13:52:48 +08:00
guest_memory.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
hyperv.c hv: tlfs: fix the incorrect vLAPIC freq MSR 2022-07-26 05:53:19 +08:00
instr_emul.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
lock_instr_emul.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
nested.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
optee.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
pm.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trusty.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
ucode.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vcat.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vcpu.c hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
vcpuid.c hv: cpuid: fix hybrid related cpuid error 2024-06-19 17:07:10 +08:00
ve820.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vept.c hv: define a MACRO to indicate maximum memory size 2023-09-12 13:52:48 +08:00
virq.c hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
virtual_cr.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vlapic_priv.h Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vlapic.c hv: signal_event after make_request 2023-09-15 11:52:40 +08:00
vm_reset.c hv: vm_event: send event on triple fault handler 2024-02-01 17:01:31 +08:00
vm.c hv: vm_event: create vm_event support 2024-02-01 17:01:31 +08:00
vmcall.c hv: add hypercall to register asyncio 2022-09-27 10:26:42 +08:00
vmcs.c hv: hide mwait from guest. 2022-11-04 18:55:52 +08:00
vmexit.c hv: fix using cpuid does not clear the upper 32-bit registers. 2024-06-19 15:35:26 +08:00
vmsr.c hv: expose thermal MSRs to VM. 2024-05-16 09:40:32 +08:00
vmtrr.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vmx_asm.S Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vmx_io.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00