Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp518064lqb; Wed, 17 Apr 2024 03:27:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsl82EMIlmTj7Z2d9gLMk/o+R3GfX7DjxCJ5xDGrQkJG7q/8vo9QSC6tcbTsSHtAaeXCdv3pn1GkDpmJESKacKyOISB6foCdVP0aaB2w== X-Google-Smtp-Source: AGHT+IENjY+VsBl24cvV1vXhTZGmwP16k6JOKP+hSiIqJA2b/sV0vC4BW1G/WeBEYbxsTwf2fWEv X-Received: by 2002:ac8:7fc4:0:b0:437:d3a:5a0b with SMTP id b4-20020ac87fc4000000b004370d3a5a0bmr8619565qtk.19.1713349663740; Wed, 17 Apr 2024 03:27:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713349663; cv=pass; d=google.com; s=arc-20160816; b=RpIdRQicvOzr72fLsmZ//TYNgUkzt8/4t0Od79P/c8HscajGpNoqpcVjOZ8O8DJj8q PG8O3BZl3cFto+XVAHx5SfSXJXmilg5MR/ossmAaNeXYqigEA252DWPJ/HWBZlku3KOV YDaeflLAQnzf43A2uUTehlf4XqgGlkvkFuPfgz1WQDc+Zznpp7F5eFFiGjEO8ybpc2rq 1NGRpOnMQBPSf5kfqDQH+eI9l9jyNjKE5Jdc+r4cgZYiojMQVn5JOSR0JxqlEuy198k0 auQRMm/RrjSEkQ/Y6BHsoqKgXRLUZUH34EwpXtYP5I6BjE8B5UX3VJE5logCGtVU0oj0 zseQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nq6xVZRSaqGLtwQpNTc3U4teBWNTuQAQUDY4QJfBMPs=; fh=jyFBAYlci7k+h1tW7FH4HANJGxRyPPH+6lKyXvUs/04=; b=YBJZU7CgHfwHdPSEBY7nhjxQmJnh38bcYcBPqO210J2Z1cRiP+cxeER6zukzJ/n0yB 1wSODVLr2kevwN6X/Mknb4CCheGojC2xuVe/G+Im2vfaiJJNC4eHWgyFa30+2zmampkf VdAW0h6Lk7pyNKhZM26EHUH00koVx3wmKn0oTvd5Hf5WerduZUx5OZmcjRkzQ+sb8DK/ rkQicft89o3D6BD54eztJWwimmtNjiCLd1ypYB4CQ2zImvu8FV/ELIwtXIwgBEia7MRQ Ros866J8k9YbHSSAYaIukz9D7ohMoRCWxg1Ji+YycbskFICvM94aIYCsIcCkfeY2cla/ FYZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DEFiqQxJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c2-20020ac87d82000000b00436f4d3dcbdsi7578834qtd.187.2024.04.17.03.27.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 03:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148319-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=@kernel.org header.s=k20201202 header.b=DEFiqQxJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 780FB1C21234 for ; Wed, 17 Apr 2024 10:27:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49F0913BAE5; Wed, 17 Apr 2024 10:27:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DEFiqQxJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6612C13B280; Wed, 17 Apr 2024 10:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349654; cv=none; b=E92uw+nj2Req4Q2Z8GClqKo4t++7slS1cu8EuZNQXhGZYFG5HoJjsfSBkYXZajyVDsdEi/hZdI6/wfWQqIM6La672V1FbMx1RoPPdfq15Gv0mYcab9lk4xL2ypm4xmT5geKwiNjYV4M9/NPxehWPkqLAovTD1rKSE+bfmrjBePw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349654; c=relaxed/simple; bh=Kn55+1luOn7/FcJIZC3jmFgE9ttr5he8xI+XlEEncLQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oMzLjF6hPq4/fzQrju7tHcYqmykNmWOyq0THK2kBgoDDOZFVwR14KPpktAmtY1ne5qDoI4PMQcjhSzw1gAHubRazUN2VelUUixe5SjK6p/zgS2KXM72WtB+aIpHE4WP7/uioXEXEsIpxrmE0Lwa6A2e20rAWUH+ePxOuKNt5JvE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DEFiqQxJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 700D2C072AA; Wed, 17 Apr 2024 10:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713349653; bh=Kn55+1luOn7/FcJIZC3jmFgE9ttr5he8xI+XlEEncLQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DEFiqQxJikBmYetX669hS5i6+49i3etN/k12je52FNMd3AEbvv6F/WNPUq4XpQdoH Pey9pRqtiFJ6ZxfPQ423YXzhUgKPNN3izpgUPmfhSH392RRB8V2FKSTFmIHWgO2YDI Sq617YCRsZmA0CIAvVcsIiUoP5kU0WivRAEhT+ltkgYR1Yee6GjwffBnzUIarIYMIK E6qzV1Hnmi+O1f/Kfgb/q5y9fprLgHc72diHQ5D2U0BubxRr+HHAGUqHFRkVP4etDR 26iQbeBlx0rNDDsiSS9E06RKRgp8VGfBsjSIy0CC0K2Pul/0wqDpMY2iFVuSYryWRk Peq5m7BlJk+Uw== Date: Wed, 17 Apr 2024 12:27:30 +0200 From: Frederic Weisbecker To: Alexander Gordeev , Ingo Molnar Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arch@vger.kernel.org, Nicholas Piggin , Michael Ellerman , Heiko Carstens , Vasily Gorbik Subject: Re: [PATCH v2 RESEND 0/5] sched/vtime: vtime.h headers cleanup Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Le Wed, Apr 10, 2024 at 05:09:43PM +0200, Alexander Gordeev a ?crit : > Hi All, > > There are no changes since the last post, just a re-send. > > v2: > - patch 4: commit message reworded (Heiko) > - patch 5: vtime.h is removed from Kbuild scripts (PowerPC only) (Heiko) > > v1: > Please find a small cleanup to vtime_task_switch() wiring. > I split it into smaller patches to allow separate PowerPC > vs s390 reviews. Otherwise patches 2+3 and 4+5 could have > been merged. > > I tested it on s390 and compile-tested it on 32- and 64-bit > PowerPC and few other major architectures only, but it is > only of concern for CONFIG_VIRT_CPU_ACCOUNTING_NATIVE-capable > ones (AFAICT). > > Thanks! It probably makes sense to apply the whole series to the scheduler tree. Does any powerpc or s390 maintainer oppose to that? Thanks. > > > Alexander Gordeev (5): > sched/vtime: remove confusing arch_vtime_task_switch() declaration > sched/vtime: get rid of generic vtime_task_switch() implementation > s390/vtime: remove unused __ARCH_HAS_VTIME_TASK_SWITCH leftover > s390/irq,nmi: include header directly > sched/vtime: do not include header > > arch/powerpc/include/asm/Kbuild | 1 - > arch/powerpc/include/asm/cputime.h | 13 ------------- > arch/powerpc/kernel/time.c | 22 ++++++++++++++++++++++ > arch/s390/include/asm/vtime.h | 2 -- > arch/s390/kernel/irq.c | 1 + > arch/s390/kernel/nmi.c | 1 + > include/asm-generic/vtime.h | 1 - > include/linux/vtime.h | 5 ----- > kernel/sched/cputime.c | 13 ------------- > 9 files changed, 24 insertions(+), 35 deletions(-) > delete mode 100644 include/asm-generic/vtime.h > > -- > 2.40.1 >