Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp490228rdb; Fri, 17 Nov 2023 04:58:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOJqnFKFOX9vrQJimmvRXQfTzNBcLy9FvE0GcHQhIyNeaoiJmlse5qoo+HxOyoUdkhUr1w X-Received: by 2002:a05:6a20:e11d:b0:187:f7ac:b8d5 with SMTP id kr29-20020a056a20e11d00b00187f7acb8d5mr3172759pzb.25.1700225904135; Fri, 17 Nov 2023 04:58:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700225904; cv=none; d=google.com; s=arc-20160816; b=Q+gW6Ve7mBv6yyizlOmr+t5bBzDUN2Cee30EoAWD3r4is5lqQSdn7UASgCsi0Z/6nS KGz2mTHy72pShORs58qER5QfjsIXF3h1BT3b34xIdoaRQ4JrX/7yRRVFlwcAxGJb77pH Q2rUhiaofddQeKzl8LJmlTCsjfyw0OVqiFkWlbrsksJOPgPvPmkhM2gk7d/WVElXJ9Gk uwD2z16jwPbyByBsJCpPveNgMCkk68QQd2M8P9AnG+1MnIwCEEZmGQHzsViJA6/R/MKB I511uV2me9KdshrWFeIKABKbVq/5mfE0mYKt/ut1v4qvb5glfWW2EWRnz5WyLO1amR4Y seTQ== 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 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x5-20020a1709028ec500b001c46467a211si1714823plo.193.2023.11.17.04.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:58:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; 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 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id C123480615D0; Fri, 17 Nov 2023 04:58:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345899AbjKQM6U (ORCPT + 99 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 ); 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 ; 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 To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 04:58:23 -0800 (PST) '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 --- 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