Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-25 Thread Mika Westerberg
On Thu, Apr 24, 2014 at 04:40:25PM +0200, Thomas Gleixner wrote: > On Thu, 24 Apr 2014, Linus Walleij wrote: > > On Thu, Apr 24, 2014 at 9:25 AM, Thomas Gleixner wrote: > > > > > I'm traveling until friday, so please wait before you commit that > > > fugly hack. I'll have a closer look how we can

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-24 Thread Thomas Gleixner
On Thu, 24 Apr 2014, Linus Walleij wrote: > On Thu, Apr 24, 2014 at 9:25 AM, Thomas Gleixner wrote: > > > I'm traveling until friday, so please wait before you commit that > > fugly hack. I'll have a closer look how we can handle that at the core > > level. > > Thanks a *lot* Thomas, I'll stand

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-24 Thread Linus Walleij
On Thu, Apr 24, 2014 at 9:25 AM, Thomas Gleixner wrote: > I'm traveling until friday, so please wait before you commit that > fugly hack. I'll have a closer look how we can handle that at the core > level. Thanks a *lot* Thomas, I'll stand by for action. Yours, Linus Walleij -- To unsubscribe f

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-24 Thread Thomas Gleixner
On Wed, 23 Apr 2014, Linus Walleij wrote: > However this is a first time for an embedded irqchip (coupled > with GPIO ACPI) creeping into the x86 world, so it needs some > attention I think, do we have a direction forward for peaceful > coexistence of several irq controllers picking some IRQ > numb

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-23 Thread Andy Shevchenko
On Wed, 2014-04-23 at 14:35 +0300, Mathias Nyman wrote: > > > > Urgent fix and the maintainers did not react in a week? Well maybe they need > > to be on the To: line... > > > > Mathias: can you send a patch adding yourself as maintainer of this > > driver in the MAINTAINERS file so stuff like this

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-23 Thread Linus Walleij
On Wed, Apr 23, 2014 at 1:35 PM, Mathias Nyman wrote: > The real issue to my understanding is that the x86 io-apic code is not > really capable of living together with other interrupt controllers at the > same time. There are some assumptions that interrupts 0-15 belong to the > legacy ISA world,

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-23 Thread Mathias Nyman
Urgent fix and the maintainers did not react in a week? Well maybe they need to be on the To: line... Mathias: can you send a patch adding yourself as maintainer of this driver in the MAINTAINERS file so stuff like this does not fall to the floor (me)? Hi, Sorry about the delay. I'm taking o

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-22 Thread Jin, Yao
.. start = bitmap_find_next_zero_area(allocated_irqs, IRQ_BITMAP_BITS, from, cnt, 0); ret = -EEXIST; /* Jin Yao: irq = 16, start = 17 */ /* A */ if (irq >=0 && start != irq) goto err; ...... err: } When graphics driver probing,

Re: [PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-22 Thread Linus Walleij
On Mon, Apr 14, 2014 at 4:48 AM, Jin, Yao wrote: > A crash is triggered on the ASUS T100TA Baytrail-T because of a IRQ > descriptor conflict. There are two gpio triggered acpi events in this > device, GPIO 6 and 18. These gpios are translated to irqs by calling > gpio_to_irq which in turn will ca

[PATCH] pinctrl-baytrail: workaround for irq descriptor conflict on ASUS T100TA

2014-04-13 Thread Jin, Yao
A crash is triggered on the ASUS T100TA Baytrail-T because of a IRQ descriptor conflict. There are two gpio triggered acpi events in this device, GPIO 6 and 18. These gpios are translated to irqs by calling gpio_to_irq which in turn will call irq_create_mapping(vg->domain, offset). irq_create_mapp