Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp779995imu; Tue, 20 Nov 2018 06:54:27 -0800 (PST) X-Google-Smtp-Source: AJdET5cqPsTp1MpbD2X+nptJm3ienZx3buLGsjbVdwDejaGf23Czd66paedGEKy/aOLJYaYRfEtm X-Received: by 2002:a63:2d82:: with SMTP id t124mr2187125pgt.260.1542725667612; Tue, 20 Nov 2018 06:54:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542725667; cv=none; d=google.com; s=arc-20160816; b=m0CNeyX+ORdnXdtkSmwP4xxORIh2qtuCCxw7js3/EvJjvwZM08E/LEh4Sf7lQEpOJS 71TwYLhbbq9Zz9Lxeqcy13C9AOxcaeg+HLWkwvdwyMZ3iu3k4l+Nz+GN9bpeyQeuxXE2 EBF0LEqcYaPP5jJhCHjXJqnkCv4XLRV2o6h2eoe9B0VSjC2pwPGtNL6GfrT4hdgXsiIA wfGVAoWn1nNeUDznXsE/Uog0q/mfsUig+BQfosnd0ROEOvdtrzGpXK1uda1Zltym1k/5 UAbZ9GK8i2u7wbOwudNSp2y84Rk0zlifEzWqL3N5QqoP8r2Dl4kAP/FOM3D/fPSsgaMJ t5qQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=scuiKaD61IlFLEQlQCmpbV5yDzjvFjSyA2NNpcOzz+A=; b=UvHBT9F3LBo7BR8X4CUn55cS3uM/kB5pmvCdW37+MCPBzLX3nXyePVPDa40ZkSW8aY d8kMvULtwFEaFq5vEe8NUU/f1tTU3z3qIVQy0VWgWO/OGy5BfbS9ZSyEM4Wzhn6ZRBP4 fWaYfMXXSQWxOS1xsm6RSWuQ1l006v2xTSPiCkTHw8nVRw7aEqIkZrvCzKf4YhDsIKsY 4NF+hP7WoDpdD6tXmTo7ZU9gKOTIWa6Nub1RDat4tGeGHZLan5/iX/KpGRXJBGjgJtzr jE1X30wPFoG/VqkV0mMYDl1GusLuhR2bwLq3SmFsN7n0XJ3oJ3415Sa5NEc6uOBu9svM VHtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xQjcevSS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si15795088pgc.137.2018.11.20.06.54.12; Tue, 20 Nov 2018 06:54:27 -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; dkim=pass header.i=@kernel.org header.s=default header.b=xQjcevSS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729403AbeKTWRq (ORCPT + 99 others); Tue, 20 Nov 2018 17:17:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:59210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728035AbeKTWRq (ORCPT ); Tue, 20 Nov 2018 17:17:46 -0500 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8AEC020685 for ; Tue, 20 Nov 2018 11:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542714540; bh=GNDDljc6kcRxusvIpE62Osbr2A1k9MbBLDdoZFpXdmI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xQjcevSSCr96iwIguUaAPhKOu8zNmFmCBHQr1p2imtNHx/sGOMRRVy+5bXCPMrAJJ C5zN5K3bBuwDZ9DmAgAaD/KRXuD+ZEugeWfZRicUPjgUThIEb8lxQbGT6DAqbxdDFH DSyWAZC7HvHqzMGchpfcUav44cwthHtBtl02lxr4= Received: by mail-lf1-f52.google.com with SMTP id a16so1120437lfg.3 for ; Tue, 20 Nov 2018 03:49:00 -0800 (PST) X-Gm-Message-State: AGRZ1gJZ4Do/6MbzSOZrG4HUuEVQq6xqwJeVUF3kSXaYXHK+lLIFKyMP RAx/OS+en8gbD89dk35sHqN8g0VrWEGCKsG/+1Q= X-Received: by 2002:a19:c396:: with SMTP id t144mr926297lff.110.1542714538669; Tue, 20 Nov 2018 03:48:58 -0800 (PST) MIME-Version: 1.0 References: <20181120113326.0d4f061e@xps13> In-Reply-To: <20181120113326.0d4f061e@xps13> From: Krzysztof Kozlowski Date: Tue, 20 Nov 2018 12:48:46 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [BUG BISECT] Missing MTD NAND partitions - mtd: rawnand: Move the ->exec_op() method to nand_controller_ops To: miquel.raynal@bootlin.com Cc: boris.brezillon@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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Nov 2018 at 11:33, Miquel Raynal wro= te: > > Hi Krzysztof, > > Krzysztof Koz=C5=82owski wrote on Tue, 20 Nov 2= 018 > 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? Best regards, Krzysztof