ppc/pnv: Introduce a pnv_xive_is_cpu_enabled() helper
commit5014c60261cf38b7c210831548c042982218a999
authorCédric Le Goater <clg@kaod.org>
Mon, 25 Nov 2019 06:58:06 +0000 (25 07:58 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:47 +0000 (17 10:39 +1100)
tree16a7a9dd3de1b77f32015b9bd010d1c284e3b535
parent4a89e20458ef6ef0979d9a05e41b421fe28a90a8
ppc/pnv: Introduce a pnv_xive_is_cpu_enabled() helper

and use this helper to exclude CPUs which are not enabled in the XIVE
controller.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-7-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/pnv_xive.c
include/hw/ppc/pnv.h