mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "tip-bot2 for Thomas Weißschuh" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: thomas.weissschuh@linutronix.de,
	Thomas Gleixner <tglx@linutronix.de>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/vdso] x86/vdso: Delete vvar.h
Date: Sat, 02 Nov 2024 11:50:18 -0000	[thread overview]
Message-ID: <173054821816.3137.8693865826445746958.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20241010-vdso-generic-base-v1-19-b64f0842d512@linutronix.de>

The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     05a6b8c190f00792d60243c89c7b487e2e50a8ef
Gitweb:        https://git.kernel.org/tip/05a6b8c190f00792d60243c89c7b487e2e50a8ef
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Thu, 10 Oct 2024 09:01:21 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
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ßschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-19-b64f0842d512@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

  parent reply	other threads:[~2024-11-02 11:50 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10  7:01 [PATCH 00/28] vdso: Preparations for generic data storage Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 01/28] csky/vdso: Remove gettimeofday() and friends from VDSO Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 02/28] csky/vdso: Remove arch_vma_name() Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 03/28] s390/vdso: Drop LBASE_VDSO Thomas Weißschuh
2024-10-10  7:54   ` Heiko Carstens
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 04/28] arm64: vdso: " Thomas Weißschuh
2024-10-28 18:01   ` Will Deacon
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 05/28] arm64: vdso: Use only one single vvar mapping Thomas Weißschuh
2024-10-28 18:39   ` Will Deacon
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 06/28] riscv: " Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 07/28] arm: vdso: Remove assembly for datapage access Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] ARM: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 08/28] LoongArch: vDSO: Use vdso/datapage.h to access vDSO data Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 09/28] MIPS: vdso: Avoid name conflict around "vdso_data" Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 10/28] x86/mm/mmap: Remove arch_vma_name() Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 11/28] x86: vdso: Use __arch_get_vdso_data() to access vdso data Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 12/28] x86: vdso: Place vdso_data at beginning of vvar page Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 13/28] x86: vdso: Access rng data from kernel without vvar Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 14/28] x86: vdso: Allocate vvar page from C code Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 15/28] x86: vdso: Access timens vdso data without vvar.h Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 16/28] x86: vdso: Access rng " Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 17/28] x86: vdso: Move the rng offset to vsyscall.h Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 18/28] x86: vdso: Access vdso data without vvar.h Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 19/28] x86: vdso: Delete vvar.h Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh [this message]
2024-10-10  7:01 ` [PATCH 20/28] x86: vdso: Split virtual clock pages into dedicated mapping Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] x86/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 21/28] powerpc: vdso: Remove offset comment from 32bit vdso_arch_data Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] powerpc/vdso: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 22/28] powerpc: procfs: Propagate error of remap_pfn_range() Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] powerpc/procfs: " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 23/28] powerpc/pseries/lparcfg: Fix printing of system_active_processors Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 24/28] powerpc/pseries/lparcfg: Use num_possible_cpus() for potential processors Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 25/28] powerpc: Add kconfig option for the systemcfg page Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 26/28] powerpc: Split systemcfg data out of vdso data page Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 27/28] powerpc: Split systemcfg struct definitions out from vdso Thomas Weißschuh
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2024-11-02 11:50   ` tip-bot2 for Thomas Weißschuh
2024-10-10  7:01 ` [PATCH 28/28] vdso: Rename struct arch_vdso_data to arch_vdso_time_data Thomas Weißschuh
2024-10-10  7:55   ` Heiko Carstens
2024-11-02 10:10   ` [tip: timers/vdso] " tip-bot2 for Nam Cao
2024-11-02 11:50   ` tip-bot2 for Nam Cao
2024-10-30 11:39 ` [PATCH 00/28] vdso: Preparations for generic data storage Thomas Gleixner
2024-11-05 14:04   ` Christophe Leroy
2024-11-06  7:06     ` Michael Ellerman
2024-12-11 22:33 ` patchwork-bot+linux-riscv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=173054821816.3137.8693865826445746958.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=thomas.weissschuh@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®