Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp380950rdb; Thu, 22 Feb 2024 06:44:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWlqSyc7CfZpga1bc/X9KMrt7rAmqb//G2TQd4+HmF+KK/BJWBhBcSUQlwDKIKC98No5lp4ifr4xFl7CG/3q1JSEbFFm+ouYGyiKsq75w== X-Google-Smtp-Source: AGHT+IFJBFw+GNhu3qC0uzjjXDF2J85+Vl3bSjnHHjdsdi3fuygbrHbwE7rFMFdgzZeranADJ1Ha X-Received: by 2002:a05:6358:5614:b0:17b:5736:e7b5 with SMTP id b20-20020a056358561400b0017b5736e7b5mr6220380rwf.12.1708613047922; Thu, 22 Feb 2024 06:44:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708613047; cv=pass; d=google.com; s=arc-20160816; b=iwiETu3KSKFRhs/NXruiXWPvl95KG2JR8CbbY+L/mNmOMD4B0+cyoVS04JRSGb33hr 1STv7c33/6ydKsFmUxteqks7BXVDX+hyofabCd/26UvUWfOSyGVB3839Q+5HUSyuxzbp eIyaF3POHZ1wAbauNpvk5yedZclxKlJ9tgyiNxs1oBhcPDjZ1zlYlaPuF0i2rZRiaKxM v2cNYQy6TQmHdo89W8u56/6d8aLkypVtoM+hfrzae0MI8AZ55mzR1JBFoSeJo95rnpDX kgoJ0bn8jrNmauDebl+ok7ipYNQE8NA10hdI9Zwl3M97w0atLKcEtBFJ5GDG/yb1iQAa 31aw== 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 :from:dkim-signature; bh=SkW65BNKyUwWU0v4NRmdx4GQ+g+y60Q/zkRCnOS+nao=; fh=ArwnLsabrY/Oo5OZ0B4waZHM7b0QXa0WdI7cjGO5R/4=; b=B2/stiZQlck1GFo2U/u9eo+HWqnky4sXT4CcK1ytZSm81L0u2Q8la8xZKnaInU3te1 gHuijSMic19+AK719fKt2WvqLr5gmuM6HewmlyRHHqgaqwb2Q2EiGrXh51ef/UIU9nIA r7VrCl3qOn/lspGssWOZmF4LabPptZovBFQjEiQ0664zygM5YlS/6n7GoBwpjW3xUOxt ZTdYeT6pscKBMnQTFLWwrE2XpWh9kg5vi/C69uLRBONVpcrmzBEjhtGzTmR25828crBw OuYb3xoFzSyTcxgXGf4mLHVxX3+eBf6DKbKKc/ZoQXL93mkQkI9f9LwJv0wxmLtb9qUp WSmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=L+ll0oIH; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-76706-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e22-20020a656796000000b005dc4af11fedsi10383698pgr.887.2024.02.22.06.44.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 06:44:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76706-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=@ibm.com header.s=pp1 header.b=L+ll0oIH; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-76706-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A8932B24D0F for ; Thu, 22 Feb 2024 14:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EA6E1474B7; Thu, 22 Feb 2024 14:34:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="L+ll0oIH" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 DFBB536B15; Thu, 22 Feb 2024 14:34:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708612447; cv=none; b=rh0jgHnsg0dI9bhgjBrytaLz0lOvQikTUvIkILbW3KIdf8MKhAr8kybwingXxTYLJs0FRH6/b9ToSnoTqLeMgjHfDrp7Qeh4LYwemwhiqB/nVSlpAZJq6BAGpm+o2Knn4RgWirjJNvDNcwOJyIPyEheKi4001+HYp6FXgx5+auY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708612447; c=relaxed/simple; bh=63VvWHOsb5SrifL0YqM2vYk9CJsCWqhAbpQiJetgKlE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Zg3Xs0Awk1FTOP9fA2WBGrn8je8AKdXwELL8+kQkc7KBGUocB1P2raIBjaRs8p7li9PTqoYkcfHZvYEdjW06dx/YuTf7VqO6p0yEL8L2IIj3+2YbvkVtWQExupAwnLfzN9Z0UTwKz6RW2kMmnupKcnfoBezaJz2G7Ui14/dbzyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=L+ll0oIH; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41MEWA6j003869; Thu, 22 Feb 2024 14:33:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=SkW65BNKyUwWU0v4NRmdx4GQ+g+y60Q/zkRCnOS+nao=; b=L+ll0oIHN8Fy8iRxekw2HYocJVIYABKEhQFts/oAuPeMSaXsmRD4Nik1Ieoeusvwtbct firLHP+HVI2FCJGohUXX95AMhZLVFb/Mhbjxj1LSz4DvxBecqlSEYPgGK7oTsGxg1GDs Al1gra91CMUT+fbpMPD7nOPyIKBRy6Z4mvw6tQ4Awo42Ub4Ah5rvrcF5LnHiW9Xym0oB Z7z70pEG5dId/j76uVF9RM6IUs82Yx+1Rc3OMu/XwnmQPcjfYNrgqXd+HQQEBavLGcdq xY7TfHJoJlSqODdso4fZlPwVE1kRYMrlSdZ5Osr350basP5+gIl1zG0h3Akt1gxM823K dA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3we845g256-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:33:49 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41MEWR4k004668; Thu, 22 Feb 2024 14:33:49 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3we845g23u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:33:49 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41ME5wbp013470; Thu, 22 Feb 2024 14:33:48 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3wb7h0pys2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:33:47 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41MEXgAJ14746164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Feb 2024 14:33:44 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 273A820043; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 15F532004E; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTPS; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55669) id D3921E0294; Thu, 22 Feb 2024 15:33:41 +0100 (CET) From: Alexander Gordeev To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Frederic Weisbecker Subject: [PATCH v2 RESEND 0/5] sched/vtime: vtime.h headers cleanup Date: Thu, 22 Feb 2024 15:33:36 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: DWilcBPorEPdwtnR0sFiGCPVISGjb0bZ X-Proofpoint-GUID: 9Lzv7XImVzxe76IoKrsKYYXS1zqCGiN- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_11,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 mlxlogscore=772 suspectscore=0 adultscore=0 impostorscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402220116 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! 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