|
From: openocd-gerrit <ope...@us...> - 2025-11-12 20:52:58
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 12ab80ab45183ad0eafcf59c43eda229ec1c7b94 (commit)
from 68b0f7bdff8a20f3280b47e28b5215a5ae2522b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 12ab80ab45183ad0eafcf59c43eda229ec1c7b94
Author: Parshintsev Anatoly <ana...@sy...>
Date: Fri Aug 15 22:46:56 2025 +0300
target/riscv: fix SV57 translation for kernel address space
Fixes address translation for SV57 addresses.
See [1] for details.
Link: https://github.com/riscv-collab/riscv-openocd/pull/1285 [1]
Change-Id: I53f7062f16c0b9e8595f38c07810b2dbc300980b
Signed-off-by: Parshintsev Anatoly <ana...@sy...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9187
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
Reviewed-by: Tomas Vanek <va...@fb...>
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c
index d6b5804a6..8054a1c9b 100644
--- a/src/target/riscv/riscv.c
+++ b/src/target/riscv/riscv.c
@@ -274,7 +274,7 @@ static const virt2phys_info_t sv57 = {
.pte_ppn_shift = {10, 19, 28, 37, 46},
.pte_ppn_mask = {0x1ff, 0x1ff, 0x1ff, 0x1ff, 0xff},
.pa_ppn_shift = {12, 21, 30, 39, 48},
- .pa_ppn_mask = {0x1ff, 0x1ff, 0x1ff, 0x1ff, 0xff},
+ .pa_ppn_mask = {0x1ff, 0x1ff, 0x1ff, 0x1ff, 0x1ff},
};
static const virt2phys_info_t sv57x4 = {
-----------------------------------------------------------------------
Summary of changes:
src/target/riscv/riscv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|