Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: projectacrn#8608 Fixes: 59a8cc4 ("hv: cpuid: make leaf 0x4 per-cpu in hybrid architecture") Signed-off-by: Haiwei Li <[email protected]> Reviewed-by: Junjie Mao <[email protected]>
- Loading branch information