Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2877542pxp; Tue, 8 Mar 2022 03:50:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9br1se+A5Kiiw4C2g/QHmcFDEiSNapdLHCFI34YHfzn6X3LLJzZEDay+8dd73xcCd+6KR X-Received: by 2002:a17:906:2ed1:b0:6b6:bb09:178c with SMTP id s17-20020a1709062ed100b006b6bb09178cmr12952544eji.382.1646740208115; Tue, 08 Mar 2022 03:50:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646740208; cv=none; d=google.com; s=arc-20160816; b=CDvPE28h0O1O5ic7CutSMHJZ6KcnVc1s+kA3oaGXuDSxbfCFpS7ApGAZRj1LNvWKEc C62z2tt78vDaOhyj+8sB01InaW76JEs2Ij4M7k1bjX4KnDomiwq4O/GWKjLE1CTibcpQ X8LXgIanU9f3mAnAnyjNBNFuzSmEGQRkeCH85804wDxT99DPod7pzX2GKdj+y9usUpFc 78y3dNoB7by7M3VvfOgm1TdCRR9sdaFwlcDX5cB3SzXAlNQmPWnp1OTxzO0U6hkMAzp9 7ab1w3syLBVT1s3/yTFj/tKrkXbJulhhZpPnGk//sxxgvJzkmqDp5tB5GFIOV2O0G+kU Qjdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=/0A3fiI6SF5FkbWt8i2s+Fk+OXU1UOQjwNrha0L6c9s=; b=h8Zuj5y5fHnDWabVnkPe22roj0NYKewrm+rHPZzlqtKQbtwGzO1RKRbBG3/MY5U7GR CGUY0SC3H6EIRJ/oIlppBYXgZXumYDpYztQ4vxWkQigWai90GQm0utMdH/UeM9Cm55TC /elZLI+8zodEonuxQNDEHmyyj8rKwKVPvYN5MzRUvoxPPpYDTcUD6A6xYer+lzhy260w Y/+d69tr6uwpi1MEwyHROzMNoEUr7UtKGnloUw1Tjjx0x8UNEhcpbutsIEgZkPGexTlo e6e09T+KFb1l6sF0CvrNrOhaUp5+sy0w59LGybLwnbk3xhnv249kbGPM9NLMVymk1qKe IxMw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a509545000000b004131c5d0885si9392158eda.466.2022.03.08.03.49.22; Tue, 08 Mar 2022 03:50:08 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345073AbiCHJCu (ORCPT + 99 others); Tue, 8 Mar 2022 04:02:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345105AbiCHJCq (ORCPT ); Tue, 8 Mar 2022 04:02:46 -0500 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3FCC3914F; Tue, 8 Mar 2022 01:01:50 -0800 (PST) Received: by mail-qk1-f173.google.com with SMTP id r127so3254640qke.13; Tue, 08 Mar 2022 01:01:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/0A3fiI6SF5FkbWt8i2s+Fk+OXU1UOQjwNrha0L6c9s=; b=c/ovzKt+T8ns6swRibqXcCl7nCDL1fq3Jd6+PazKY10o8Y0cTuSETuD8flOloIRL36 YQ148lbHU+LUV7ksREOVF0/feHykb+mESh//Xt8z9dQOHzNbJAoxn2rqC0jRaYNPDBDc b5ZTkLLpcuJB3TgCqPdWZeY1/REzye/dZhvJU4BRAACdoKdxSzOIvLALm9juG4uTj6Nl IErpRlljmKK3b2B7LdyDzdGOC2kTNIDbU1Sd7ILyOy1yMPZ7foeDx1G3Ex5yfBaWA7/9 qpUpUjF0b1YP8xw/ogWHI6MuFzzfKXKm/IOX700ozI4J27WLHt5m/ogDmbrkb9ONbqtB mrsQ== X-Gm-Message-State: AOAM531HgdLxbhTowQYNbo9sdVN6aZ3YvbWXuf3iBJutSlaycoglxS35 wEvr6PlwfDRndbvSyYroJ8A5cCsOrllEFA== X-Received: by 2002:a05:620a:1903:b0:67d:243b:a8ae with SMTP id bj3-20020a05620a190300b0067d243ba8aemr217701qkb.142.1646730109522; Tue, 08 Mar 2022 01:01:49 -0800 (PST) Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com. [209.85.128.179]) by smtp.gmail.com with ESMTPSA id j11-20020a37a00b000000b0067b436faccesm1596499qke.122.2022.03.08.01.01.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Mar 2022 01:01:49 -0800 (PST) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-2d6d0cb5da4so193403507b3.10; Tue, 08 Mar 2022 01:01:48 -0800 (PST) X-Received: by 2002:a81:5247:0:b0:2dc:2171:d42 with SMTP id g68-20020a815247000000b002dc21710d42mr11891435ywb.438.1646730108371; Tue, 08 Mar 2022 01:01:48 -0800 (PST) MIME-Version: 1.0 References: <20210922091007.5516-1-wsa+renesas@sang-engineering.com> <163282533892.34438.1878675609177525004.b4-ty@canonical.com> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 8 Mar 2022 10:01:36 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH] memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode To: Wolfram Sang Cc: Krzysztof Kozlowski , Linux Kernel Mailing List , Linux-Renesas , Sergey Shtylyov , "Lad, Prabhakar" , Andrew Gabbasov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Wolfram, On Tue, Mar 8, 2022 at 9:46 AM Wolfram Sang wrote: > > This is not QSPI, but HF. > > Ah, okay. > > > Building a new firmware for R-Car H3 ES1.0 with HF unlocked will be > > complicated, as it is not supported by upstream TF-A. > > You mean QSPI here? No, HF. Salvator-X(S) boots from HF. > > Note that HF also fails to probe on R-Car M3-W and M3-N ES1.0. > > Do you have this patch form Andrew in your tree: > > [PATCH] memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash Sure I have it. It's in v5.16 ;-) > Even if so, I don't think that reverting patches is the solution. As you Sure, a plain revert is definitely not the right solution. > could see from Andrew's patch, HyperFlash was also broken before and it > just may need more fixes for Gen3 perhaps? IIRC my patches didn't break > Andrew's tests but maybe we should ask him again. Maybe Andrew has also > some more ideas, I only did QSPI. My understanding from reading the threads is that Andrew's patch and yours arrived in parallel, and are believed to fix two different and non-intersecting things (QSPI vs. HF). I also found no explicit mention that Andrew tried your patch. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds