From nobody Mon Apr 6 15:52:21 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 602D933121F for ; Wed, 18 Mar 2026 21:03:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773867822; cv=none; b=a7B5A6HdeFTQIM8+dSz+JCYntUB82KOpiAWWmycmRHs5Qj00O5q9D6+jTTehEgkZ8GLbEJ3T569D+gBE49UqGRbowAHY3NYcx8BmD0PccTkdlsexCbMpM5dxevBXfEHWZf30Xy0vRw4+QuW2GY9VG94f21/1rjEThxWNFrzWEvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773867822; c=relaxed/simple; bh=dfv/eQEp0mKrAhy6LpvP3IrZBed3OBDXNU823nBuSO8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=erxRA8J978Dg8gC5/dmNsxbpmymJ37hgtqHuILaL2ogDC1iCKGhXNaZnBZaGR+33+FWQt1hBGvyz1lM6Eb607tj2y9UX/kWPFvH2CjUGS7fa14NNFd/s7pdk1sQ7fLZIgMHkhlNpuSrNy21+dejpe6UnmNujoYGXYAHdE/cGPxs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=lANBJ9Cl; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="lANBJ9Cl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1773867818; bh=dfv/eQEp0mKrAhy6LpvP3IrZBed3OBDXNU823nBuSO8=; h=From:Date:Subject:To:Cc:From; b=lANBJ9ClLmfYvye1IvxnFclFgDmFKlVTDsmUjyjwmiVSpJBFB6w3fxAfJwWZTFmzi gjPY3RC2CiE1y42NEpKhq5TjEAsG4sRrMJ88MXmTkR8G+d024OYxEiN+njfw81dEKh RsknVzs8iJ/rKP6XH5lcbP7vWY8a/IhhUuM4RhV4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 18 Mar 2026 22:03:26 +0100 Subject: [PATCH] x86/um: fix vDSO installation Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260318-um-vdso-install-v1-1-26a4ca5c4210@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/x3MTQqAIBBA4avErBvQhP6uEi0kxxooC6ckiO6et PwW7z0gFJkE+uKBSImF95ChywKmxYaZkF02VKqqldEtXhsmJztykNOuKyrTkGq98502kKsjkuf 7Pw7j+374qV73YQAAAA== X-Change-ID: 20260318-um-vdso-install-037e08fdf913 To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773867817; l=1573; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=dfv/eQEp0mKrAhy6LpvP3IrZBed3OBDXNU823nBuSO8=; b=uHRZUwnETo1aGDc/MLYWeRufxaYvrzBgggbPKIENCMyYp7qlU2TqMsb30QQRVFqbdDsW1x7lS xmrhUYTSA3kDASJRubjYM+4a68tS4rkwSqyWuDcepViYyqOo4X6PBc0 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= 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=C3=9Fschuh --- Not sure about the Fixes: tag. This seems to have never worked before for all kinds of reasons. --- 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 c86cbd9cbba3..19c13afa474e 100644 --- a/arch/x86/Makefile.um +++ b/arch/x86/Makefile.um @@ -60,4 +60,6 @@ ELF_FORMAT :=3D elf64-x86-64 LINK-$(CONFIG_LD_SCRIPT_DYN_RPATH) +=3D -Wl,-rpath,/lib64 LINK-y +=3D -m64 =20 +vdso-install-y +=3D arch/x86/um/vdso/vdso.so.dbg + endif diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 8a7c8b37cb6e..7664cbedbe30 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -3,8 +3,6 @@ # Building vDSO images for x86. # =20 -vdso-install-y +=3D vdso.so - # files to link into the vdso vobjs-y :=3D vdso-note.o um_vdso.o =20 --- base-commit: 3429028f9eb355654d81e02c22903e77075a4e8e change-id: 20260318-um-vdso-install-037e08fdf913 Best regards, --=20 Thomas Wei=C3=9Fschuh