1. 25 11月, 2022 8 次提交
  2. 24 11月, 2022 1 次提交
    • O
      !220 Intel Advanced Matrix Extensions (AMX) support on SPR · c5a37a37
      openeuler-ci-bot 提交于
      Merge Pull Request from: @Linwang_68f8 
       
      Content:
      Intel® Advanced Matrix Extensions (Intel® AMX) is a new 64-bit programming paradigm consisting of two components: a set of 2-dimensional registers (tiles) representing sub-arrays from a larger 2-dimensional memory image, and an accelerator able to operate on tiles, the first implementation is called TMUL (tile matrix multiply unit).
      
      This patch set involves 182 patches including KABI fixes from Zheng Zengkai <zhengzengkai@huawei.com>
      
      Please be noticed that to keep KABI consistency following 9 commits have to be dropped:
      0c2e62ba x86/extable: Remove EX_TYPE_FAULT from MCE safe fixups
      c6304556 x86/fpu: Use EX_TYPE_FAULT_MCE_SAFE for exception fixups
      c1c97d17 x86/copy_mc: Use EX_TYPE_DEFAULT_MCE_SAFE for exception fixups
      2cadf524 x86/extable: Provide EX_TYPE_DEFAULT_MCE_SAFE and EX_TYPE_FAULT_MCE_SAFE
      46d28947 x86/extable: Rework the exception table mechanics
      083b32d6 x86/mce: Get rid of stray semicolons
      e42404af x86/mce: Deduplicate exception handling
      32fd8b59 x86/extable: Get rid of redundant macros
      326b567f x86/extable: Tidy up redundant handler functions
      
      Intel-kernel issue:
      https://gitee.com/openeuler/intel-kernel/issues/I590ZC
      
      Test environment:
      openEuler 22.09 + backporting kernel
      
      Test cases:
      kernel self-test including sigaltstack and AMX state management testing.
      TMUL functional testing.
      AMX stress.
      Context switch testing.
      INT8/BF16 online inference.
      
      Known issue:
      N/A
      
      Default config change:
      
      
      
      ```
      @@ -479,6 +494,7 @@ CONFIG_LEGACY_VSYSCALL_EMULATE=y
      # CONFIG_LEGACY_VSYSCALL_NONE is not set
      # CONFIG_CMDLINE_BOOL is not set
      CONFIG_MODIFY_LDT_SYSCALL=y
      +# CONFIG_STRICT_SIGALTSTACK_SIZE is not set
      CONFIG_HAVE_LIVEPATCH_FTRACE=y
      CONFIG_HAVE_LIVEPATCH_WO_FTRACE=y
       
      @@ -845,6 +861,7 @@ CONFIG_HAVE_STATIC_CALL=y
      CONFIG_HAVE_STATIC_CALL_INLINE=y
      CONFIG_HAVE_PREEMPT_DYNAMIC=y
      CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y
      +CONFIG_DYNAMIC_SIGFRAME=y
      ```
      
       
       
      Link:https://gitee.com/openeuler/kernel/pulls/220 
      Reviewed-by: Liu Chao <liuchao173@huawei.com> 
      Reviewed-by: Chen Wei <chenwei@xfusion.com> 
      Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com> 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Reviewed-by: Jun Tian <jun.j.tian@intel.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      c5a37a37
  3. 23 11月, 2022 31 次提交