mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Dead arch/x86 UV code?
@ 2026-09-23 13:29 Dave Hansen
  2026-09-23 15:30 ` Steve Wahl
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Hansen @ 2026-09-23 13:29 UTC (permalink / raw)
  To: Steve Wahl, Justin Ernst, Kyle Meyer, Dimitri Sivanich,
	Russ Anderson, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, linux-kernel

Hi Folks,

I threw a silly LLM at arch/x86 trying to find unused code. One of the
things that stood out was UV:

 arch/x86/include/asm/uv/bios.h       |    3
 arch/x86/include/asm/uv/uv_hub.h     |  156 ---------------
 arch/x86/include/asm/uv/uv_irq.h     |   37 ---
 arch/x86/kernel/apic/x2apic_uv_x.c   |  187 ------------------
 arch/x86/platform/uv/bios_uv.c       |   44 ----
 arch/x86/platform/uv/uv_irq.c        |  210 ---------------------
 b/arch/x86/include/asm/hw_irq.h      |   15 -
 b/arch/x86/include/asm/uv/bios.h     |   11 -
 b/arch/x86/include/asm/uv/uv.h       |    2
 b/arch/x86/include/asm/uv/uv_geo.h   |    2
 b/arch/x86/include/asm/uv/uv_hub.h   |  156 ---------------
 b/arch/x86/kernel/apic/x2apic_uv_x.c |   70 -------
 b/arch/x86/kernel/cpu/common.c       |    4
 b/arch/x86/platform/uv/Makefile      |    2
 b/arch/x86/platform/uv/bios_uv.c     |    4
 16 files changed, 15 insertions(+), 891 deletions(-)

It looks like a big chunk of it was just there to support some drivers
that are now gone with:

  dbf69afe320e ("misc: sgi-xp: Remove SGI XP drivers")
  85de4712bccf ("misc: sgi-gru: Remove SGI GRU driver")

I spot checked some of LLM spew. It didn't all seem to be noise. Could
folks find some time to go through and see if this really is dead code?

LLM spew is here:

	https://sr71.net/~dave/intel/uv/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-23 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 13:29 Dead arch/x86 UV code? Dave Hansen
2026-09-23 15:30 ` Steve Wahl
2026-09-23 15:41   ` Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®