Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5688721yba; Thu, 11 Apr 2019 03:43:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEmmm0EPFLMf0jPqLNibxq08u5VhTQQ+8Cm/6XdYGx9WX1Xt0E8qeuktEVykyICnfBEGqs X-Received: by 2002:a17:902:9687:: with SMTP id n7mr8010001plp.105.1554979413888; Thu, 11 Apr 2019 03:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554979413; cv=none; d=google.com; s=arc-20160816; b=lttWneTpJxZzC22C0+caU0SYEoe/G8cyE8PPTJLzrWrM4lqhWZlqYtRaYkDmRFrbeN CWOgP5/mMnNK9/5MOP70Qd5UjfHNvdJT3jTJDM8AC5k5PB90g6ArbSn06o04xKfkNE/t I37r5ABnxorpX6QzaxBoC2vnwO9XY3iOgWlS7ORY+KB35hfaxkiEmDLL8l53C9Q/EMmR lgamcS0Yg2rJetIPNiMLu9VJumD0WLPOYg7UEuoDzWYmIWi7V4v/EAhwLfb6nEZGb7qJ IdhGZWxkNUscB5UJv+dlhepqJaJ3sQk9jj/hhO+LDaHZG82Ce3fnUjOte2RxZTKnMA0g 2h+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RxYTHYqAnDKdcAy1D9zNoaWmD5GLxh6inlwtWWJPs3k=; b=PpD8KM2JobfamlQO0DLcNnl6XTgeklf+XMT08z99mNtEzrTOcpIkKAanQw3g0dxAfl VXxZp//LR+kdkCE97VE8meYk2mc5baMZzFoMCPkRNtc5hEvsoe5j9JVkt3LlVziXqRze d9Fm7wiZladGru3XLDTwqLLTxOFrKTvZpwi/1M8j2JgxuAFvqwgvEwgJzsxvXa4mMU/z H6CGtC/+GvGBUhlwKAYJK30KkWN717RBjyoix2DIUNqy1S1iBW6hDzBhuie0OOk+LUVN uZgVmbXcao7FTUYVwRjoq3ca+WDIdR+yFnUgeNZJnqi7mKiBBmFQ47SN2V8DAAcHZh28 PBzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=fkNL7Gdv; 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=fail (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 f9si26022614plo.101.2019.04.11.03.43.18; Thu, 11 Apr 2019 03:43:33 -0700 (PDT) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=fkNL7Gdv; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726628AbfDKKm3 (ORCPT + 99 others); Thu, 11 Apr 2019 06:42:29 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41984 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbfDKKm2 (ORCPT ); Thu, 11 Apr 2019 06:42:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RxYTHYqAnDKdcAy1D9zNoaWmD5GLxh6inlwtWWJPs3k=; b=fkNL7GdvG58XmAo/TRVAIrexb YfvVr0MG3ffa0T+DSrYeDblB2z8bysJtNhWMagrch3Y2E8mXaghZsMfq7EPq87XuMta1q6XSQjpoA ajJ1qCK895xhAGRUOG8S2sfrULzp0UL1BUJDW+HrmGGkS+KPC5an/kdydPHOWZzMb0/Vg=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hEX9u-0008Nr-Re; Thu, 11 Apr 2019 10:42:18 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id D8FF51126DD0; Thu, 11 Apr 2019 11:42:12 +0100 (BST) Date: Thu, 11 Apr 2019 11:42:12 +0100 From: Mark Brown To: Flavio Suligoi Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , "linux-arm-kernel@lists.infradead.org" , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] spi: pxa2xx: use a module softdep for dw_dmac Message-ID: <20190411104212.GA7953@sirena.org.uk> References: <1554900696-28858-1-git-send-email-f.suligoi@asem.it> <1554900696-28858-2-git-send-email-f.suligoi@asem.it> <20190410125612.GR6106@sirena.org.uk> <6eeaf42f4d3f42c58546c429194213b8@asem.it> <20190410152820.GT6106@sirena.org.uk> <7ad025c8049e4e828ce75ef1e41dcbfd@asem.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <7ad025c8049e4e828ce75ef1e41dcbfd@asem.it> X-Cookie: Save the bales! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 11, 2019 at 07:14:06AM +0000, Flavio Suligoi wrote: > > Right, yes - that analysis seems correct. The interfaces seem a bit > > weird here but fixing them looks like the most complete and robust fix. > Ok Mark, I'll fix this problem as soon as I can, using EPROBE_DEFER. > For now, in my application, I use the patch that I already sent, > with the "softdep" workaround: > MODULE_SOFTDEP("pre: dw_dmac"); > I tested it a lot, with more than 2000 cold reboot (automatic > switch on/off using a controlled power supply) and it always worked good. Right, and to be clear that patch is good and useful independently of the deferred probe fix so assuming nothing else comes up in review I'll apply it. --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlyvGgIACgkQJNaLcl1U h9A0zwf6AirGRh8bQQli94rYunYRwRhABvSKVNVzjNeqW24AoyboZcJZQcx/mc54 H/sAv4CsbVbYE+zrc1HtH/tV4fDucGRAuBGMAnUDOCCqbPYJWfLr+JfT3bqIiqX2 xY7sw7D9zv9HeSh2zOZzSFniLz59BiJ/iPf+FQC86UGwOZGD7ObiGcUbhQHuqYXT 4DYwgPTMpp4lFCZXnSXXJarOhgbXAW1qgAIRBNHkeRcns49p5K9otzxQX/S5BJ/i 8Wc5VqAHlqpDAeRN0slBFk5b46GrfCM0vvBiumcl0IZhxESXSN5lneqpIohPF0nq r1/WWyaRdIE36xqIMv02mAgujBqkmQ== =2+YG -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--