Message ID | 20230706182909.79151-1-william.zhang@broadcom.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2771757vqx; Thu, 6 Jul 2023 12:03:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlGlGacMGhPZtOK2wjEYbRBtz2guFkKZ5/gqgzojUwZooabK7C5bkm/acSUDSZ7ejW2lVViF X-Received: by 2002:a05:6a00:1805:b0:67a:6ba0:3a6 with SMTP id y5-20020a056a00180500b0067a6ba003a6mr2485425pfa.21.1688670186718; Thu, 06 Jul 2023 12:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688670186; cv=none; d=google.com; s=arc-20160816; b=uV3DCz0DPfGYDSf5baHaGzXVLym53O8QZSB9FIysnNM0JiUNWnUJtNWdm2bpvocQza OLIJv4KK5HGxp3+3955xs5d4jx0TRTMl2N7MeFDW6SWbheUPSXZ5ZLXwma97Ti1/E1f8 kJ1jJ32YKgMRgmV5Aq8hdwW+kr+0Gxg/DMzZzq3kPXnaoQYr/3sTx8JjWpzmqMXw5kdz A0rlixfL2/EZbHQucoKHgysX6cynQCicSVZ0SvHIqyYQnPuBJPV+7vHQN62Nq4kP4Qit qgmsx0uZkEh6bQLBDEWQmiHqevceAc6UMid8EumR32SLKeHiXb9TIqxZENNcl6eh6o04 4dOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=jdVO3/kvR+FTNPNClVEqogL+vtg5wZVFP+d96PSlRP0=; fh=m6XTxhWJuw32VtwfA5PJHj/19GlLgFAKAr0tlSTLsV0=; b=eNWMaM696uEXabjvmZci3ZlqicABQ7uGB0Auuj0tleGyEP2I/ohopfxEUnCuUBin3w uHnBlLortcBR6HowcIjESVn+yHm7nZIvgtMAnEA3qj6eYCKDwVXXocpXrZ3aG5zvpB4A JL2WICHPvDnG61utyAjt0GK0OJAjgbSu0OHv8C8sxfNgmDZ1mnyTS//fi6dbP+PKf7A2 SXOUnZR9meQSscNFOgKH0WDy84IuFVyhPJe6qtDxUNJ2Skv88Lq9h3ht0YcpuNp+7uWA ZzTRPG+WyJNeegwvrf34PKt3zRuUkqDKIp7TQLxbMGqHkcZ9TUvkMlmPnQNzvqRuANKH jI1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="YAjliT/G"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a632306000000b005486a1e9440si1954731pgj.780.2023.07.06.12.02.27; Thu, 06 Jul 2023 12:03:06 -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=@broadcom.com header.s=google header.b="YAjliT/G"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231600AbjGFS3d (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Thu, 6 Jul 2023 14:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbjGFS3c (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Jul 2023 14:29:32 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56B2B1BF8 for <linux-kernel@vger.kernel.org>; Thu, 6 Jul 2023 11:29:30 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6687096c6ddso694289b3a.0 for <linux-kernel@vger.kernel.org>; Thu, 06 Jul 2023 11:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1688668170; x=1691260170; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=jdVO3/kvR+FTNPNClVEqogL+vtg5wZVFP+d96PSlRP0=; b=YAjliT/GN4nSsVDsIaSFLQIfEPIezpIl3vsv6HGbfY9dtgLLRdbSJRdCdivgIsbTqO a5heskNeSMWIasJ3/oD8xnSxXv4hHT9N/dfgJehkVIKapBBsFuJ56Ud5ERii6nelrkkr VoLMZu2mxMkUl/S66nZr+LBxlIhv9F5V1KadQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688668170; x=1691260170; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jdVO3/kvR+FTNPNClVEqogL+vtg5wZVFP+d96PSlRP0=; b=JyK2eNFJThyuwmt/UnNcdUr5hBABLN8/0k7luN/1c4EoZQto4OwMSWz/29AuP0MhlG reR9RGS71EqHrkjPGm8509wU/Ls/KcUBKwiKv+M7qKbgswIpQKbMRVSRasdCG6gVHpRr 0RrDApGQCnVQ7UxAj2nOEg/YZ8rsKdg5vSOjmf6rBjH/jCVlXj/q7rVDrqX2RiEVu3hN Z3dkstC1+DpGswEvIxciYqTfneEPqzL4QFXVVyV+dwRPdhDCsfKBpyrb2Sl9z66T7VLf nogk64lrwPxpnmAGO3wx0gKfqyY8uCwGQqhKlzZujjxD1qXxyWtzNW3UvyuH4DX6nd56 +//A== X-Gm-Message-State: ABy/qLaxz9lVxU3rPIFPJEcJew8LbjZCD2Q/A/zGSeSioAjmTgsL2REZ jmunoiTRYF78r6IbmZ1WEoK0WQ== X-Received: by 2002:a05:6a00:2446:b0:66a:3812:7eda with SMTP id d6-20020a056a00244600b0066a38127edamr1918742pfj.9.1688668169563; Thu, 06 Jul 2023 11:29:29 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id y13-20020aa7804d000000b006826c9e4397sm1580871pfm.48.2023.07.06.11.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 11:29:27 -0700 (PDT) From: William Zhang <william.zhang@broadcom.com> To: Broadcom Kernel List <bcm-kernel-feedback-list@broadcom.com>, Linux MTD List <linux-mtd@lists.infradead.org> Cc: f.fainelli@gmail.com, rafal@milecki.pl, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, computersforpeace@gmail.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, William Zhang <william.zhang@broadcom.com>, Frieder Schrempf <frieder.schrempf@kontron.de>, Rob Herring <robh@kernel.org>, linux-kernel@vger.kernel.org, Vignesh Raghavendra <vigneshr@ti.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Boris Brezillon <bbrezillon@kernel.org>, Kamal Dasu <kdasu.kdev@gmail.com> Subject: [PATCH v4 0/5] mtd: rawnand: brcmnand: driver and doc updates Date: Thu, 6 Jul 2023 11:29:04 -0700 Message-Id: <20230706182909.79151-1-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000006bcaf205ffd5b2b4" X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_NO_TEXT, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770699029849593983?= X-GMAIL-MSGID: =?utf-8?q?1770699029849593983?= |
Series |
mtd: rawnand: brcmnand: driver and doc updates
|
|
Message
William Zhang
July 6, 2023, 6:29 p.m. UTC
This patch series include the accumulative updates and fixes for the brcmnand driver. The bcmbca SoC related updates are removed from v2 and will send separate patch series for that. v3 series adds a new patch for mtd oobsize fix. Changes in v4: - Move ACC_CONTROL_ECC*_SHIFT definitions out of the enum definition - Add cc stable tag - Update comment in the polling status and oob write function - Update commit message Changes in v3: - Fix kernel test robot sparse warning: drivers/mtd/nand/raw/brcmnand/brcmnand.c:1500:54: sparse: expected unsigned int [usertype] data drivers/mtd/nand/raw/brcmnand/brcmnand.c:1500:54: sparse: got restricted __be32 [usertype] Changes in v2: - Use driver static data for ECC level shift - Handle the remaining unaligned oob data after the oob data write loop William Zhang (5): mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller mtd: rawnand: brcmnand: Fix potential false time out warning mtd: rawnand: brcmnand: Fix crash during the panic_write mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write mtd: rawnand: brcmnand: Fix mtd oobsize drivers/mtd/nand/raw/brcmnand/brcmnand.c | 119 +++++++++++++++-------- 1 file changed, 81 insertions(+), 38 deletions(-)