ppc/pnv: Use a simple incrementing index for the chip-id
commitab17a3fe7454c61d358b5fd47c05336687b78690
authorCédric Le Goater <clg@kaod.org>
Mon, 9 Aug 2021 13:45:25 +0000 (9 15:45 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Aug 2021 02:41:13 +0000 (27 12:41 +1000)
tree1ad5bbd6753992029c0f4bf5141fe63e08ab1595
parentc944a3ba7bae52512a8cb781a2e3ffe8c678fc9c
ppc/pnv: Use a simple incrementing index for the chip-id

When the QEMU PowerNV machine was introduced, multi chip support
modeled a two socket system with dual chip modules as found on some P8
Tuleta systems (8286-42A). But this is hardly used and not relevant
for QEMU. Use a simple index instead.

With this change, we can now increase the max socket number to 16 as
found on high end systems.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210809134547.689560-5-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
include/hw/ppc/pnv.h