diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-09 16:38:06 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-11 19:54:22 +1000 |
commit | 5ed551115a3ad1925c900b2e0dd7977ad1987f85 (patch) | |
tree | b0a7f521f7ad2824eed8eb4b5ee0e0e858085821 /platforms | |
parent | 8b6d05d9b2cd187e05ff0aa27942f07d04c8d4d6 (diff) | |
download | skiboot-5ed551115a3ad1925c900b2e0dd7977ad1987f85.zip skiboot-5ed551115a3ad1925c900b2e0dd7977ad1987f85.tar.gz skiboot-5ed551115a3ad1925c900b2e0dd7977ad1987f85.tar.bz2 |
xive: Wrap irq_sources to provide standard set_xive/get_xive
All the source controllers use the standard XIVE mechanism for
masking/unmasking and EOI, so there is no point having that
logic duplicated. There are a few variations on how they are
implemented but that can be handled using a few flags.
So let's create a wrapper around irq_sources for a xive source
and provide a new API for things like PHB4 to instanciate them
This patch while at it also fixes the calculation of the source
offset when setting up targetting information in the PHB4.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
0 files changed, 0 insertions, 0 deletions