tty/hvc: Use opal irqchip interface if available
authorSam Mendoza-Jonas <sam@mendozajonas.com>
Mon, 11 Jul 2016 03:38:58 +0000 (13:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2016 02:38:20 +0000 (12:38 +1000)
commit00dab8187e182da41122f66c207707b192509df4
treea2fc023057f89199570a4247651c3fa6359bb769
parentbbc3dfe8805de86874b1a1b1429a002e8670043e
tty/hvc: Use opal irqchip interface if available

Update the hvc driver to use the OPAL irqchip if made available by the
running firmware. If it is not present, the driver falls back to the
existing OPAL event number.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/tty/hvc/hvc_opal.c