Skip to contentSkip to conversation

RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ

PATCH In review Victor Isaev 2 participants 2 messages Dec 16, 2023 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ

"riscv: signal: Report signal frame size to userspace via auxv" (e92f469) has added new constant AT_MINSIGSTKSZ but failed to increment the size of auxv, keeping AT_VECTOR_SIZE_ARCH at 9.
This fix correctly increments AT_VECTOR_SIZE_ARCH to 10, following the approach in the commit 94b07c1 ("arm64: signal: Report signal frame size to userspace via auxv").

---
 a/arch/riscv/include/uapi/asm/auxvec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/uapi/asm/auxvec.h +1 -1
index 10aaa83db89e..95050ebe9ad0 100644
@@ -34,7 +34,7 @@
 #define AT_L3_CACHEGEOMETRY    47
 
 /* entries in ARCH_DLINFO */
-#define AT_VECTOR_SIZE_ARCH    9
+#define AT_VECTOR_SIZE_ARCH    10
 #define AT_MINSIGSTKSZ         51
 
 #endif /* _UAPI_ASM_RISCV_AUXVEC_H */

---

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

#1 lore raw

Hey,

A few process issues here unfortunately.

Quoted 6 lines · Victor Isaev

"riscv: signal: Report signal frame size to userspace via auxv" (e92f469) has added new constant AT_MINSIGSTKSZ but failed to increment the size of auxv, keeping AT_VECTOR_SIZE_ARCH at 9.
This fix correctly increments AT_VECTOR_SIZE_ARCH to 10, following the approach in the commit 94b07c1 ("arm64: signal: Report signal frame size to userspace via auxv").

Both of your references to commits do not use the correct style, that
checkpatch would have told you about:
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv")' #97:
approach in the commit 94b07c1 ("arm64: signal: Report signal frame size
to userspace via auxv").

Also, you should add a Fixes: tag for the first commit you mention here since it is the source of the bug.

Quoted 9 lines
---
 a/arch/riscv/include/uapi/asm/auxvec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/uapi/asm/auxvec.h +0 -0
index 10aaa83db89e..95050ebe9ad0 100644

arch/riscv/include/uapi/asm/auxvec.h line 38

Quoted 6 lines
arch/riscv/include/uapi/asm/auxvec.h +1 -1
@@ -34,7 +34,7 @@
 #define AT_L3_CACHEGEOMETRY    47
 
 /* entries in ARCH_DLINFO */
-#define AT_VECTOR_SIZE_ARCH    9
+#define AT_VECTOR_SIZE_ARCH    10
 #define AT_MINSIGSTKSZ         51

This patch is corrupted with tabs changed to spaces and cannot be applied.

Quoted 6 lines
arch/riscv/include/uapi/asm/auxvec.h +0 -1
 #endif /* _UAPI_ASM_RISCV_AUXVEC_H */
---

This needs to be in the commit message, before the --- line. Also, you are missing a from header in your message that needs to be added when the sending email does not match the one that has been attributed authorship.

Quoted 1 line

What was Ivan's contribution to the patch?

Cheers,
Conor

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