]> git.baikalelectronics.ru Git - kernel.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)
commit9454e62bc4a8db7b0e7bcfcd2d3d09840a0d9f16
tree0c6d2c70971ff8314564fcde4e4c830f9d1dfa54
parent97c6de49a991d4e0f412fd3e8c1ffe42a6c8fb3b
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