Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753313AbcL3CfG (ORCPT ); Thu, 29 Dec 2016 21:35:06 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:41284 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbcL3CfE (ORCPT ); Thu, 29 Dec 2016 21:35:04 -0500 X-AuditID: b6c32a59-f79486d000002ff5-e8-5865c7d5cda3 Subject: Re: [PATCH] Revert "mmc: dw_mmc-rockchip: add runtime PM support" To: ayaka , Jaehoon Chung , Shawn Lin , linux-mmc@vger.kernel.org Cc: Randy Li , ulf.hansson@linaro.org, heiko@sntech.de, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, xzy.xu@rock-chips.com From: Jaehoon Chung Message-id: <20afb1da-9e45-f515-01bf-2f5365d20d61@samsung.com> Date: Fri, 30 Dec 2016 11:35:01 +0900 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-version: 1.0 In-reply-to: <0ccf164f-0d35-9cc3-f288-9b582db23efb@soulik.info> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKJsWRmVeSWpSXmKPExsWy7bCmpu7V46kRBkf2mli8uvuL0eL/o9es FhevLGW22PT4GqvF5V1z2CyO/O9ntPj04D+zxaJt25gs7jxZz2pxfG24xZL5oQ7cHjtn3WX3 uHNtD5vH5iX1Hn9n7Wfx2H5tHrNH893prB6fN8kFsEel2mSkJqakFimk5iXnp2TmpdsqeQfH O8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAXaikUJaYUwoUCkgsLlbSt7Mpyi8tSVXIyC8u sVWKNjQ00jM0MNczMjLSMzGOtTIyBSpJSM2Y/vwkW0GzfMWHpRtZGxgPSXQxcnJICJhI3Jn9 ngnCFpO4cG89WxcjF4eQ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k0NCwETi7LRuNghbTOLCvfVANheHkMBSRol12y4yQjgPGCW69k8DqxIW8JJYNPMZE0hC RKCNUeLajgusEFV9LBLtc2+ygzjMAlcYJf4f+gPWwiagI7H923EmEJtXwE5ix9mXzCA2i4Cq RNu3U0A1HByiAmESzxudIEoEJX5MvscCYnMK2Ets3feGEaSEWUBP4v5FLZAws4C8xOY1b5kn MArMQtIxC6FqFpKqBYzMqxglUguSC4qT0nON8lLL9YoTc4tL89L1kvNzNzGCY/OZ9A7Gw7vc DzEKcDAq8fD+KEuNEGJNLCuuzD3EKMHBrCTCu+sYUIg3JbGyKrUoP76oNCe1+BCjKdAXE5ml RJPzgWkjryTe0MTcxNzYwMLc0tLESEmct3H2s3AhgfTEktTs1NSC1CKYPiYOTqkGRq5HKZ9O LYi9yObm9HBtNtMFk7o9MpFH2Ze+ubgyJ2xmWOuaNNlw/dv7p3b9OhXyWcpN7fXGTfFH/T6K Hr/NsuPmvqM3grn6xHi/OG/ac2f9mb5s282L+I2LGPmmCJyPbmNs+u7ze1mn2xGWp+b3mbJs TeeV+pZvCFow2UM7aKbxKxOVywJrHyqxFGckGmoxFxUnAgAURQak4wIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161230023501epcas5p163aaa5ea3d2abcdf80f111d438e585d0 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7KCV7J6s7ZuIG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?SmFlaG9vbiBDaHVuZxtUaXplbiBQbGF0Zm9ybSBMYWIuG1Nh?= =?UTF-8?B?bXN1bmcgRWxlY3Ryb25pY3MbUzUvU2VuaW9yIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20161228153516epcas2p253c6bc0371ab0df464573b63218795ef X-RootMTR: 20161228153516epcas2p253c6bc0371ab0df464573b63218795ef References: <1482939288-14950-1-git-send-email-ayaka@soulik.info> <7e37b8ad-39d0-3a94-f75a-2166ae2caf10@samsung.com> <7fb90b9e-75c3-0184-4f0a-d4113899b860@rock-chips.com> <04b667d9-2591-51ff-e024-047bbb6e17c3@rock-chips.com> <6ccade72-ae20-2ffa-1504-2536b9f03adf@soulik.info> <95648282-38f5-42c2-fd8b-ab603eb3a168@gmail.com> <0ccf164f-0d35-9cc3-f288-9b582db23efb@soulik.info> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3895 Lines: 74 On 12/30/2016 12:07 AM, ayaka wrote: > > > On 12/29/2016 10:04 PM, Jaehoon Chung wrote: >> Hi, >> >> On 12/29/2016 09:55 PM, ayaka wrote: >>> [ 5.849733] rk_gmac-dwmac ff290000.ethernet (unnamed net_device) (uninitialized): Enable RX Mitigation via HW Watchdog Timer >>> [ 5.944512] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) >>> [ 5.958249] mmc1: new ultra high speed DDR50 SDIO card at address 0001 >>> [ 6.294548] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 177 >>> [ 6.301591] mmc2: new HS200 MMC card at address 0001 >>> [ 6.306758] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) >>> [ 6.316830] mmcblk2: mmc2:0001 AGND3R 14.6 GiB >>> [ 6.321881] mmcblk2boot0: mmc2:0001 AGND3R partition 1 4.00 MiB >>> [ 6.328331] mmcblk2boot1: mmc2:0001 AGND3R partition 2 4.00 MiB >>> [ 6.334792] mmcblk2rpmb: mmc2:0001 AGND3R partition 3 4.00 MiB >>> [ 6.344295] mmcblk2: p1 p2 p3 p4 p5 p6 p7 >>> [ 6.469892] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) >>> [ 6.621888] mmc_host mmc0: Bus speed (slot 0) = 187500Hz (slot req 100000Hz, actual 93750HZ div = 1) >>> [ 6.917883] libphy: stmmac: probed >>> [ 6.921319] rk_gmac-dwmac ff290000.ethernet eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active >>> [ 6.930476] rk_gmac-dwmac ff290000.ethernet eth0: PHY ID 001cc915 at 2 IRQ POLL (stmmac-0:02) >>> [ 6.939757] input: gpio-keys as /devices/platform/gpio-keys/input/input0 >>> [ 6.946937] rtc-hym8563 0-0051: no valid clock/calendar values available >>> [ 6.953694] rtc-hym8563 0-0051: hctosys: unable to read the hardware clock >>> [ 6.961262] vcc_sd: disabling >>> [ 6.964275] dovdd_1v8: disabling >>> [ 6.967527] dvdd_1v2: disabling >>> [ 6.971006] vdd10_lcd: disabling >>> [ 6.974701] vcc18_lcd: disabling >>> [ 6.978467] ttyS2 - failed to request DMA >>> [ 7.101883] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) >>> [ 7.253874] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) >>> [ 7.405883] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) >>> [ 7.557885] mmc_host mmc0: Bus speed (slot 0) = 187500Hz (slot req 100000Hz, actual 93750HZ div = 1) >>> [ 8.037872] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) >>> [ 8.189877] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) >>> [ 8.341881] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) >>> [ 8.493884] mmc_host mmc0: Bus speed (slot 0) = 187500Hz (slot req 100000Hz, actual 93750HZ div = 1) >>> [ 8.973871] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) >>> [ 9.125876] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) >>> [ 9.277884] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) >>> [ 9.429882] mmc_host mmc0: Bus speed (slot 0) = 187500Hz (slot req 100000Hz, actual 93750HZ div = 1) >>> >>> looping here >>> >>> If I revert that patch, there are still lots of Bus speed messages, but finally would enter into system. >>> >> Plz..Don't put the comment on the top. >> >> Which kernel did you use? > Add linux-next specific files for 20161224 mmc0 is what card? Is it polling for detecting card? (It seems the SD-card..right?) Those logs should be polled for detecting mmc0 card..Hmm..I sent the patch for disabling log message when polling. If this log is displayed, then my patch might be some wrong.. :( Best Regards, Jaehoon Chung >> >>>>>> >>>>>> >>>>>> >>>>> [snip] > > > >