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

Configure Feed

Select the types of activity you want to include in your feed.

docs/zh_CN: Add tpm tpm_tis Chinese translation

Translate .../security/tpm/tpm_tis.rst into Chinese.

Update the translation through commit 8a55256a8462
("Documentation: tpm_tis")

Reviewed-by: Alex Shi <alexs@kernel.org>
Signed-off-by: Shuo Zhao <zhaoshuo@cqsoftware.com.cn>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/ac55092bc3f1b3ec51f3e2dd596616ade1a32076.1737603330.git.zhaoshuo@cqsoftware.com.cn

authored by

Shuo Zhao and committed by
Jonathan Corbet
98526e69 ece0788d

+44 -1
+1 -1
Documentation/translations/zh_CN/security/tpm/index.rst
··· 14 14 15 15 tpm_event_log 16 16 tpm-security 17 + tpm_tis 17 18 18 19 TODOLIST: 19 - * tpm_tis 20 20 * tpm_vtpm_proxy 21 21 * xen-tpmfront 22 22 * tpm_ftpm_tee
+43
Documentation/translations/zh_CN/security/tpm/tpm_tis.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + .. include:: ../../disclaimer-zh_CN.rst 3 + 4 + :Original: Documentation/security/tpm/tpm_tis.rst 5 + 6 + :翻译: 7 + 赵硕 Shuo Zhao <zhaoshuo@cqsoftware.com.cn> 8 + 9 + TPM FIFO接口驱动 10 + ================ 11 + 12 + TCG PTP规范定义了两种接口类型:FIFO和CRB。前者基于顺序的读写操作, 13 + 后者基于包含完整命令或响应的缓冲区。 14 + 15 + FIFO(先进先出)接口被tpm_tis_core依赖的驱动程序使用。最初,Linux只 16 + 有一个名为tpm_tis的驱动,覆盖了内存映射(即 MMIO)接口,但后来它被 17 + 扩展以支持TCG标准所支持的其他物理接口。 18 + 19 + 由于历史原因,最初的MMIO驱动被称为tpm_tis,而FIFO驱动的框架被命名为 20 + tpm_tis_core。在tpm_tis中的“tis”后缀来自TPM接口规范,这是针对TPM1.x 21 + 芯片的硬件接口规范。 22 + 23 + 通信基于一个由TPM芯片通过硬件总线或内存映射共享的20KiB 缓冲区,具体 24 + 取决于物理接线。该缓冲区进一步分为五个相等大小的4KiB缓冲区,为CPU和 25 + TPM之间的通信提供等效的寄存器集。这些通信端点在TCG术语中称为localities。 26 + 27 + 当内核想要向TPM芯片发送命令时,它首先通过在TPM_ACCESS寄存器中设置 28 + requestUse位来保留locality0。当访问被授予时,该位由芯片清除。一旦完成 29 + 通信,内核会写入TPM_ACCESS.activeLocality位。这告诉芯片该本地性已被 30 + 释放。 31 + 32 + 待处理的本地性由芯片按优先级降序逐个服务,一次一个: 33 + 34 + - Locality0优先级最低。 35 + - Locality5优先级最高。 36 + 37 + 关于localities的更多信息和含义,请参阅TCG PC客户端平台TPM 配置文件规范的第3.2节。 38 + 39 + 参考文献 40 + ======== 41 + 42 + TCG PC客户端平台TPM配置文件(PTP)规范 43 + https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/