Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: Chinese translation of arm64/silicon-errata.txt

This is a Chinese translated version of Documentation/arm64/silicon-errata.txt

Signed-off-by: Fu Wei <wefu@redhat.com>
Reviewed-by: Weiwei Jia <harryxiyou@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Fu Wei and committed by
Jonathan Corbet
45c73ea7 c06ffe66

+74
+74
Documentation/zh_CN/arm64/silicon-errata.txt
··· 1 + Chinese translated version of Documentation/arm64/silicon-errata.txt 2 + 3 + If you have any comment or update to the content, please contact the 4 + original document maintainer directly. However, if you have a problem 5 + communicating in English you can also ask the Chinese maintainer for 6 + help. Contact the Chinese maintainer if this translation is outdated 7 + or if there is a problem with the translation. 8 + 9 + M: Will Deacon <will.deacon@arm.com> 10 + zh_CN: Fu Wei <wefu@redhat.com> 11 + C: 1926e54f115725a9248d0c4c65c22acaf94de4c4 12 + --------------------------------------------------------------------- 13 + Documentation/arm64/silicon-errata.txt 的中文翻译 14 + 15 + 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 16 + 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻 17 + 译存在问题,请联系中文版维护者。 18 + 19 + 英文版维护者: Will Deacon <will.deacon@arm.com> 20 + 中文版维护者: 傅炜 Fu Wei <wefu@redhat.com> 21 + 中文版翻译者: 傅炜 Fu Wei <wefu@redhat.com> 22 + 中文版校译者: 傅炜 Fu Wei <wefu@redhat.com> 23 + 本文翻译提交时的 Git 检出点为: 1926e54f115725a9248d0c4c65c22acaf94de4c4 24 + 25 + 以下为正文 26 + --------------------------------------------------------------------- 27 + 芯片勘误和软件补救措施 28 + ================== 29 + 30 + 作者: Will Deacon <will.deacon@arm.com> 31 + 日期: 2015年11月27日 32 + 33 + 一个不幸的现实:硬件经常带有一些所谓的“瑕疵(errata)”,导致其在 34 + 某些特定情况下会违背构架定义的行为。就基于 ARM 的硬件而言,这些瑕疵 35 + 大体可分为以下几类: 36 + 37 + A 类:无可行补救措施的严重缺陷。 38 + B 类:有可接受的补救措施的重大或严重缺陷。 39 + C 类:在正常操作中不会显现的小瑕疵。 40 + 41 + 更多资讯,请在 infocenter.arm.com (需注册)中查阅“软件开发者勘误 42 + 笔记”(“Software Developers Errata Notice”)文档。 43 + 44 + 对于 Linux 而言,B 类缺陷可能需要操作系统的某些特别处理。例如,避免 45 + 一个特殊的代码序列,或是以一种特定的方式配置处理器。在某种不太常见的 46 + 情况下,为将 A 类缺陷当作 C 类处理,可能需要用类似的手段。这些手段被 47 + 统称为“软件补救措施”,且仅在少数情况需要(例如,那些需要一个运行在 48 + 非安全异常级的补救措施 *并且* 能被 Linux 触发的情况)。 49 + 50 + 对于尚在讨论中的可能对未受瑕疵影响的系统产生干扰的软件补救措施,有一个 51 + 相应的内核配置(Kconfig)选项被加在 “内核特性(Kernel Features)”-> 52 + “基于可选方法框架的 ARM 瑕疵补救措施(ARM errata workarounds via 53 + the alternatives framework)"。这些选项被默认开启,若探测到受影响的CPU, 54 + 补丁将在运行时被使用。至于对系统运行影响较小的补救措施,内核配置选项 55 + 并不存在,且代码以某种规避瑕疵的方式被构造(带注释为宜)。 56 + 57 + 这种做法对于在任意内核源代码树中准确地判断出哪个瑕疵已被软件方法所补救 58 + 稍微有点麻烦,所以在 Linux 内核中此文件作为软件补救措施的注册表, 59 + 并将在新的软件补救措施被提交和向后移植(backported)到稳定内核时被更新。 60 + 61 + | 实现者 | 受影响的组件 | 勘误编号 | 内核配置 | 62 + +----------------+-----------------+-----------------+-------------------------+ 63 + | ARM | Cortex-A53 | #826319 | ARM64_ERRATUM_826319 | 64 + | ARM | Cortex-A53 | #827319 | ARM64_ERRATUM_827319 | 65 + | ARM | Cortex-A53 | #824069 | ARM64_ERRATUM_824069 | 66 + | ARM | Cortex-A53 | #819472 | ARM64_ERRATUM_819472 | 67 + | ARM | Cortex-A53 | #845719 | ARM64_ERRATUM_845719 | 68 + | ARM | Cortex-A53 | #843419 | ARM64_ERRATUM_843419 | 69 + | ARM | Cortex-A57 | #832075 | ARM64_ERRATUM_832075 | 70 + | ARM | Cortex-A57 | #852523 | N/A | 71 + | ARM | Cortex-A57 | #834220 | ARM64_ERRATUM_834220 | 72 + | | | | | 73 + | Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 | 74 + | Cavium | ThunderX GICv3 | #23154 | CAVIUM_ERRATUM_23154 |