acrn-kernel/arch/parisc/kernel
Helge Deller 5ad3e53460 parisc: Fix /proc/cpuinfo output for lscpu
commit 9f5ba4b3e1 upstream.

The lscpu command is broken since commit cab56b51ec ("parisc: Fix
device names in /proc/iomem") added the PA pathname to all PA
devices, includig the CPUs.

lscpu parses /proc/cpuinfo and now believes it found different CPU
types since every CPU is listed with an unique identifier (PA
pathname).

Fix this problem by simply dropping the PA pathname when listing the
CPUs in /proc/cpuinfo. There is no need to show the pathname in this
procfs file.

Fixes: cab56b51ec ("parisc: Fix device names in /proc/iomem")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.9+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:43:02 +02:00
..
syscalls
vdso32
vdso64
.gitignore
Makefile
alternative.c
asm-offsets.c
audit.c
cache.c
compat_audit.c
drivers.c
entry.S
firmware.c
ftrace.c
hardware.c
head.S
hpmc.S
inventory.c
irq.c
jump_label.c
kexec.c
kexec_file.c
kgdb.c
kprobes.c
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c
patch.c
pci-dma.c
pci.c
pdc_chassis.c
pdc_cons.c
pdt.c
perf.c
perf_asm.S
perf_images.h
process.c
processor.c parisc: Fix /proc/cpuinfo output for lscpu 2023-09-13 09:43:02 +02:00
ptrace.c
real2.S
relocate_kernel.S
setup.c
signal.c
signal32.c
signal32.h
smp.c
stacktrace.c
sys_parisc.c
sys_parisc32.c
syscall.S
time.c
toc.c
toc_asm.S
topology.c
traps.c
unaligned.c
unwind.c
vdso.c
vmlinux.lds.S