Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1992218rdh; Sat, 25 Nov 2023 09:25:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHq3IbD+YyTisCuuLmsDjrkEwSeCfqS6gPXqwYcswt7NftePA4IXTBc/mO9fctpJIuhOgs0 X-Received: by 2002:a05:6808:16a2:b0:3b5:656b:f962 with SMTP id bb34-20020a05680816a200b003b5656bf962mr8880012oib.5.1700933101947; Sat, 25 Nov 2023 09:25:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700933101; cv=none; d=google.com; s=arc-20160816; b=CT/BpgPoiFdm40uQKJa+gugPk8uSiorEWBqBqwc3NJvKkidtVUTt632yA9kCwyLMm1 PVSmvydIiqKxcjoNstQRbRzToYKqzLqHGkWjo3HWcmur2GnpIt5rYQ6+rT9j7N3rCCLD rGN+0n9TPIeIlTSkBCuFI08kKSPrM9iB9Bcq4M0B5WZAlbsjLdBBPimBucQvsC9J20ot Q1JlHafl3n3ea8Xat31qhHpY/8iezBxu+S0RWQmv7oPczb9z9IZ3oTv4bbQrrSVtpir4 ILlNdfZ6scaNUbl9XqEqzjN+uvUS4IjJyBTUJ66Ea1mIgYLsWHFo5fRIzSbIYwmKARNx t0zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xgCNIjA6kRIohLhrbsEu2soT/m7w6m7hIgikkWVonLQ=; fh=ANxHiLyQ0drtfwn/m/BibkPbJXMbJ2ovEPbdEGGUwOc=; b=kZ8XCxL6dLvahcyLFFaY1sPJFt5ZWzIkz85O5VhgM9RZke6c86uhAlk7RSVOZmeZWq MA+xgrgqFYoLhyWGnIgq8XSpd+cGwPGQgfLzRNDax5GFbLWAF09zzVLG8HPpfFmmVmAR NH21GbNnzeiA1hsierezvNypUugZtLJ+UZCn8n9zsGNw2hatS1DlvTCvMBvceb5jqwm3 +Q6rOVXRktidEKweSjl88WMsAdJkaHbBKRYuvKY38qfRNWKLlp63hFgbYxnYRHwMAh4z 1ebahnqw6rTCDrzpQnjyq6okAlTgTgBS/FllAIHGx1IWjA1TKHNuEIZheUT7K5wQ6VNg CnFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GCzxoqg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k1-20020a632401000000b005af979066c0si6137511pgk.306.2023.11.25.09.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 09:25:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GCzxoqg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9DBA2805365C; Sat, 25 Nov 2023 09:24:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjKYRYq (ORCPT + 99 others); Sat, 25 Nov 2023 12:24:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbjKYRYo (ORCPT ); Sat, 25 Nov 2023 12:24:44 -0500 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81DBF11F for ; Sat, 25 Nov 2023 09:24:51 -0800 (PST) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3b83432ca31so1916804b6e.1 for ; Sat, 25 Nov 2023 09:24:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700933091; x=1701537891; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xgCNIjA6kRIohLhrbsEu2soT/m7w6m7hIgikkWVonLQ=; b=GCzxoqg2MOT+KvvaKRQWH1/2Kw1F+XA8Xx2o9ymI9EcJT3dgmFKoioC5OA39sUNwpW kL0gaNiKf+Fw926/t7WfzILTWPDWj26IytTozCM0wRMicqkLdpYDhfZDBCSjSZ2PXW4e iUyCyP4xuTwRo++hRpFfZRngFDjllZ4uZ9zcNbdbiXmOoa3YBvzL+XmB0rwOPkfAzqar ua12JIQr2vQfCoefE8qF2nIbpkuMKvjcy/LS2vNySfL3hDS7rohGBbJowRt8j+pPUFBW Q+dEFIP88u2EGZ++fSKPjuTgMIGT+RWbnDj9Zt+nPLhrX1PTLWwX1Hwnqg2prYMZaXMd 2F4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700933091; x=1701537891; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xgCNIjA6kRIohLhrbsEu2soT/m7w6m7hIgikkWVonLQ=; b=Hh4W4V8LibbxcfiQK44DZWpIehZhGq/718N57QYtQdHuCm0+TqQXPbAx6PHuk6a/zM gw/7qXi2TjcLtJnbR/Tq1G6kFYH03g4x97XXWoRU8z4S9d+aa2f/eJx1VcjkVo//zceW 7yHSuonbvWdKOrA2y+0RRppCBwfjg+moFx9PymLwxW3I9oHpcVlR3ALaoSEp87d3fkmm ZNfn9N7V86ZfxudheScG3idNj3lDKKA0lQhnxt8qK/OuncqPv7Brnc/jeqgglC2eDD6T urZPbPwzUO85DBTq25m2165Ehyr4K6QtfE/nclZINt6XHoCq+V6BSv6oFR6S73gTWRvh MzEQ== X-Gm-Message-State: AOJu0YxfyIoHPurC/JlWPUsIY/y8ig8TCmfKCS/oSvkPoskP/dXcdnFD 9sV2G+lPfojS22ejQurQSbM= X-Received: by 2002:a05:6808:1790:b0:3a4:8251:5f43 with SMTP id bg16-20020a056808179000b003a482515f43mr9553833oib.40.1700933090730; Sat, 25 Nov 2023 09:24:50 -0800 (PST) Received: from [192.168.1.3] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id g6-20020aa78746000000b0068be3489b0dsm4721079pfo.172.2023.11.25.09.24.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Nov 2023 09:24:50 -0800 (PST) Message-ID: Date: Sat, 25 Nov 2023 09:24:49 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/4] mtd: rawnand: Add destructive operation Content-Language: en-US To: dregan@broadcom.com, miquel.raynal@bootlin.com, bcm-kernel-feedback-list@broadcom.com, linux-mtd@lists.infradead.org, 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 References: <20231125012438.15191-1-dregan@bro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JaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== In-Reply-To: <20231125012438.15191-1-dregan@broadcom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sat, 25 Nov 2023 09:24:59 -0800 (PST) On 11/24/2023 5:24 PM, 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 -- Florian