Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1209792rdb; Mon, 19 Feb 2024 07:40:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZrFoBkzIEMVFqB5Fowk/Zj20tSCZPY8f7MAO3LxH9Hlqm+4EQLZ75I7T5rsN1urHTD4cUMGt75MIYsAbwnkw/42r30umDeYI2jN7VMg== X-Google-Smtp-Source: AGHT+IEL1vEkU/JSjN+srPgtaw+8BD8OkpjfNYuHMIrmeji1aVGks2ye835gGx6XgS4edem+NEfq X-Received: by 2002:a05:6214:242e:b0:68f:6137:9449 with SMTP id gy14-20020a056214242e00b0068f61379449mr4263259qvb.55.1708357250290; Mon, 19 Feb 2024 07:40:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708357250; cv=pass; d=google.com; s=arc-20160816; b=ktPoECVhZwxqE1Uqfyslujd3uKOWbPxF+QtwAhskal0gcXnUL10Y0s4FCTaqq52TgT BG7Y3I0sFDYoNH+3+j7LOvwkFN9vuDZaDakdW0SR69/WuKBpoR833fwiY6z9ZlmKVcLU tp8SdFtjmBerJVqOq5PGTEoatwjWIMzZVAe8+3sSUfytArfZ5IL9gzxDFFNRn2xnYhIh WcQ7KInsUBrwx4Beg95+3yHhDRv+iXKh1RML16ZmIo5uO3IM/sbNRnlDRsDitd0XI/eq CRpgeCWnfakJe8gGRtB93JflwW0+TMXLZKRblZvK8X+hb2R4TUxvGZUv0BEgphwGGnuF 3+tQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :dkim-signature:dkim-signature:from; bh=YgcJpPFNarJHeRkyGaRjyPHvVYb0xflkH2hUr0RoxxY=; fh=7nx5oR7euHLtaDcHkbIp35ocMFmibozVif+FdERjWO8=; b=Qk5Ll7EEpb3BIVpVjiV566AowBxQXa1CBqBb+uNH0+oxFhhEolK7qGh4ggnwnBjmh2 rG3VxiUkmuLi3SD55IOGgEng8Y7LYUpQN1QJ69qemCfueWu/HbCIC3/nAgft3N/bYzD8 j2MggHqs5vKmPftA4h+jq1jwT6zgwxaFdTgnt98rBySb7RCp3JxwbXtrILiylSjSURSR 6KdpiQZg6BvxFYLXhWr6pgEhskSID2quVZYFnZ178SHmqyrNw2EMX9WHIzSG7ev1Sqy3 H1qT3xYw1giZE/qcwzxnNn/dLe5vZ0bKJldYI4PAKyu98hMKSJqgyr9R3OKPs5Mn1D5j BWgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d2qxBNZR; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=owSaFPn1; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71595-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fn1-20020ad45d61000000b0068f52b36cf8si4777733qvb.304.2024.02.19.07.40.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 07:40:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71595-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d2qxBNZR; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=owSaFPn1; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71595-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 40E5A1C2296B for ; Mon, 19 Feb 2024 15:40:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A7D538DEA; Mon, 19 Feb 2024 15:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="d2qxBNZR"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="owSaFPn1" 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 5F84B3A260 for ; Mon, 19 Feb 2024 15:40:05 +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=1708357206; cv=none; b=P59n4ZlIc76v/epdKU2cSce5sN/3iNVklM1grCQNYzkXfbsxWGD2p5DkO7q/+7jV7wdtAi6NE+jNw4MohFmv4E0EWnsyQnIWEa+hqnjJLRg00ZVBTK3UM3J8TfV0XjLv6BHJpyvOOYWvYPTnLSOHnNrdHHMPI5tWyHroyl62hpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708357206; c=relaxed/simple; bh=AO+vzYiD2Z4LI7zbbqGTvVCPcLgWaBuHm2pmC2aRI4w=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=duynUCBrBeUrTJX3kRbYAFhXKhBRvdv4QCXiU+jx3c0Nz2xPzpNDGW85G1SHq20ieHtEU7ZDXN0h/4HkIS9aaj8Kts9tLwU4h2/FZQoFRYzZTfsIt9OiHRHQMoYOA44ZQKJYYIyj/fctwvwRYNt1LEsjRRPBPH6Faz07HokzS2U= 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=d2qxBNZR; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=owSaFPn1; 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 From: Anna-Maria Behnsen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708357203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YgcJpPFNarJHeRkyGaRjyPHvVYb0xflkH2hUr0RoxxY=; b=d2qxBNZR5IFb2I4xtkO+ICSJgjOP6jKiTvleSapkUlA7WZzuoU3SaMg0XADjvzLjQhTbV/ JJXOdvF10nioLLMTCllU5KlR8G7gjqPz5T39VuplCHH2sS5pnme3o0APjUhX0F7K84xRMg dTMyjG3Is6pbjC5LSlHXR+2DoUZlrFch6OgSyGvRbMw9kBJqGu2uDyMP8oE1LSJNApG0MD QgbFK619YAwU4aiGeWCygnN5yEs9hVBwasdiqo3R/8jg84q99++WLs4QCou9avyEdFe8PL ddUapHsIQpuV8SIhhQXFa8xtQvKzK6k+oRpnN8XP56N52qyQVR8RtQ0WPouBug== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708357203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YgcJpPFNarJHeRkyGaRjyPHvVYb0xflkH2hUr0RoxxY=; b=owSaFPn1YQNNI1zsdryCykTkOwg1YMTQWBbhcCt0fgUEyXEk4M5RHhI7eUj1I+KTEH4v7t R14esfeOOPG4YaBA== To: linux-kernel@vger.kernel.org Cc: Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Anna-Maria Behnsen Subject: [PATCH 00/10] vdso: Misc cleanups and prevent code duplication Date: Mon, 19 Feb 2024 16:39:29 +0100 Message-Id: <20240219153939.75719-1-anna-maria@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, the vdso related cleanup queue contains two parts: - Patch 1-3: Misc cleanups related to a comment, a superfluous header include and ifdeffery - Patch 4-10: The union vdso_data_store is defined in seven architectures. Make this union available in a generic vdso header file to prevent code duplication and fix the architectures one by one to use the generic vdso_data_store. Thanks, Anna-Maria Anna-Maria Behnsen (10): vdso/helpers: Fix grammar in comments s390/vdso/data: Drop unnecessary header include csky/vdso: Remove superfluous ifdeffery vdso/arm: make union vdso_data_store available for all arm64/vdso: Use generic union vdso_data_store riscv/vdso: Use generic union vdso_data_store s390/vdso: Use generic union vdso_data_store loongarch/vdso: Use generic union vdso_data_store mips/vdso: Use generic union vdso_data_store csky/vdso: Use generic union vdso_data_store arch/arm/include/asm/elf.h | 1 - arch/arm/include/asm/vdso_datapage.h | 26 -------------------------- arch/arm/kernel/asm-offsets.c | 4 +++- arch/arm/kernel/vdso.c | 4 ---- arch/arm64/kernel/vdso.c | 5 +---- arch/csky/include/asm/vdso.h | 5 ----- arch/csky/kernel/vdso.c | 14 ++------------ arch/loongarch/kernel/vdso.c | 6 ++---- arch/mips/include/asm/vdso.h | 5 ----- arch/mips/kernel/vdso.c | 2 +- arch/riscv/kernel/vdso.c | 8 +------- arch/s390/include/asm/vdso/data.h | 1 - arch/s390/kernel/vdso.c | 5 +---- include/vdso/datapage.h | 10 ++++++++++ include/vdso/helpers.h | 8 ++++---- 15 files changed, 25 insertions(+), 79 deletions(-) delete mode 100644 arch/arm/include/asm/vdso_datapage.h -- 2.39.2