Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3195714ybc; Mon, 18 Nov 2019 11:07:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwUqLFGlVUn6cui/BwPouZiWXFPqLgsXMgkKoGTcQ0KaLQvekSljH1JxJIVm9fD3SiZt6RN X-Received: by 2002:a17:906:8054:: with SMTP id x20mr28293859ejw.68.1574104033006; Mon, 18 Nov 2019 11:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574104032; cv=none; d=google.com; s=arc-20160816; b=WfdbvfTC4eRs0pj9lGhTJH3QwH0nYx39qTguPhMddAZfupL7pB8wUoaETzWvDHMUrH +gSMFyobdz0dLCTecrVwx+rPWYHkRFa0+e4I4XSm1NcWxJ491gFcua6d43GtWFQNqXT4 Cfme53M95ki53gfDZW5Q7Ur2ZwH5Pr1zh2VI3EVBIhi1t2wtFIpSMfuowLUy8mXQXgLY nAzPpoqEsc+ELizQ6TOTtSNa92OIiUSKqgfbjF0muDorBYAF2Kjf4MXmVsvpioaIUPHg 8mjUNewPS0ZJ8M2F71GiesnB1cNTmy+TyPlqRzjly/1AMKHoNomXHivnqgXG/GYtJ8Tv XUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/F4gq/7+XGB+BtHQ8pt3ieP/PRaP8EykT6BwblmyRdo=; b=bQxRc3q9156wh3ppNk2Djm/XNFy2JwU6LR3qfargCrXGI5Q2BEIwJfO8PmN1OMBoZA Lwuwusby7AhG/9MnbH1SYpuavC4VllOgqt2YiBYzYB/cH/AVLt3fGNx7pMRrrbttS6G/ Gr9zG+TsJiH6mzvSdmlreW4FmxCWm52BJjpsJJWw/K4PpH8L16O8YW8mKOudU8F2NQIu APUhn5JNjSm7utX0p6thq6jo2zZq73nxS7kaNGPyvxw19Olo/P1FVoTXqIR3xAn2dDzs 5xnqCHpG9yj2sLnQ2DYc01UkYXpZjPcOOUpkpuP19PMPCG2BkNpnq4ZHF//U+DYO0j2Z Dzcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si11850098ejn.288.2019.11.18.11.06.47; Mon, 18 Nov 2019 11:07:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbfKRTFV (ORCPT + 99 others); Mon, 18 Nov 2019 14:05:21 -0500 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:42632 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbfKRTFV (ORCPT ); Mon, 18 Nov 2019 14:05:21 -0500 Received: from [2003:a:659:3f00:1e6f:65ff:fe31:d1d5] (helo=hermes.fivetechno.de); authenticated by wp126.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iWmKl-000530-T0; Mon, 18 Nov 2019 20:05:12 +0100 X-Virus-Scanned: by amavisd-new 2.11.1 using newest ClamAV at linuxbbg.five-lan.de Received: from dell2.five-lan.de (p508F31A5.dip0.t-ipconnect.de [80.143.49.165]) (authenticated bits=0) by hermes.fivetechno.de (8.15.2/8.14.5/SuSE Linux 0.8) with ESMTPSA id xAIJ59Ku008128 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 18 Nov 2019 20:05:10 +0100 Subject: Re: arm64: dts: rockchip: Disable HS400 for mmc on rk3399-roc-pc To: Doug Anderson , =?UTF-8?Q?Heiko_St=c3=bcbner?= Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Brian Norris , Tony Xie , Viresh Kumar , Shawn Lin , Jeffy Chen , "linux-mmc@vger.kernel.org" , LKML , Vicente Bergas , "open list:ARM/Rockchip SoC..." , Rob Herring , Klaus Goger , Enric Balletbo i Serra , Philipp Tomsich , Randy Li , Kishon Vijay Abraham I , Ezequiel Garcia , Linux ARM , Christoph Muellner References: <20190301153348.29870-1-christoph.muellner@theobroma-systems.com> <2766673.iMURPl8gB5@phil> <69472c06-8b21-c3d8-acad-1a0a292c0fa2@fivetechno.de> <3460135.SDF8zhHPq4@diego> From: Markus Reichl Message-ID: <2db7a63f-a091-db8d-3414-cac289011878@fivetechno.de> Date: Mon, 18 Nov 2019 20:05:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;m.reichl@fivetechno.de;1574103921;6de465a7; X-HE-SMSGID: 1iWmKl-000530-T0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug, Am 18.11.19 um 17:08 schrieb Doug Anderson: > Hi, > > > On Fri, Nov 15, 2019 at 3:19 AM Heiko Stübner wrote: >> >> Hi Markus, >> >> Am Freitag, 15. November 2019, 11:37:58 CET schrieb Markus Reichl: >> > Am 14.11.19 um 14:10 schrieb Heiko Stuebner: >> > > $subject is missing the [PATCH] prefix >> > will fix. >> >> no need to resend just for this ... just to keep in mind for future patches ;-) >> >> >> > > Am Montag, 11. November 2019, 10:51:04 CET schrieb Markus Reichl: >> > >> Working with rootfs on two 128GB mmcs on rk3399-roc-pc. >> > >> >> > >> One (mmc name 128G72, one screw hole) works fine in HS400 mode. >> > >> Other (mmc name DJNB4R, firefly on pcb, two screw holes) gets lots of >> > >> mmc1: "running CQE recovery", even hangs with damaged fs, >> > >> when running under heavy load, e.g. compiling kernel. >> > >> Both run fine with HS200. >> > >> >> > >> Disabling CQ with patch mmc: core: Add MMC Command Queue Support kernel parameter [0] did not help. >> > >> [0] https://gitlab.com/ayufan-repos/rock64/linux-mainline-kernel/commit/54e264154b87dfe32a8359b2726e2d5611adbaf3 >> > > >> > > I'm hoping for some input from other people in Cc but your mail headers >> > > also referenced the drive-impendance series from Christoph [0], which >> > > it seems we need to poke the phy maintainer again. >> > > >> > > Did you check if changing the impedance helped (like the signal dampening >> > > Philipp described in one of the replies there). >> > >> > checked with >> > >> > &emmc_phy { >> > + drive-impedance-ohm = <33>; >> > >> > gives no improvement: >> >> That is sad ... I guess we really should disable hs400 then ... >> that may give others more incentive to dive deeper ;-) > > Just out of curiosity, is the problem with the strobe line, or with > hs400? Have you tried using the solution from "rk3399-gru.dtsi"? > Namely: > > /* > * Signal integrity isn't great at 200 MHz and 150 MHz (DDR) gives the > * same (or nearly the same) performance for all eMMC that are intended > * to be used. > */ > assigned-clock-rates = <150000000>; > > IIRC hs400 on rk3399 was a bit iffy but running at 150 MHz made it > much more reliable and still gave you 300 MB/s transfer rate (so much > better than hs200). In reality many eMMC chips can't do > 300 MB/s > anyway. > I tried 150000000 and 100000000, but it did not help. Gruß, -- Markus > -Doug >