Update the size of auxv to respect the new constant added in e92f469b0771e6db9688a58c0e34a8342da6a6bc
PATCH 1/1 Update the size of auxv to respect the new constant added in e92f469b0771e6db9688a58c0e34a8342da6a6bc
From: Victor Isaev <[email protected]>
Commit e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv") has added a 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 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv")
--- arch/riscv/include/uapi/asm/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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#endif /* _UAPI_ASM_RISCV_AUXVEC_H */
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Hi Victor,
Quoted 24 lines · On 02/01/2024 14:36, [email protected] wrote:
From: Victor Isaev <[email protected]>
Commit
e92f469b0771("riscv: signal: Report signal frame size to userspace via auxv") has added a new constantAT_MINSIGSTKSZbut failed to increment the size of auxv, keepingAT_VECTOR_SIZE_ARCHat 9.
This fix correctly incrementsAT_VECTOR_SIZE_ARCHto 10, following the approach in the commit94b07c1f8c39("arm64: signal: Report signal frame size to userspace via auxv")Reported-by Ivan Komarov <[email protected]>Fixes e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv")Signed-off-by Victor Isaev <[email protected]>--- arch/riscv/include/uapi/asm/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/include/uapi/asm/auxvec.h +0
-0
arch/riscv/include/uapi/asm/auxvec.h line 40
Quoted 8 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#endif /* _UAPI_ASM_RISCV_AUXVEC_H */
So we discussed this patch in the last Patchwork meeting, and it needs to be merged as it is a valid fix. But, the subject is wrong and then the patch can't be merged as-is, can you respin another version with the following subject please:
riscv: Fix the number of arch-specific auxiliary vectors
Or something that best suits you. No pressure, but if you don't, I'll respin myself a new version keeping your SoB of course.
Last thing, you can add the following:
Thanks,
Alex
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 40 lines · Alexandre Ghiti
Hi Victor,
Quoted 24 lines · On 02/01/2024 14:36, [email protected] wrote:
From: Victor Isaev <[email protected]>
Commit
e92f469b0771("riscv: signal: Report signal frame size to userspace via auxv") has added a new constantAT_MINSIGSTKSZbut failed to increment the size of auxv, keepingAT_VECTOR_SIZE_ARCHat 9.
This fix correctly incrementsAT_VECTOR_SIZE_ARCHto 10, following the approach in the commit94b07c1f8c39("arm64: signal: Report signal frame size to userspace via auxv")Reported-by Ivan Komarov <[email protected]>Fixes e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv")Signed-off-by Victor Isaev <[email protected]>--- arch/riscv/include/uapi/asm/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/include/uapi/asm/auxvec.h +0
-0arch/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#endif /* _UAPI_ASM_RISCV_AUXVEC_H */ So we discussed this patch in the last Patchwork meeting, and it needs to be merged as it is a valid fix. But, the subject is wrong and then the patch can't be merged as-is, can you respin another version with the following subject please:
Quoted 4 lines
riscv: Fix the number of arch-specific auxiliary vectors
Or something that best suits you. No pressure, but if you don't, I'll respin myself a new version keeping your SoB of course.
I think what you missed in the Patchwork meeting is that Palmer manually fixed this up and it is on fixes:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?h=fixes&id=13dddf9319808badd2c1f5d7007b4e82838a648e
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Alexandre Ghiti
reviewerQuoted 40 lines · Conor Dooley
Quoted 39 lines · Alexandre Ghiti
Hi Victor,
Quoted 24 lines · On 02/01/2024 14:36, [email protected] wrote:
From: Victor Isaev <[email protected]>
Commit
e92f469b0771("riscv: signal: Report signal frame size to userspace via auxv") has added a new constantAT_MINSIGSTKSZbut failed to increment the size of auxv, keepingAT_VECTOR_SIZE_ARCHat 9.
This fix correctly incrementsAT_VECTOR_SIZE_ARCHto 10, following the approach in the commit94b07c1f8c39("arm64: signal: Report signal frame size to userspace via auxv")Reported-by Ivan Komarov <[email protected]>Fixes e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv")Signed-off-by Victor Isaev <[email protected]>--- arch/riscv/include/uapi/asm/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/include/uapi/asm/auxvec.h +0
-0arch/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#endif /* _UAPI_ASM_RISCV_AUXVEC_H */ So we discussed this patch in the last Patchwork meeting, and it needs to be merged as it is a valid fix. But, the subject is wrong and then the patch can't be merged as-is, can you respin another version with the following subject please:
Quoted 7 lines
Quoted 4 lines
riscv: Fix the number of arch-specific auxiliary vectors
Or something that best suits you. No pressure, but if you don't, I'll respin myself a new version keeping your SoB of course.
I think what you missed in the Patchwork meeting is that Palmer manually fixed this up and it is on fixes:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?h=fixes&id=13dddf9319808badd2c1f5d7007b4e82838a648e
Did not even cross my mind to check that the fixes branch had any update :)
Quoted 5 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv