OSDN Git Service

ppc/xive: add support for the LSI interrupt sources
authorCédric Le Goater <clg@kaod.org>
Wed, 5 Dec 2018 23:22:16 +0000 (00:22 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Dec 2018 22:24:23 +0000 (09:24 +1100)
commit5fd9ef18a9707c17d0f1d4262a76fa878edb65c3
tree7466c5ad3106df0ef33f16453e15324901a5b812
parent02e3ff548d2379c16990bac9cb84833231e0d20f
ppc/xive: add support for the LSI interrupt sources

The 'sent' status of the LSI interrupt source is modeled with the 'P'
bit of the ESB and the assertion status of the source is maintained
with an extra bit under the main XiveSource object. The type of the
source is stored in the same array for practical reasons.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
[dwg: Fix style nit]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xive.c
include/hw/ppc/xive.h