Skip to contentSkip to conversation

doc: Fix typo in Documentation/riscv/vm-layout

PATCH In review Leo Yu-Chi Liang 2 participants 2 messages Sep 12, 2021 – Sep 13, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 doc: Fix typo in Documentation/riscv/vm-layout

From: Leo Yu-Chi Liang <[email protected]>

Fix a typo of the End Addr field for direct mapping section.

The value 0xffffffff7fffffff - 0xffffffe000000000 is 126 GB and is not equal to value in the size field.

Update the value to make sense of the memory layout table.

---
 Documentation/riscv/vm-layout.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/riscv/vm-layout.rst +1 -1
index b7f98930d38d..2525cf0d6794 100644
@@ -52,7 +52,7 @@ RISC-V Linux Kernel SV39
    ffffffceff000000 | -196    GB | ffffffceffffffff |   16 MB | PCI io
    ffffffcf00000000 | -196    GB | ffffffcfffffffff |    4 GB | vmemmap
    ffffffd000000000 | -192    GB | ffffffdfffffffff |   64 GB | vmalloc/ioremap space
-   ffffffe000000000 | -128    GB | ffffffff7fffffff |  124 GB | direct mapping of all physical memory
+   ffffffe000000000 | -128    GB | fffffffeffffffff |  124 GB | direct mapping of all physical memory
   __________________|____________|__________________|_________|____________________________________________________________
                                                               |
                                                               |
Signature · 1 line
2.25.1
reviewer Reviewed-by on v1 1/2
#1 lore raw

(+cc linux-riscv)

Quoted 19 lines · Leo Yu-Chi Liang

From: Leo Yu-Chi Liang <[email protected]>

Fix a typo of the End Addr field for direct mapping section.

The value 0xffffffff7fffffff - 0xffffffe000000000 is 126 GB and is not equal to value in the size field.

Update the value to make sense of the memory layout table.

---
 Documentation/riscv/vm-layout.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/riscv/vm-layout.rst +0 -0
index b7f98930d38d..2525cf0d6794 100644

Documentation/riscv/vm-layout.rst RISC-V Linux Kernel SV39 · line 58

Quoted 8 lines
Documentation/riscv/vm-layout.rst +1 -1
@@ -52,7 +52,7 @@ RISC-V Linux Kernel SV39
    ffffffceff000000 | -196    GB | ffffffceffffffff |   16 MB | PCI io
    ffffffcf00000000 | -196    GB | ffffffcfffffffff |    4 GB | vmemmap
    ffffffd000000000 | -192    GB | ffffffdfffffffff |   64 GB | vmalloc/ioremap space
-   ffffffe000000000 | -128    GB | ffffffff7fffffff |  124 GB | direct mapping of all physical memory
+   ffffffe000000000 | -128    GB | fffffffeffffffff |  124 GB | direct mapping of all physical memory
   __________________|____________|__________________|_________|____________________________________________________________
                                                               |
                                                               |

You're right, thanks for catching this, you can add:

Thanks again,

Alex

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv