From nobody Sun Nov 24 18:46:49 2024 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 7B71418C324; Sat, 2 Nov 2024 11:50:20 +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=1730548222; cv=none; b=dK7S/PNwrQxMEf87mPulzmllft0ovwF8yRPJRdli4ICjsdtqs/LeBT9YE5Oyi1lrdJTZ0COpzeyTMwi//a9je4Li1smbwwJfZtWk/v/jpg1SH90KTLzNs0GFzzv8x6Luumm3tNwgm3IsneEpgutc5UxPAg6j+N02R9QJDDvqodc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730548222; c=relaxed/simple; bh=6jH9syxreofoNzN9mIB1pivwn9LjQj5YiLTO1IqUJsA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HARGhQi3s+XqBxLzddzGiy4JoibdGZ2TtejC3i+x87BqA4rL/YhE3lzEmyJGb6vuEpk8UO9nw3DuGJJK39RO4pzetx48s4qn64qhvLmnshG8sGa3NNbBTqoftJx8LyyrJdPy3MrhMq3sAo6H8lUrxhKpMWGPmcZLIr2qyAwiiKQ= 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=aUOLPLpv; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=kzW1nQIo; 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="aUOLPLpv"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="kzW1nQIo" Date: Sat, 02 Nov 2024 11:50:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1730548219; 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=XIMe84N2hFMgEVaC/Z3PRN1DaaiascIB+wpsP3nc+LU=; b=aUOLPLpvDkb0QJWlE5vdNkKzyuKhdUMzF7IuM4Nd89M+uQyDJ1yJdnK4wWEPDBsVMKrcJq N0eqBeNJY6ncZBo/apXxfV8CtPQ7vqOdyVHUnhxKGPhvt6bIr/eSAVPIvio8zF/I3/fiTM n4GsCvU75DL1CH0li/xNyTBkDARbYATf76rQDaNCB5hnSOym/P5emgrLIHJCsjpRxK4Im1 kXXXgzNzgwKZjbht2aGkh4OxHT4SEnk8GJ2nGf3QyNqYXheHU5GV6K8UsMuIZCYPR5JOsJ NQNuztbBzok5mVyHGKSBUYSaij7fHKy8YSgNkrKVdi4BJS4WbLfu9rILgBADBQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1730548219; 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=XIMe84N2hFMgEVaC/Z3PRN1DaaiascIB+wpsP3nc+LU=; b=kzW1nQIoJ4UB8QqLp78o5ld7RoGJI48GAk4ZPOETvAyECW5aHj7f4VYWVziNwB9eMvvGDM gqlW1q5HuYpnDoDQ== 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: Delete vvar.h Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20241010-vdso-generic-base-v1-19-b64f0842d512@linutronix.de> References: <20241010-vdso-generic-base-v1-19-b64f0842d512@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <173054821816.3137.8693865826445746958.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: 05a6b8c190f00792d60243c89c7b487e2e50a8ef Gitweb: https://git.kernel.org/tip/05a6b8c190f00792d60243c89c7b487e2= e50a8ef Author: Thomas Wei=C3=9Fschuh AuthorDate: Thu, 10 Oct 2024 09:01:21 +02:00 Committer: Thomas Gleixner CommitterDate: Sat, 02 Nov 2024 12:37:35 +01:00 x86/vdso: Delete vvar.h All users have been removed. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-19-b64f0842= d512@linutronix.de --- arch/x86/include/asm/vvar.h | 66 +------------------------------------ 1 file changed, 66 deletions(-) delete mode 100644 arch/x86/include/asm/vvar.h diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h deleted file mode 100644 index d95cf92..0000000 --- a/arch/x86/include/asm/vvar.h +++ /dev/null @@ -1,66 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * vvar.h: Shared vDSO/kernel variable declarations - * Copyright (c) 2011 Andy Lutomirski - * - * A handful of variables are accessible (read-only) from userspace - * code in the vsyscall page and the vdso. They are declared here. - * Some other file must define them with DEFINE_VVAR. - * - * In normal kernel code, they are used like any other variable. - * In user code, they are accessed through the VVAR macro. - * - * These variables live in a page of kernel data that has an extra RO - * mapping for userspace. Each variable needs a unique offset within - * that page; specify that offset with the DECLARE_VVAR macro. (If - * you mess up, the linker will catch it.) - */ - -#ifndef _ASM_X86_VVAR_H -#define _ASM_X86_VVAR_H - -#ifdef EMIT_VVAR -/* - * EMIT_VVAR() is used by the kernel linker script to put vvars in the - * right place. Also, it's used by kernel code to import offsets values. - */ -#define DECLARE_VVAR(offset, type, name) \ - EMIT_VVAR(name, offset) -#define DECLARE_VVAR_SINGLE(offset, type, name) \ - EMIT_VVAR(name, offset) - -#else - -extern char __vvar_page; - -#define DECLARE_VVAR(offset, type, name) \ - extern type vvar_ ## name[CS_BASES] \ - __attribute__((visibility("hidden"))); \ - extern type timens_ ## name[CS_BASES] \ - __attribute__((visibility("hidden"))); \ - -#define DECLARE_VVAR_SINGLE(offset, type, name) \ - extern type vvar_ ## name \ - __attribute__((visibility("hidden"))); \ - -#define VVAR(name) (vvar_ ## name) -#define TIMENS(name) (timens_ ## name) - -#define DEFINE_VVAR(type, name) \ - type name[CS_BASES] \ - __attribute__((section(".vvar_" #name), aligned(16))) __visible - -#define DEFINE_VVAR_SINGLE(type, name) \ - type name \ - __attribute__((section(".vvar_" #name), aligned(16))) __visible - -#endif - -/* DECLARE_VVAR(offset, type, name) */ - -DECLARE_VVAR(0, struct vdso_data, _vdso_data) - -#undef DECLARE_VVAR -#undef DECLARE_VVAR_SINGLE - -#endif