linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
@ 2015-08-14 14:05 Detlef Vollmann
  2015-08-14 14:13 ` Gregory CLEMENT
  0 siblings, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2015-08-14 14:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

this commit:
 > commit a71b092a9c68685a270ebdde7b5986ba8787e575
 > Author: Marc Zyngier <marc.zyngier@arm.com>
 > Date:   Tue Aug 26 11:03:18 2014 +0100
 >
 >     ARM: Convert handle_IRQ to use __handle_domain_irq
[...]
causes the kernel not to boot anymore on my DNS-323.
Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 500Mhz
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
Orion ID: MV88F5182-A2. TCLK=166666667.
DNS-323: Identified HW revision B1

Boot stops after "Uncompressing Linux... done, booting the kernel."
Reverting the commit works fine for me.
Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.

   Detlef

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 14:05 commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323 Detlef Vollmann
@ 2015-08-14 14:13 ` Gregory CLEMENT
  2015-08-14 15:16   ` Marc Zyngier
  2015-08-14 15:35   ` Detlef Vollmann
  0 siblings, 2 replies; 8+ messages in thread
From: Gregory CLEMENT @ 2015-08-14 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Detlef,

On 14/08/2015 16:05, Detlef Vollmann wrote:
> Hello,
> 
> this commit:
>  > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>  > Author: Marc Zyngier <marc.zyngier@arm.com>
>  > Date:   Tue Aug 26 11:03:18 2014 +0100
>  >
>  >     ARM: Convert handle_IRQ to use __handle_domain_irq
> [...]
> causes the kernel not to boot anymore on my DNS-323.
> Soc: MV88F5182 Rev 2
> CPU: ARM926 (Rev 0) running @ 500Mhz
> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
> Orion ID: MV88F5182-A2. TCLK=166666667.
> DNS-323: Identified HW revision B1
> 
> Boot stops after "Uncompressing Linux... done, booting the kernel."
> Reverting the commit works fine for me.
> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.

Could you try the following patch ?

http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html

Thanks,

Gregory

> 
>    Detlef
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 14:13 ` Gregory CLEMENT
@ 2015-08-14 15:16   ` Marc Zyngier
  2015-08-14 15:43     ` Detlef Vollmann
  2015-08-14 15:35   ` Detlef Vollmann
  1 sibling, 1 reply; 8+ messages in thread
From: Marc Zyngier @ 2015-08-14 15:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 14/08/15 15:13, Gregory CLEMENT wrote:
> Hi Detlef,
> 
> On 14/08/2015 16:05, Detlef Vollmann wrote:
>> Hello,
>>
>> this commit:
>>  > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>  > Author: Marc Zyngier <marc.zyngier@arm.com>
>>  > Date:   Tue Aug 26 11:03:18 2014 +0100
>>  >
>>  >     ARM: Convert handle_IRQ to use __handle_domain_irq
>> [...]
>> causes the kernel not to boot anymore on my DNS-323.
>> Soc: MV88F5182 Rev 2
>> CPU: ARM926 (Rev 0) running @ 500Mhz
>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>> Orion ID: MV88F5182-A2. TCLK=166666667.
>> DNS-323: Identified HW revision B1
>>
>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>> Reverting the commit works fine for me.
>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
> 
> Could you try the following patch ?
> 
> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html

As a side note, having to revert that patch to get your system up and
running is a reliable indication that something is wrong with your
interrupt mapping, and that you are using 0 as a valid interrupt number
(which has been declared invalid a long time ago by the chief penguin).

Hopefully Gregory has put you in the right direction.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 14:13 ` Gregory CLEMENT
  2015-08-14 15:16   ` Marc Zyngier
@ 2015-08-14 15:35   ` Detlef Vollmann
  2015-08-14 15:38     ` Gregory CLEMENT
  1 sibling, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2015-08-14 15:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Gregory,

On 08/14/15 16:13, Gregory CLEMENT wrote:
> On 14/08/2015 16:05, Detlef Vollmann wrote:
>> Hello,
>>
>> this commit:
>>   > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>   > Author: Marc Zyngier <marc.zyngier@arm.com>
>>   > Date:   Tue Aug 26 11:03:18 2014 +0100
>>   >
>>   >     ARM: Convert handle_IRQ to use __handle_domain_irq
>> [...]
>> causes the kernel not to boot anymore on my DNS-323.
>> Soc: MV88F5182 Rev 2
>> CPU: ARM926 (Rev 0) running @ 500Mhz
>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>> Orion ID: MV88F5182-A2. TCLK=166666667.
>> DNS-323: Identified HW revision B1
>>
>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>> Reverting the commit works fine for me.
>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
>
> Could you try the following patch ?
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html
Thanks for the pointer.
Yes, this patch fixes it :-)

I've also tested Arnd's patch at

http://git.kernel.org/cgit/linux/kernel/git/arnd/playground.git/commit/?h=multiplatform-4.2-next&id=44b55cab3bd74739e4c39205d41e1b2ed8953155

But at least in isolation this doesn't fix the problem.

Thanks again,
   Detlef

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 15:35   ` Detlef Vollmann
@ 2015-08-14 15:38     ` Gregory CLEMENT
  2015-08-14 15:45       ` Detlef Vollmann
  0 siblings, 1 reply; 8+ messages in thread
From: Gregory CLEMENT @ 2015-08-14 15:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Detlef,

On 14/08/2015 17:35, Detlef Vollmann wrote:
> Hi Gregory,
> 
> On 08/14/15 16:13, Gregory CLEMENT wrote:
>> On 14/08/2015 16:05, Detlef Vollmann wrote:
>>> Hello,
>>>
>>> this commit:
>>>   > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>>   > Author: Marc Zyngier <marc.zyngier@arm.com>
>>>   > Date:   Tue Aug 26 11:03:18 2014 +0100
>>>   >
>>>   >     ARM: Convert handle_IRQ to use __handle_domain_irq
>>> [...]
>>> causes the kernel not to boot anymore on my DNS-323.
>>> Soc: MV88F5182 Rev 2
>>> CPU: ARM926 (Rev 0) running @ 500Mhz
>>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>>> Orion ID: MV88F5182-A2. TCLK=166666667.
>>> DNS-323: Identified HW revision B1
>>>
>>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>>> Reverting the commit works fine for me.
>>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
>>
>> Could you try the following patch ?
>>
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html
> Thanks for the pointer.
> Yes, this patch fixes it :-)
> 
> I've also tested Arnd's patch at
> 
> http://git.kernel.org/cgit/linux/kernel/git/arnd/playground.git/commit/?h=multiplatform-4.2-next&id=44b55cab3bd74739e4c39205d41e1b2ed8953155
> 
> But at least in isolation this doesn't fix the problem.

Thanks for doing these two tests, so I will take Benjamin and also add your
Tested-by if you agree.

Gregory



-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 15:16   ` Marc Zyngier
@ 2015-08-14 15:43     ` Detlef Vollmann
  2015-08-14 15:59       ` Marc Zyngier
  0 siblings, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2015-08-14 15:43 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/14/15 17:16, Marc Zyngier wrote:
> On 14/08/15 15:13, Gregory CLEMENT wrote:
>> Hi Detlef,
>>
>> On 14/08/2015 16:05, Detlef Vollmann wrote:
>>> Hello,
>>>
>>> this commit:
>>>   > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>>   > Author: Marc Zyngier <marc.zyngier@arm.com>
>>>   > Date:   Tue Aug 26 11:03:18 2014 +0100
>>>   >
>>>   >     ARM: Convert handle_IRQ to use __handle_domain_irq
>>> [...]
>>> causes the kernel not to boot anymore on my DNS-323.
>>> Soc: MV88F5182 Rev 2
>>> CPU: ARM926 (Rev 0) running @ 500Mhz
>>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>>> Orion ID: MV88F5182-A2. TCLK=166666667.
>>> DNS-323: Identified HW revision B1
>>>
>>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>>> Reverting the commit works fine for me.
>>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
>>
>> Could you try the following patch ?
>>
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html
>
> As a side note, having to revert that patch to get your system up and
> running is a reliable indication that something is wrong with your
> interrupt mapping, and that you are using 0 as a valid interrupt number
> (which has been declared invalid a long time ago by the chief penguin).
Well, in this case it wasn't me ;-)
I wanted to avoid looking at the sources myself as the DNS-323 is still
a widely used hardware.

> Hopefully Gregory has put you in the right direction.
Yes.  Now I'll use that patch until some fix is accepted in mainline.

   Detlef

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 15:38     ` Gregory CLEMENT
@ 2015-08-14 15:45       ` Detlef Vollmann
  0 siblings, 0 replies; 8+ messages in thread
From: Detlef Vollmann @ 2015-08-14 15:45 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/14/15 17:38, Gregory CLEMENT wrote:
> Hi Detlef,
>
> On 14/08/2015 17:35, Detlef Vollmann wrote:
>> Hi Gregory,
>>
>> On 08/14/15 16:13, Gregory CLEMENT wrote:
>>> On 14/08/2015 16:05, Detlef Vollmann wrote:
>>>> Hello,
>>>>
>>>> this commit:
>>>>    > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>>>    > Author: Marc Zyngier <marc.zyngier@arm.com>
>>>>    > Date:   Tue Aug 26 11:03:18 2014 +0100
>>>>    >
>>>>    >     ARM: Convert handle_IRQ to use __handle_domain_irq
>>>> [...]
>>>> causes the kernel not to boot anymore on my DNS-323.
>>>> Soc: MV88F5182 Rev 2
>>>> CPU: ARM926 (Rev 0) running @ 500Mhz
>>>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>>>> Orion ID: MV88F5182-A2. TCLK=166666667.
>>>> DNS-323: Identified HW revision B1
>>>>
>>>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>>>> Reverting the commit works fine for me.
>>>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
>>>
>>> Could you try the following patch ?
>>>
>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html
>> Thanks for the pointer.
>> Yes, this patch fixes it :-)
>>
>> I've also tested Arnd's patch at
>>
>> http://git.kernel.org/cgit/linux/kernel/git/arnd/playground.git/commit/?h=multiplatform-4.2-next&id=44b55cab3bd74739e4c39205d41e1b2ed8953155
>>
>> But at least in isolation this doesn't fix the problem.
>
> Thanks for doing these two tests,
Well, thanks for the pointer!

> so I will take Benjamin and also add your
> Tested-by if you agree.
Fine by me.

Thanks,
   Detlef

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

* commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323
  2015-08-14 15:43     ` Detlef Vollmann
@ 2015-08-14 15:59       ` Marc Zyngier
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Zyngier @ 2015-08-14 15:59 UTC (permalink / raw)
  To: linux-arm-kernel

On 14/08/15 16:43, Detlef Vollmann wrote:
> On 08/14/15 17:16, Marc Zyngier wrote:
>> On 14/08/15 15:13, Gregory CLEMENT wrote:
>>> Hi Detlef,
>>>
>>> On 14/08/2015 16:05, Detlef Vollmann wrote:
>>>> Hello,
>>>>
>>>> this commit:
>>>>   > commit a71b092a9c68685a270ebdde7b5986ba8787e575
>>>>   > Author: Marc Zyngier <marc.zyngier@arm.com>
>>>>   > Date:   Tue Aug 26 11:03:18 2014 +0100
>>>>   >
>>>>   >     ARM: Convert handle_IRQ to use __handle_domain_irq
>>>> [...]
>>>> causes the kernel not to boot anymore on my DNS-323.
>>>> Soc: MV88F5182 Rev 2
>>>> CPU: ARM926 (Rev 0) running @ 500Mhz
>>>> CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
>>>> Orion ID: MV88F5182-A2. TCLK=166666667.
>>>> DNS-323: Identified HW revision B1
>>>>
>>>> Boot stops after "Uncompressing Linux... done, booting the kernel."
>>>> Reverting the commit works fine for me.
>>>> Tested 4.1.2 and 4.2.0-rc6 with orion5x_defconfig.
>>>
>>> Could you try the following patch ?
>>>
>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/356501.html
>>
>> As a side note, having to revert that patch to get your system up and
>> running is a reliable indication that something is wrong with your
>> interrupt mapping, and that you are using 0 as a valid interrupt number
>> (which has been declared invalid a long time ago by the chief penguin).
> Well, in this case it wasn't me ;-)

Guilty by association! ;-)

> I wanted to avoid looking at the sources myself as the DNS-323 is still
> a widely used hardware.

You're missing out! Think of all these sleepless nights you could spend
staring at all kind of weird and fascinating code! :D

>> Hopefully Gregory has put you in the right direction.
> Yes.  Now I'll use that patch until some fix is accepted in mainline.

Hopefully soon.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

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

end of thread, other threads:[~2015-08-14 15:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-14 14:05 commit a71b092 "ARM: Convert handle_IRQ to use __handle_domain_irq" breaks DNS-323 Detlef Vollmann
2015-08-14 14:13 ` Gregory CLEMENT
2015-08-14 15:16   ` Marc Zyngier
2015-08-14 15:43     ` Detlef Vollmann
2015-08-14 15:59       ` Marc Zyngier
2015-08-14 15:35   ` Detlef Vollmann
2015-08-14 15:38     ` Gregory CLEMENT
2015-08-14 15:45       ` Detlef Vollmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).