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

unsigned int irq

Interrupt line that is forwarded to a VM

enum irqchip_irq_state which

State to be restored (one of IRQCHIP_STATE_*)

bool 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

June 2017 Kernel Hackers Manual 4.11