All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Shi <seakeel@gmail.com>
To: Yanteng Si <siyanteng@loongson.cn>
Cc: Jonathan Corbet <corbet@lwn.net>, Alex Shi <alexs@kernel.org>,
	"Wu X.C." <bobwxc@email.cn>, Huacai Chen <chenhuacai@kernel.org>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	linux-doc@vger.kernel.org, Puyu Wang <realpuyuwang@gmail.com>,
	chenfeiyang@loongson.cn, chris.chenfeiyang@gmail.com,
	yanteng si <siyanteng01@gmail.com>
Subject: Re: [PATCH v3 8/8] docs/zh_CN: add virt acrn cpuid translation
Date: Wed, 4 Aug 2021 11:03:07 +0800	[thread overview]
Message-ID: <CAJy-Amm6+C3TvRmRzmF5uz+SnbS8goaaX1M3bwEWm=Ai0MQbhg@mail.gmail.com> (raw)
In-Reply-To: <90643c240d63b4eedc498a1f5cfb6dd846912b64.1627823347.git.siyanteng@loongson.cn>

On Sun, Aug 1, 2021 at 9:32 PM Yanteng Si <siyanteng@loongson.cn> wrote:
>
> Translate Documentation/virt/acrn/cpuid.rst into Chinese.
>
> Signed-off-by: Yanteng Si <siyanteng@loongson.cn>

Reviewed-by: Alex Shi <alexs@kernel.org>


> ---
>  .../translations/zh_CN/virt/acrn/cpuid.rst    | 56 +++++++++++++++++++
>  .../translations/zh_CN/virt/acrn/index.rst    |  5 --
>  2 files changed, 56 insertions(+), 5 deletions(-)
>  create mode 100644 Documentation/translations/zh_CN/virt/acrn/cpuid.rst
>
> diff --git a/Documentation/translations/zh_CN/virt/acrn/cpuid.rst b/Documentation/translations/zh_CN/virt/acrn/cpuid.rst
> new file mode 100644
> index 000000000000..252aa10ad52e
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/virt/acrn/cpuid.rst
> @@ -0,0 +1,56 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/virt/acrn/cpuid.rst
> +
> +:翻译:
> +
> + 司延腾 Yanteng Si <siyanteng@loongson.cn>
> +
> +:校译:
> +
> + 时奎亮 Alex Shi <alexs@kernel.org>
> +
> +.. _cn_virt_acrn_cpuid:
> +
> +==============
> +ACRN CPUID位域
> +==============
> +
> +在ACRN超级管理器上运行的客户虚拟机可以使用CPUID检查其一些功能。
> +
> +ACRN的cpuid函数是:
> +
> +函数: 0x40000000
> +
> +返回::
> +
> +   eax = 0x40000010
> +   ebx = 0x4e524341
> +   ecx = 0x4e524341
> +   edx = 0x4e524341
> +
> +注意,ebx,ecx和edx中的这个值对应于字符串“ACRNACRNACRN”。eax中的值对应于这个叶子
> +中存在的最大cpuid函数,如果将来有更多的函数加入,将被更新。
> +
> +函数: define ACRN_CPUID_FEATURES (0x40000001)
> +
> +返回::
> +
> +          ebx, ecx, edx
> +          eax = an OR'ed group of (1 << flag)
> +
> +其中 ``flag`` 的定义如下:
> +
> +================================= =========== ================================
> +标志                              值          描述
> +================================= =========== ================================
> +ACRN_FEATURE_PRIVILEGED_VM        0           客户虚拟机是一个有特权的虚拟机
> +================================= =========== ================================
> +
> +函数: 0x40000010
> +
> +返回::
> +
> +          ebx, ecx, edx
> +          eax = (Virtual) TSC frequency in kHz.
> diff --git a/Documentation/translations/zh_CN/virt/acrn/index.rst b/Documentation/translations/zh_CN/virt/acrn/index.rst
> index b53976e20a34..34605d87f103 100644
> --- a/Documentation/translations/zh_CN/virt/acrn/index.rst
> +++ b/Documentation/translations/zh_CN/virt/acrn/index.rst
> @@ -22,9 +22,4 @@ ACRN超级管理器
>
>     introduction
>     io-request
> -
> -TODOLIST:
> -
> -
> -
>     cpuid
> --
> 2.27.0
>

      reply	other threads:[~2021-08-04  3:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01 13:32 [PATCH v3 0/8] docs/zh_CN: add some virt docs translation Yanteng Si
2021-08-01 13:32 ` [PATCH v3 1/8] docs/zh_CN: add virt index translation Yanteng Si
2021-08-01 13:32 ` [PATCH v3 2/8] docs/zh_CN: add virt paravirt_ops translation Yanteng Si
2021-08-04  2:39   ` Alex Shi
2021-08-04  6:41     ` yanteng si
2021-08-01 13:32 ` [PATCH v3 3/8] docs/zh_CN: add virt guest-halt-polling translation Yanteng Si
2021-08-04  2:58   ` Alex Shi
2021-08-04  6:43     ` yanteng si
2021-08-01 13:32 ` [PATCH v3 4/8] docs/zh_CN: add virt ne_overview translation Yanteng Si
2021-08-01 13:32 ` [PATCH v3 5/8] docs/zh_CN: add virt acrn index translation Yanteng Si
2021-08-04  3:00   ` Alex Shi
2021-08-01 13:32 ` [PATCH v3 6/8] docs/zh_CN: add virt acrn introduction translation Yanteng Si
2021-08-04  3:01   ` Alex Shi
2021-08-04  6:44     ` yanteng si
2021-08-01 13:32 ` [PATCH v3 7/8] docs/zh_CN: add virt acrn io-request translation Yanteng Si
2021-08-04  3:02   ` Alex Shi
2021-08-01 13:32 ` [PATCH v3 8/8] docs/zh_CN: add virt acrn cpuid translation Yanteng Si
2021-08-04  3:03   ` Alex Shi [this message]

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='CAJy-Amm6+C3TvRmRzmF5uz+SnbS8goaaX1M3bwEWm=Ai0MQbhg@mail.gmail.com' \
    --to=seakeel@gmail.com \
    --cc=alexs@kernel.org \
    --cc=bobwxc@email.cn \
    --cc=chenfeiyang@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chris.chenfeiyang@gmail.com \
    --cc=corbet@lwn.net \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=realpuyuwang@gmail.com \
    --cc=siyanteng01@gmail.com \
    --cc=siyanteng@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.