Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1488419

recommended use of request_any_context_irq()

From Leo Li <pku.leo@gmail.com>
Newsgroups linux.kernel
Subject recommended use of request_any_context_irq()
Date 2016-09-21 23:20 +0200
Message-ID <sjX5U-5Jq-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Marc and Thomas,

With the introduction of request_any_context_irq() routine, driver can
deal with interrupt controllers using either threaded irq or normal
irq.  But I don't see many drivers that have been changed to use this
function to request interrupt.  For on-board devices, the driver
normally don't know which kind of interrupt controller they are
connected to.  Why don't we make the request_any_context_irq()
mandatory or recommended for all drivers?  Is there any drawback for
changing all the request_irq() to the request_any_context_irq()?

Regards,
Leo

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

recommended use of request_any_context_irq() Leo Li <pku.leo@gmail.com> - 2016-09-21 23:20 +0200
  Re: recommended use of request_any_context_irq() Marc Zyngier <marc.zyngier@arm.com> - 2016-09-22 10:20 +0200
    Re: recommended use of request_any_context_irq() Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 11:40 +0200
    Re: recommended use of request_any_context_irq() Leo Li <pku.leo@gmail.com> - 2016-09-22 22:40 +0200
      Re: recommended use of request_any_context_irq() Thomas Gleixner <tglx@linutronix.de> - 2016-09-22 23:00 +0200
        Re: recommended use of request_any_context_irq() Leo Li <pku.leo@gmail.com> - 2016-09-23 00:00 +0200
          Re: recommended use of request_any_context_irq() Thomas Gleixner <tglx@linutronix.de> - 2016-09-23 00:10 +0200

csiph-web