[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <159181454880.1512339.2705658130320062146.b4-ty@kernel.org>
Date: Wed, 10 Jun 2020 19:43:07 +0100
From: Marc Zyngier <maz@...nel.org>
To: Zenghui Yu <yuzenghui@...wei.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kvmarm@...ts.cs.columbia.edu
Cc: tglx@...utronix.de, jason@...edaemon.net
Subject: Re: [PATCH] irqchip/gic-v4.1: Use readx_poll_timeout_atomic() to fix sleep in atomic
On Fri, 5 Jun 2020 13:23:45 +0800, Zenghui Yu wrote:
> readx_poll_timeout() can sleep if @sleep_us is specified by the caller,
> and is therefore unsafe to be used inside the atomic context, which is
> this case when we use it to poll the GICR_VPENDBASER.Dirty bit in
> irq_set_vcpu_affinity() callback.
>
> Let's convert to its atomic version instead which helps to get the v4.1
> board back to life!
>
> [...]
Applied to irq/irqchip-next, thanks!
[1/1] irqchip/gic-v4.1: Use readx_poll_timeout_atomic() to fix sleep in atomic
commit: a87d4e00eacbc95b44466e3470529f4de49b450a
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists