diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-11-14 13:06:01 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-15 15:05:59 +1100 |
commit | 747771ddfa422d0bcbd21fa39e11430bbbcefdd3 (patch) | |
tree | 23d4f475c1fb304ca8ebd2c156eb630ef7ce3b11 /include/psi.h | |
parent | 7a6298eaf7ce282890bfa9e630d82a1edb3daf12 (diff) | |
download | skiboot-747771ddfa422d0bcbd21fa39e11430bbbcefdd3.zip skiboot-747771ddfa422d0bcbd21fa39e11430bbbcefdd3.tar.gz skiboot-747771ddfa422d0bcbd21fa39e11430bbbcefdd3.tar.bz2 |
psi: Add DT option to disable LPC interrupts
Some sim models have the LPC interrupts stuck asserted on secondary
chips so we add a device-tree option that makes us set the policy
for these to "Linux" instead of "OPAL".
Since they aren't referenced in the device-tree this will de-facto
prevent them from being enabled
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/psi.h')
-rw-r--r-- | include/psi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/psi.h b/include/psi.h index 24d4206..5982adc 100644 --- a/include/psi.h +++ b/include/psi.h @@ -245,6 +245,7 @@ struct psi { unsigned int chip_id; unsigned int interrupt; bool active; + bool no_lpc_irqs; }; extern void psi_set_link_polling(bool active); |