riscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/

Message ID 20231117125807.1058477-1-masahiroy@kernel.org
State New
Headers
Series riscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/ |

Commit Message

Masahiro Yamada Nov. 17, 2023, 12:58 p.m. UTC
  'make vdso_install' installs debug vdso files to /lib/modules/*/vdso/.

Only for the compat vdso on riscv, the installation destination differs;
compat_vdso.so.dbg is installed to /lib/module/*/compat_vdso/.

To follow the standard install destination and simplify the vdso_install
logic, change the install destination to standard /lib/modules/*/vdso/.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/riscv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Masahiro Yamada Jan. 20, 2024, 9:48 p.m. UTC | #1
On Fri, Nov 17, 2023 at 9:58 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> 'make vdso_install' installs debug vdso files to /lib/modules/*/vdso/.
>
> Only for the compat vdso on riscv, the installation destination differs;
> compat_vdso.so.dbg is installed to /lib/module/*/compat_vdso/.
>
> To follow the standard install destination and simplify the vdso_install
> logic, change the install destination to standard /lib/modules/*/vdso/.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---


Ping?
(in case "yet more RISC-V updates" happens)




>
>  arch/riscv/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
> index a74be78678eb..5cbe596345c1 100644
> --- a/arch/riscv/Makefile
> +++ b/arch/riscv/Makefile
> @@ -146,7 +146,7 @@ endif
>  endif
>
>  vdso-install-y                 += arch/riscv/kernel/vdso/vdso.so.dbg
> -vdso-install-$(CONFIG_COMPAT)  += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg:../compat_vdso/compat_vdso.so
> +vdso-install-$(CONFIG_COMPAT)  += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg
>
>  ifneq ($(CONFIG_XIP_KERNEL),y)
>  ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_ARCH_CANAAN),yy)
> --
> 2.40.1
>
  
Masahiro Yamada Feb. 24, 2024, 3:37 a.m. UTC | #2
Ping x 2 ?





On Sun, Jan 21, 2024 at 6:48 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> On Fri, Nov 17, 2023 at 9:58 PM Masahiro Yamada <masahiroy@kernelorg> wrote:
> >
> > 'make vdso_install' installs debug vdso files to /lib/modules/*/vdso/.
> >
> > Only for the compat vdso on riscv, the installation destination differs;
> > compat_vdso.so.dbg is installed to /lib/module/*/compat_vdso/.
> >
> > To follow the standard install destination and simplify the vdso_install
> > logic, change the install destination to standard /lib/modules/*/vdso/.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> > ---
>
>
> Ping?
> (in case "yet more RISC-V updates" happens)
>
>
>
>
> >
> >  arch/riscv/Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
> > index a74be78678eb..5cbe596345c1 100644
> > --- a/arch/riscv/Makefile
> > +++ b/arch/riscv/Makefile
> > @@ -146,7 +146,7 @@ endif
> >  endif
> >
> >  vdso-install-y                 += arch/riscv/kernel/vdso/vdso.so.dbg
> > -vdso-install-$(CONFIG_COMPAT)  += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg:../compat_vdso/compat_vdso.so
> > +vdso-install-$(CONFIG_COMPAT)  += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg
> >
> >  ifneq ($(CONFIG_XIP_KERNEL),y)
> >  ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_ARCH_CANAAN),yy)
> > --
> > 2.40.1
> >
>
>
> --
> Best Regards
> Masahiro Yamada



--
Best Regards
Masahiro Yamada
  

Patch

diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index a74be78678eb..5cbe596345c1 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -146,7 +146,7 @@  endif
 endif
 
 vdso-install-y			+= arch/riscv/kernel/vdso/vdso.so.dbg
-vdso-install-$(CONFIG_COMPAT)	+= arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg:../compat_vdso/compat_vdso.so
+vdso-install-$(CONFIG_COMPAT)	+= arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg
 
 ifneq ($(CONFIG_XIP_KERNEL),y)
 ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_ARCH_CANAAN),yy)