Skip to content
Commit 7706664d authored by Alexander Graf's avatar Alexander Graf Committed by Marcelo Tosatti
Browse files

KVM: powerpc: Improve DEC handling



We treated the DEC interrupt like an edge based one. This is not true for
Book3s. The DEC keeps firing until mtdec is issued again and thus clears
the interrupt line.

So let's implement this logic in KVM too. This patch moves the line clearing
from the firing of the interrupt to the mtdec emulation.

This makes PPC64 guests work without AGGRESSIVE_DEC defined.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Acked-by: default avatarAcked-by: Hollis Blanchard <hollis@penguinppc.org>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 583617b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment