Skip to contentSkip to conversation

docs/zh_CN: riscv: Update the translation to 5.19-rc1

PATCH Superseded Binbin Zhou 3 participants 7 messages Jun 8, 2022

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover docs/zh_CN: riscv: Update the translation to 5.19-rc1

The content of riscv Chinese documents lags behind the corresponding English documents, and the relevant commits are updated synchronously.

Binbin Zhou (3):
docs/zh_CN: riscv: Update the translation of features.rst to 5.19-rc1 docs/zh_CN: riscv: Update the translation of pmu.rst to 5.19-rc1 docs/zh_CN: riscv: Update the translation of vm-layout.rst to 5.19-rc1

 .../translations/zh_CN/riscv/features.rst     |   8 +
 .../translations/zh_CN/riscv/index.rst        |   2 +-
 .../translations/zh_CN/riscv/pmu.rst          | 235 ------------------
 .../translations/zh_CN/riscv/vm-layout.rst    |  37 +++
 4 files changed, 46 insertions(+), 236 deletions(-)
 create mode 100644 Documentation/translations/zh_CN/riscv/features.rst
 delete mode 100644 Documentation/translations/zh_CN/riscv/pmu.rst
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/3 docs/zh_CN: riscv: Update the translation of features.rst to 5.19-rc1

Synchronous translation from upstream commit ed13a92d0fde ("docs: archis: add a per-architecture features list")

---
 Documentation/translations/zh_CN/riscv/features.rst | 8 ++++++++
 Documentation/translations/zh_CN/riscv/index.rst    | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 Documentation/translations/zh_CN/riscv/features.rst
Documentation/translations/zh_CN/riscv/features.rst new file +8 -0
new file mode 100644
index 000000000000..193a07a3e163
@@ -0,0 +1,8 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/riscv/features.rst
+:Translator: Binbin Zhou <[email protected]>
+
+.. kernel-feat:: $srctree/Documentation/features riscv
Documentation/translations/zh_CN/riscv/index.rst +1 -0
index 614cde0c0997..5bb35dfd58aa 100644
@@ -22,6 +22,7 @@ RISC-V 体系结构
     pmu
     patch-acceptance
 
+    features
 
 .. only::  subproject and html
 
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/3 docs/zh_CN: riscv: Update the translation of pmu.rst to 5.19-rc1

In reply to Binbin Zhou

Synchronous translation from the following:

[1]: commit 23b1f18326ec("Documentation: riscv:
Remove the old documentation")

[2]: commit 8933e7f2e375 ("Documentation: riscv: remove
non-existent directory from table of contents")

---
 .../translations/zh_CN/riscv/index.rst        |   1 -
 .../translations/zh_CN/riscv/pmu.rst          | 235 ------------------
 2 files changed, 236 deletions(-)
 delete mode 100644 Documentation/translations/zh_CN/riscv/pmu.rst
Documentation/translations/zh_CN/riscv/index.rst +0 -1
index 5bb35dfd58aa..24bc4991babc 100644
@@ -19,7 +19,6 @@ RISC-V 体系结构
 
     boot-image-header
     vm-layout
-    pmu
     patch-acceptance
 
     features
Documentation/translations/zh_CN/riscv/pmu.rst deleted +0 -235

235 lines not on this page · raw message

Signature · 1 line
2.20.1
#3 lore raw

Re: [PATCH 2/3] docs/zh_CN: riscv: Update the translation of pmu.rst to 5.19-rc1

Hi Binbin,

Maybe "docs/zh_CN: Drop zh_CN/riscv/pmu.rst" is a clearer subject. It isn't an actual update...

Thanks,
Wu

Quoted 14 lines · Binbin Zhou

Synchronous translation from the following:

[1]: commit 23b1f18326ec("Documentation: riscv:
Remove the old documentation")

[2]: commit 8933e7f2e375 ("Documentation: riscv: remove
non-existent directory from table of contents")

---
 .../translations/zh_CN/riscv/index.rst        |   1 -
 .../translations/zh_CN/riscv/pmu.rst          | 235 ------------------
 2 files changed, 236 deletions(-)
 delete mode 100644 Documentation/translations/zh_CN/riscv/pmu.rst

[...]

#4 lore raw

PATCH 3/3 docs/zh_CN: riscv: Update the translation of vm-layout.rst to 5.19-rc1

In reply to Binbin Zhou

Synchronous translation from upstream commit 9d19f2b5256e ("Documentation: riscv: Add sv48 description to VM layout")

---
 .../translations/zh_CN/riscv/vm-layout.rst    | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
Documentation/translations/zh_CN/riscv/vm-layout.rst +37 -0
index 585cb89317a3..91884e2dfff8 100644
@@ -6,6 +6,7 @@
 :翻译:
 
  司延腾 Yanteng Si <[email protected]>
+        Binbin Zhou <[email protected]>
 
 ============================
 RISC-V Linux上的虚拟内存布局
@@ -65,3 +66,39 @@ RISC-V Linux Kernel SV39
    ffffffff00000000 |   -4    GB | ffffffff7fffffff |    2 GB | modules, BPF
    ffffffff80000000 |   -2    GB | ffffffffffffffff |    2 GB | kernel
   __________________|____________|__________________|_________|____________________________________________________________
+
+
+RISC-V Linux Kernel SV48
+------------------------
+
+::
+
+ ========================================================================================================================
+      开始地址       |   偏移      |     结束地址      |  大小    | 虚拟内存区域描述
+ ========================================================================================================================
+                    |            |                  |         |
+   0000000000000000 |    0       | 00007fffffffffff |  128 TB | 用户空间虚拟内存,每个内存管理器不同
+  __________________|____________|__________________|_________|___________________________________________________________
+                    |            |                  |         |
+   0000800000000000 | +128    TB | ffff7fffffffffff | ~16M TB | ... 巨大的、几乎64位宽的直到内核映射的-128TB地方
+                    |            |                  |         |     开始偏移的非经典虚拟内存地址空洞。
+                    |            |                  |         |
+  __________________|____________|__________________|_________|___________________________________________________________
+                                                              |
+                                                              | 内核空间的虚拟内存,在所有进程之间共享:
+  ____________________________________________________________|___________________________________________________________
+                    |            |                  |         |
+   ffff8d7ffee00000 |  -114.5 TB | ffff8d7ffeffffff |    2 MB | fixmap
+   ffff8d7fff000000 |  -114.5 TB | ffff8d7fffffffff |   16 MB | PCI io
+   ffff8d8000000000 |  -114.5 TB | ffff8f7fffffffff |    2 TB | vmemmap
+   ffff8f8000000000 |  -112.5 TB | ffffaf7fffffffff |   32 TB | vmalloc/ioremap space
+   ffffaf8000000000 |  -80.5  TB | ffffef7fffffffff |   64 TB | 直接映射所有物理内存
+   ffffef8000000000 |  -16.5  TB | fffffffeffffffff | 16.5 TB | kasan
+  __________________|____________|__________________|_________|____________________________________________________________
+                                                              |
+                                                              | 从此处开始,与39-bit布局相同:
+  ____________________________________________________________|____________________________________________________________
+                    |            |                  |         |
+   ffffffff00000000 |   -4    GB | ffffffff7fffffff |    2 GB | modules, BPF
+   ffffffff80000000 |   -2    GB | ffffffffffffffff |    2 GB | kernel
+  __________________|____________|__________________|_________|____________________________________________________________
Signature · 1 line
2.20.1
#5 lore raw
In reply to Binbin Zhou

Binbin Zhou <[email protected]> 于2022年6月8日周三 15:55写道: Hi Binbin

Quoted 7 lines

The content of riscv Chinese documents lags behind the corresponding English documents, and the relevant commits are updated synchronously.

Binbin Zhou (3):
docs/zh_CN: riscv: Update the translation of features.rst to 5.19-rc1 docs/zh_CN: riscv: Update the translation of pmu.rst to 5.19-rc1

I noticed that in 5.19-rc1, this document no longer exists, so we can write the subject like this:

docs/zh_CN: riscv: Remove the translation of pmu.rst

Quoted 3 lines

docs/zh_CN: riscv: Update the translation of vm-layout.rst to 5.19-rc1

 .../translations/zh_CN/riscv/features.rst     |   8 +

We don't need to translate features.rst.

Thanks,
Yanteng

Quoted 10 lines
 .../translations/zh_CN/riscv/index.rst        |   2 +-
 .../translations/zh_CN/riscv/pmu.rst          | 235 ------------------
 .../translations/zh_CN/riscv/vm-layout.rst    |  37 +++
 4 files changed, 46 insertions(+), 236 deletions(-)
 create mode 100644 Documentation/translations/zh_CN/riscv/features.rst
 delete mode 100644 Documentation/translations/zh_CN/riscv/pmu.rst

--
2.20.1

author
#6 lore raw

Hi Yanteng:

Thanks for your reply, and I'll send the V2 patch set.

Binbin

&gt; -----原始邮件-----
&gt; 发件人: "teng sterling" <[email protected]>
&gt; 发送时间: 2022-06-08 16:19:49 (星期三)
&gt; 收件人: "Binbin Zhou" <[email protected]>
&gt; 抄送: "Alex Shi" <[email protected]>, "Yanteng Si" <[email protected]>, "Jonathan Corbet" <[email protected]>, "Huacai Chen" <[email protected]>, "Wu X.C." <[email protected]>, "Linux Doc Mailing List" <[email protected]> &gt; 主题: Re: [PATCH 0/3] docs/zh_CN: riscv: Update the translation to 5.19-rc1
&gt;
&gt; Binbin Zhou <[email protected]> 于2022年6月8日周三 15:55写道:
&gt; Hi Binbin
&gt; &gt;
&gt; &gt; The content of riscv Chinese documents lags behind the corresponding
&gt; &gt; English documents, and the relevant commits are updated synchronously.
&gt; &gt;
&gt; &gt; Binbin Zhou (3):
&gt; &gt; docs/zh_CN: riscv: Update the translation of features.rst to 5.19-rc1
&gt; &gt; docs/zh_CN: riscv: Update the translation of pmu.rst to 5.19-rc1
&gt; I noticed that in 5.19-rc1, this document no longer exists, so we can
&gt; write the subject like this:
&gt;
&gt; docs/zh_CN: riscv: Remove the translation of pmu.rst
&gt;
&gt; &gt; docs/zh_CN: riscv: Update the translation of vm-layout.rst to 5.19-rc1
&gt; &gt;
&gt; &gt; .../translations/zh_CN/riscv/features.rst | 8 +
&gt; We don't need to translate features.rst.
&gt;
&gt; Thanks,
&gt; Yanteng

&gt; &gt;  .../translations/zh_CN/riscv/index.rst        |   2 +-
&gt; &gt;  .../translations/zh_CN/riscv/pmu.rst          | 235 ------------------
&gt; &gt;  .../translations/zh_CN/riscv/vm-layout.rst    |  37 +++
&gt; &gt;  4 files changed, 46 insertions(+), 236 deletions(-)
&gt; &gt;  create mode 100644 Documentation/translations/zh_CN/riscv/features.rst
&gt; &gt;  delete mode 100644 Documentation/translations/zh_CN/riscv/pmu.rst

&gt; &gt;
&gt; &gt; --
&gt; &gt; 2.20.1
&gt; &gt; </[email protected]></[email protected]></[email protected]></[email protected]></[email protected]></[email protected]></[email protected]></[email protected]></[email protected]>

本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。
This email and its attachments contain confidential information from Loongson Technology , which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it.