From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3BA7C3ED5C5; Wed, 20 May 2026 16:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296243; cv=none; b=tPH+c3Gcs3LCVzWTzfV8sfsKHH7vf/aN09TLD+wqhgrTWdlSsY1jyGf+s5/kB50KjL9UHtScrLcn2ttUCtTOoHf645lb3kor/5lAzwxpG385Fzk2c1VhmngmCit1XaxJG7akHMh/cP4Q8NelxrIjXVsEM5xGNSd/1zrpkTiCpyA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296243; c=relaxed/simple; bh=bbj0Lv3ym0lQVKUBado6majT/KqKHwABVi3E5cD/efk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bAzfLU2vonG/VvTtzXfEWVNOSDWjHUxi8/wQL26BM3vZKzE8tOCTxpAxFN+jsvJcWx3mjKBe6rE8nLBW3YCalLme6ei0gl3I4ZmWnFRaKj4kG9z/Aij3L02gcjY31QO6yz0gXGoEhKROtzp6ILVJiye8EUlyF1ErGrSD4dZuxAU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o9zyY/IA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="o9zyY/IA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99BA41F000E9; Wed, 20 May 2026 16:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779296242; bh=8PU+8avh1XnwlTNNIKYUHItERGgSFFBYeTvpIPGktG4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=o9zyY/IACapNSJE8PBleg1cL4jsx+Mxr2E0+3v7ebMm1ngHqZ4M7TjkNeYafaKetN 1k1E5VHq0EkNeFGcYudB1eC+TQ01PxytqNgn8O9L2Uj18Ccypi3vmWPSc6TSDHUi+N sbE0lr6XS/saG7gWUFoyl16OOVgqq2r0E3SADTiA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Johannes Berg , Sasha Levin Subject: [PATCH 7.0 0724/1146] x86/um: fix vDSO installation Date: Wed, 20 May 2026 18:16:14 +0200 Message-ID: <20260520162204.588899682@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Weißschuh [ Upstream commit d1895c15fc7d90a615bc8c455feb02acaf08ef1e ] The generic vDSO installation logic used by 'make vdso_install' requires that $(vdso-install-y) is defined by the top-level architecture Makefile and that it contains a path relative to the root of the tree. For UML neither of these is satisfied. Move the definition of $(vdso-install-y) to a place which is included by the arch/um/Makefile and use the full relative path. Fixes: f1c2bb8b9964 ("um: implement a x86_64 vDSO") Signed-off-by: Thomas Weißschuh Link: https://patch.msgid.link/20260318-um-vdso-install-v1-1-26a4ca5c4210@weissschuh.net Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- arch/x86/Makefile.um | 2 ++ arch/x86/um/vdso/Makefile | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Makefile.um b/arch/x86/Makefile.um index c86cbd9cbba38..19c13afa474e9 100644 --- a/arch/x86/Makefile.um +++ b/arch/x86/Makefile.um @@ -60,4 +60,6 @@ ELF_FORMAT := elf64-x86-64 LINK-$(CONFIG_LD_SCRIPT_DYN_RPATH) += -Wl,-rpath,/lib64 LINK-y += -m64 +vdso-install-y += arch/x86/um/vdso/vdso.so.dbg + endif diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 8a7c8b37cb6eb..7664cbedbe30f 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -3,8 +3,6 @@ # Building vDSO images for x86. # -vdso-install-y += vdso.so - # files to link into the vdso vobjs-y := vdso-note.o um_vdso.o -- 2.53.0