Scroll to navigation

IRQ_SET_IRQCHIP_STAT(9) Public Functions Provided IRQ_SET_IRQCHIP_STAT(9)

NAME

irq_set_irqchip_state - set the state of a forwarded interrupt.

SYNOPSIS

int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, bool val);

ARGUMENTS

irq
Interrupt line that is forwarded to a VM

which

State to be restored (one of IRQCHIP_STATE_*)

val

Value corresponding to which

DESCRIPTION

This call sets the internal irqchip state of an interrupt, depending on the value of which.

This function should be called with preemption disabled if the interrupt controller has per-cpu registers.

AUTHORS

Thomas Gleixner <tglx@linutronix.de>
Author.

Ingo Molnar <mingo@elte.hu>

Author.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.