From: Wu XiangCheng <bobwxc@email.cn>
To: Yanteng Si <siyanteng@loongson.cn>
Cc: alexs@kernel.org, seakeel@gmail.com, corbet@lwn.net,
chenhuacai@kernel.org, jiaxun.yang@flygoat.com,
linux-doc@vger.kernel.org, siyanteng01@gmail.com,
zhoubinbin@loongson.cn, yizhou.tang@shopee.com,
wanjiabing@vivo.com, leoyang.li@nxp.com, src.res@email.cn
Subject: Re: [PATCH 7/8] Docs/zh_CN: Update the translation of pci to 5.19-rc8
Date: Wed, 27 Jul 2022 00:19:47 +0800 [thread overview]
Message-ID: <YuAFKsr6Gimu5LDg@bobwxc.mipc> (raw)
In-Reply-To: <d6b56714f443f13fed9ed6618fb0788fe7d3caaa.1658740151.git.siyanteng@loongson.cn>
On Mon, Jul 25, 2022 at 05:24:35PM +0800, Yanteng Si wrote:
> Update to commit f21949c14968 ("PCI/doc:Update
> obsolete pci_set_dma_mask() references")
>
> 05b0ebd06ae6 ("PCI/doc: cleanup references to
> the legacy PCI DMA API")
>
> Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Wu XiangCheng <bobwxc@email.cn>
Thanks,
Wu
> ---
> Documentation/translations/zh_CN/PCI/pci.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/translations/zh_CN/PCI/pci.rst b/Documentation/translations/zh_CN/PCI/pci.rst
> index 520707787256..83c2a41d38d3 100644
> --- a/Documentation/translations/zh_CN/PCI/pci.rst
> +++ b/Documentation/translations/zh_CN/PCI/pci.rst
> @@ -255,13 +255,13 @@ pci_set_master()将通过设置PCI_COMMAND寄存器中的总线主控位来启
>
> 虽然所有的驱动程序都应该明确指出PCI总线主控的DMA功能(如32位或64位),但对于流式
> 数据来说,具有超过32位总线主站功能的设备需要驱动程序通过调用带有适当参数的
> -``pci_set_dma_mask()`` 来“注册”这种功能。一般来说,在系统RAM高于4G物理地址的情
> +``dma_set_mask()`` 来“注册”这种功能。一般来说,在系统RAM高于4G物理地址的情
> 况下,这允许更有效的DMA。
>
> -所有PCI-X和PCIe兼容设备的驱动程序必须调用 ``pci_set_dma_mask()`` ,因为它们
> +所有PCI-X和PCIe兼容设备的驱动程序必须调用 ``dma_set_mask()`` ,因为它们
> 是64位DMA设备。
>
> -同样,如果设备可以通过调用 ``pci_set_consistent_dma_mask()`` 直接寻址到
> +同样,如果设备可以通过调用 ``dma_set_coherent_mask()`` 直接寻址到
> 4G物理地址以上的系统RAM中的“一致性内存”,那么驱动程序也必须“注册”这种功能。同
> 样,这包括所有PCI-X和PCIe兼容设备的驱动程序。许多64位“PCI”设备(在PCI-X之前)
> 和一些PCI-X设备对有效载荷(“流式”)数据具有64位DMA功能,但对控制(“一致性”)数
> --
> 2.31.1
next prev parent reply other threads:[~2022-07-26 16:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-25 9:20 [PATCH 0/8] Docs/zh_CN: Update some translation to 5.19-rc8 Yanteng Si
2022-07-25 9:20 ` [PATCH 1/8] Docs/zh_CN: Update the translation of iio_configfs " Yanteng Si
2022-07-26 5:51 ` Alex Shi
2022-07-25 9:20 ` [PATCH 2/8] Docs/zh_CN: Update the translation of kasan " Yanteng Si
2022-07-27 2:15 ` Alex Shi
2022-07-28 1:17 ` YanTeng Si
2022-07-25 9:20 ` [PATCH 3/8] Docs/zh_CN: Update the translation of sparse " Yanteng Si
2022-07-27 2:16 ` Alex Shi
2022-07-25 9:23 ` [PATCH 4/8] Docs/zh_CN: Update the translation of testing-overview " Yanteng Si
2022-07-27 2:18 ` Alex Shi
2022-07-25 9:24 ` [PATCH 5/8] Docs/zh_CN: Update the translation of usage " Yanteng Si
2022-07-27 2:18 ` Alex Shi
2022-07-25 9:24 ` [PATCH 6/8] Docs/zh_CN: Update the translation of pci-iov-howto " Yanteng Si
2022-07-27 2:19 ` Alex Shi
2022-07-25 9:24 ` [PATCH 7/8] Docs/zh_CN: Update the translation of pci " Yanteng Si
2022-07-26 16:19 ` Wu XiangCheng [this message]
2022-07-27 2:20 ` Alex Shi
2022-07-25 9:24 ` [PATCH 8/8] Docs/zh_CN: Update the translation of sched-stats " Yanteng Si
2022-07-26 15:06 ` Wu XiangCheng
2022-07-27 2:20 ` Alex Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YuAFKsr6Gimu5LDg@bobwxc.mipc \
--to=bobwxc@email.cn \
--cc=alexs@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=corbet@lwn.net \
--cc=jiaxun.yang@flygoat.com \
--cc=leoyang.li@nxp.com \
--cc=linux-doc@vger.kernel.org \
--cc=seakeel@gmail.com \
--cc=siyanteng01@gmail.com \
--cc=siyanteng@loongson.cn \
--cc=src.res@email.cn \
--cc=wanjiabing@vivo.com \
--cc=yizhou.tang@shopee.com \
--cc=zhoubinbin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).