Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp780199imu; Tue, 20 Nov 2018 06:54:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/W0MbT1Mk9qL2Kg0afzaJbFFObfHzCmLpI8DYNacW2EIrqGtOinGx0ewU8NyKKKkZ5hoL8D X-Received: by 2002:a63:4a4d:: with SMTP id j13mr2209785pgl.127.1542725678136; Tue, 20 Nov 2018 06:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542725678; cv=none; d=google.com; s=arc-20160816; b=yS4BANZ5IWaxpYWWS7bhI0fZyJ/j+KB6+6SnL1PyeIiq1Vqqk4pX/+muEvUz/EKtDL 49PDQL1ycZYgvtKdJ0y5VWVdGiWdKPDvffS5N0Vnz3iu5aUBs/FpfodWfzFK8cyzQHUH nOwtw4mcXYh7FRHFt2CGE06Sv12cNkfkCH1zA99yefgH3kzOZ3Sq07JMsWML/Pckhode BZpilH8lhSbU/ndQXqkUQgG45UvnxbSHno3qWoP9K+lakGBB546zDxfw3w2rpBQnnLBC ZIxRXP1lGcNcqjM8lg/rbUvwRQcXfjPXw3Lbie09bYnaUIAJdy8333Sc2u/4O7yDuDnk ce2w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=ICjXQpd86GYNs+jgzKV2pYBA+mIvkTkME48feU6TB8c=; b=Eun2Y8B6Vmaj82tjaCo+eA104nIftPj5445/3dzeibjiaYp8mU/y1D9vSRsGHGWWgr 3RmMfW5y4jztkhh5iG24C1eLgAVwZm5+tnV+FS7mvzT9V4sUzmM8g+xnVoXHBUvP3XPj AwA4AzyXW9Hg1OU46JcxKC3cjQMCem1u7hd7sQBmT8jd9KMtTrCm80halNebLitMjFZH XE+catcovai8IKP01N7ES2EhlQsV/WpHZjQraaCQ0f2olXwWTfQXRBeMEvlyK0KIrEsT PBt4xBo7OQwlSz5TAopfx71fWv/e8M/s/tyTBcQ/oO1ZIGawTRM+ysqtvhqz2ztA27J5 F6Fg== 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 c12si7814096pgh.257.2018.11.20.06.54.23; Tue, 20 Nov 2018 06:54:38 -0800 (PST) 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 S1728906AbeKTWiB convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Nov 2018 17:38:01 -0500 Received: from mail.bootlin.com ([62.4.15.54]:54215 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbeKTWiA (ORCPT ); Tue, 20 Nov 2018 17:38:00 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 0161420D92; Tue, 20 Nov 2018 13:09:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from bbrezillon (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id AD27C20D2E; Tue, 20 Nov 2018 13:08:59 +0100 (CET) Date: Tue, 20 Nov 2018 13:08:59 +0100 From: Boris Brezillon To: Krzysztof Kozlowski Cc: miquel.raynal@bootlin.com, jmkrzyszt@gmail.com, Stefan Agner , richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops Message-ID: <20181120130859.78d53da3@bbrezillon> In-Reply-To: References: <20181120113326.0d4f061e@xps13> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Nov 2018 12:48:46 +0100 Krzysztof Kozlowski wrote: > On Tue, 20 Nov 2018 at 11:33, Miquel Raynal wrote: > > > > Hi Krzysztof, > > > > Krzysztof Kozłowski wrote on Tue, 20 Nov 2018 > > 10:46:33 +0100: > > > > > Hi all, > > > > > > Since few days linux-next has problem on Freescale VF500 - MTD seems > > > to be broken. > > > > > > Bisect pointed me to commit 7c27338c728e39ef47c83d101959aa332506969d > > > ("mtd: rawnand: Move the ->exec_op() method to nand_controller_ops") > > > as reason of failure to find MTD partitions. > > > > > > Toradex Colibri VF50 on Iris board (ARMv7, UP, Cortext-A5, NXP VF500, > > > 128 MB RAM, 128 MB NAND, Systemd: v232) booted from NFS root (NFSv4) > > > trying to mount UBIFS from NAND/MTD. Board uses VF610 NAND driver. > > > > > > The MTD partitions are missing entirely (nothing under /dev/mtd). > > > In the logs you can also see: > > > [ 1.232161] UBI error: cannot open mtd ubi2, error -2 > > > > > > Attached - dmesg.log > > > > > > Let me know if you need defconfig or any other information. > > > > Thank you very much for testing and reporting the bug! > > > > Could you please test with this diff applied [1] please? We discussed > > with Boris and we think it should fix your setup (and all others also > > impacted). > > > > [1] http://code.bulix.org/r1m99i-509201 > > error: patch failed: drivers/mtd/nand/raw/nand_base.c:4399 > error: drivers/mtd/nand/raw/nand_base.c: patch does not apply > > Maybe you have a git tree with this somewhere? Yep: https://github.com/bbrezillon/linux/tree/nand/next-fix