Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2245161pxp; Mon, 21 Mar 2022 14:51:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyJYQ0rhiSUdknnoh7Tgblw17wJqzwhRVvG4R6GfYfpH6boT5C57PUddvjItkeYAMBZh6c X-Received: by 2002:a63:e716:0:b0:380:85d1:656c with SMTP id b22-20020a63e716000000b0038085d1656cmr19653235pgi.321.1647899494896; Mon, 21 Mar 2022 14:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647899494; cv=none; d=google.com; s=arc-20160816; b=mfr6UQ2k+CU4tZUJHoUNdn1hBbSijzzER2B4E1tNY+kVzHVMbEhGcYd1maDmVXKcLf 7zrAbVGFQiIyqUnQwdzcQjzDwXgNxJpFhCxeVOUgXHHtNXgzsKRWf5A+brLUUeJSzvKX 3QUD80d2w5khXOrHFUnguibBhEZef4D+EwdPuSavKwCcYmUEftZn3wos8gMy3NHxmetx UGjWIMoNphOjrJlu/CUPyolrN3CyEmnB86BmOGQLNQOdgljfBKEREGrRcyswNoPv1hjO W+05rFEVVStLMqzYIplREbMVK5SgAuVkKCil3orUc07rZvcdS/CcJlKzwXTCi9DxoUPJ bM4Q== 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:dkim-signature; bh=gSgE6yqkno7KzD+jL8KRzD/isTc5hJCWP4hnpiIR8X0=; b=dYQwIDz8HLqdtATdMzoDzXUGzWEmukyqhj1xiPhpWbDO1B7lP3WS6K3o90H0AE3oXT PIjRV0oGJg5YhFb1tf2fTjbDky/oZ8w1CrWzualeucMEH9aC1vZ0qV4s/Bf3ApT1o1DR Xzlq9qxXYv/vju+rUlACJSR+xzvjKbhPmOAtAguxLVG82VkccY+8qDYovYqHZppejom3 eZ7+HpwcVXJFYUdoZCYrm+WqvjifSQrkfxFov7vu7aEDAi/ruC8QtalLViPEbmxCxSDl NNUESjcFl/oM85h68lGgTdwDw4+/FkgHcm5lUWLbFSxUTg0etnPynN8M9Woieai3/CSV nLMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CsH4edHw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e5-20020a17090a77c500b001bd4aa6bd2esi401056pjs.80.2022.03.21.14.51.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CsH4edHw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 50B63FCBE3; Mon, 21 Mar 2022 14:19:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243045AbiCTJU6 (ORCPT + 99 others); Sun, 20 Mar 2022 05:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237201AbiCTJUx (ORCPT ); Sun, 20 Mar 2022 05:20:53 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 616E02CE12 for ; Sun, 20 Mar 2022 02:19:30 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id h63so13807006iof.12 for ; Sun, 20 Mar 2022 02:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gSgE6yqkno7KzD+jL8KRzD/isTc5hJCWP4hnpiIR8X0=; b=CsH4edHw8WSKA94Lkc0rOnB7epUJgnoD9Z8QTIYRO+a7K5/9ktJb4FXPKuKdspVABe yO0B/EVW1+xR5TwBuBHBxQLHZVzQA0TtjFk3FeuKxKNnJbSMzPL3PF6amOdMsFRZ5FJf 8+ULmopFYRwJzxXyZwFBXiB39pkcHq/ySbCSubyQ8wTiNHWUd+bDswhEjebmqkMkoZF2 JN+MyQEDLTZuREXBzgl/oI1/ro9up2bOsQZE0fbod8i0DseBXBPEjm2J+qwIBlHztvWc VnVUJdbWnTWIgbCTeMflxK0zEbDn4BHzZ1gNX7sOddt7rMJzg+IMupiLUULkBl4Rm/El 6H4w== 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=gSgE6yqkno7KzD+jL8KRzD/isTc5hJCWP4hnpiIR8X0=; b=M8vE0S7cCX4VwBzyDy4hwDOae7SFgYVCphR6SjSsciOTkhbAB5T1/u43BD3rCvR0wu +zK/88D+7lDnnAarVuggBT6U78shiBTdGX2tJm87yMS0kYyBexIcojAE61pTOQvrVtxj N4piTsC+4ayekX1pfSj420/EqbSKgHqFxQvlKO2SH5raPDnHKfh8Np8z3IHYUMmtD3au Rqrqbh7EQW5u+/ZNchMGQMEBoX8PFimhxKPxRMwBKh1bMdZNrDnDTxPCtX0tp+z4SGlR 7RvGbakUVbq4zbj2RsiHZBDkWgPcJxRStTVy1+S0cEkEfZjj6sb/F1CisQ5r1wqYL0JQ ddtg== X-Gm-Message-State: AOAM532G9aCA1mU2MXgF4DWFcOnBU7DSxim0fgqOtUnSrV8tu/cShB8W /IlYvbnmUbNDV3M3Omj1wUYL1+RZI+UN9RARrPA= X-Received: by 2002:a05:6638:531:b0:317:af7d:d934 with SMTP id j17-20020a056638053100b00317af7dd934mr7797245jar.307.1647767969638; Sun, 20 Mar 2022 02:19:29 -0700 (PDT) MIME-Version: 1.0 References: <20220319083301.87400-1-gch981213@gmail.com> In-Reply-To: <20220319083301.87400-1-gch981213@gmail.com> From: Chuanhong Guo Date: Sun, 20 Mar 2022 17:19:18 +0800 Message-ID: Subject: Re: [PATCH] mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG To: linux-mtd@lists.infradead.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Stefan Roese , Reto Schneider , Frieder Schrempf , open list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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! On Sat, Mar 19, 2022 at 4:33 PM Chuanhong Guo wrote: > [...] > --- a/drivers/mtd/nand/spi/gigadevice.c > +++ b/drivers/mtd/nand/spi/gigadevice.c > @@ -39,6 +39,14 @@ static SPINAND_OP_VARIANTS(read_cache_variants_f, > SPINAND_PAGE_READ_FROM_CACHE_OP_3A(true, 0, 1, NULL, 0), > SPINAND_PAGE_READ_FROM_CACHE_OP_3A(false, 0, 0, NULL, 0)); > > +static SPINAND_OP_VARIANTS(read_cache_variants_q5, > + SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0), I just noticed that only GD5F1GQ5 has 2 dummy bytes. GD5F2GQ5 and GD5F4GQ6 have 4 dummy bytes instead. I'll rename this variant to 1gq5 and submit a new version of this with a series of patches for other GD SPI NANDs. -- Regards, Chuanhong Guo