Patch "riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     riscv-define-at_vector_size_arch-for-arch_dlinfo.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d50281e03365e4164294208396c5caaac53aa410
Author: Zong Li <zong.li@xxxxxxxxxx>
Date:   Mon Aug 31 15:33:49 2020 +0800

    riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
    
    [ Upstream commit b5fca7c55f9fbab5ad732c3bce00f31af6ba5cfa ]
    
    AT_VECTOR_SIZE_ARCH should be defined with the maximum number of
    NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined
    for RISC-V at all even though ARCH_DLINFO will contain one NEW_AUX_ENT
    for the VDSO address.
    
    Signed-off-by: Zong Li <zong.li@xxxxxxxxxx>
    Reviewed-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
    Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/riscv/include/uapi/asm/auxvec.h b/arch/riscv/include/uapi/asm/auxvec.h
index d86cb17bbabe6..22e0ae8884061 100644
--- a/arch/riscv/include/uapi/asm/auxvec.h
+++ b/arch/riscv/include/uapi/asm/auxvec.h
@@ -10,4 +10,7 @@
 /* vDSO location */
 #define AT_SYSINFO_EHDR 33
 
+/* entries in ARCH_DLINFO */
+#define AT_VECTOR_SIZE_ARCH	1
+
 #endif /* _UAPI_ASM_RISCV_AUXVEC_H */



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux