Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031245AbbKEJoN (ORCPT ); Thu, 5 Nov 2015 04:44:13 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:49594 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030886AbbKEJoJ (ORCPT ); Thu, 5 Nov 2015 04:44:09 -0500 From: Gabriele Paoloni To: Marc Zyngier , "majun (F)" , Thomas Gleixner , Jiang Liu , Jason Cooper CC: "linux-arm-kernel@lists.infradead.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver Thread-Topic: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver Thread-Index: AQHRB1/Pqafmz+U0MUq6HQzTfLJI856Lnu4AgAARx4CAAYaKUIAAFLKAgAABXBA= Date: Thu, 5 Nov 2015 09:43:12 +0000 Message-ID: References: <1444923568-17413-1-git-send-email-marc.zyngier@arm.com> <1444923568-17413-8-git-send-email-marc.zyngier@arm.com> <5639BB10.1090108@huawei.com> <5639C9F9.2010704@arm.com> <563B22F1.901@arm.com> In-Reply-To: <563B22F1.901@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.122.142.33] Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.563B24BF.0002,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: dd38c2fe43a7094811282f1b8a7c7511 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tA59iJWt019645 Content-Length: 2891 Lines: 91 > -----Original Message----- > From: Marc Zyngier [mailto:marc.zyngier@arm.com] > Sent: Thursday, November 05, 2015 9:36 AM > To: Gabriele Paoloni; majun (F); Thomas Gleixner; Jiang Liu; Jason > Cooper > Cc: linux-arm-kernel@lists.infradead.org; linux-pci@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH RFC 7/7] irqchip: [Example] dummy wired > interrupt/MSI bridge driver > > On 05/11/15 08:25, Gabriele Paoloni wrote: > > Hi Marc > > > >> -----Original Message----- > >> From: linux-pci-owner@vger.kernel.org [mailto:linux-pci- > owner@vger.kernel.org] > >> On Behalf Of Marc Zyngier > >> Sent: 04 November 2015 09:04 > >> To: majun (F); Thomas Gleixner; Jiang Liu; Jason Cooper > >> Cc: linux-arm-kernel@lists.infradead.org; linux-pci@vger.kernel.org; > linux- > >> kernel@vger.kernel.org > >> Subject: Re: [PATCH RFC 7/7] irqchip: [Example] dummy wired > interrupt/MSI > >> bridge driver > >> > >> On 04/11/15 08:00, majun (F) wrote: > > [...] > > >>> I think,for a interrupt controller, msichip driver initialization > maybe is > >> too late > >>> for some devices which connect to this irqchip if we use > >> module_platform_driver. > >> > >> That's a consequence of this design. This is why I insisted on the > fact > >> that this is currently avoided by using deferred probe in drivers, > and > > > > Mmm using te deferred probe would mean to rework all the drivers of > the > > potential devices connected to mbi-gen...would that be > sustainable/acceptable? > > I'm tempted to reply "Not my problem". Or rather, not a problem I'm > trying to solve right now (or any time soon). > > I'm pretty sure that sprinkling -EPROBE_DEFER on all possible drivers > will result in a resounding NAK, which is is why I suggested that > someone with a vested interest dedicates some quality time helping > those > who are trying to solve this issue for good. Yes you're right, makes perfect sense > > >> that it should be solved by having a probe order. Either way, this > is > >> not something that we can solve at that level (see the multiple > proposal > >> for this on the various lists). > > > > Could you point me to the relevant discussions for this...? > > Google is, as always, your dearest friend. But here you go: > > - LWN has some quality coverage of the KS discussions (assuming you're > a > subscriber, otherwise you'll have to wait for another week): > http://lwn.net/Articles/662820/ > > - There is also Tomeu Vizoso's series, which itself builds upon other > previous attempts at solving this: https://lwn.net/Articles/658690/ > Great, many thanks for pointing them out. I'll look into these. Thanks again Gab > Thanks, > > M. > -- > Jazz is not dead. It just smells funny... ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?