Message ID | 20231117125807.1058477-1-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp505206vqn; Fri, 17 Nov 2023 04:58:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwkU/uSAOP8UjGLrmbLhjALlRkFMyfezpsnLYgNxtHLs3YN+N1B206m5T4ugNd4xg06q8i X-Received: by 2002:a17:902:f690:b0:1ce:63f2:e96f with SMTP id l16-20020a170902f69000b001ce63f2e96fmr450973plg.22.1700225908169; Fri, 17 Nov 2023 04:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700225908; cv=none; d=google.com; s=arc-20160816; b=NhSD9KY0H1xEbL05MxAgDupsdoOG8VD6SeI+OQj0NeJbOvUoibjPNrSQytGvlAo+gn bBDfJZINvXjm6xMco1eh2brsDDrPtAlgephKwNIHyJG4z13D5gDobfT6NR8A07dIIFyi Gux2fPEJ3EfCT8wwHU/IxL5oS75VXBFQEkGuaw/H8WS22qTLaojibz9uGEU/o/3eef2w kv0QDpdY3AcVh+KX5c6zTRFPOkFuJU1R2ZgyzqF8lS9JibD3AMe0xutfYyWOKcb04Laj JR0XpBF7euiTQJo6EYouTPe4UwQNaymB1FXsYl73IvBkoezCzz2NaEC3uYuV1tSQPP/9 nYxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eoj/NbcUABbRnZVWETyNDCo+uXGHUNAyss9zVVqWEtU=; fh=hgLCm/Y8NHdmEmc4VmlrfA93JDtWn0wUUP0uNnU6rCM=; b=Mr1wxlAsRVxC6ZxBBd/wobMQwezsadmQVDxrUpU4PQZR6ZjROnPpoj80ZDqUT4jBh7 KNWoDw9ByIQdjh4V+alE7ytpb2fiuJJYcb62iurp/raJFiqphdm2dA8A6SenqTX4G/Wo F6M+GeGVVrtaPz7l1PqUqU6Q+ujiLcuL8Vx67PSqmGs0e5s19Oymture9whJANaK29fM M83jENgYJJ+m6Zp8VPV4D4WlRUJCgY4vMdGDA+ua0tYkt/bktF8o0kJD/kFFLbHsPIdC JX6UtC7k2CjUJ0rtf7RDrvX0FMpf5dx6qWgkL6gN9gYJ2Q0A9cHUnxVpePydFeKL2YtC 4Rvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nJsYwnM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g4-20020a170902934400b001c9af06686dsi1742169plp.166.2023.11.17.04.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:58:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nJsYwnM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EE47B824299D; Fri, 17 Nov 2023 04:58:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345930AbjKQM6U (ORCPT <rfc822;jaysivo@gmail.com> + 30 others); Fri, 17 Nov 2023 07:58:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjKQM6U (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Nov 2023 07:58:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A71D56 for <linux-kernel@vger.kernel.org>; Fri, 17 Nov 2023 04:58:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B366AC433C7; Fri, 17 Nov 2023 12:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700225893; bh=4vLoS7Dg99+l1hsNwr7XqzGIdn2mfLkaWWkevVLZdC0=; h=From:To:Cc:Subject:Date:From; b=nJsYwnM19NZA3/abngyX+NI6XrCZmiSo3hPPOokeyAhcrpCG3T8hERDKegVlXdxjq Sf6jNUZSvoHRgwFef5s9Hsxg7Gz9PK6e0b3YJZq9DrBT84tQZ6vqBt7qj3SAxFfeaQ 5pmyPUw3EheWFYHgOFqmTvgJRRUupjCPIebsaksfRdy2AMx+7mBnaGoQNX1d3WiuaM /5y1omWc2vIa4jEpsx8HFet+iVg7FCRf74N8Ve1yjEZRY+EFwGpG7y8saB1Juv2k9F Y7XTkIDKYgz0uGrKHCxZK27asn6qAfhtlLEA8oBm1BQ7VrRJFeLkuYCyEP3a6zr4qV pfMmdyO9V6wsA== From: Masahiro Yamada <masahiroy@kernel.org> To: Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org> Subject: [PATCH] riscv: compat_vdso: install compat_vdso.so.dbg to /lib/modules/*/vdso/ Date: Fri, 17 Nov 2023 21:58:07 +0900 Message-Id: <20231117125807.1058477-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 17 Nov 2023 04:58:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782816081635796852 X-GMAIL-MSGID: 1782816081635796852 |
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
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 >
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
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)