From patchwork Wed Jun 18 10:11:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4375061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9F86A9F3B4 for ; Wed, 18 Jun 2014 10:11:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F8C0201DD for ; Wed, 18 Jun 2014 10:11:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 47309201C7 for ; Wed, 18 Jun 2014 10:11:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965240AbaFRKLq (ORCPT ); Wed, 18 Jun 2014 06:11:46 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:55076 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965039AbaFRKLp (ORCPT ); Wed, 18 Jun 2014 06:11:45 -0400 Received: by mail-la0-f48.google.com with SMTP id el20so334642lab.35 for ; Wed, 18 Jun 2014 03:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=BwDSW2/Hlt9fng8D9uzMu8wG1G+VrxSCYOzkStWE1Ww=; b=SQU/pCe3atjbh0WzxG1rorm8AwEN0XNWpPhQfyQidqGKQY0S6nukT2CfO82SNeCM5a d5aFwEK9aSrHMudaT6YyK3kP2Cnqgk9UL++3Y+I+aGvndwziWKwSwjBmfw/NnM0jJOTj 1HuCogOghndnCQ8pK8mINYb3kvIxwMkOPstrRktcf2l/R/MpBS5izRoYE7bzTfi12G6K 4HcRu2EdszRUjuo/EUMb3V3V9ybeNB5ivRjSNoVAvZp7qMGwNoHkPGDI+f4uMMQujZJM Rdd6DFcrNxdkN4DEaFmN6eMzcZloy42ULKInqXsBZebcIbXl8lsZHumW0W/2SjDL4B+C OiSg== MIME-Version: 1.0 X-Received: by 10.112.134.138 with SMTP id pk10mr657763lbb.92.1403086303212; Wed, 18 Jun 2014 03:11:43 -0700 (PDT) Received: by 10.152.127.69 with HTTP; Wed, 18 Jun 2014 03:11:43 -0700 (PDT) Date: Wed, 18 Jun 2014 15:41:43 +0530 X-Google-Sender-Auth: pAjYoHl987iDaJTJfRsgQns5JZI Message-ID: Subject: MMC regression with linux-next on Exynos5250 From: Sachin Kamat To: jh80.chung@samsung.com, linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, tgih.jun@samsung.com, Sachin Kamat , linux-samsung-soc@vger.kernel.org Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Jaehoon, I get the below crash on Exyos5250 based Arndale board with linux-next (20140618) kernel. Looks like the following patch is causing it Commit da118915cc72 " mmc: dw_mmc: replace "disable-wp" from slot's quirk to host's quirk" Reverting the above patch fixes the issue. The below changes in dts file also did not help. Please check. -- [ 2.043665] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 52000000Hz, actual 50000000HZ div = 1) [ 2.044300] Waiting for root device /dev/mmcblk1p3... [ 2.058350] mmc0: new DDR MMC card at address 0001 [ 2.063256] mmcblk0: mmc0:0001 M4G1FA 3.72 GiB [ 2.067633] mmcblk0boot0: mmc0:0001 M4G1FA partition 1 1.00 MiB [ 2.073531] mmcblk0boot1: mmc0:0001 M4G1FA partition 2 1.00 MiB [ 2.079433] mmcblk0rpmb: mmc0:0001 M4G1FA partition 3 128 KiB [ 2.086554] mmcblk0: p1 p2 p3 p4 [ 2.089706] mmcblk0boot1: unknown partition table [ 2.093953] mmcblk0boot0: unknown partition table [ 2.098345] platform 122f0000.sata: Driver ahci requests probe deferral [ 2.172280] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 2.180563] mmc1: new high speed SDHC card at address aaaa [ 2.186220] mmcblk1: mmc1:aaaa SU04G 3.69 GiB (ro) [ 2.192336] mmcblk1: p1 p2 p3 [ 2.194654] platform 122f0000.sata: Driver ahci requests probe deferral [ 2.250761] VFS: Cannot open root device "mmcblk1p3" or unknown-block(179,67): error -30 [ 2.257452] Please append a correct "root=" boot option; here are the available partitions: [ 2.265787] b300 3907584 mmcblk0 driver: mmcblk [ 2.271059] b301 2352800 mmcblk0p1 00000000-01 [ 2.276312] b302 507872 mmcblk0p2 00000000-02 [ 2.281606] b303 507840 mmcblk0p3 00000000-03 [ 2.286899] b304 507840 mmcblk0p4 00000000-04 [ 2.292206] b330 128 mmcblk0rpmb (driver?) [ 2.297406] b320 1024 mmcblk0boot1 (driver?) [ 2.302700] b310 1024 mmcblk0boot0 (driver?) [ 2.307994] b340 3872256 mmcblk1 driver: mmcblk [ 2.313289] b341 4095 mmcblk1p1 0005ac11-01 [ 2.318582] b342 53248 mmcblk1p2 0005ac11-02 [ 2.323876] b343 3814912 mmcblk1p3 0005ac11-03 [ 2.329174] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,67) [ 2.337696] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.16.0-rc1-next-20140618-00048-g868c90fe6c88 #2106 [ 2.347186] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 2.354895] [] (show_stack) from [] (dump_stack+0x8c/0x9c) [ 2.362090] [] (dump_stack) from [] (panic+0xa4/0x21c) [ 2.368950] [] (panic) from [] (mount_block_root+0x1a0/0x230) [ 2.376415] [] (mount_block_root) from [] (mount_root+0x108/0x110) [ 2.384313] [] (mount_root) from [] (prepare_namespace+0x158/0x19c) [ 2.392301] [] (prepare_namespace) from [] (kernel_init_freeable+0x1cc/0x1dc) [ 2.401159] [] (kernel_init_freeable) from [] (kernel_init+0xc/0xe8) [ 2.409229] [] (kernel_init) from [] (ret_from_fork+0x14/0x3c) [ 2.416770] CPU1: stopping [ 2.419453] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.16.0-rc1-next-20140618-00048-g868c90fe6c88 #2106 [ 2.428948] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 2.436660] [] (show_stack) from [] (dump_stack+0x8c/0x9c) [ 2.443856] [] (dump_stack) from [] (handle_IPI+0x150/0x170) [ 2.451233] [] (handle_IPI) from [] (gic_handle_irq+0x64/0x68) [ 2.458781] [] (gic_handle_irq) from [] (__irq_svc+0x40/0x50) [ 2.466239] Exception stack(0xe989ff90 to 0xe989ffd8) [ 2.471268] ff80: ffffffed 00000000 ffffffed c021f6c0 [ 2.479438] ffa0: e989e020 c0b94458 c0b944c4 00000000 00000000 e989e000 c082ef44 c0b88da8 [ 2.487594] ffc0: c0b95858 e989ffd8 c020f374 c020f378 60000113 ffffffff [ 2.494195] [] (__irq_svc) from [] (arch_cpu_idle+0x38/0x3c) [ 2.501587] [] (arch_cpu_idle) from [] (cpu_startup_entry+0x1e8/0x23c) [ 2.509823] [] (cpu_startup_entry) from [<40208a44>] (0x40208a44) [ 2.516761] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,67) *********************************** Regards, Sachin. --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index d0de1f50d15b..617fc5fe50f7 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -422,6 +422,7 @@ num-slots = <1>; supports-highspeed; card-detect-delay = <200>; + disable-wp; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; @@ -432,7 +433,6 @@ slot@0 { reg = <0>; bus-width = <4>; - disable-wp; }; };