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

* Re: Dead arch/x86 UV code?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Wahl @ 2026-09-23 15:30 UTC (permalink / raw)
  To: Dave Hansen
  Cc: Steve Wahl, Justin Ernst, Kyle Meyer, Dimitri Sivanich,
	Russ Anderson, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, linux-kernel

On Wed, Sep 23, 2026 at 06:29:56AM -0700, Dave Hansen wrote:
> Hi Folks,
> 
> I threw a silly LLM at arch/x86 trying to find unused code. One of the
> things that stood out was UV:

Thanks, Dave, we (HPE folk you listed) will look at these.  It may
take a few days to get to them, so I wanted to send a short note so
you'd know you weren't being ignored!

--> Steve
-- 
Steve Wahl, Hewlett Packard Enterprise

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

* Re: Dead arch/x86 UV code?
  2026-09-23 15:30 ` Steve Wahl
@ 2026-09-23 15:41   ` Dave Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Hansen @ 2026-09-23 15:41 UTC (permalink / raw)
  To: Steve Wahl
  Cc: Justin Ernst, Kyle Meyer, Dimitri Sivanich, Russ Anderson,
	Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, linux-kernel

On 9/23/26 08:30, Steve Wahl wrote:
>> I threw a silly LLM at arch/x86 trying to find unused code. One of the
>> things that stood out was UV:
> Thanks, Dave, we (HPE folk you listed) will look at these.  It may
> take a few days to get to them, so I wanted to send a short note so
> you'd know you weren't being ignored!

Thanks! Also, it's no hurry at all. I'd be quite happy to see some
patches in the next month or so.

^ 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®