]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Enhance CPU detection code on PAT machines
authorHelge Deller <deller@gmx.de>
Thu, 17 Nov 2016 20:27:50 +0000 (21:27 +0100)
committerHelge Deller <deller@gmx.de>
Mon, 12 Dec 2016 21:28:09 +0000 (22:28 +0100)
commit637250cc8f5e2bfc5c3a96802d1d96b4987a1d62
tree0c6d2c70971ff8314564fcde4e4c830f9d1dfa54
parent5c38602d83e584047906b41b162ababd4db4106d
parisc: Enhance CPU detection code on PAT machines

This patch fixes the debug code which runs during the inventory scan on
machines with PAT firmware.

Additionally print out the relationship between the detected logical CPU
number and it's physical location and physical cpu number.
This leads to information which can be used to feed numa-structures in
the kernel in later patches. An example output is from my single-CPU (2
cores) C8000 machine is:

  Logical CPU #0 is physical cpu #0 at 0xffff0000ffff15, hpa 0xfffffffffe780000
  Logical CPU #1 is physical cpu #1 at 0xffff0000ffff15, hpa 0xfffffffffe781000

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pdcpat.h
arch/parisc/kernel/firmware.c
arch/parisc/kernel/inventory.c
arch/parisc/kernel/processor.c