Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6013188rwi; Tue, 18 Oct 2022 07:07:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jY7I202AA5VWp1lixO4kDx5jRPEsfzEx+4FI5U2MsBrzdsb4FvABtvlb+g4nXGzV3wQMs X-Received: by 2002:a63:5243:0:b0:43c:96a:8528 with SMTP id s3-20020a635243000000b0043c096a8528mr2761297pgl.47.1666102066820; Tue, 18 Oct 2022 07:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666102066; cv=none; d=google.com; s=arc-20160816; b=MQ1Za6/G2MSbU9xLkaUv5UDWhEflgO6upzcQomClZ3YLJTZSyJ5koOFvW7mjbiM60f hepO2JVhRy+SBGcw5W8ewaFkd0OI/+hD8b5Gn5sxjU8TNmorkaMXjvOHldFL15ZqY6Ku rfT798eunTxAmmr2MMwf/1RX67KUhr+ZXU1LSZ1TWBZyfzdftjzQcWQUbZJXKlQA3m43 Y64ANm3KlBCJk8I5MkPmrFSsVK2hNU8G1v5yc9Tv75Fm5Jga0RIuNR7Rsc+dVbiR575l 3GokMazL5lmUGZIsnQpAL8dMg8FKZ5QIzGdLsCUIS4mMHfsgsLp8M9QUugygP37XOgNW ok6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=AuzvGkxBRGlNe+skx8V5SxAH7cA319eApJIB8CR8jKo=; b=m3AoyZfT3+il5USnIPV06lauw0ARajLiCIpgxKfLfKC7TBMxfSNRANlWOI98SfT08E NzZUtg9qDm1wn5mJJ57W9qlvaiVvLNeZFsv5ZqHKEEe6B2EPdMdXiWo/0SRoL3BiGTRm T8f2rmE0qMayDMaNaTZuf/sI5AM+ZV1TdRn9EcY9yQ0nm3KxHMQSh+EoHUtDST4AZrHr ABBWXsSI9lCa/AXPq0JWpiiU6N2qjuM/KnYcLD9whLQ5qBTEBIIqVlOlaDmbvt7mNt/R /JOBmugKccAxRD11cZObdxTjH+oVxeNPZ/m0N5LLHcbo3Qq9WSXyrTVDFs6GwumAaxQI mwOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=Kq6rzy0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pm16-20020a17090b3c5000b0020d887ded6esi13786140pjb.120.2022.10.18.07.07.30; Tue, 18 Oct 2022 07:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=Kq6rzy0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbiJRNRW (ORCPT + 99 others); Tue, 18 Oct 2022 09:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiJRNRU (ORCPT ); Tue, 18 Oct 2022 09:17:20 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03796C8218; Tue, 18 Oct 2022 06:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1666099029; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AuzvGkxBRGlNe+skx8V5SxAH7cA319eApJIB8CR8jKo=; b=Kq6rzy0LSeNBUURfbHC7uLjO6IrCshn7bM/dRQ12l4a2mn4m7rXjNmVdt4RkhTbJj8ku8h qAS3WcLXyWu6A8VQDdslhYNHNuxwx4NmWZkMRnCGD3E/QW1McL211B53dDgJJ9r/uCEjBo WoWaGD3IXcs6mJ8jAWCDLZvX5CQa3j8= Date: Tue, 18 Oct 2022 14:16:58 +0100 From: Paul Cercueil Subject: Re: [PATCH v2 2/2] dmaengine: JZ4780: Add support for the JZ4755. To: Siarhei Volkau Cc: Vinod Koul , Rob Herring , Krzysztof Kozlowski , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Message-Id: In-Reply-To: References: <20221016151256.3021729-1-lis8215@gmail.com> <20221016151256.3021729-3-lis8215@gmail.com> <895WJR.03DS0G5N9R0V1@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le lun., oct. 17 2022 at 20:29:27 +0300, Siarhei Volkau=20 a =C3=A9crit : > =D0=BF=D0=BD, 17 =D0=BE=D0=BA=D1=82. 2022 =D0=B3. =D0=B2 12:34, Paul Cerc= ueil=20 > : >> Can you verify that? >>=20 >> It should be pretty simple, if it has the bug you'll see I/O errors=20 >> on >> the SD card. >=20 > Well, the result is ambiguous: >=20 > Without that 'broken' flag: mmc works poorly, but becomes more or less > stable when MMC clock downs to 6MHz (90% boots without errors). > On the 12MHz MMC clock the issue doesn't appear in 50-70% cases. > On the 24MHz MMC clock the device never boots up. >=20 > However with the flag: MMC works stable on 24MHz MMC clock > (boot issue observed only once), but if I increase MMC clock speed=20 > even > a bit the problem appears oftenly ( >70% of cases). >=20 > So, that flag definitely helps a lot, but the nature of the problem=20 > might be > different. If the flag makes any difference then it's needed. The controller should support up to 50 MHz, make sure that your "mmc"=20 clock is at 50 MHz otherwise changing the max-frequency DT property=20 won't do much. Cheers, -Paul