From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1360AC43381 for ; Mon, 25 Feb 2019 13:13:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF85220652 for ; Mon, 25 Feb 2019 13:13:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="yNwA4m8X" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbfBYNNK (ORCPT ); Mon, 25 Feb 2019 08:13:10 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60980 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726921AbfBYNNI (ORCPT ); Mon, 25 Feb 2019 08:13:08 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1PDCudF012610; Mon, 25 Feb 2019 07:12:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551100376; bh=wTZsNmEHRkqKyFYhELoM6Sj/RJywedZzr7uCZrcxaVM=; h=Subject:From:To:CC:References:Date:In-Reply-To; b=yNwA4m8XfwJDEscsC0Q82TbeOv9nmtyV/rL4uIuqbmQP2wb5wpeWCj/iG2F2ky1xQ f2FXDWFp48mvXoHHXqa0Cp2ga5DV6D6Sd3USYQQcHmawfxruZwF/Uj2Xl7QISqwWCj XEugWswwJjMRmo6sBAN4j55MLaM6lLSsuYRmn3Bs= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1PDCuu2002331 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Feb 2019 07:12:56 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 25 Feb 2019 07:12:55 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 25 Feb 2019 07:12:55 -0600 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1PDCpxq003886; Mon, 25 Feb 2019 07:12:52 -0600 Subject: Re: Linux-next 20190218: am57xx-evm: mmc1: ADMA error From: Faiz Abbas To: Naresh Kamboju , open list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , , CC: , , Mark Rutland , , , , Jens Axboe References: <34c78d7f-cc3c-853d-b3fd-a70abdb66293@ti.com> Message-ID: <22ccca46-7390-1707-cfca-43b3577b79f2@ti.com> Date: Mon, 25 Feb 2019 18:46:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <34c78d7f-cc3c-853d-b3fd-a70abdb66293@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Naresh, + Commit authors. On 19/02/19 6:38 PM, Faiz Abbas wrote: > Hi Naresh, > > On 18/02/19 6:57 PM, Naresh Kamboju wrote: >> Do you see this error on am57xx-evm running Linux next 20190218 ? >> I have tested on multiple devices and found this error. >> Please find the full boot log [1]. >> Am i missing any pre required configs [2] ? >> >> [ 5.620263] mmc1: ADMA error >> [ 5.623266] mmc1: sdhci: ============ SDHCI REGISTER DUMP =========== >> [ 5.629740] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00003302 >> [ 5.636215] mmc1: sdhci: Blk size: 0x00000200 | Blk cnt: 0x0000ffff >> [ 5.642690] mmc1: sdhci: Argument: 0x002cec70 | Trn mode: 0x00000033 >> [ 5.649162] mmc1: sdhci: Present: 0x01f00000 | Host ctl: 0x00000010 >> [ 5.655634] mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 >> [ 5.662108] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000107 >> [ 5.668582] mmc1: sdhci: Timeout: 0x0000000c | Int stat: 0x00000000 >> [ 5.675055] mmc1: sdhci: Int enab: 0x027f000b | Sig enab: 0x027f000b >> [ 5.681529] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 >> [ 5.688002] mmc1: sdhci: Caps: 0x21e90080 | Caps_1: 0x00000f77 >> [ 5.694474] mmc1: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000 >> [ 5.700949] mmc1: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffef >> [ 5.707423] mmc1: sdhci: Resp[2]: 0x0f5903ff | Resp[3]: 0xd04f0132 >> [ 5.713896] mmc1: sdhci: Host ctl2: 0x00000004 >> [ 5.718364] mmc1: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0xab868218 >> > > I see this as well on my setup. Trying to bisect now. Will keep you posted. Reverting the following commit fixes this. commit 07173c3ec276cbb18dc0e0687d37d310e98a1480 Author: Ming Lei Date: Fri Feb 15 19:13:20 2019 +0800 block: enable multipage bvecs This patch pulls the trigger for multi-page bvecs. Reviewed-by: Omar Sandoval Signed-off-by: Ming Lei Signed-off-by: Jens Axboe >> <> >> [ 42.425587] print_req_error: I/O error, dev mmcblk1, sector 4542872 flags 1 >> [ 42.429013] mmc1: ADMA error >> [ 42.432606] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324: >> I/O error 10 writing to inode 35321 (offset 0 size 4096 starting block >> 567860) >> [ 42.435475] mmc1: sdhci: ============ SDHCI REGISTER DUMP =========== >> [ 42.448543] Buffer I/O error on device mmcblk1p9, logical block 226675 >> [ 42.454944] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00003302 >> [ 42.461528] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324: >> I/O error 10 writing to inode 35322 (offset 0 size 4096 starting block >> 567861) >> [ 42.467960] mmc1: sdhci: Blk size: 0x00000200 | Blk cnt: 0x0000ffff >> [ 42.480982] Buffer I/O error on device mmcblk1p9, logical block 226676 >> [ 42.487427] mmc1: sdhci: Argument: 0x002cae20 | Trn mode: 0x00000033 >> [ 42.494007] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324: >> I/O error 10 writing to inode 315 (offset 0 size 4096 starting block >> 567862) >> >> Full boot log, >> [1] https://lkft.validation.linaro.org/scheduler/job/610989#L4354 >> config, >> [2] http://snapshots.linaro.org/openembedded/lkft/lkft/rocko/am57xx-evm/lkft/linux-next/467/config >> >> Best regards >> Naresh Kamboju >>