From patchwork Mon Jan 14 19:14:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1973411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 72EA6DF2E1 for ; Mon, 14 Jan 2013 19:19:17 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TupV8-00047X-Q7; Mon, 14 Jan 2013 19:15:19 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TupV4-00046L-0D for linux-arm-kernel@lists.infradead.org; Mon, 14 Jan 2013 19:15:15 +0000 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0EJF3P1014667; Mon, 14 Jan 2013 13:15:03 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0EJF3sL011344; Mon, 14 Jan 2013 13:15:03 -0600 Received: from dlelxv22.itg.ti.com (172.17.1.197) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Mon, 14 Jan 2013 13:15:03 -0600 Received: from localhost (h78-20.vpn.ti.com [172.24.78.20]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0EJF2Mw016894; Mon, 14 Jan 2013 13:15:03 -0600 Date: Mon, 14 Jan 2013 21:14:59 +0200 From: Felipe Balbi To: Aaro Koskinen Subject: Re: OMAP baseline test results for v3.8-rc3 Message-ID: <20130114191459.GA9402@arwen.pp.htv.fi> References: <20130114184018.GA18224@blackmetal.musicnaut.iki.fi> MIME-Version: 1.0 In-Reply-To: <20130114184018.GA18224@blackmetal.musicnaut.iki.fi> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130114_141514_277981_9E862967 X-CRM114-Status: GOOD ( 19.53 ) X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Paul Walmsley , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: balbi@ti.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, On Mon, Jan 14, 2013 at 08:40:18PM +0200, Aaro Koskinen wrote: > On Mon, Jan 14, 2013 at 05:59:12PM +0000, Paul Walmsley wrote: > > Here are some basic OMAP test results for Linux v3.8-rc3. > > Logs and other details at: > > > > http://www.pwsan.com/omap/testlogs/test_v3.8-rc3/20130109222058/ > > > > > > Test summary > > ------------ > > > > Boot to userspace: > > Pass ( 9/11): 2420n800, 2430sdp, 3517evm, 3530es3beagle, > > 3730beaglexm, 37xxevm, 4430es2panda, 5912osk, > > 4460pandaes > > FAIL ( 2/11): am335xbone, cmt3517 > > N900 boot is unstable again, I2C issues are back. damn! > Boot succeeds and fails randomly. Let's see if this can be bisected. > The same kernel works on N950. fair enough, it might be something related to some errata fix which might have been missed. Can you apply this small patch just so I know if there is something pending in CNT reg ? you might also want to try merging my latest i2c patches, which missed the merge window, as they might help with this issue too. The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git i2c-deferred-STP for you to fetch changes up to a7b1b41b270be84f6bf6e7d3654d74c873b3daf8: i2c: omap: get rid of b_hw flag (2013-01-14 21:04:16 +0200) ---------------------------------------------------------------- Felipe Balbi (6): i2c: omap: no need to access platform_device i2c: omap: also complete() when stat becomes zero i2c: omap: improve 'rev' a little bit i2c: omap: in case of VERSION_2 read IRQSTATUS_RAW but write to IRQSTATUS i2c: omap: wait for transfer completion before sending STP bit i2c: omap: get rid of b_hw flag drivers/i2c/busses/i2c-omap.c | 184 +++++++++++++++++++++--------------------- 1 file changed, 93 insertions(+), 91 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 20d41bf..173e883 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -462,6 +462,10 @@ static int omap_i2c_wait_for_bb(struct omap_i2c_dev *dev) while (omap_i2c_read_reg(dev, OMAP_I2C_STAT_REG) & OMAP_I2C_STAT_BB) { if (time_after(jiffies, timeout)) { dev_warn(dev->dev, "timeout waiting for bus ready\n"); + dev_warn(dev->dev, "SA %04x CON %04x CNT %04x\n", + omap_i2c_read_reg(dev, OMAP_I2C_SA_REG), + omap_i2c_read_reg(dev, OMAP_I2C_CON_REG), + omap_i2c_read_reg(dev, OMAP_I2C_CNT_REG)); return -ETIMEDOUT; } msleep(1);