summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorLaurent Vivier2018-12-19 17:35:41 +0100
committerDavid Gibson2019-01-08 23:28:13 +0100
commitc24ba3d0a34f68ad2c6bf1a15bc43770005f6cc0 (patch)
tree1ff3461fc04a34940174c618050d61169ef51e6c /include/hw/ppc
parentMerge remote-tracking branch 'remotes/kraxel/tags/usb-20190108-pull-request' ... (diff)
downloadqemu-c24ba3d0a34f68ad2c6bf1a15bc43770005f6cc0.tar.gz
qemu-c24ba3d0a34f68ad2c6bf1a15bc43770005f6cc0.tar.xz
qemu-c24ba3d0a34f68ad2c6bf1a15bc43770005f6cc0.zip
spapr: Add H-Call H_HOME_NODE_ASSOCIATIVITY
H_HOME_NODE_ASSOCIATIVITY H-Call returns the associativity domain designation associated with the identifier input parameter This fixes a crash when we try to hotplug a CPU in memory-less and CPU-less numa node. In this case, the kernel tries to online the node, but without the information provided by this h-call, the node id, it cannot and the CPU is started while the node is not onlined. It also removes the warning message from the kernel: VPHN is not supported. Disabling polling.. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r--include/hw/ppc/spapr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 2c77a8ba88..eb04300d3b 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -444,6 +444,7 @@ struct sPAPRMachineState {
#define H_GET_EM_PARMS 0x2B8
#define H_SET_MPP 0x2D0
#define H_GET_MPP 0x2D4
+#define H_HOME_NODE_ASSOCIATIVITY 0x2EC
#define H_XIRR_X 0x2FC
#define H_RANDOM 0x300
#define H_SET_MODE 0x31C