commit | c1e18c17bda68cdf2b58744b2864836de05dcf3a | [log] [tgz] |
---|---|---|
author | Niklas Schnelle <schnelle@linux.ibm.com> | Thu Dec 10 15:28:05 2020 +0100 |
committer | Vasily Gorbik <gor@linux.ibm.com> | Mon Jun 28 11:18:28 2021 +0200 |
tree | 2d984dc4ccd81a9633ed325f2722c0460e8ef9d0 | |
parent | e2bc3e91d91ede6710801fa0737e4e4ed729b19e [diff] |
s390/pci: add zpci_set_irq()/zpci_clear_irq() Pull the directed vs floating IRQ check into common zpci_set_irq()/zpci_clear_irq() functions and expose them for the rest of the zPCI subsystem. Furthermore we add a zdev flag bit to easily check if IRQs are registered. This is needed for use in resetting a zPCI function. Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>