1. 09 11月, 2022 11 次提交
  2. 08 11月, 2022 8 次提交
  3. 07 11月, 2022 17 次提交
  4. 05 11月, 2022 1 次提交
  5. 04 11月, 2022 3 次提交
    • O
      !85 [OLK-5.10] x86/cpufeatures: Add Zhaoxin feature bits · ef16aa34
      openeuler-ci-bot 提交于
      Merge Pull Request from: @leoliu-oc 
       
      The patch is to add Zhaoxin feature bits on Zhaoxin CPUs.
      
      ### Issue
      [#I5NYQF](https://gitee.com/openeuler/kernel/issues/I5NYQF)
      
      ### Test
      Build and boot kernel with this patch. Check various features in `lscpu` or `/proc/cpuinfo`.
      ```shell
      # cat /proc/cpuinfo | grep flags
      # or
      # lscpu | grep flags
      # you will see new Zhaoxin feature flags
      # for example, rng2/rng2_en/phe2/phe2_en/...
      # +#define X86_FEATURE_RNG2		(5*32+22) /* 2nd generation of RNG present */
      # +#define X86_FEATURE_RNG2_EN    (5*32+23) /* 2nd generation of RNG enabled */
      # +#define X86_FEATURE_PHE2		(5*32+25) /* SHA384 and SHA 512 present */
      # +#define X86_FEATURE_PHE2_EN    (5*32+26) /* SHA384 and SHA 512 enabled */
      
      Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq monitor vmx smx est tm2 ssse3 cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand rng rng_en ccs ccs_en ace ace_en ace2 phe phe_en pmm pmm_en parallax parallax_en rng2 rng2_en phe2 phe2_en xmodx xmodx_en lahf_lm abm 3dnowprefetch invpcid_single tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 smep bmi2 invpcid rdseed adx xsaveopt dtherm umip arch_capabilities
      ```
      
      ### Known Issue
      N/A
      
      ### Default config change
      N/A 
       
      Link:https://gitee.com/openeuler/kernel/pulls/85 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      ef16aa34
    • O
      !166 SPR: KVM: Add new instructions, Bus Lock Debug Exception, Bus Lock VM... · 9cb12b91
      openeuler-ci-bot 提交于
      !166 SPR: KVM: Add new instructions, Bus Lock Debug Exception, Bus Lock VM exit and Notify VM exit support
      
      Merge Pull Request from: @allen-shi 
       
      This PR is to add new instructions(AVX_VNNI and AVX512_FP16), Bus Lock Debug Exception, Bus Lock VM exit and Notify VM exit support, and kabi is not changed based on OpenEuler-22.03-LTS kabi whitelist.
      
       **Intel-Kernel Issue** 
      [#I5O6WB](https://gitee.com/openeuler/intel-kernel/issues/I5O6WB)
      [#I5RJCB](https://gitee.com/openeuler/intel-kernel/issues/I5RJCB)
      [#I5PAJ5](https://gitee.com/openeuler/intel-kernel/issues/I5PAJ5)
      [#I5RHW7](https://gitee.com/openeuler/intel-kernel/issues/I5RHW7)
      
       **Test** 
      1. Built and run the kernel successfully on OpenEuler 22.03 LTS.
      2. SPR new instructions feature(AVX_VNNI and AVX512_FP16) is supported on guests.
      3. Bus Lock Debug Exception feature is supported on guests. 
      4. Bus Lock VM Exit feature is supported.
      5. Notify VM Exit feature is supported. 
      
       **Known Issue** 
      N/A
      
       **Default config change** 
      N/A 
       
      Link:https://gitee.com/openeuler/kernel/pulls/166 
      Reviewed-by: Kevin Zhu <zhukeqian1@huawei.com> 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Reviewed-by: Jason Zeng <jason.zeng@intel.com> 
      Reviewed-by: Chen Wei <chenwei@xfusion.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      9cb12b91
    • L
      x86/cpufeatures: Add Zhaoxin feature bits · cf891721
      LeoLiu-oc 提交于
      zhaoxin inclusion
      category: feature
      bugzilla: https://gitee.com/openeuler/kernel/issues/I5NYQF
      CVE: NA
      
      --------------------------------------------
      
      Add Zhaoxin feature bits on Zhaoxin CPUs.
      Signed-off-by: NLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
      cf891721