ppc/pnv: Add allow for big-core differences in DT generation
authorNicholas Piggin <npiggin@gmail.com>
Thu, 11 Jul 2024 09:06:14 +0000 (19:06 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commitcf0eb929e59cb9074db7b197bb6782a2a47dddda
tree9b7a3bbc3be86f2183e2944778d2b987f6888a30
parentc26504afd5f5cca1addfab5222621bc32a28522f
ppc/pnv: Add allow for big-core differences in DT generation

device-tree building needs to account for big-core mode, because it is
driven by qemu cores (small cores). Every second core should be skipped,
and every core should describe threads for both small-cores that make
up the big core.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv.c