From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754759AbbBTVP4 (ORCPT ); Fri, 20 Feb 2015 16:15:56 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:56467 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbbBTVPz (ORCPT ); Fri, 20 Feb 2015 16:15:55 -0500 Date: Fri, 20 Feb 2015 22:15:52 +0100 From: Pavel Machek To: Felipe Balbi Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , Linux USB Mailing List , Aaro Koskinen , Sebastian Reichel , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] usb: gadget: function: phonet: balance usb_ep_disable calls Message-ID: <20150220211552.GB28995@amd> References: <1422918921-5472-1-git-send-email-balbi@ti.com> <201502032057.11166@pali> <201502051338.59040@pali> <201502200109.48793@pali> <20150220030611.GA19507@saruman.tx.rr.com> <20150220082750.GC14057@amd> <20150220143906.GA1707@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150220143906.GA1707@saruman.tx.rr.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2015-02-20 08:39:06, Felipe Balbi wrote: > On Fri, Feb 20, 2015 at 09:27:51AM +0100, Pavel Machek wrote: > > > > > > > > In current state I review all 3 patches as: > > > > > > > > > > > > > > > > Rejected-by: Pali Rohár > > > > > > > > [It breaks booting Nokia N900 device] > > > > > > > > > > > > > > next step, figure why it's broken. Working just fine here > > > > > > > on AM335x which has the same musb IP. > > > > > > > > > > > > Why is broken? That is easy. You send 3 patches which broke > > > > > > it. > > > > > > > > > > Actually when I reverted only that patch which adds line: > > > > > > > > > > pm_runtime_irq_safe(musb->controller) > > > > > > > > > > then early boot crash disappeared. > > > > > > > > > > But other two patches did not fixed support for external .ko > > > > > gadget modules. State is same -- crash after modprobe. > > > > > > > > Here is crash from qemu when musb is compiled into kernel: > > > > > > > > [ 0.641662] Unable to handle kernel NULL pointer dereference at virtual address 00000000 > > > > [ 0.642211] pgd = c0004000 > > ... > > > > [ 0.672882] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b > > > > [ 0.672882] > > > > > > > > Reason why it crashes is because when function > > > > omap2430_runtime_resume() is called pointer to functions > > > > musb_readl and musb_writel are both NULL. And so NULL pointer > > > > dereference. > > > > > > https://git.kernel.org/cgit/linux/kernel/git/balbi/usb.git/commit/?h=testing/next&id=1861a2c60351a390272b3395f4d88480cdfd9e58 > > > > > > > So you commit a fix to your internal branch without telling Pali, who > > is actively debugging same problem at the same time, and then you just > > send him url without at least saying "sorry"? > > grow up... why do I have to say sorry for fixing a problem ? Why do I > have to let you know I committed something to my branch ? It's the Because that's polite thing to do when you break someone elses system? I see politeness is not your great strength. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html