Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2814083iog; Mon, 27 Jun 2022 03:33:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ufmVbo+gyV+drp1HIEik5D2Hnv2LC0QDm6ik4em8vvORb1CVDKY8oS4706f7QcNSRPO+hl X-Received: by 2002:a17:902:ea02:b0:16a:4b1d:71d9 with SMTP id s2-20020a170902ea0200b0016a4b1d71d9mr14493186plg.52.1656326038068; Mon, 27 Jun 2022 03:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656326038; cv=none; d=google.com; s=arc-20160816; b=hHRcUKbsYzSTeIbY2eVnJGY2XQheeX1aji7p+aK2AaYboZjtvMH6cm/NuPeSS5qV1h 0MsBbWNpCtAYi/XC36i/ONFvGCnGCKIdJKTOcJmdi8tCUw6kiPxGkRGtFjdhxrWFFl5Y AshHE+DdeQDkfkJqwj+MDFNVDMF2t33JZQXg6cL6uo0k+OwypvrFKA45NCkm0wHxZNbU NTB7uCKxNhGQmK7i6zHhYT/o+O/HlKC35tgEaEBZxWm3SijDYmUFy+BFE613sinRgsNo o8kAwJgCvA+ZMKCqCOvU+RBWEXkjVsjOcUwjIz5ehiq9UYHxz7kgc1c58L1fkWaeZNcL +P9w== 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:cc:to:from :dkim-signature; bh=9bMmTKVjcLPMKrJJxAuSuYuZPxEu3volikjsDyd5Roo=; b=vf4HZurK4e5fDWwJGl1al3F1ztCFLZqnHqEiHUmwQYJZaYgmdtEwvnrxlp8Hb4ZXm9 LA844jr05IJeoeGbkLi+OyAD2U4B/Ua5Q5lp2JOadC1lpFLUpIC6P/0Ljp5rZathHnIT fzVQ2CW92S0q5uHc/EL4LYyYthpTG0H0tga3Tj3p5dHp0oy3blJum57fB00ZXtRufqlW JOWiLXLJar0NIwwu9/jUAJ6Dib69h+04y35uKUK9m0c6pGafBTkG5Vy650Y6ndDlnEX2 sxKaqk933oKf8TZA5F6Evf2mt4ItALHRyoMiHX7WskTim5ywr4c/coXTz/H4lKRlcH1E +LeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fsMYmNDT; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a630009000000b003fcc51079ebsi15101189pga.704.2022.06.27.03.33.38; Mon, 27 Jun 2022 03:33:58 -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=@ti.com header.s=ti-com-17Q1 header.b=fsMYmNDT; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233783AbiF0KO2 (ORCPT + 99 others); Mon, 27 Jun 2022 06:14:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233642AbiF0KO0 (ORCPT ); Mon, 27 Jun 2022 06:14:26 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D63EA6410 for ; Mon, 27 Jun 2022 03:14:24 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25RAE1CH062963; Mon, 27 Jun 2022 05:14:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1656324841; bh=9bMmTKVjcLPMKrJJxAuSuYuZPxEu3volikjsDyd5Roo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fsMYmNDTiPs/+9+ya+HH1/wAEhnPBxUkqbqeIzGwij5SNjCONvbqQcnvahiIRZUOL cQn3MCPMXgMNh+6ACpv+P/POw5Zg9UDB3OTQrpZaKIJsmR1RmtFhVAeVtHnV5dW9i8 HrzVyfb/t+uZESzxOXW5vjAycVo2fQYb3zMQFPdU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25RAE1al113300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Jun 2022 05:14:01 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 27 Jun 2022 05:14:00 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 27 Jun 2022 05:14:00 -0500 Received: from pratyush-4F-325.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25RADw0T055445; Mon, 27 Jun 2022 05:13:58 -0500 From: Pratyush Yadav To: Tudor Ambarus , Michael Walle CC: , , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger Subject: Re: [PATCH] mtd: spi-nor: move SECT_4K_PMC special handling Date: Mon, 27 Jun 2022 15:43:57 +0530 Message-ID: <165632480084.4063881.11417937215807229649.b4-ty@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220418112650.2791459-1-michael@walle.cc> References: <20220418112650.2791459-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Mon, 18 Apr 2022 13:26:50 +0200, Michael Walle wrote: > The SECT_4K_PMC flag will set a device specific opcode for the 4k sector > erase. Instead of handling it in the core, we can move it to a > late_init(). In that late init, loop over all erase types, look for the > 4k size and replace the opcode. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next, thanks! [1/1] mtd: spi-nor: move SECT_4K_PMC special handling https://git.kernel.org/mtd/c/77d4ac6d38 -- Regards, Pratyush Yadav Texas Instruments Inc.