https://bugzilla.kernel.org/show_bug.cgi?id=68291

--- Comment #18 from Mathias Nyman <[email protected]> ---
(In reply to Adam Williamson from comment #16)
> Ah, right. But: I have that patch re-applied in my current builds, and they
> don't crash.
> 
> See https://github.com/AdamWill/baytrail-m/blob/master/kernel/MANIFEST:
> 
> * LPSS support, probably needed for sound to work
> * https://lkml.org/lkml/2014/2/18/127
> baytrail_acpi_pwm.patch
> * https://lkml.org/lkml/2014/1/20/88
> lpss_pwm.patch
> *
> https://github.com/rjwysocki/linux-pm/commit/
> b2a51a6d0f96308251cfa41b793c43d0316e3b16
> baytrail_gpio_lpss_ids.patch
> 
> I'm applying those three patches together, against 3.14rc4, and not hitting
> this issue.

Oh, right, 3.14rc4 has some modifications already in it.

Short story:

You need one more patch to trigger this, which is not out anywhere,
I'll attach it here.

Long story:

3.14rc4 has some modifications to how gpio triggered acpi event handlers are
registered, gpio driver no longer calls acpi_gpiochip_request_interrupts()
itself, it's now done in gpiochip_add() automatically. Because
pinctrl-baytrail.c calls gpiochip_add() before it sets up interrupts (creates
the new irq domain etc.) the gpio triggered acpi events will not work on this
version, (and not crash either) so a patch that moves  gpiochip_add() to after
interrupt initialization is needed.    

The patches that changes the gpio triggered acpi event registration is here
https://lkml.org/lkml/2013/11/26/104

the patch that needs to be applied to make it crash/work is attached

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to