]> git.proxmox.com Git - qemu.git/commit
PPC: Fix IPI support in MPIC
authorAlexander Graf <agraf@suse.de>
Wed, 20 Jul 2011 23:36:44 +0000 (01:36 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:43:33 +0000 (09:43 +0200)
commita675155e2d78b083b47774c118990041333308b5
treea8b73f3919299c7ec60908e8cb751cbe347111b9
parentbc59d9c9163abbe3646a70bca5ff59e73e07904a
PPC: Fix IPI support in MPIC

The current IPI support in the MPIC code is incomplete and doesn't work. This
code adds proper support for IPIs in MPIC by using the IDE register to remember
which CPUs IPIs are still outstanding to. New triggers through the IPI trigger
register only add to the list of CPUs we want to IPI.

Signed-off-by: Alexander Graf <agraf@suse.de>
---

v1 -> v2:

  - Use MAX_IPI instead of hardcoded 4

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c