Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3734320rwr; Sat, 29 Apr 2023 13:15:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Dqar15XcI3FtfesxFh9zqmazGfDAU2tPXlZTdXsfm1FMcq78R0a+GtxD2H9RAsMPAhXCw X-Received: by 2002:a17:90a:1a07:b0:242:d8e6:7b68 with SMTP id 7-20020a17090a1a0700b00242d8e67b68mr6050432pjk.1.1682799338378; Sat, 29 Apr 2023 13:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682799338; cv=none; d=google.com; s=arc-20160816; b=XcslBcPKTtNhEEg++5Ty1azo5LkZtS9EuUCRQJT3HQDjKMweDhQ2BsQ+ntE6jiXi8E oVVQCNwOTUbBhSgcn5YYZbCZ2qYWsm2Fjr7Yv6cJJVPe+HcT+LPw0ZkO//eYsFbIZ6K7 ZA7jsuUCiskXJ8D/IJJVAvAy3nkER/CqGFAGJoXsNczaiTecZEfXXzgQWxGz8s3HRvLi XATpnAU0VPTw/qRYoAK5pmlEYEPSNayDL1q6lmw1BkVO4Z05pWyabNWZtmJMDospWCrA bl8RbXQHhoilNpwC76dylxZjtoRt3b5fP5dyCTRE/D2uOH8t9lbscuCVl6QUSLpl+Vgt kgQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=EvNXrGU7f9AyBgQxPAxIH8w5LQ2sGDY5VhYCeQmIsvg=; b=o5oEH4NAW89G1//vI37e44GpRmGdeqfnNnCNS0W8vPbAWa3vJFvkYBfxnmvlL5R6qd 1jFfRFjGsiIS0R3mNMpWVgKbzNmkwHsi78t5wH86+fL2y9e81BjQ+vldHZgtnOBLeqx+ qqVIenkCZ1DubxraLkTRXLfrqerTSKM48kczQKh95RlSjFdBG9b0eHOD+4mT0bBo7PyL rxPMzebH+qnSbqHsrZ8QJFFrCCy3wPREx+0ci43/PM3dDT7F3saQQXFrf7bvRLgAdL/m gng8lenH8QGazsMfZeJUFtEyS0O6m6D+QlcDRib5h2ZTXeaq9EjadMvJ73P4ACOY6Qjw 7CZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=ztXNyujP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0050bebc3e35bsi19048292pgq.766.2023.04.29.13.15.25; Sat, 29 Apr 2023 13:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b=ztXNyujP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjD2UOa (ORCPT + 99 others); Sat, 29 Apr 2023 16:14:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjD2UO2 (ORCPT ); Sat, 29 Apr 2023 16:14:28 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53A741B4 for ; Sat, 29 Apr 2023 13:14:25 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-24b29812c42so856784a91.0 for ; Sat, 29 Apr 2023 13:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1682799264; x=1685391264; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=EvNXrGU7f9AyBgQxPAxIH8w5LQ2sGDY5VhYCeQmIsvg=; b=ztXNyujPGJ3TImj9rkWYO2n2FifWKitTQShNykqcCXMnlMDmDVUdGDZxkkAjoc2LxT wjlkNuWu5MpGZ0hx2IY/BfGicm00cVl+x8sMPYhvJYOTMhGVFNRcq+t2+IhK1Zbg1HBm TwPyb5IfXHXgdYm4kQQJO8mCutMWnoA0MAQG1HObQV2DkWdvKA82EPwFFy15NEoVvzDJ YaFLlQv2/hnRBo+Kg2l+LFcBMREq5GVfs5levwZlW+i9w9qFVpvKUrXtIKJRJqUd1KUC DRDHp5Z7Fs9kgbXLfeVSACxaLJ8vDKqbLXNf+pwsIg4BCZFLNo8FmqNy+hScbEds+O2l SL9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682799264; x=1685391264; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EvNXrGU7f9AyBgQxPAxIH8w5LQ2sGDY5VhYCeQmIsvg=; b=cQ/3o4ojpMj4NV+yxM3D246Ebnt7aD7XTcRS2vfXJp51Ukt6RujXVh55FjI+lhC5U1 HVuWdXMmhYTFgNKcnmzcjJKaUEyMx0LR99m/Xm14faLSb7/OkqXTjU+3L/X/nCZbYtxd ueEk67+R9RtnkENKTdkDTzZ/X+FqLxKa/kIZFbdov2VRa2bYpcYf0MwcmHwn1QFRzUcP hvJSwVv0GuTCgyKV4C4HiecOWuM3aQSyq3yqAY0WNoTpdT1FCIA9KLUlIYNCVbsM/46Z /xuonZOTY3TubFY/Cxrc6hZ+HFIjEWjB3n9YC2+u3WXsTCnAru0BwCcBWWwyPGdnKZtB cv8g== X-Gm-Message-State: AC+VfDzhKCHrueG+Ta2ylhKxAJHEnVEVyzQ0PDqUJELFc3oKWrlKcENu QTtPXGar1kZ7YeJkALZwM5br5Q== X-Received: by 2002:a17:902:ef45:b0:1a6:dd9a:62c5 with SMTP id e5-20020a170902ef4500b001a6dd9a62c5mr8875345plx.10.1682799264493; Sat, 29 Apr 2023 13:14:24 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id g2-20020a170902740200b001a4f7325466sm15179442pll.276.2023.04.29.13.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Apr 2023 13:14:23 -0700 (PDT) Date: Sat, 29 Apr 2023 13:14:23 -0700 (PDT) X-Google-Original-Date: Sat, 29 Apr 2023 13:14:07 PDT (-0700) Subject: Re: [PATCH] Remove HAVE_VIRT_CPU_ACCOUNTING_GEN option In-Reply-To: <20230429063348.125544-1-npiggin@gmail.com> CC: Arnd Bergmann , npiggin@gmail.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, vgupta@kernel.org, linux-snps-arc@lists.infradead.org, bcain@quicinc.com, linux-hexagon@vger.kernel.org, chenhuacai@kernel.org, loongarch@lists.linux.dev, geert@linux-m68k.org, linux-m68k@lists.linux-m68k.org, monstr@monstr.eu, tsbogend@alpha.franken.de, linux-mips@vger.kernel.org, dinguyen@kernel.org, jonas@southpole.se, stefan.kristiansson@saunalahti.fi, shorne@gmail.com, linux-openrisc@vger.kernel.org, James.Bottomley@HansenPartnership.com, deller@gmx.de, linux-parisc@vger.kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, linux-sh@vger.kernel.org, davem@davemloft.net, sparclinux@vger.kernel.org, richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net, linux-um@lists.infradead.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, khilman@baylibre.com, frederic@kernel.org From: Palmer Dabbelt To: npiggin@gmail.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Apr 2023 23:33:48 PDT (-0700), npiggin@gmail.com wrote: > This option was created in commit 554b0004d0ec4 ("vtime: Add > HAVE_VIRT_CPU_ACCOUNTING_GEN Kconfig") for architectures to indicate > they support the 64-bit cputime_t required for VIRT_CPU_ACCOUNTING_GEN. > > The cputime_t type has since been removed, so this doesn't have any > meaning. Remove it. > > Cc: linux-arch@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: Vineet Gupta > Cc: linux-snps-arc@lists.infradead.org > Cc: Brian Cain > Cc: linux-hexagon@vger.kernel.org > Cc: Huacai Chen > Cc: loongarch@lists.linux.dev > Cc: Geert Uytterhoeven > Cc: linux-m68k@lists.linux-m68k.org > Cc: Michal Simek > Cc: Thomas Bogendoerfer > Cc: linux-mips@vger.kernel.org > Cc: Dinh Nguyen > Cc: Jonas Bonn > Cc: Stefan Kristiansson > Cc: Stafford Horne > Cc: linux-openrisc@vger.kernel.org > Cc: "James E.J. Bottomley" > Cc: Helge Deller > Cc: linux-parisc@vger.kernel.org > Cc: Paul Walmsley > Cc: Palmer Dabbelt > Cc: Albert Ou > Cc: linux-riscv@lists.infradead.org > Cc: Yoshinori Sato > Cc: Rich Felker > Cc: John Paul Adrian Glaubitz > Cc: linux-sh@vger.kernel.org > Cc: "David S. Miller" > Cc: sparclinux@vger.kernel.org > Cc: Richard Weinberger > Cc: Anton Ivanov > Cc: Johannes Berg > Cc: linux-um@lists.infradead.org > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Dave Hansen > Cc: x86@kernel.org > Cc: "H. Peter Anvin" > Cc: Kevin Hilman > Cc: Frederic Weisbecker > Signed-off-by: Nicholas Piggin > --- > Hi, > > Could we tidy this? I don't know what tree it can go in, timers, > sched, asm-generic, probably doesn't matter. > > The only thing this actually does is gate VIRT_CPU_ACCOUNTING_GEN and > NO_HZ_FULL so if your arch has some other issue that requires this > then the documentation needs to change. Any concerns from the archs? > I.e., 32-bit that does *not* define HAVE_VIRT_CPU_ACCOUNTING_GEN > which looks to be: > > arc > hexagon > loongarch 32-bit with SMP > m68k > microblaze > mips 32-bit with SMP > nios2 > openrisc > parisc 32-bit > riscv 32-bit Nothing's jumping out, though I haven't tested this yet so I'm not 100%. I assume this isn't aimed for this merge window, given the timing? Probably best to give this sort of thing time to bake in linux-next, but I doubt anyone is even paying attention to rv32/NO_HZ_FULL so no big deal either way on my end. Acked-by: Palmer Dabbelt # RISC-V > sh > sparc 32-bit > um 32-bit > x86 32-bit > > Thanks, > Nick