Comments

We enter with interrupts disabled in hardware, but we need to
call RECONCILE_IRQ_STATE anyway to ensure that the software state
is kept in sync instead of calling hard_irq_disable() directly.
Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
---
v4:
Fix one typo in the patch description.
v3:
Base on the latest tree, now we can use RECONCILE_IRQ_STATE instead of SOFT_DISABLE_INTS.
v2:
Move SOFT_DISABLE_INTS[1] earlier to avoid clobbering the arguments we want to pass to kvmppc_handle_exit.
arch/powerpc/kvm/booke.c | 11 -----------
arch/powerpc/kvm/bookehv_interrupts.S | 11 +++++++++++
2 files changed, 11 insertions(+), 11 deletions(-)

On Mon, 2013-10-21 at 17:57 +0800, Tiejun Chen wrote:
> +#ifdef CONFIG_64BIT> + /*> + * We enter with interrupts disabled in hardware, but> + * we need to call SOFT_DISABLE_INTS anyway to ensure> + * that the software state is kept in sync.> + */> + RECONCILE_IRQ_STATE(r3,r5)> +#endif
s/SOFT_DISABLE_INTS/RECONCILE_IRQ_STATE/ in the comment.
-Scott
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html