Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1613410
| From | Aniruddha Banerjee <aniruddhab@nvidia.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default |
| Date | 2017-03-30 21:50 +0200 |
| Message-ID | <tqOf0-2K2-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
add IRQF_TRIGGER_MASK on PPI by default so that the PPIs are not configured as edge-triggered, which may be wrong for certain GIC implementations such as the GIC-400 Signed-off-by: Aniruddha Banerjee <aniruddhab@nvidia.com> --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 6b669593e7eb..9b2983cf9fd3 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1982,7 +1982,7 @@ int request_percpu_irq(unsigned int irq, irq_handler_t handler, return -ENOMEM; action->handler = handler; - action->flags = IRQF_PERCPU | IRQF_NO_SUSPEND; + action->flags = IRQF_PERCPU | IRQF_NO_SUSPEND | IRQF_TRIGGER_MASK; action->name = devname; action->percpu_dev_id = dev_id; -- 2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default Aniruddha Banerjee <aniruddhab@nvidia.com> - 2017-03-30 21:50 +0200
Re: [PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default Thomas Gleixner <tglx@linutronix.de> - 2017-03-31 10:10 +0200
Re: [PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default Marc Zyngier <marc.zyngier@arm.com> - 2017-03-31 10:20 +0200
RE: [PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default Aniruddha Banerjee <aniruddhab@nvidia.com> - 2017-03-31 14:10 +0200
Re: [PATCH 1/1] irq: add IRQF_TRIGGER_MASK on PPI by default Jon Hunter <jonathanh@nvidia.com> - 2017-03-31 10:20 +0200
csiph-web