ppc/xive: Implement TM_PULL_OS_CTX special command
commitd98ec603c6587075a17820f07cada988a9a675bb
authorCédric Le Goater <clg@kaod.org>
Thu, 18 Jul 2019 11:54:06 +0000 (18 13:54 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Aug 2019 07:17:39 +0000 (21 17:17 +1000)
tree6519be61b7fb62186d6d9045ae47e35843be7344
parent1994d3aa4774c86e8e932531186613f3a0860efd
ppc/xive: Implement TM_PULL_OS_CTX special command

When a vCPU is not dispatched anymore on a HW thread, the Hypervisor
(KVM on Linux) invalidates the OS interrupt context of a vCPU with
this special command. It returns the OS CAM line value and resets the
VO bit.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190718115420.19919-4-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c