KVM: PPC: Book3S HV: Handle guest using doorbells for IPIs
authorPaul Mackerras <paulus@samba.org>
Wed, 8 Jan 2014 10:25:26 +0000 (21:25 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 15:01:10 +0000 (16:01 +0100)
commitaa31e843225769735b79795c955426c9479046a5
tree7a8847ba69f434e757339bad40d628a3af4b08ec
parente3bbbbfa13ea2901050a58b2cb382df7974e7373
KVM: PPC: Book3S HV: Handle guest using doorbells for IPIs

* SRR1 wake reason field for system reset interrupt on wakeup from nap
  is now a 4-bit field on P8, compared to 3 bits on P7.

* Set PECEDP in LPCR when napping because of H_CEDE so guest doorbells
  will wake us up.

* Waking up from nap because of a guest doorbell interrupt is not a
  reason to exit the guest.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/reg.h
arch/powerpc/kvm/book3s_hv_rmhandlers.S