Description of problem: CPUID 0x8000001f_EDX tells the minimum ASID for CSV enable & CSV2 disabled guest and 0x8000001f_ECX tells the number of encrypted guests supported simultaneously. In order to support running CSV and CSV2 guests simultaneously, KVM assign ASIDs in range [1, CPUID_0x8000001f_EDX) to CSV2 guest, and assign ASIDs in range [CPUID_0x8000001f_EDX, CPUID_0x8000001f_ECX]. Actually, the ASIDs in range [CPUID_0x8000001f_EDX, CPUID_0x8000001f_ECX] are also available for CSV2 guests. 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/2021