Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5723372yba; Thu, 11 Apr 2019 04:32:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPlsnCYPCF1QErLsjiTE815LtD5WdQsuyQtYNp1i+p6KZz3q1MxEq1eWNre9m4HLFzEGn7 X-Received: by 2002:a62:3892:: with SMTP id f140mr49002618pfa.128.1554982374165; Thu, 11 Apr 2019 04:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554982374; cv=none; d=google.com; s=arc-20160816; b=oVA7A1mS3+XZ7xkwCXjm4hgsFIzE29OKdYmeEe8i7xKX3v40yoR0Za6JpPHtNuv0Xg UUJlIfzOSn6sNfwrHg/z5P28Pys35YmTo4oYqD1gmGAxXlYTdwRkWWw2GP7LP/RM7ZyV xSW9fyWRMt0lpCXh1yvoAUd5t1gGUe1FD5taIzuYzve1jUISk9rbVkLhjNuDBt9dN1zV 0xnPv20JluYDjwXoiZzZ4QJGa+pHyO6sO/R5UeE+lxdcUsKZ/UtgmUURTa5/bdiShQdT /gmpalIWHzs0qNFJYv1rc8qRude7kCBe8Q00NbRLwm+hsbqu1EpYGnJPWMV98AZfeiWj 2MZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=y06ryuh8Cn3MJRpdO6gPN7G8tB7ueHANJh+gssdM+KU=; b=K9CFKVioN94fsdfj/9Me5tcTma7xjPDRrmK5/Zh027ZqTc5z1bopOfHSwlh8kso8Wj Dmso4lW+RtCFjVNbfFus98E5HxpzNxqATFHiLXPAylvp2U+VYp5EFNFJvLv2Vg5MNb92 HhMItLcEU+C/taqZBAxrUxp4402Jt1C4ArDJMCMZGxjZm/d8CahFgEe/B5o5lwds0+FP /9neVxb4uACx2s+70zNPGn4O/bcY41HlqciPHS9xA8+kxmECKkhBH1O9AHXp5736A3ss 63nhZcRjrsdCgpswcFEGI/d77qUZPJCFB7SJh4RtWDaVXtK17lW0WvzgnPOO4UGG8T6T VEmg== 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 bc4si24511974plb.246.2019.04.11.04.32.38; Thu, 11 Apr 2019 04:32:54 -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; 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 S1726812AbfDKLbo convert rfc822-to-8bit (ORCPT + 99 others); Thu, 11 Apr 2019 07:31:44 -0400 Received: from smtp.asem.it ([151.1.184.197]:61040 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbfDKLbn (ORCPT ); Thu, 11 Apr 2019 07:31:43 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 5.5.0) with ESMTP id SG003807162.MSG for ; Thu, 11 Apr 2019 13:31:40 +0200S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 11 Apr 2019 13:31:38 +0200 Received: from ASAS044.asem.intra ([::1]) by ASAS044.asem.intra ([::1]) with mapi id 15.01.1261.035; Thu, 11 Apr 2019 13:31:38 +0200 From: Flavio Suligoi To: Mark Brown 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 Thread-Topic: [PATCH 2/2] spi: pxa2xx: use a module softdep for dw_dmac Thread-Index: AQHU75yQbkDNn+rZPkCFgi0S9cPL1qY1OMwAgAAnBxCAAAN6AIABJ5/AgAAaxACAAC8xIA== Date: Thu, 11 Apr 2019 11:31:38 +0000 Message-ID: <5f59962528d343938ae5978da8edd68d@asem.it> 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> <20190411104212.GA7953@sirena.org.uk> In-Reply-To: <20190411104212.GA7953@sirena.org.uk> Accept-Language: it-IT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.17.208] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A0C020F.5CAF259A.008B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > 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. Thanks Mark, Flavio