Dead arch/x86 UV code?
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/
Quoted 4 lines · Dave Hansen
Hi Folks,
I threw a silly LLM at
arch/x86trying 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
Signature · 1 line
Steve Wahl, Hewlett Packard Enterprise
Quoted 5 lines · Steve Wahl
Quoted 2 lines
I threw a silly LLM at
arch/x86trying 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.