Re: [PATCH] asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()

2020-07-17 Thread Will Deacon
On Thu, 16 Jul 2020 12:28:16 +0100, Will Deacon wrote: > Although mmiowb() is concerned only with serialising MMIO writes occuring > in contexts where a spinlock is held, the call to mmiowb_set_pending() > from the MMIO write accessors can occur in preemptible contexts, such > as during driver prob

Re: [PATCH] asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()

2020-07-16 Thread Palmer Dabbelt
On Thu, 16 Jul 2020 04:28:16 PDT (-0700), w...@kernel.org wrote: Although mmiowb() is concerned only with serialising MMIO writes occuring in contexts where a spinlock is held, the call to mmiowb_set_pending() from the MMIO write accessors can occur in preemptible contexts, such as during driver

Re: [PATCH] asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()

2020-07-16 Thread Emil Renner Berthing
On Thu, 16 Jul 2020 at 13:28, Will Deacon wrote: > > Although mmiowb() is concerned only with serialising MMIO writes occuring > in contexts where a spinlock is held, the call to mmiowb_set_pending() > from the MMIO write accessors can occur in preemptible contexts, such > as during driver probe()

[PATCH] asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()

2020-07-16 Thread Will Deacon
Although mmiowb() is concerned only with serialising MMIO writes occuring in contexts where a spinlock is held, the call to mmiowb_set_pending() from the MMIO write accessors can occur in preemptible contexts, such as during driver probe() functions where ordering between CPUs is not usually a conc