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


Groups > linux.kernel > #1610476

Re: [PATCH v4 4/4] pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 4/4] pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip
Date 2017-03-28 11:30 +0200
Message-ID <tpVBV-5sY-45@gated-at.bofh.it> (permalink)
References <to8MV-1om-3@gated-at.bofh.it> <to8MV-1om-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 23, 2017 at 11:59 AM, John Keeping <john@metanate.com> wrote:

> With real-time preemption, regmap functions cannot be used in the
> implementation of irq_chip since they use spinlocks which may sleep.
>
> Move the setting of the mux for IRQs to an irq_bus_sync_unlock handler
> where we are allowed to sleep.
>
> Signed-off-by: John Keeping <john@metanate.com>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> Tested-by: Heiko Stuebner <heiko@sntech.de>
> ---
> v3: unchanged
> v2: unchanged

Patch applied.

Yours,
Linus Walleij

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


Thread

[PATCH v4 4/4] pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip John Keeping <john@metanate.com> - 2017-03-23 12:10 +0100
  Re: [PATCH v4 4/4] pinctrl: rockchip: avoid hardirq-unsafe functions  in irq_chip Linus Walleij <linus.walleij@linaro.org> - 2017-03-28 11:30 +0200

csiph-web