* [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout
@ 2021-09-12 15:51 Leo Yu-Chi Liang
2021-09-13 15:57 ` Alexandre ghiti
0 siblings, 1 reply; 3+ messages in thread
From: Leo Yu-Chi Liang @ 2021-09-12 15:51 UTC (permalink / raw)
To: corbet, alex, linux-kernel, linux-doc, linux-doc-tw-discuss
Cc: ycliang, ycliang
From: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
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.
Signed-off-by: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
---
Documentation/riscv/vm-layout.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/riscv/vm-layout.rst b/Documentation/riscv/vm-layout.rst
index b7f98930d38d..2525cf0d6794 100644
--- a/Documentation/riscv/vm-layout.rst
+++ b/Documentation/riscv/vm-layout.rst
@@ -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
__________________|____________|__________________|_________|____________________________________________________________
|
|
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout
2021-09-12 15:51 [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout Leo Yu-Chi Liang
@ 2021-09-13 15:57 ` Alexandre ghiti
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre ghiti @ 2021-09-13 15:57 UTC (permalink / raw)
To: Leo Yu-Chi Liang, corbet, linux-kernel, linux-doc,
linux-doc-tw-discuss, linux-riscv
Cc: ycliang
(+cc linux-riscv)
On 9/12/21 5:51 PM, Leo Yu-Chi Liang wrote:
> From: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
>
> 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.
>
> Signed-off-by: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
> ---
> Documentation/riscv/vm-layout.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/riscv/vm-layout.rst b/Documentation/riscv/vm-layout.rst
> index b7f98930d38d..2525cf0d6794 100644
> --- a/Documentation/riscv/vm-layout.rst
> +++ b/Documentation/riscv/vm-layout.rst
> @@ -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:
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Thanks again,
Alex
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout
@ 2021-09-13 15:57 ` Alexandre ghiti
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre ghiti @ 2021-09-13 15:57 UTC (permalink / raw)
To: Leo Yu-Chi Liang, corbet, linux-kernel, linux-doc,
linux-doc-tw-discuss, linux-riscv
Cc: ycliang
(+cc linux-riscv)
On 9/12/21 5:51 PM, Leo Yu-Chi Liang wrote:
> From: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
>
> 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.
>
> Signed-off-by: Leo Yu-Chi Liang <ycliang@cs.nctu.edu.tw>
> ---
> Documentation/riscv/vm-layout.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/riscv/vm-layout.rst b/Documentation/riscv/vm-layout.rst
> index b7f98930d38d..2525cf0d6794 100644
> --- a/Documentation/riscv/vm-layout.rst
> +++ b/Documentation/riscv/vm-layout.rst
> @@ -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:
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Thanks again,
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-13 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 15:51 [PATCH 1/2] doc: Fix typo in Documentation/riscv/vm-layout Leo Yu-Chi Liang
2021-09-13 15:57 ` Alexandre ghiti
2021-09-13 15:57 ` Alexandre ghiti
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.