Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp980094ybm; Wed, 22 May 2019 15:07:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjOrKAJQJu2o1IdZ2bF3ybERfjoDlhydTZD3wwYcL32jTJOkFmbdTHI2/Z2t/osyYdACNI X-Received: by 2002:aa7:910e:: with SMTP id 14mr69414853pfh.153.1558562864307; Wed, 22 May 2019 15:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558562864; cv=none; d=google.com; s=arc-20160816; b=QcSI8OX+f4Z3ISbX/xs5ugHRiAbuJM7mHOywz8EJ9PEXIJTUtkisSDUZOQso0J1ANa DFkWqzzSTHtMUlMPd8Mh4uLfe/Xcr6+TliNYwfmaJvNZPlIPamYj0yR+YUQjTSF8PZPl v7UxKzMsga8mFFdkLBlbbRNSVYgnCax4vTMcps2FxOju1Jh90JjqEtB7/A5Cxe9YFTJV j5r6T5INWyO/E672IlJmt+xTEaGKF9umozWskSchVn2XuFVLTgt+DaksLKQSe32yCxhP b//hN5x8xajDy7ih+EF1sLX5IrnV1IMErW2m5UrQm6xIq1uh2JbsMTex8O0DF84DjZ/F Tbdg== 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:mime-version :message-id:date:subject:cc:to:from; bh=ZHDrY8abuPkiwQafH0CbZLfUvKyNEaY4RaA2t7njeuw=; b=PwXxH4OPO6srBZIJifiSsAir9EOok10yoQY2/UnaTE8/YW1MfsgeAR/bgcRc2AaKxd BGChb7+A1WHJMwiEOKq94Gmxm1pHKhn3j01S66LdE4sMCC8i2KjSzRsI4AnNRL+R+H6u cipmCIoKcsxBlIyNGcVfEv6s8dwLamzreljWVVPbQVud1Y4ExcOZq0wbOXUMuJtSegz3 td2XaMhHzRUAtVTk2YbjDfAxgi4fVC+kGSdZRIs6ITR5UGRxKFBl3LJo3DuEcXKhr3L0 DZDhSTcYprBLWL4Sxq3ZrcJssBNBXYAnpNzst66QQ3ei0YnsPcKTzSIZKOlykJQMZrfi ERtg== 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 j12si19353903plt.101.2019.05.22.15.07.28; Wed, 22 May 2019 15:07:44 -0700 (PDT) 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 S1727854AbfEVWGH (ORCPT + 99 others); Wed, 22 May 2019 18:06:07 -0400 Received: from mx.allycomm.com ([138.68.30.55]:28566 "EHLO mx.allycomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbfEVWGH (ORCPT ); Wed, 22 May 2019 18:06:07 -0400 Received: from allycomm.com (unknown [IPv6:2601:647:5401:2210::49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.allycomm.com (Postfix) with ESMTPSA id 82C893CB13; Wed, 22 May 2019 15:06:05 -0700 (PDT) From: Jeff Kletsky To: Miquel Raynal Cc: Schrempf Frieder , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, kbuild-all@01.org Subject: [PATCH v4 0/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG Date: Wed, 22 May 2019 15:05:52 -0700 Message-Id: <20190522220555.11626-1-lede@allycomm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Addresses changes in macros and related data structures introduced by commit 377e517b5fa5 mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg Resolves issue detected by kbuild test robot Tue, 21 May 2019 17:28:09 +0800 Tue, 21 May 2019 18:17:28 +0800 GD5F1GQ4UFxxG data sheet on page 34 of gd5f1gq4xfxxg_v2.4_20190322.pdf indicates "Minumum number of valid blocks (Nvb)" 1004 out of 1024 total. Newly introduced "max bad blocks" parameter set to 20 (1024-1020). Rebased on v5.2-rc1 and confirmed patch applies on master. Patches 1/3 and 2/3 are the same as in the previous series. Patch 3/3, mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG, includes the additional parameter (compared here to v3 of the series): SPINAND_INFO("GD5F1GQ4UFxxG", 0xb148, - NAND_MEMORG(1, 2048, 128, 64, 1024, 1, 1, 1), + NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1), NAND_ECCREQ(8, 512), SPINAND_INFO_OP_VARIANTS(&read_cache_variants_f, &write_cache_variants, R-b of Frieder Schrempf removed from [3/3] as a result this change. Supersedes series: mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG https://patchwork.ozlabs.org/project/linux-mtd/list/?series=108868 Jeff Cc: Miquel Raynal Cc: Schrempf Frieder Cc: Boris Brezillon Cc: Richard Weinberger Cc: David Woodhouse Cc: Brian Norris Cc: Marek Vasut Cc: linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: kbuild-all@01.org