From nobody Tue Apr 7 23:43:43 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 38BE83F32AE; Wed, 11 Mar 2026 09:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773221518; cv=none; b=CYmhf173SyjQF1eVxDWstvuP0kZ/sthBAOhVWyZPJjabICqzzKrtGsjDwaKqrySx4ZOr8QkK7MrOkE1NiHdAp/oeA2xefAZOt//FlqnVzJIolqxII2jhJjtRN4BdG9A06BY27THvLM/W8CqtaniP40YMiKndS6hilvXqEwElk8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773221518; c=relaxed/simple; bh=hgmUjzpg9riZjY5AYDuwFDOcudcKYxj8dl3/U1pFI/w=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=FuAYXqPh67XJNykGcwIl/aNVM48Q7pKZGFMuLUPuJAjTWP9wQrufPr9yN/EVbJpAZkqu4BK7f7tibeNodV1oJQorUKu7eycVn4dgJ53spkfHUvUSBppWjFbj4vsoJTF3ylvRA2jTNdKujlrsubPLCQkAhCifc3LFtO0ReX8Iw4I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PcEncvAZ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=rj50d/Bm; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PcEncvAZ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rj50d/Bm" Date: Wed, 11 Mar 2026 09:31:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773221515; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WkH71DMo//jfxdVdQ93BZFU/kEhdah3ICpWYg/I2UMo=; b=PcEncvAZgLT+ivIluPyA6gFRs8oFSiK83fGB9K8Zl2GfuXhu9F6QzmzoJPpmRn0Wm2Q2xD Q+/batGuRlwpczTwtyhxe8GH8ZpDOnKGRr6BG1cNJVgyNql4M88Wx5e0SsrRp7FPz8v0NS clQ8iVfj0yCu9vjWkRzXJ7LBe7UulmJjg7Vzy2VBdHYrgTf2/T6f6dbxqnchvIXfDURcYx NkbBc2T6tnNGhUW/ibpLl9R+pEs/II6BB0aYpGm+BVqQGhC65jjT3Wpe7bP26EAK61ipt8 xv5Z2Y7jdNprdc/CP0prJ5VFY+hyWR1O6m2uT9wdf97z7bMRFgfx9LuWSL2RSw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773221515; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WkH71DMo//jfxdVdQ93BZFU/kEhdah3ICpWYg/I2UMo=; b=rj50d/BmN74JptfuGzLdL/gv1Np330BKE+YOdnMV9vPKlpJ5sMwOPJbxatj0t/eBbRfetI ryUqhh+I5NlEUICw== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] x86/vdso: Use 32-bit CHECKFLAGS for compat vDSO Cc: Sun Jian , kernel test robot , Dan Carpenter , thomas.weissschuh@linutronix.de, Thomas Gleixner , Arnd Bergmann , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260302-vdso-compat-checkflags-v2-1-78e55baa58ba@linutronix.de> References: <20260302-vdso-compat-checkflags-v2-1-78e55baa58ba@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177322151468.1647592.8313380451791779336.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/vdso branch of tip: Commit-ID: 56f85f67b3e20b105fa23bf97bfc8b6d5cdbbef0 Gitweb: https://git.kernel.org/tip/56f85f67b3e20b105fa23bf97bfc8b6d5= cdbbef0 Author: Thomas Wei=C3=9Fschuh AuthorDate: Mon, 02 Mar 2026 08:58:37 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 11 Mar 2026 10:15:42 +01:00 x86/vdso: Use 32-bit CHECKFLAGS for compat vDSO When building the compat vDSO the CHECKFLAGS from the 64-bit kernel are used. These are combined with the 32-bit CFLAGS. This confuses sparse, producing false-positive warnings or potentially missing real issues. Manually override the CHECKFLAGS for the compat vDSO with the correct 32-bit configuration. Reported-by: Sun Jian Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Acked-by: Arnd Bergmann Link: https://patch.msgid.link/20260302-vdso-compat-checkflags-v2-1-78e55ba= a58ba@linutronix.de Closes: https://lore.kernel.org/lkml/20260114084529.1676356-1-sun.jian.kdev= @gmail.com/ Closes: https://lore.kernel.org/lkml/20260117215542.342638347@kernel.org/ Closes: https://lore.kernel.org/r/202602111941.PIhubgrb-lkp@intel.com/ --- arch/x86/entry/vdso/vdso32/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/entry/vdso/vdso32/Makefile b/arch/x86/entry/vdso/vdso= 32/Makefile index add6afb..ded4fc6 100644 --- a/arch/x86/entry/vdso/vdso32/Makefile +++ b/arch/x86/entry/vdso/vdso32/Makefile @@ -15,6 +15,10 @@ flags-y :=3D -DBUILD_VDSO32 -m32 -mregparm=3D0 flags-$(CONFIG_X86_64) +=3D -include $(src)/fake_32bit_build.h flags-remove-y :=3D -m64 =20 +# Checker flags +CHECKFLAGS :=3D $(subst -m64,-m32,$(CHECKFLAGS)) +CHECKFLAGS :=3D $(subst -D__x86_64__,-D__i386__,$(CHECKFLAGS)) + # The location of this include matters! include $(src)/../common/Makefile.include =20