Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1684389
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/6] irqchip: brcmstb-l2: Remove some processing from the handler |
| Date | 2017-07-10 18:00 +0200 |
| Message-ID | <u1Jgm-6Vr-37@gated-at.bofh.it> (permalink) |
| References | <u0H6W-8rJ-13@gated-at.bofh.it> <u0H6X-8rJ-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/07/2017 12:20 PM, Doug Berger wrote: > Saving the generic chip pointer in the brcmstb_l2_intc_data prevents > the need to call irq_get_domain_generic_chip(). Also don't need to > save parent_irq and base there since local variables in the > brcmstb_l2_intc_of_init() function are just as good. > > The handle_edge_irq flow or chained_irq_enter takes care of the > acknowledgement of the interrupt so it is redundant to clear it in > brcmstb_l2_intc_irq_handle(). > > irq_linear_revmap() is a fast path equivalent of irq_find_mapping() > that is appropriate to use for domain controllers of this type. > > Defining irq_mask_ack is slightly more efficient than just > implementing irq_mask and irq_ack seperately. > > Signed-off-by: Doug Berger <opendmb@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 4/6] irqchip: brcmstb-l2: Remove some processing from the handler Doug Berger <opendmb@gmail.com> - 2017-07-07 21:30 +0200 Re: [PATCH 4/6] irqchip: brcmstb-l2: Remove some processing from the handler Florian Fainelli <f.fainelli@gmail.com> - 2017-07-10 18:00 +0200
csiph-web