Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp538708lqb; Thu, 14 Mar 2024 21:06:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbEliF7CTar41+1NR6CaVj30X0SpRE5G+kwxW8gVO8WOryze9kK+Y4oUW8tMBoWwLLoMC9UdTG+22d2jx605LtksT/fPY1lJ8wwQZnuA== X-Google-Smtp-Source: AGHT+IHjyPEPdhQXVipIels4U6rAOYbFk7dmBxfS6c3osJRdUhWFSyQ4e5Jc8UtOEBHVkv+XdY+X X-Received: by 2002:a05:6a20:2d29:b0:1a1:87c7:2d03 with SMTP id g41-20020a056a202d2900b001a187c72d03mr2769088pzl.33.1710475614424; Thu, 14 Mar 2024 21:06:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710475614; cv=pass; d=google.com; s=arc-20160816; b=LRExBWls1WxA/s55CXqBJMOQZOU6mGZqA920MWdFoXwcBHRVhR5XBF0h39aCnJ8cIq INVRSKKRei+abgwKgJOHNK/CButljsxZv/xnaO5gNaaYJG5f1/bfOaJ8D1j4LLZsY9uJ BDnIc3v371dwvQCn5W8bmE1DplPf4jdVOQNamkt0umRuw3hG1FCAWD+pWf1HAEMn7ryy LFE2A0H6CtIvcGQlyovpjEQbevVoPOi3+pXmRtf2KOmumx1bR8xZwFPlPofVY+jKf5Dt 1VsZG6cGdLU+QgaX4jhjAt+uvtTDjaHJ9x5IpvgBtcyBTif2Jbh/6yIRpFDn4OKmhGKL AFLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ZoRpCSxdSa3Ze7TfYMCpZ/euWflVHeg5pogECFkgkak=; fh=nWlNczX4jYGeefrlPwTHVVFOpuFbCuUq2oe8UYNJHwA=; b=fbKVMWbIu7JwFDXny9FSdiRKL6C+ZPjTMrxHSq7+Y7gbloNeuwR8Yj72D58w/VR7eN nmXLgmUImPGOhiI6wtNgK0Fv+LjbLXJv9o1dZkO3vKx1pL6pvGwO6nB9gVgGSEC+URuS /3dhmA/Fd8X8rBXsA+yapd7yQIfqC5gGh01BE3eIgyYb1Liteqj4HOqvE2OCXY+EBha3 tRhv29vh2IVF9JLodInbK3KKcYR4RheDskGRRa8QQIAULdUq/pjPyavpabPa1+Na5cwr Qe8Q7kBaHt/QUWILH3FKq+0TpKz3Ht4W00+s+osSYtL3TbVPVLGJcNDgt7whydqTEYv+ O7qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FdZuayU5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104042-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104042-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h15-20020a17090a604f00b0029be0bd1a91si1948877pjm.130.2024.03.14.21.06.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 21:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104042-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FdZuayU5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104042-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104042-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1B0D4282A5D for ; Fri, 15 Mar 2024 04:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9BA9101C3; Fri, 15 Mar 2024 04:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FdZuayU5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 128E6FBEF for ; Fri, 15 Mar 2024 04:06:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710475608; cv=none; b=sbI46B7oQpfVv5+lBEHd0uK0xYJRj657WcDMWIABmDW41DjuGUIbFMNbse+vJYTUogFqsrEm8gN0LdZAlEoJcVQ560yPTBBTL/Cshjrl1SY+lF87los5/QejvGqM/CBEz8+Ke+eSdWgpVAzKd43iLDk1/F2Ui35inMFhvGcGZ60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710475608; c=relaxed/simple; bh=aEszL1eYHuUQrRaWbEMqIqLr91Z5i2VPp0C2t0X6KIY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=TCmdOuVPMDk4niKL3zwGEUiyQtzdmJvGeshHZmJgVMqr0B0mpNmCSx4ZtrIRVg0BEMaTVijUViP0Sde8qIfqQbfxAF/XWUHzIqSm8OnolPHUtDfFvOp1S1x0m3jsnzUq2XoE3GfrtHaintpT6vlivHxiNSrcIQ/reJvvuh1wG10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FdZuayU5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CE1AC433C7 for ; Fri, 15 Mar 2024 04:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710475607; bh=aEszL1eYHuUQrRaWbEMqIqLr91Z5i2VPp0C2t0X6KIY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FdZuayU5mkzcBq/o+O+0IZyudM7OKwyweH0it1sejpPBugKMVqqri4q9bwe0MmHK0 XPpuDD35pQUqHdlIyT1iUm/b6FMWBtkh6MxbEZmbGqwidjLzrB6hihLLUZv0HR0FuO /TZktOdUbUxm2AeJhrtEzjwPxIqAQsncwJcNN6ZX1PMNnj4fP1sDwYV56kUVn9h9Os kC+v1AmuxkXnep0siUaQP9PkR4xD0Pc4j2RunHMJcyjBnf5svyeJAHqUVN+Oipiqfe MiUzDbz/tFcDeO23546JZBIvJF7gtU+fYK4pojYtKiKNn4pGW/Z3ws0Bw5nJDdtZVU ywXwN1vvsCCAA== Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d220e39907so23784081fa.1 for ; Thu, 14 Mar 2024 21:06:47 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXLwVouyVy1E4iJi8+W6Hz78rxadk1Fp4S3QTMqf8S4DRi0XkwAiXDa4RUUq28sHHEoyCY40g5gSItkgYUHqefVp7EbMGXKiq7PIBIt X-Gm-Message-State: AOJu0YyMY1fEgNvH74dCWudJBQ1QT5Sz+7RQT9bY4a8D7g081tyi5lwk EXrHZDACuwVsoe02pzfP95gVHoux0rnL+6ivQGsOO5xZ/8zw7fwuy4bGR98q+ghAqbsJxKMe0QI ifuD3RFDXt0DADueuK1iMGKsg/7M= X-Received: by 2002:a05:651c:615:b0:2d4:992:3cb0 with SMTP id k21-20020a05651c061500b002d409923cb0mr2093037lje.6.1710475606307; Thu, 14 Mar 2024 21:06:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231117125807.1058477-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Fri, 15 Mar 2024 13:06:09 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] riscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/ To: Alexandre Ghiti Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 7, 2024 at 5:12=E2=80=AFAM Alexandre Ghiti wrot= e: > > Hi Masahiro, > > On 24/02/2024 04:37, Masahiro Yamada wrote: > > Ping x 2 ? > > > > > > > > > > > > On Sun, Jan 21, 2024 at 6:48=E2=80=AFAM Masahiro Yamada wrote: > >> On Fri, Nov 17, 2023 at 9:58=E2=80=AFPM Masahiro Yamada wrote: > >>> 'make vdso_install' installs debug vdso files to /lib/modules/*/vdso/= . > >>> > >>> Only for the compat vdso on riscv, the installation destination diffe= rs; > >>> compat_vdso.so.dbg is installed to /lib/module/*/compat_vdso/. > >>> > >>> To follow the standard install destination and simplify the vdso_inst= all > >>> logic, change the install destination to standard /lib/modules/*/vdso= /. > >>> > >>> Signed-off-by: Masahiro Yamada > >>> --- > >> > >> 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 +=3D arch/riscv/kernel/vdso/vdso.so.= dbg > >>> -vdso-install-$(CONFIG_COMPAT) +=3D arch/riscv/kernel/compat_vdso/co= mpat_vdso.so.dbg:../compat_vdso/compat_vdso.so > >>> +vdso-install-$(CONFIG_COMPAT) +=3D arch/riscv/kernel/compat_vdso/co= mpat_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 > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv > > > Couldn't changing this library install path break some existing > application? I mean it kind of breaks where the library is expected to > be right? Do you have a particular library in mind? RISV-V is the only architecture that installs a debug vdso to a different location than the standard lib/modules/*/vdso/. I regard this as a fix. --=20 Best Regards Masahiro Yamada