]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/cpu_init.c
target/ppc: Add Directed Privileged Door-bell Exception State (DPDES) SPR
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 16 Aug 2019 06:17:33 +0000 (16:17 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Aug 2019 07:17:39 +0000 (17:17 +1000)
commitcfc61ba62f30753849fe2b78da8b6d0a0a639db2
tree86fefe9f46feabc0340ae719c74d90e6259bc60e
parentf55750e4e4fb35b6a12c81c485f16494e2c61ad2
target/ppc: Add Directed Privileged Door-bell Exception State (DPDES) SPR

DPDES stores a status of a doorbell message and if it is lost in
migration, the destination CPU won't receive it. This does not hit us
much as IPIs complete too quick to catch a pending one and even if
we missed one, broadcasts happen often enough to wake that CPU.

This defines DPDES and registers with KVM for migration.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20190816061733.53572-1-aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/translate_init.inc.c