Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1957453rdb; Tue, 20 Feb 2024 12:07:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUW3pI9Q128kITAngC9GXGLPGNWUUxbBpSi62pE+FzbQ1s0pjqY9uvGnPU0vv1GMe0NxVFBDiFltwiEXxG2lbNcO+/ofQAlBbaV2ckfbA== X-Google-Smtp-Source: AGHT+IF92bMVLAmJyvXNquQMVfqsmDBAKeUKoLhFPNqIKQQN/6tKXvvwYoFRO3O9efPWCTU4mu2G X-Received: by 2002:a05:6a20:e92:b0:19f:8639:c24f with SMTP id fk18-20020a056a200e9200b0019f8639c24fmr14511956pzb.17.1708459625422; Tue, 20 Feb 2024 12:07:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708459625; cv=pass; d=google.com; s=arc-20160816; b=JJt/iXSqcCrsmj0jVnDpwOfJFQBelUybRoZPSc6WUyKA34C4TlVN1sZ+qPrqljdrw4 PH4bh3XQtufGc/29LGJq57Jx9ylJwPtnmBbcvW4m3D1CXDUgi92HD7y9fpsXtrqh69Qo fVP4ZY9enYDF1mb+NaaHzDpr73QloIvhVx4QiFQqh2z0eAyUv5NSM8ABFYLu/+LIcUMo vfKiDCFS/m1f3A9fEUrVAUgfLDDjk6wXFcQfeYl9Qn9g9E/S+/S7UyqpnIh4cZP8+SbB kSiSz+Ec+OE56TOk68YWGTZPp4dzRqtC3ms5EjKIr3atTi0cNCJ1RC+QdtLXXIF3T2ob KcAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=Ab00n/hJfDVM2zZBWZ3OQmrpMb9AWqR6Kl/il76L52I=; fh=a6/Psrb0bpVgvoChO1/Rb07f2AHm9CvbWp001nJ2HYs=; b=X5VBJ/bMT1Kl507l60leXhZWSG+Eeh715BSWdqx/ZBVLcKvSo2XHiyaZ/GEPSNO+om y1hx6RRarBX6Y/Phqx4XFhUSso/WMe7914+jqAHi98PxTBCY6Krm61kmL+wo8a44wz+N 75WhXcfla1q8TapU5MHF0Z1lNaGlGPpDMEMRC5m8X2PiFSW9Cvw5cqMDNgXVuOtz0g1Y buApdrjHJ7CAX1VFpPgZX+7HCxysvEtnZrsZSo03oWJr+UMfLPopRNQ9PJOEeJbajCBp Lgyjeb4Q0GWqAuOr/MmzfGy+BRZ4+3NQDwh5+aSnXwLPlZzIiqThR7ymD3r8XNfuuSWG cBwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=NLFcq9UY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=MGKzX5rC; 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-73643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id dq15-20020a056a020f8f00b005dc87fb54d3si6600858pgb.674.2024.02.20.12.07.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 12:07:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=NLFcq9UY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=MGKzX5rC; 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-73643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73643-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 66F79B21ABC for ; Tue, 20 Feb 2024 20:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B622A14C596; Tue, 20 Feb 2024 20:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NLFcq9UY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MGKzX5rC" 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 7628A14A0B5; Tue, 20 Feb 2024 20:04:29 +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=1708459470; cv=none; b=TAVcfL5HrM+xnB+hVhXxVZWKTdz6UZo8In3I5Ni1/C47ZQ+dxhlFW4dO0c+lCflYn43lu3bNHz4265vG0XcS1QySLRs3Nh5EZqDih/iscTLHKY5BAXCf4wj/uAWB6x6VrRLyz3tH+C3qaabQoxplrsbg82sNtB7chQH35DOpoz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708459470; c=relaxed/simple; bh=eGMWMOsbIiQk+1KzXbKkYShwvHFffjU2CoI4QKsgl44=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HK1S5Y4FkQdPvL2cY4V5AW9F+JDkPzqmW2uiwjtZ4ewnHiLLJxFAN3q94U8JsD4Bl7eQk2UrGddoEOIh36PBaNE9D7H4fFLJtknkHS6HN/akjgYuIsaJMqtAlj68D2t4E4wCzjiGVSKlcIylRX6TwFtty+FEvHB3gHIrT7VY4WQ= 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=NLFcq9UY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MGKzX5rC; 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 Date: Tue, 20 Feb 2024 20:04:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708459467; 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=Ab00n/hJfDVM2zZBWZ3OQmrpMb9AWqR6Kl/il76L52I=; b=NLFcq9UYmybYAzxggbeNN7VcRK16eu/QFDwQ9doCt7fH9kUV2/URQkGPhIU2cZ6Td2gWwU N4NbwAwZCxEhdMsbPhH6tht4is+X+EflFswEOA4GsO7RmqCAwg8FtrPV2jV5t/a65HzY/0 d5DQ94qAnbV8Y4Eb+yxNRrj5JHVfQuAIDTzph14TEcs9RpyOWcdcuGYjHgTD3ceYdMz1Ns 1Z76ScWAtyN4a6B4UMiA5DcTC5LEWm9xPcKvRFfU1bf4Sf5ksORW/CZo7fmOYl+AwQRPRw ce9jiN0g01ycQBoMGZdcbAnTVQFX/FHrJJJPo6gQFknAA5MsOQH3dZse7ckY/A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708459467; 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=Ab00n/hJfDVM2zZBWZ3OQmrpMb9AWqR6Kl/il76L52I=; b=MGKzX5rC1pFnSIo4KsvzL8GrEkbftgliTedMCCDG0SKbQDJ7WJtUK9PF2Fmrv9PqYyBuNr p3hqCcAE+6/27oCQ== From: "tip-bot2 for Anna-Maria Behnsen" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] LoongArch: vdso: Use generic union vdso_data_store Cc: "Anna-Maria Behnsen" , Thomas Gleixner , Vincenzo Frascino , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240219153939.75719-9-anna-maria@linutronix.de> References: <20240219153939.75719-9-anna-maria@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170845946697.398.15736945127304000905.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: 7bit The following commit has been merged into the timers/core branch of tip: Commit-ID: 8d87d2cd1d0136452d2afcd143e511ccad49018f Gitweb: https://git.kernel.org/tip/8d87d2cd1d0136452d2afcd143e511ccad49018f Author: Anna-Maria Behnsen AuthorDate: Mon, 19 Feb 2024 16:39:37 +01:00 Committer: Thomas Gleixner CommitterDate: Tue, 20 Feb 2024 20:56:00 +01:00 LoongArch: vdso: Use generic union vdso_data_store There is already a generic union definition for vdso_data_store in vdso datapage header. Use this definition to prevent code duplication. Signed-off-by: Anna-Maria Behnsen Signed-off-by: Thomas Gleixner Reviewed-by: Vincenzo Frascino Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20240219153939.75719-9-anna-maria@linutronix.de --- arch/loongarch/kernel/vdso.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/loongarch/kernel/vdso.c b/arch/loongarch/kernel/vdso.c index 14941e4..90dfccb 100644 --- a/arch/loongarch/kernel/vdso.c +++ b/arch/loongarch/kernel/vdso.c @@ -21,15 +21,13 @@ #include #include #include +#include #include extern char vdso_start[], vdso_end[]; /* Kernel-provided data used by the VDSO. */ -static union { - u8 page[PAGE_SIZE]; - struct vdso_data data[CS_BASES]; -} generic_vdso_data __page_aligned_data; +static union vdso_data_store generic_vdso_data __page_aligned_data; static union { u8 page[LOONGARCH_VDSO_DATA_SIZE];