All of lore.kernel.org
 help / color / mirror / Atom feed
* HID: hid-sensor-hub: fix sleeping function called from invalid context
@ 2014-06-09 22:21 Alexander Holler
  2014-06-09 22:40 ` Jiri Kosina
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Holler @ 2014-06-09 22:21 UTC (permalink / raw)
  To: Srinivas Pandruvada, Jiri Kosina, linux-kernel

Hello,

while rebasing the dozens (currently around 60) of refused, ignored or 
similiar bugfixes and patches I need to use a Linux kernel, I've noticed 
that Jiri Kosinas patch here

https://lkml.org/lkml/2013/8/9/214

doesn't apply anymore.

Looking why, I've seen that a similiar patch from Srinivas Pandruvada 
named like the topic ended up in the kernel.

Looking at the differences, I wonder if not all spin_lock() calls in 
hid-sensor-hub.c should be changed into spin_lock_irqsave() like the 
patch from Jiri Kosina did.

Regards,

Alexander Holler

(sorry for the duplicate message, I've forgotten to add the 
wanna-be-reviewer-school named lkml to the recipients)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HID: hid-sensor-hub: fix sleeping function called from invalid context
  2014-06-09 22:21 HID: hid-sensor-hub: fix sleeping function called from invalid context Alexander Holler
@ 2014-06-09 22:40 ` Jiri Kosina
  2014-06-09 23:17   ` Srinivas Pandruvada
  2014-06-10  8:18   ` Alexander Holler
  0 siblings, 2 replies; 6+ messages in thread
From: Jiri Kosina @ 2014-06-09 22:40 UTC (permalink / raw)
  To: Alexander Holler; +Cc: Srinivas Pandruvada, linux-kernel

On Tue, 10 Jun 2014, Alexander Holler wrote:

> Hello,
> 
> while rebasing the dozens (currently around 60) of refused, ignored or
> similiar bugfixes and patches I need to use a Linux kernel, I've noticed that
> Jiri Kosinas patch here
> 
> https://lkml.org/lkml/2013/8/9/214
> 
> doesn't apply anymore.
> 
> Looking why, I've seen that a similiar patch from Srinivas Pandruvada named
> like the topic ended up in the kernel.

Hi Alexander,

thanks for drawing this one from the boulevard of forgotten patches.

I am actually not aware of any patch by Srinivas that would conflict with 
the one I've written -- could you please elaborate where you believe the 
conflict is?

> Looking at the differences, I wonder if not all spin_lock() calls in 
> hid-sensor-hub.c should be changed into spin_lock_irqsave() like the 
> patch from Jiri Kosina did.

Could you please give me your Tested-by:? I'll then be happily queuing the 
fix. Thanks.

> (sorry for the duplicate message, I've forgotten to add the
> wanna-be-reviewer-school named lkml to the recipients)

You want to make it to LWN quotes of the week, don't you? :)

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HID: hid-sensor-hub: fix sleeping function called from invalid context
  2014-06-09 22:40 ` Jiri Kosina
@ 2014-06-09 23:17   ` Srinivas Pandruvada
  2014-06-09 23:19     ` Jiri Kosina
  2014-06-10  8:18   ` Alexander Holler
  1 sibling, 1 reply; 6+ messages in thread
From: Srinivas Pandruvada @ 2014-06-09 23:17 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Alexander Holler, linux-kernel, Reyad Attiyat

On 06/09/2014 03:40 PM, Jiri Kosina wrote:
> On Tue, 10 Jun 2014, Alexander Holler wrote:
>
>> Hello,
>>
>> while rebasing the dozens (currently around 60) of refused, ignored or
>> similiar bugfixes and patches I need to use a Linux kernel, I've noticed that
>> Jiri Kosinas patch here
>>
>> https://lkml.org/lkml/2013/8/9/214
>>
>> doesn't apply anymore.
>>
>> Looking why, I've seen that a similiar patch from Srinivas Pandruvada named
>> like the topic ended up in the kernel.
>
> Hi Alexander,
>
> thanks for drawing this one from the boulevard of forgotten patches.
>
> I am actually not aware of any patch by Srinivas that would conflict with
> the one I've written -- could you please elaborate where you believe the
> conflict is?
>
>> Looking at the differences, I wonder if not all spin_lock() calls in
>> hid-sensor-hub.c should be changed into spin_lock_irqsave() like the
>> patch from Jiri Kosina did.
>

There is a patch submitted by "reyad.attiyat@gmail.com"
[PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

Already doing this, what you suggested?

+Reyad


Thanks,
Srinivas


> Could you please give me your Tested-by:? I'll then be happily queuing the
> fix. Thanks.
>
>> (sorry for the duplicate message, I've forgotten to add the
>> wanna-be-reviewer-school named lkml to the recipients)
>
> You want to make it to LWN quotes of the week, don't you? :)
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HID: hid-sensor-hub: fix sleeping function called from invalid context
  2014-06-09 23:17   ` Srinivas Pandruvada
@ 2014-06-09 23:19     ` Jiri Kosina
  0 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2014-06-09 23:19 UTC (permalink / raw)
  To: Srinivas Pandruvada; +Cc: Alexander Holler, linux-kernel, Reyad Attiyat

On Mon, 9 Jun 2014, Srinivas Pandruvada wrote:

> > > while rebasing the dozens (currently around 60) of refused, ignored 
> > > or similiar bugfixes and patches I need to use a Linux kernel, I've 
> > > noticed that Jiri Kosinas patch here
> > > 
> > > https://lkml.org/lkml/2013/8/9/214
> > > 
> > > doesn't apply anymore.
> > > 
> > > Looking why, I've seen that a similiar patch from Srinivas Pandruvada
> > > named
> > > like the topic ended up in the kernel.
> > 
> > Hi Alexander,
> > 
> > thanks for drawing this one from the boulevard of forgotten patches.
> > 
> > I am actually not aware of any patch by Srinivas that would conflict with
> > the one I've written -- could you please elaborate where you believe the
> > conflict is?
> > 
> > > Looking at the differences, I wonder if not all spin_lock() calls in
> > > hid-sensor-hub.c should be changed into spin_lock_irqsave() like the
> > > patch from Jiri Kosina did.
> > 
> 
> There is a patch submitted by "reyad.attiyat@gmail.com"
> [PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.
> 
> Already doing this, what you suggested?

I don't see this in my mailbox at all .. so where was this submitted to, 
and who merged it to which tree?

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HID: hid-sensor-hub: fix sleeping function called from invalid context
  2014-06-09 22:40 ` Jiri Kosina
  2014-06-09 23:17   ` Srinivas Pandruvada
@ 2014-06-10  8:18   ` Alexander Holler
  2014-06-10  9:08     ` Jiri Kosina
  1 sibling, 1 reply; 6+ messages in thread
From: Alexander Holler @ 2014-06-10  8:18 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Srinivas Pandruvada, linux-kernel

Am 10.06.2014 00:40, schrieb Jiri Kosina:
> On Tue, 10 Jun 2014, Alexander Holler wrote:
> 
>> Hello,
>>
>> while rebasing the dozens (currently around 60) of refused, ignored or
>> similiar bugfixes and patches I need to use a Linux kernel, I've noticed that
>> Jiri Kosinas patch here
>>
>> https://lkml.org/lkml/2013/8/9/214
>>
>> doesn't apply anymore.
>>
>> Looking why, I've seen that a similiar patch from Srinivas Pandruvada named
>> like the topic ended up in the kernel.
> 
> Hi Alexander,
> 
> thanks for drawing this one from the boulevard of forgotten patches.
> 
> I am actually not aware of any patch by Srinivas that would conflict with 
> the one I've written -- could you please elaborate where you believe the 
> conflict is?

I actually don't rebase from main-version to main-version (that doesn't
really work), but I'm using format-patch and git am. It's a bit more
strict when that's ok. I haven't looked in deep which changes in 3.15 do
conflict with the patch based on 3.14, but it't can't be that much.

>> Looking at the differences, I wonder if not all spin_lock() calls in 
>> hid-sensor-hub.c should be changed into spin_lock_irqsave() like the 
>> patch from Jiri Kosina did.
> 
> Could you please give me your Tested-by:? I'll then be happily queuing the 
> fix. Thanks.

Sure, but I already did that in the reply to your patch.

>> (sorry for the duplicate message, I've forgotten to add the
>> wanna-be-reviewer-school named lkml to the recipients)
> 
> You want to make it to LWN quotes of the week, don't you? :)

No, I'm just too often the object of their first steps and that's why I
won't post any patches on lkml anymore. It might be fun for them to do
reviews on patches from innocent people, but those victims usually don't
share their view. Maybe I will choose full disclosure or similiar I ever
will have an important patch poor Linux users should really have a need for.

Regards,

Alexander Holler

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: HID: hid-sensor-hub: fix sleeping function called from invalid context
  2014-06-10  8:18   ` Alexander Holler
@ 2014-06-10  9:08     ` Jiri Kosina
  0 siblings, 0 replies; 6+ messages in thread
From: Jiri Kosina @ 2014-06-10  9:08 UTC (permalink / raw)
  To: Alexander Holler; +Cc: Srinivas Pandruvada, linux-kernel

On Tue, 10 Jun 2014, Alexander Holler wrote:

> >> Looking at the differences, I wonder if not all spin_lock() calls in 
> >> hid-sensor-hub.c should be changed into spin_lock_irqsave() like the 
> >> patch from Jiri Kosina did.
> > 
> > Could you please give me your Tested-by:? I'll then be happily queuing the 
> > fix. Thanks.
> 
> Sure, but I already did that in the reply to your patch.

I probably missed in all the other noise in that thread. I've now pushed 
out the staged patch and will be pushing it to Linus for 3.16 still. 
Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-10  9:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-09 22:21 HID: hid-sensor-hub: fix sleeping function called from invalid context Alexander Holler
2014-06-09 22:40 ` Jiri Kosina
2014-06-09 23:17   ` Srinivas Pandruvada
2014-06-09 23:19     ` Jiri Kosina
2014-06-10  8:18   ` Alexander Holler
2014-06-10  9:08     ` Jiri Kosina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.