Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1776599rdb; Tue, 20 Feb 2024 06:48:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+Pc6kt0S+XP3+ACZNiBczZb4RSjplgbOjtCEydwTBSLJx6egJWFvT3icwWGutCzpipIZjKB3knuhYU9yDL4BBlUiXjHFBrA/pypahNg== X-Google-Smtp-Source: AGHT+IESIOHCRtSnVS/o78cMcrHxEeK6aY/ULaQWD4IyPb97xkPry9/8E6uPff1+kRSDuYtHEG/s X-Received: by 2002:a17:906:3cb:b0:a3f:1f79:e17d with SMTP id c11-20020a17090603cb00b00a3f1f79e17dmr260340eja.30.1708440525168; Tue, 20 Feb 2024 06:48:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708440525; cv=pass; d=google.com; s=arc-20160816; b=P14FdME7Yk7WPipz/2scE6ytYmdwSc/QsjUT+Bt+QvNSFhnG3asaXuexA0gUw25lj9 7qaJesPwvMxMEe/LQOe0pTahvzodDNTxHeSDOokG7bgOle0LhMNHM86quagHf7RCYMBf RCiMyCXwAyRoiUzH9xyEHFXX8Hvws82zAD5cPO09pqyqHbS+tlXAg/R2s2rpbk/jnp9q R0frFPXKVFPwpzKzBNKOvUKyXg99pK24wcBCCY8XtN2SwKd/Ey+5eqJQaQ0JMA0eqHsd F4uFrWu/H+rBJsbhfscceWoKKr79wkB6V+mkOq8gipKOm6x5odoEfCerOQY7xj6TaUnO JUhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=9+zlCd6n82Lohr2JHCrOTJOuUGjE0zYUG7mi4yM6IaI=; fh=/RdJ8A1KuOfMkEpHYBIeXKlD6uIIEW1coKNh1I6i7Os=; b=bX2iuv/QDVvVrCwVluk6rgm2cxDlHphiyUqd4fe5OmrZu+SAQUJWCXgqzXz97mfftH 9Iw3X/WONoJslnyoilb9cXXk1RN5eCmTqxG8if7TLLT57jeQ/WghfL+SjYZEy6ZCs1aF +6nzr8eF7ENdbaWxgL0YPgLMnvAgQrfmT9Ar95qBVZIJ0toOj2a+oRk9iO7o2qhPuOKK 18AMhtTA+nqNiaCjlYxr6JyWAoWUuduHeP4+Sw+H42Lkh7rUG3l5gtQDCht3Di3DnwZK DQi7qFpJTJp1YSW1FjRHvmosVhYSarnS3hgXLMJjeQUWlswEqpAoq0+rmb8xtGZiiOZ3 PYPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-73194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kk9-20020a170907766900b00a3eaf4a1edesi1733844ejc.211.2024.02.20.06.48.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 06:48:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-73194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id E6CBA1F250AD for ; Tue, 20 Feb 2024 14:48:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA4A76D1B8; Tue, 20 Feb 2024 14:48:40 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EEF36BB38 for ; Tue, 20 Feb 2024 14:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708440520; cv=none; b=Xk216TnlzeS0yeJBpKiHyuKN2cdDUXUt6M0VqUSH0qqDlp8XagAfM1j3/FrCWCRIfImYEwJsDjkjbioThuZLRBOxbO+g0UFtg6LenG7Du5rcWDgj0aZTwuD7wC7spbCz5MXJDH9PcJOpvc14J8FdLaI7zUJVu/1yu05JS/L9mkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708440520; c=relaxed/simple; bh=XN9YZw6gqiGlmKU+T7UoDdupQ3CvU5WcIwPaA9Hk8Sw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tlE6IbGkhGf+MNd8loh79CdfKX+ph3K86znZVpQWFZgaWdPeoeFVVecm9W3stTd81fRTwo8Zub1cUAQFGWrrXT14+WJBvbcIlSdODkGY5kYJJb50AhOeXB6k1H04Fa3ZZQGD9/uTJZ48/dEAesi/egNIDrayhIwJZz/j1a7Jz/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7E896FEC; Tue, 20 Feb 2024 06:49:15 -0800 (PST) Received: from [10.1.196.72] (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DD30B3F73F; Tue, 20 Feb 2024 06:48:35 -0800 (PST) Message-ID: Date: Tue, 20 Feb 2024 14:48:34 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/10] vdso: Misc cleanups and prevent code duplication To: Anna-Maria Behnsen , linux-kernel@vger.kernel.org Cc: Andy Lutomirski , Thomas Gleixner References: <20240219153939.75719-1-anna-maria@linutronix.de> Content-Language: en-US From: Vincenzo Frascino In-Reply-To: <20240219153939.75719-1-anna-maria@linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/02/2024 15:39, Anna-Maria Behnsen wrote: > 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 > > Really good cleanup. Thank you for this. Reviewed-by: Vincenzo Frascino > 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 > -- Regards, Vincenzo