Bug 21100 - Hygon: CSV1/2 VMs cannot boot on Hygon 2g and C86-3g CPUs if the firmware is too old
Summary: Hygon: CSV1/2 VMs cannot boot on Hygon 2g and C86-3g CPUs if the firmware is ...
Status: RESOLVED FIXED
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: 6.6.88-4
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard: Cherry-pick to RC2
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 19:18 UTC by wojiaohanliyang
Modified: 2025-05-21 19:06 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2025-05-19 19:18:48 UTC
Description of problem:

When the firmware has a build ID < 1878, the host Linux must use SME; otherwise, CSV1/2 VMs cannot be booted.

When the firmware has a build ID < 1810, if CPUID_0x8000_001F_EDX.bits0-31 is 1, the ASID range available for CSV2 guests is [0, 0) (i.e., no ASIDs are available). Otherwise, the range is [1, CPUID_0x8000_001F_EDX.bits0-31).

Currently, the Hypervisor (i.e., KVM) does not enforce these version limits when detecting CSV support. We need to fix this issue.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2025-05-20 14:12:56 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5317
Comment 2 banye97 alibaba_cloud_group 2025-05-21 19:05:07 UTC
PR 已合入