1. 22 8月, 2023 4 次提交
  2. 08 6月, 2023 2 次提交
  3. 07 6月, 2023 3 次提交
    • C
      x86/unwind: Fix check_paravirt() calls orc_find() before declaration · 9bfac9dd
      Chen Zhongjin 提交于
      hulk inclusion
      category: bugfix
      bugzilla: https://gitee.com/openeuler/kernel/issues/I6DK3O
      CVE: NA
      
      --------------------------------
      
      check_paravirt() calls orc_find() before its implementation code.
      
      If CONFIG_DYNAMIC_FTRACE is enabled, orc_find() will be declared
      earlier and compiling will not fail. Otherwise it will fail for
      "implicit declaration of function 'orc_find'".
      
      Move declaration of orc_find() out of CONFIG_DYNAMIC_FTRACE macro to
      fix this.
      
      Fixes: cbb12ea4718a ("[Huawei] x86/unwind: Fix orc entry for paravirt {save,restore}_fl")
      Signed-off-by: NChen Zhongjin <chenzhongjin@huawei.com>
      Reviewed-by: NXu Kuohai <xukuohai@huawei.com>
      (cherry picked from commit 78380898)
      9bfac9dd
    • C
      x86/unwind: Fix orc entry for paravirt {save,restore}_fl · 809dab53
      Chen Zhongjin 提交于
      hulk inclusion
      category: bugfix
      bugzilla: https://gitee.com/openeuler/kernel/issues/I6DK3O
      CVE: NA
      
      --------------------------------
      
      When CONFIG_PARAVIRT_XXL is enabled, the code of {save,restore}_fl
      is defined as:
      
      ff 14 25 00 00 00 00    callq  *0x0
      
      which will be patched to call the xen paravirt function, or native
      implementation, in 'paravirt_patch_64.c':
      
      pushfq; popq %rax // for native_save_fl
      pushq %rdi; popfq // for native_restore_fl
      
      The orc metadata is generated with insn 'callq', so it can become
      inconsistent with the real insn 'push;pop'.
      This makes stacktrace on the 'pop' insn fail and incorrect stacktrace
      result can be returned.
      
      To prevent reliable stacktrace broken, check the insns when unwind
      pt_regs stack frame:
      
      When there are 'push;pop' combination and both insns don't change orc
      entry, it means the stack state is inconsistent with orc on pop.
      Add one slot to sp_offset for on original orc entry to get the correct
      orc entry.
      Signed-off-by: NChen Zhongjin <chenzhongjin@huawei.com>
      Reviewed-by: NXu Kuohai <xukuohai@huawei.com>
      (cherry picked from commit cd5fe777)
      809dab53
    • W
      config: Disable CONFIG_EULER_FS by default · 93804c69
      Wei Li 提交于
      hulk inclusion
      category: feature
      bugzilla: https://gitee.com/openeuler/kernel/issues/I7BAJ0
      
      --------------------------------
      
      EulerFS was introduced as a technical preview feature in the 21.09
      innovation version. Considering the current discontinuation of Intel
      Optane hardware and immature ecosystem, it has been decided to turn it
      off in the 22.03 LTS version. It will continue to evolve as an innovative
      feature in future innovation versions.
      Signed-off-by: NWei Li <liwei391@huawei.com>
      (cherry picked from commit 42e496a1)
      93804c69
  4. 19 4月, 2023 1 次提交
  5. 18 4月, 2023 1 次提交
  6. 04 4月, 2023 1 次提交
  7. 22 3月, 2023 1 次提交
  8. 08 3月, 2023 2 次提交
  9. 28 2月, 2023 3 次提交
  10. 22 2月, 2023 7 次提交
  11. 06 1月, 2023 1 次提交
  12. 04 1月, 2023 1 次提交
  13. 13 12月, 2022 3 次提交
  14. 07 12月, 2022 2 次提交
  15. 05 12月, 2022 1 次提交
  16. 29 11月, 2022 1 次提交
  17. 26 11月, 2022 1 次提交
  18. 18 11月, 2022 5 次提交