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:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5317
PR 已合入