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.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 7928CC433E2 for ; Tue, 15 Sep 2020 21:15:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4147B20659 for ; Tue, 15 Sep 2020 21:15:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600204546; bh=pg2F/OkP4C/9Jp5gtkO33D4BdjRwdvS2Qbd6pqgYkwI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=jgot9EyDnh64pq73gGtXcBWrpRYt2bcfg9eda7FsWP1Odl71+dehfLAa1vgYYnDqt 5bXhtqTMWlvjbIzBgp9xHzWgFCpZLGOG8OQbM3lVA20XOUhfWl6SuTp5WvGw03IugV ueIkUQFNW41yEWCC97gdb3fWxZU3e50uKrOGDgAg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728030AbgIOVPl (ORCPT ); Tue, 15 Sep 2020 17:15:41 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:35050 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727998AbgIOVOE (ORCPT ); Tue, 15 Sep 2020 17:14:04 -0400 Received: by mail-io1-f65.google.com with SMTP id r9so5801964ioa.2; Tue, 15 Sep 2020 14:13:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UlDLGNDfNIX30vo6TOptdsoHKv0FtXHPExY3lDotPuo=; b=J8985iCyJ7DACYAYXHjhxQPobqPMDQk5NG6+FzrH/Fa6lX+UEJKLT5GPWcm6pEctaK gMks02pNuA4Tr48aSMxTFwRiQ0f8b1VloWBibaIhQcLYWZoDY/mlkYLuDnGOrJ7ZSNzo IaJBDc1JHBd4OSW8Kz/orzGx43JlyBOYklx1EMMw5Ox9BxK3k1SSQgx44sm06k4Wjq9E wu8XC2k6VbkaiPPRgN2bJtYu5KNKDtkccEG0J/pE7hR5M8YNBATtP1QVcbVMLMIoJJ3U fY6g6dLrRPCvcSzfPgiTaTzgVeAUJkAeiBTFdefTWUOiriCuaIBbg8xMAbuwpKiq+T6z 47qg== X-Gm-Message-State: AOAM532Ctdt8wcreRzKPu94MOSfKVvBVDqUCfO5xm7NeeQGBD5dishx/ dCJSvXW9aWIsU+zl98Lt1A== X-Google-Smtp-Source: ABdhPJyVWPTPAOglxQF9NhMcWNJpbFKNXF1PJ0wdUxFZLDRkQNimmK+jCC+29w1IjGTMhIWd2g0+Og== X-Received: by 2002:a05:6602:2003:: with SMTP id y3mr16652469iod.203.1600204436919; Tue, 15 Sep 2020 14:13:56 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m15sm9304692ild.8.2020.09.15.14.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 14:13:56 -0700 (PDT) Received: (nullmailer pid 2518777 invoked by uid 1000); Tue, 15 Sep 2020 21:13:54 -0000 Date: Tue, 15 Sep 2020 15:13:54 -0600 From: Rob Herring To: Marc Zyngier Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Enric Balletbo i Serra , Frank Wunderlich , John Stultz , Saravana Kannan , Hanks Chen , Andy Gross , Bjorn Andersson , Matthias Brugger , Thomas Gleixner , Jason Cooper , Frank Rowand , kernel-team@android.com Subject: Re: [PATCH 0/6] irqchip: Hybrid probing Message-ID: <20200915211354.GA2469362@bogus> References: <20200912125148.1271481-1-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200912125148.1271481-1-maz@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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? I'd rather keep the pressure on getting fw_devlink on by default. Rob 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 23AEBC43461 for ; Tue, 15 Sep 2020 21:15:32 +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 B440320659 for ; Tue, 15 Sep 2020 21:15:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K0mNIzmX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B440320659 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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hDvELCrkfWEmmmKCxjbkQWI2Cmm56K627fipYf/Y3SU=; b=K0mNIzmXB8BWXMwLbNams9GPh t8xBZ7cSJO4NCQCPjztt3F02UZeSqN8TR7mOPgyUFLRnfowGfm6aiFsj0AgIOZs318N42Do/TW/EH ehRBi2cLrgxww00bK8IYCh14ZYE7vOqLVpRcOMeS4rK+/qF2p2IN73P+/KLeOnQMly5vS+pKKpL5s OPuY6xVrDx+urrxCHKWESFNwLWIB9nTUmQ4qeKx2p4Wocj5bekaUI8OuGNowBb5IyqKAg08RURp1L snCXmrjW36KiAYnGSMaVZI/ANAk5SaHW9B9V8fFSI/caMbjYp/2GBuS9oX9mhceK2PMhk7sNx/gFW 1xBThdU1w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIIH4-0006bK-4F; Tue, 15 Sep 2020 21:14:02 +0000 Received: from mail-io1-f66.google.com ([209.85.166.66]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIIH0-0006ak-RD for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 21:13:59 +0000 Received: by mail-io1-f66.google.com with SMTP id g7so5730484iov.13 for ; Tue, 15 Sep 2020 14:13:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UlDLGNDfNIX30vo6TOptdsoHKv0FtXHPExY3lDotPuo=; b=OtN+J3PWfqgOg6LutwmdH40oMx5cm0+38AeMyn6Nml01ylbbKoP5dKr74iGOATsXHt vxl8xCwYsTAmWOt2gDIVVoL3VH1v/kdvVNgziaaJllIl0ZWfxnUx+jLkfsPMRHQ9SBJW K4AdBx8MYybElKYtJ4VvTiYYphbRFuzHjxMCd9ce1sEzs2nI0E7/nisqZjHb7Lbp+8po obCadnavF14ur0E9e2VuDEHxX/PhusNfgEgFHikAn716WHhN3FA3fLW9C4H/lRnB6rOn HdJPSwr07KJcr+KwiqJMyz1FgJ+/ixtn1dE4FHTnSA1FuwoUDlvDTEllIz+sSG05bSZB NjBw== X-Gm-Message-State: AOAM531zstUWZWXOnK42wwMHE5G6mEJqgf7FOuPV1kudwvHin1GV5j0D uw0biqedx1X9ycCMMPBcvA== X-Google-Smtp-Source: ABdhPJyVWPTPAOglxQF9NhMcWNJpbFKNXF1PJ0wdUxFZLDRkQNimmK+jCC+29w1IjGTMhIWd2g0+Og== X-Received: by 2002:a05:6602:2003:: with SMTP id y3mr16652469iod.203.1600204436919; Tue, 15 Sep 2020 14:13:56 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m15sm9304692ild.8.2020.09.15.14.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 14:13:56 -0700 (PDT) Received: (nullmailer pid 2518777 invoked by uid 1000); Tue, 15 Sep 2020 21:13:54 -0000 Date: Tue, 15 Sep 2020 15:13:54 -0600 From: Rob Herring To: Marc Zyngier Subject: Re: [PATCH 0/6] irqchip: Hybrid probing Message-ID: <20200915211354.GA2469362@bogus> References: <20200912125148.1271481-1-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200912125148.1271481-1-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_171358_915486_51A3D5B7 X-CRM114-Status: GOOD ( 19.79 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. 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? I'd rather keep the pressure on getting fw_devlink on by default. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel