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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 730CBECAAA1 for ; Sun, 23 Oct 2022 05:33:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9972884EA9; Sun, 23 Oct 2022 07:33:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="KofBBzNS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DBBC784F00; Sun, 23 Oct 2022 07:33:45 +0200 (CEST) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6BFE484967 for ; Sun, 23 Oct 2022 07:33:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-io1-xd30.google.com with SMTP id l127so5414305iof.12 for ; Sat, 22 Oct 2022 22:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5Hn8Rce5QbEKAApdjIQ9Qy7vt31+v4TefPPbI0kvi00=; b=KofBBzNSV6sAqeAsK8VZ5TTw4BbhYP9oqL3gpM115aLjBhNmjBMdSLHBhB58LSbGVF Q10SQzMaV1mz9AyD41B2NoxkuToVL3HUWm5fb94FOoV8THW94vxfkHlut3IPX8v+2v9Y 6FetS+wFBz00o5U6zZjBwoS1pwRql2Yv9i1P8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5Hn8Rce5QbEKAApdjIQ9Qy7vt31+v4TefPPbI0kvi00=; b=qqzx/SvYMWb9WGIh2ALka/GjKbKjsz1XlpN8BkDIWGi+o7Hns/SLBgmX6dKbnIYIZv sUgHCyw0cIDbAV51kjibJORgbRGUenoyL7BMtXBD1MKWsJsHSVjwy4OrNsOnFstascAx sogL2+jGUUF5CKJmTzyyoyuAVCosF7VxJLG7F8h3OaqUhhXAI+bruL0MV2auOMyaRCHG dH3WrG2BL14LBNBqG8+sOuZcThbPpAP5pasbUSUBvG2TRQw6SGLmSUl2/jkplHE51cyp yyW49pdAwZcZ/AmFY1IHq6QQpSVDQb0uMvcpF/+rGK2Fv6iaSZaGrIv7pSi7PbsH07LU PF9w== X-Gm-Message-State: ACrzQf1BZnkz8UMLdPEZl0yDNkenCb/9vclqbS0yeo1z1JDTluoBtRjM NzIGRRY9V6Z8fyLpdrFf16137ToiVUseoI/ceAoIww== X-Google-Smtp-Source: AMsMyM7XYdiXZdGLU+ZVjPEAqQ93WuefrLXRpA/eHqX8mWgDSqXtGYIlAGJUKLqaqA7oKYd1MEK9nJBca08Y8Sf4Ghc= X-Received: by 2002:a05:6638:3f16:b0:364:134b:92cc with SMTP id ck22-20020a0566383f1600b00364134b92ccmr18736952jab.104.1666503221995; Sat, 22 Oct 2022 22:33:41 -0700 (PDT) MIME-Version: 1.0 References: <20220830062009.24408-1-jit.loon.lim@intel.com> In-Reply-To: <20220830062009.24408-1-jit.loon.lim@intel.com> From: Jagan Teki Date: Sun, 23 Oct 2022 11:03:30 +0530 Message-ID: Subject: Re: [PATCH 016/347] FogBugz #516535: Fix QSPI write issues To: Jit Loon Lim Cc: u-boot@lists.denx.de, Vignesh R , Marek , Simon , Tien Fong , Kok Kiang , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif , Teik Heng , Hazim , Chee Hong Ang Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Tue, Aug 30, 2022 at 11:50 AM Jit Loon Lim wrote: > > From: Chee Hong Ang > > QSPI driver perform chip select on every flash read/write > access. The driver need to disable/enable the QSPI controller > while performing chip select. This may cause some data lost > especially the QSPI controller is configured to run at slower > speed as it may take longer time to access the flash device. > This patch prevent the driver from disable/enable the QSPI > controller too soon and inadvertently halting any ongoing flash > read/write access by ensuring the QSPI controller is always in > idle mode after each read/write access. > > Signed-off-by: Chee Hong Ang > -- "FogBugz #516535:" This commit head is invalid for the upstream patch.