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


Groups > linux.kernel > #1607788

Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function

From Vineet Gupta <Vineet.Gupta1@synopsys.com>
Newsgroups linux.kernel
Subject Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function
Date 2017-03-23 19:40 +0100
Message-ID <tofOp-6a9-11@gated-at.bofh.it> (permalink)
References <tof22-5ye-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/23/2017 10:42 AM, Daniel Lezcano wrote:
> In the next changes, we track the interrupts but we discard the timers as
> that does not make sense. The next interrupt on a timer is predictable.
>
> But, the API request_percpu_irq does not allow to pass a flag, hence specifying
> if the interrupt type is a timer.
>
> Solve this by passing a 'flags' parameter to the function and change all the
> callers to pass IRQF_TIMER when the interrupt is a timer interrupt, zero
> otherwise.
>
> For now, in order to prevent a misusage of this parameter, only the IRQF_TIMER
> flag is a valid parameter to be passed to the request_percpu_irq function.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

Acked-by: Vineet Gupta <vgupta@synopsys.com>   # for arch/arc, arc_timer bits

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


Thread

[PATCH V8 1/3] irq: Add flags to request_percpu_irq function Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-03-23 18:50 +0100
  [PATCH V8 3/3] irq: Compute the periodic interval for interrupts Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-03-23 18:50 +0100
    Re: [PATCH V8 3/3] irq: Compute the periodic interval for  interrupts Nicolas Pitre <nicolas.pitre@linaro.org> - 2017-03-23 20:50 +0100
      Re: [PATCH V8 3/3] irq: Compute the periodic interval for interrupts Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-03-24 15:20 +0100
  Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-03-23 19:40 +0100
  Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function Mark Rutland <mark.rutland@arm.com> - 2017-03-23 20:00 +0100
    Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-03-23 20:30 +0100
  Re: [PATCH V8 1/3] irq: Add flags to request_percpu_irq function Andrew Jones <drjones@redhat.com> - 2017-03-27 10:50 +0200

csiph-web