Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1601665
| From | Julia Cartwright <julia@ni.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants |
| Date | 2017-03-15 20:10 +0100 |
| Message-ID | <tlmt3-3Ar-11@gated-at.bofh.it> (permalink) |
| References | <tj9gC-7KS-21@gated-at.bofh.it> <tja2Z-8iG-7@gated-at.bofh.it> <tlfhU-6UD-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 15, 2017 at 11:17:44AM +0000, Lee Jones wrote: > On Thu, 09 Mar 2017, Julia Cartwright wrote: > > > The t7l66xb mfd driver currently implements an irq_chip for handling > > interrupts; due to how irq_chip handling is done, it's necessary for the > > irq_chip methods to be invoked from hardirq context, even on a a > > real-time kernel. Because the spinlock_t type becomes a "sleeping" > > spinlock w/ RT kernels, it is not suitable to be used with irq_chips. > > > > A quick audit of the operations under the lock reveal that they do only > > minimal, bounded work, and are therefore safe to do under a raw spinlock. > > > > Signed-off-by: Julia Cartwright <julia@ni.com> > > --- > > drivers/mfd/t7l66xb.c | 20 ++++++++++---------- > > 1 file changed, 10 insertions(+), 10 deletions(-) > > Can the 3 MFD patches in this set be applied on their own, or is there > a dependency somewhere else in the set? All of the patches are completely independent, so may be applied on their own. > NB: It's normally a good idea to send the set to everyone, or at the > very least, the 00/00th patch. Sorry I neglected to CC. I'll be posting a v2 with the patches that haven't yet hit next (as of tomorrow, likely), with a revised version of the coccinelle patch, and will CC you on the coverletter. Thanks! Julia
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants Lee Jones <lee.jones@linaro.org> - 2017-03-15 12:30 +0100
Re: [PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants Julia Cartwright <julia@ni.com> - 2017-03-15 20:10 +0100
Re: [PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants Lee Jones <lee.jones@linaro.org> - 2017-03-16 10:30 +0100
csiph-web