Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp207149rdb; Thu, 30 Nov 2023 02:37:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+XDDbnKN24mfLEvssFBG54uB9+1NSVT3VK8lpDyESB66SMvMiFMwSHTYAzm6YTMamFwHW X-Received: by 2002:a17:903:2488:b0:1d0:4405:f1bb with SMTP id p8-20020a170903248800b001d04405f1bbmr194928plw.20.1701340666352; Thu, 30 Nov 2023 02:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701340666; cv=none; d=google.com; s=arc-20160816; b=B+MjjtP1XGO0yBcRZqCQ/a/AFuP3uKaOoAepazjMxURQKLYWM7QWHUXHOAz77aeYhk sE+/ioRbYOfx15Wks4xMUEO8MFR9vkac4f1IOmPto5uNLMspAARMM5tFBnnHZVwqGAd+ 5dDsgwhCNEVTM+JPKcAcHNyz4OZtb9pTNCrOS0qPDsg2CpMw9dd3B8plw7d6+Eze3p31 exI06jCDv5Ouy0K6fncB2W2teZaZXacddL/ENdNhTmjHGAoo1AW7TQNEzPyFxsc99hsK euEic9/Q3wusGW67lfc2MU2otO6LsHfhQ4WHK/2zI0wgicJC+e1Y10eD1n078/EhO5k4 u1Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=B4R/rT8omslDNFvMUpnsZeXUCmWStLp6MEVstgqvAhQ=; fh=D0xTDT8JZUJUGz1XFB7l99IKFp7kT1GUVSOnE/fHaPw=; b=HBsyxveRyeEbWCmC7UkBPsiSKfPV93fjIC8haSZpHMi3VBLWksq8HosChvmeB2amuS fQbuRoJVh8DWWdtqo86C+XXurTHEvvG/K9X0ARCZ4rqt7g1azLKVus48Nt7rLZZ8WWG5 q+SgbDOWPEJkUgc2DdHSuh4MwG63X2IxB88qM911bTyiRlESxOXh0kBuMDx6vWau9l2L 9EmAbI+CvT7nOkyQJk5GIZg/7HQ9s+PrkhQblIWI2hHpMavlvGQ8FTg0JllOhqeY+vRy OlSygSVMRtl5DBTbMv4VQxszBXzSIbq9lHaGbqXdMe7IgUXS0tbjG/yP0SL1YQRVMOpc ix4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=NaDVvJ0c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p8-20020a170902e74800b001d0231f5e30si970448plf.295.2023.11.30.02.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 02:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=NaDVvJ0c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 458F0808D496; Thu, 30 Nov 2023 02:37:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235230AbjK3Kg5 (ORCPT + 99 others); Thu, 30 Nov 2023 05:36:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235175AbjK3Kgn (ORCPT ); Thu, 30 Nov 2023 05:36:43 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCFAF10E6 for ; Thu, 30 Nov 2023 02:36:49 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id A873EC0002; Thu, 30 Nov 2023 10:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701340608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B4R/rT8omslDNFvMUpnsZeXUCmWStLp6MEVstgqvAhQ=; b=NaDVvJ0cIuXqVRZEYS3m4S674zZtbn4deFb0tLqg1hOKUc2RMdEECclq1rAaJ21YgBFJIx uhaPoQtTGgm5AkXlLsQMS7f6ldArPes5b1tmrDdQXEyDc1HL/NQEu0EiWEaz9a5f35bYAP 9eNaFYzw5DlEob2qDBtD9NH4DDEyXNBTnO3xrzWVQzJo6oS7TUdV+d95C7ZSNzNWHqTvYg NQvhKaw63aQG+U6ym1xAztxIkRgTksrwtMGxqiPter6XzPUjlaL8n1/iU17gG//su8aNOT +aQiyuciA6R7dQwV8JMsrtxpy55ED+29WAG0lMfQ4TeOcHoQp6SXrPhyVhzsEA== From: Miquel Raynal To: dregan@broadcom.com, miquel.raynal@bootlin.com, bcm-kernel-feedback-list@broadcom.com, linux-mtd@lists.infradead.org, f.fainelli@gmail.com, rafal@milecki.pl, joel.peshkin@broadcom.com, computersforpeace@gmail.com, dan.beygelman@broadcom.com, william.zhang@broadcom.com, frieder.schrempf@kontron.de, linux-kernel@vger.kernel.org, vigneshr@ti.com, richard@nod.at, bbrezillon@kernel.org, kdasu.kdev@gmail.com, JaimeLiao , Adam Borowski Subject: Re: [PATCH v5 1/4] mtd: rawnand: Add destructive operation Date: Thu, 30 Nov 2023 11:36:44 +0100 Message-Id: <20231130103644.715379-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231125012438.15191-1-dregan@broadcom.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'e82a5a014dd54496efa3f09430d5eaa9726b0f5a' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 02:37:13 -0800 (PST) On Sat, 2023-11-25 at 01:24:35 UTC, dregan@broadcom.com wrote: > From: Boris Brezillon > > Erase and program operations need the write protect (wp) pin to be > de-asserted to take effect. Add the concept of destructive > operation and pass the information to exec_op() so controllers know > when they should de-assert this pin without having to decode > the command opcode. > > Signed-off-by: Boris Brezillon > Signed-off-by: David Regan > Reviewed-by: Florian Fainelli Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel