From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A3B1C2D0F6 for ; Wed, 16 Sep 2020 08:52:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 04A6421741 for ; Wed, 16 Sep 2020 08:52:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LsY5ZqNT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="B/ARG8qn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04A6421741 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pFCeVx8qCI5t1jxfrgk1fJdlFO5PR3YT34mhfNxgy/c=; b=LsY5ZqNTV50pACSbLGoEyQD2z q5ABppry2tyhKi/T/iW1YDYRLlu1T7+2vccJO0YljDbliT1+4zsBtmVMtoD/CELND8Rjf9syNwZjn pdSzlsQU/0yUWZDOtb54StY4IOWO+KiMUgT4W0lNrmxhd8LGU461CXCA849a6ZFrutl13GoYhAS2W EuNDYgBDkr5+gK9ErfZPKg8iQtwy9KeBRGlQtSBzmGAT48iIVHmBMGMcbVFhuT/K9TIcBQAI9hzzi ZzWempTREuULbTIb3qDPMJClygQNy+2JlwShDJCq4bU94+Z7nNOc897CcTjTju6z1L43fC2M/rOVy fV8LbqUSw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIT9u-0005Ao-1N; Wed, 16 Sep 2020 08:51:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIT9p-00059U-1q for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 08:51:20 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F0760208E4; Wed, 16 Sep 2020 08:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600246276; bh=KW3/g7BAIMnFaj7E3IiooHnGIsgdMNc+XdCPiC3BoXM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=B/ARG8qnWbc7qqaonuGTy3bo/TX6m7TAs8sJ7sS4zzhHQAKkxMJ2070K0lZRZBdul XzL2kFk1B3r22UoC8Uwar9tInxzzgONXRoopwnDmECRNRNWD4hJ0ksvzdKb6WEULXE NIil94B1EnH0HaM9uZtgcPijH5SSdCaJi7/FjWSI= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kIT9l-00CJ8a-WC; Wed, 16 Sep 2020 09:51:14 +0100 MIME-Version: 1.0 Date: Wed, 16 Sep 2020 09:51:13 +0100 From: Marc Zyngier To: Rob Herring Subject: Re: [PATCH 0/6] irqchip: Hybrid probing In-Reply-To: <20200915211354.GA2469362@bogus> References: <20200912125148.1271481-1-maz@kernel.org> <20200915211354.GA2469362@bogus> User-Agent: Roundcube Webmail/1.4.8 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: robh@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, enric.balletbo@collabora.com, linux@fw-web.de, john.stultz@linaro.org, saravanak@google.com, hanks.chen@mediatek.com, agross@kernel.org, bjorn.andersson@linaro.org, matthias.bgg@gmail.com, tglx@linutronix.de, jason@lakedaemon.net, frowand.list@gmail.com, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200916_045117_218973_D04ACECD X-CRM114-Status: GOOD ( 22.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jason Cooper , Saravana Kannan , kernel-team@android.com, Hanks Chen , linux-kernel@vger.kernel.org, Bjorn Andersson , Matthias Brugger , Andy Gross , John Stultz , Enric Balletbo i Serra , Frank Wunderlich , Frank Rowand , Thomas Gleixner , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-09-15 22:13, Rob Herring wrote: > On Sat, Sep 12, 2020 at 01:51:42PM +0100, Marc Zyngier wrote: >> A recent attempt at converting a couple of interrupt controllers from >> early probing to standard platform drivers have badly failed, as it >> became evident that although an interrupt controller can easily probe >> late, device drivers for the endpoints connected to it are rarely >> equipped to deal with probe deferral. Changes were swiftly reverted. >> >> However, there is some value in *optionally* enabling this, if only >> for development purposes, as there is otherwise a "chicken and egg" >> problem, and a few people (cc'd) are working on a potential solution. >> >> This short series enables the infrastructure for modular building >> whilst retaining the usual early probing for monolithic build, and >> introduces it to the three drivers that were previously made to probe >> as platform drivers. > > I hardly expected more OF_DECLARE macros when I opened this up. Given > desires to get rid of them, I don't think adding to it is the way > forward. That wrapping a platform driver around OF_DECLARE looks pretty > horrible IMO. Nobody said it was cute. It's a band aid that allows us to move from the status-quo that exists today. How would you propose we allow people to go and start "fixing" drivers if you don't give them the opportunity to even start trying? > I browsed some of the discussion around this. It didn't seem like it's > a large number of drivers that have to be fixed to defer probe > correctly. Am I missing something? Well, that was enough drivers for the two platforms that had it enabled to break horribly, without a way to go back to a working state. Do you find that acceptable? I don't. > I'd rather keep the pressure on getting fw_devlink on by default. So far, fw_devlink breaks everything under the sun, even without modular irqchips. Most of my systems fail to boot if I enable it. So yes, it really needs some work. And this series allows this work to happen. M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel