All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
@ 2020-06-23  8:02 Zong Li
  2020-07-07  9:32   ` Zong Li
  0 siblings, 1 reply; 3+ messages in thread
From: Zong Li @ 2020-06-23  8:02 UTC (permalink / raw)
  To: paul.walmsley, palmer, linux-riscv, linux-kernel; +Cc: Zong Li

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>
---
 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 d86cb17bbabe..22e0ae888406 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 */
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
  2020-06-23  8:02 [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Zong Li
@ 2020-07-07  9:32   ` Zong Li
  0 siblings, 0 replies; 3+ messages in thread
From: Zong Li @ 2020-07-07  9:32 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, linux-riscv,
	linux-kernel@vger.kernel.org List

On Tue, Jun 23, 2020 at 4:02 PM Zong Li <zong.li@sifive.com> wrote:
>
> 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>
> ---
>  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 d86cb17bbabe..22e0ae888406 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 */
> --
> 2.27.0
>

Hi all,

I put this patch into other patch series. Please ignore this single one. Thanks.
http://lists.infradead.org/pipermail/linux-riscv/2020-July/000882.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
@ 2020-07-07  9:32   ` Zong Li
  0 siblings, 0 replies; 3+ messages in thread
From: Zong Li @ 2020-07-07  9:32 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, linux-riscv,
	linux-kernel@vger.kernel.org List

On Tue, Jun 23, 2020 at 4:02 PM Zong Li <zong.li@sifive.com> wrote:
>
> 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>
> ---
>  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 d86cb17bbabe..22e0ae888406 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 */
> --
> 2.27.0
>

Hi all,

I put this patch into other patch series. Please ignore this single one. Thanks.
http://lists.infradead.org/pipermail/linux-riscv/2020-July/000882.html

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-07  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  8:02 [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Zong Li
2020-07-07  9:32 ` Zong Li
2020-07-07  9:32   ` Zong Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.