spapr: Add ibm, chip-id property in device tree
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 15 May 2014 11:23:14 +0000 (21:23 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:35 +0000 (13:24 +0200)
commit10582ff832798813ba3a17f13f3ab46250388b47
tree9956c5ebd21716096a88ff14d9f4b196916d85e5
parent98a8b52442d3e35c640f21d79cf9551a2e408073
spapr: Add ibm, chip-id property in device tree

This adds a "ibm,chip-id" property for CPU nodes which should be the same
for all cores in the same CPU socket. The recent guest kernels use this
information to associate threads with sockets.

Refer to the kernel commit 256f2d4b463d3030ebc8d2b54f427543814a2bdc
for more details.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c