* [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO [not found] <20201027000415.1026364-1-sashal@kernel.org> @ 2020-10-27 0:03 ` Sasha Levin 2020-11-06 5:26 ` Palmer Dabbelt 0 siblings, 1 reply; 2+ messages in thread From: Sasha Levin @ 2020-10-27 0:03 UTC (permalink / raw) To: linux-kernel, stable Cc: Pekka Enberg, Sasha Levin, linux-riscv, Palmer Dabbelt, Zong Li From: Zong Li <zong.li@sifive.com> [ 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@sifive.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Reviewed-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Sasha Levin <sashal@kernel.org> --- arch/riscv/include/uapi/asm/auxvec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/include/uapi/asm/auxvec.h b/arch/riscv/include/uapi/asm/auxvec.h index 1376515547cda..ed7bf7c7add5f 100644 --- a/arch/riscv/include/uapi/asm/auxvec.h +++ b/arch/riscv/include/uapi/asm/auxvec.h @@ -21,4 +21,7 @@ /* vDSO location */ #define AT_SYSINFO_EHDR 33 +/* entries in ARCH_DLINFO */ +#define AT_VECTOR_SIZE_ARCH 1 + #endif /* _UAPI_ASM_RISCV_AUXVEC_H */ -- 2.25.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO 2020-10-27 0:03 ` [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Sasha Levin @ 2020-11-06 5:26 ` Palmer Dabbelt 0 siblings, 0 replies; 2+ messages in thread From: Palmer Dabbelt @ 2020-11-06 5:26 UTC (permalink / raw) To: sashal; +Cc: sashal, linux-kernel, stable, penberg, zong.li, linux-riscv On Mon, 26 Oct 2020 17:03:43 PDT (-0700), sashal@kernel.org wrote: > From: Zong Li <zong.li@sifive.com> > > [ 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@sifive.com> > Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> > Reviewed-by: Pekka Enberg <penberg@kernel.org> > Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> > Signed-off-by: Sasha Levin <sashal@kernel.org> > --- > arch/riscv/include/uapi/asm/auxvec.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/riscv/include/uapi/asm/auxvec.h b/arch/riscv/include/uapi/asm/auxvec.h > index 1376515547cda..ed7bf7c7add5f 100644 > --- a/arch/riscv/include/uapi/asm/auxvec.h > +++ b/arch/riscv/include/uapi/asm/auxvec.h > @@ -21,4 +21,7 @@ > /* vDSO location */ > #define AT_SYSINFO_EHDR 33 > > +/* entries in ARCH_DLINFO */ > +#define AT_VECTOR_SIZE_ARCH 1 > + > #endif /* _UAPI_ASM_RISCV_AUXVEC_H */ Thanks. This should have been Fixes: 2129a235c098 ("RISC-V: ELF and module implementation") which is essentially all the way back to the beginning. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-06 5:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20201027000415.1026364-1-sashal@kernel.org>
2020-10-27 0:03 ` [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Sasha Levin
2020-11-06 5:26 ` Palmer Dabbelt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox