[PATCH] Remove HAVE_VIRT_CPU_ACCOUNTING_GEN option
Nicholas Piggin
npiggin at gmail.com
Tue May 2 07:24:24 PDT 2023
On Sun Apr 30, 2023 at 6:14 AM AEST, Palmer Dabbelt wrote:
> On Fri, 28 Apr 2023 23:33:48 PDT (-0700), npiggin at 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 at vger.kernel.org
> > Cc: linux-kernel at vger.kernel.org
> > Cc: Vineet Gupta <vgupta at kernel.org>
> > Cc: linux-snps-arc at lists.infradead.org
> > Cc: Brian Cain <bcain at quicinc.com>
> > Cc: linux-hexagon at vger.kernel.org
> > Cc: Huacai Chen <chenhuacai at kernel.org>
> > Cc: loongarch at lists.linux.dev
> > Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> > Cc: linux-m68k at lists.linux-m68k.org
> > Cc: Michal Simek <monstr at monstr.eu>
> > Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
> > Cc: linux-mips at vger.kernel.org
> > Cc: Dinh Nguyen <dinguyen at kernel.org>
> > Cc: Jonas Bonn <jonas at southpole.se>
> > Cc: Stefan Kristiansson <stefan.kristiansson at saunalahti.fi>
> > Cc: Stafford Horne <shorne at gmail.com>
> > Cc: linux-openrisc at vger.kernel.org
> > Cc: "James E.J. Bottomley" <James.Bottomley at HansenPartnership.com>
> > Cc: Helge Deller <deller at gmx.de>
> > Cc: linux-parisc at vger.kernel.org
> > Cc: Paul Walmsley <paul.walmsley at sifive.com>
> > Cc: Palmer Dabbelt <palmer at dabbelt.com>
> > Cc: Albert Ou <aou at eecs.berkeley.edu>
> > Cc: linux-riscv at lists.infradead.org
> > Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
> > Cc: Rich Felker <dalias at libc.org>
> > Cc: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
> > Cc: linux-sh at vger.kernel.org
> > Cc: "David S. Miller" <davem at davemloft.net>
> > Cc: sparclinux at vger.kernel.org
> > Cc: Richard Weinberger <richard at nod.at>
> > Cc: Anton Ivanov <anton.ivanov at cambridgegreys.com>
> > Cc: Johannes Berg <johannes at sipsolutions.net>
> > Cc: linux-um at lists.infradead.org
> > Cc: Thomas Gleixner <tglx at linutronix.de>
> > Cc: Ingo Molnar <mingo at redhat.com>
> > Cc: Borislav Petkov <bp at alien8.de>
> > Cc: Dave Hansen <dave.hansen at linux.intel.com>
> > Cc: x86 at kernel.org
> > Cc: "H. Peter Anvin" <hpa at zytor.com>
> > Cc: Kevin Hilman <khilman at baylibre.com>
> > Cc: Frederic Weisbecker <frederic at kernel.org>
> > Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> > ---
> > 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?
No, maybe the next one though.
> 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 <palmer at rivosinc.com> # RISC-V
Thanks,
Nick
More information about the linux-riscv
mailing list