qemu/include/hw/ppc
Alexander Graf e81a982aa5 PPC: Clean up DECR implementation
There are 3 different variants of the decrementor for BookE and BookS.

The BookE variant sets TSR[DIS] to 1 when the DEC value becomes 1 or 0. TSR[DIS]
is then the indicator whether the decrementor interrupt line is asserted or not.

The old BookS variant treats DEC as an edge interrupt that gets triggered when
the DEC value's top bit turns 1 from 0.

The new BookS variant maintains the assertion bit inside DEC itself. Whenever
the DEC value becomes negative (top bit set) the DEC interrupt line is asserted.

So far we implemented mostly the old BookS variant. Let's do them all properly.

This fixes booting pseries ppc64 guest images in TCG mode for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
2014-04-08 11:20:04 +02:00
..
mac_dbdma.h PPC: dbdma: Support unaligned DMA access 2013-07-11 18:51:25 +02:00
openpic.h intc/openpic_kvm: Fix QOM and build issues 2013-07-01 01:11:15 +02:00
ppc4xx.h
ppc_e500.h intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
ppc.h PPC: Clean up DECR implementation 2014-04-08 11:20:04 +02:00
spapr_vio.h pseries: savevm support for VIO devices 2013-07-29 10:37:08 -05:00
spapr.h spapr_hcall: Fix little-endian resource handling in H_SET_MODE 2014-03-20 02:39:33 +01:00
xics.h xics-kvm: Support for in-kernel XICS interrupt controller 2013-10-25 23:25:47 +02:00