Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751022AbbLBT3n (ORCPT ); Wed, 2 Dec 2015 14:29:43 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]:40250 "EHLO mail.lysator.liu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbbLBT3l (ORCPT ); Wed, 2 Dec 2015 14:29:41 -0500 Message-ID: <565F469F.9000004@lysator.liu.se> Date: Wed, 02 Dec 2015 20:29:35 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Alexandre Belloni CC: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: Regression, was [PATCH 4/4] USB: host: ohci-at91: merge loops in ohci_hcd_at91_drv_probe References: <565DD61C.5010904@lysator.liu.se> <20151202182002.GF22136@piout.net> In-Reply-To: <20151202182002.GF22136@piout.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2970 Lines: 57 Hi Alexandre, On 2015-12-02 19:20, Alexandre Belloni wrote: > Hi Peter, > > On 01/12/2015 at 18:17:16 +0100, Peter Rosin wrote : >> [] (ohci_hcd_at91_overcurrent_irq) from [] (handle_irq_event_percpu+0x78/0x140) >> [] (handle_irq_event_percpu) from [] (handle_irq_event+0x2c/0x40) >> [] (handle_irq_event) from [] (handle_simple_irq+0x6c/0x80) >> [] (handle_simple_irq) from [] (generic_handle_irq+0x2c/0x3c) >> [] (generic_handle_irq) from [] (gpio_irq_handler+0xa4/0x12c) >> [] (gpio_irq_handler) from [] (generic_handle_irq+0x2c/0x3c) >> [] (generic_handle_irq) from [] (__handle_domain_irq+0x54/0xa8) >> [] (__handle_domain_irq) from [] (__irq_svc+0x40/0x54) >> [] (__irq_svc) from [] (__setup_irq+0x248/0x530) >> [] (__setup_irq) from [] (request_threaded_irq+0xc4/0x144) >> [] (request_threaded_irq) from [] (ohci_hcd_at91_drv_probe+0x460/0x518) >> [] (ohci_hcd_at91_drv_probe) from [] (platform_drv_probe+0x44/0xa4) >> [] (platform_drv_probe) from [] (driver_probe_device+0x1fc/0x43c) >> [] (driver_probe_device) from [] (__driver_attach+0x8c/0x90) >> [] (__driver_attach) from [] (bus_for_each_dev+0x6c/0xa0) >> [] (bus_for_each_dev) from [] (bus_add_driver+0x1d0/0x268) >> [] (bus_add_driver) from [] (driver_register+0x78/0xf8) >> [] (driver_register) from [] (do_one_initcall+0xb8/0x1f0) >> [] (do_one_initcall) from [] (kernel_init_freeable+0x138/0x1d8) >> [] (kernel_init_freeable) from [] (kernel_init+0x8/0xe8) >> [] (kernel_init) from [] (ret_from_fork+0x14/0x2c) >> Code: e5916058 e1a08000 e3a04000 e2865008 (e5b50004) >> ---[ end trace e66fbc480972ac43 ]--- >> Kernel panic - not syncing: Fatal exception in interrupt >> ---[ end Kernel panic - not syncing: Fatal exception in interrupt > > I think I understood what happens. Can you try the following patch? Seems to work here. Excellent! > 8<------ > From 402f8444bc92d218edc63dcc3c87459981a56c31 Mon Sep 17 00:00:00 2001 > From: Alexandre Belloni > Date: Wed, 2 Dec 2015 18:49:34 +0100 > Subject: [PATCH] USB: host: ohci-at91: fix a crash in > ohci_hcd_at91_overcurrent_irq > > Signed-off-by: Alexandre Belloni Reported-by: Peter Rosin Tested-by: Peter Rosin (and bisected-by if anyone cares...) Cheers, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/