s390/pci: add parameter to force floating irqs

Provide a kernel parameter to force the usage of floating interrupts.

Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Sebastian Ott
2019-02-26 16:07:32 +01:00
committed by Martin Schwidefsky
parent 07e3ec3acb
commit fbfe07d440
4 changed files with 10 additions and 0 deletions

View File

@@ -433,6 +433,9 @@ int __init zpci_irq_init(void)
int rc;
irq_delivery = sclp.has_dirq ? DIRECTED : FLOATING;
if (s390_pci_force_floating)
irq_delivery = FLOATING;
if (irq_delivery == DIRECTED)
zpci_airq.handler = zpci_directed_irq_handler;