Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1853394pxa; Thu, 6 Aug 2020 18:24:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyjEdjPk9bLRPIWnMhpP12/wZVT8XdVtuYzKSDveM4lbhqaOpRUPKdRA+rKLf1xbdG1KKu X-Received: by 2002:aa7:c9c2:: with SMTP id i2mr6459928edt.326.1596763461032; Thu, 06 Aug 2020 18:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596763461; cv=none; d=google.com; s=arc-20160816; b=jIAzxg8f7R1g+M3jT4Y/M9lU+CpoVfdmnxLQzKLzXmsAr/v4s8N9fsAM2WS/Nv9dOD MB6lZyvG5VGi1HUG90TFobJR4AwjVbAlFv7POeIaLz4td8r3GWormG37zf8SPZxPmq5b OYCm8VsBiqxNF+8dsxLCI5BT5GUIy6tE2SwjYSsztRmMetNYQM00IF0k/vFJma2eR7vM Hu7g4cxkO8daCcQbhbfDVxwwzaawWCN9fhRQvUTp9coMMWmW3ICxZeLQvgulIMUU6hIL Z8jhG/dNimsVQTFUi1fAf5IX3Pn8FxaLGc5mRT0pI5yJWiBtRIZU0KH4pOEG4Bg2c+kA Yu0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=EGoiJwr7Yn7E8C81RuccqJ1OLqJy/5B2GmlLZzl97CY=; b=xTtI5WAoWN2GaaHIpqXxHw7W80ZTxL6g2f8oNiU79H73KqOXXEZne5Kp2acqB1w8Dc KAMeXYoAs6ns2JKR9ZGsziJDG0/XigH2gNX35zKh/ORdEAt4/Xu5/2Jv65WPnJ8bk2bH pLiBRAzTSom5rIPkD1fXVDQaKCTbRkeOd1rM5caP1Ar81gR/amVcw4qlp1BqhvANuEYf Mv1jCLrupjK9sDOeKqArEs3KB8uSBgFwj3C+wctX5gdn5eEnlpPP+tHtMNmvNXwcw9l4 js4c+lYAL7xqeNQNe/VDvZxB9Cpodgw6eC9mpcaSBvfdfftVkqSxk7NLfb3+J0pfygHi fsMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=osmTCgse; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si4334216edr.232.2020.08.06.18.23.58; Thu, 06 Aug 2020 18:24:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=osmTCgse; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726198AbgHGBXI (ORCPT + 99 others); Thu, 6 Aug 2020 21:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgHGBXG (ORCPT ); Thu, 6 Aug 2020 21:23:06 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D728EC061574 for ; Thu, 6 Aug 2020 18:23:05 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id o21so463705oie.12 for ; Thu, 06 Aug 2020 18:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EGoiJwr7Yn7E8C81RuccqJ1OLqJy/5B2GmlLZzl97CY=; b=osmTCgsekWezaCWmBB9Fal9fGvS/B9ZLHEO/zNUnaIFHxPMRYcgjd8J32mw+CwJl/u t7LcYW/wgR4ddB0nPQminG/BGV8meoautGgE291F5yX/BB7hzW/sR3HtvdwwgLEylpJ6 xZVqSoMvXPPAq5FqyM0q1LbzCD+g/vBFFo/yB10uFLsiqzKwNz2xbT+GIXiTopKtXGgT 0Aa7+kvPGsakHXyCuSLBqYhT2UPIgDdmgQjPI+WvGzGHA8OihhXvuxt/minXpuA0mB4R IQuPoapIrW9o9m01ORxnrpPMiO+ZnDU6e9odE1eZrejTiMc4Tj6xl+vqu8idgUtDC9Ek /lpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EGoiJwr7Yn7E8C81RuccqJ1OLqJy/5B2GmlLZzl97CY=; b=KA+KBsw/IwN0o9M/vCFz/Bj72xfRc4B5BjF0Fi6Kz6QW3ElN9GhaGc5BAQRF2z8AH+ 7KzODPZu5qufPRGiJQnSaihUfzISdkONYCO2Bw3gHmPTbvQVrieG95HEq5oC9xJ/8slu MrBmOpU59viOPcw+ciW+1ihUuCxoGS2MWtvYc7XtmLWUXSV6+srH8ovW5PQYHsJGyvAP eJUrcK+Pluu1xZr+KQmmb955ZywnBGs+tULP+ORzWjMLvFxYxGxI3OXxa8CHCvsZM9sB kxPB2lGYZV8g39WOQu4eW8GMU202NsgbqVCwrvmxC2qN6OQ6K8Qf8c4EBTaQyQsrZURT SyyQ== X-Gm-Message-State: AOAM532RkuBx4j0ILPiWxbFdR4OvbSNUgXcwwEfXnuVbJtxnXDsuZBv+ n5XYXwLYYjzZgOmC8kjncKJYAHCjtueW2oA/+6oKvQ== X-Received: by 2002:aca:f106:: with SMTP id p6mr8969952oih.169.1596763384888; Thu, 06 Aug 2020 18:23:04 -0700 (PDT) MIME-Version: 1.0 References: <20200718000637.3632841-1-saravanak@google.com> <20200718000637.3632841-3-saravanak@google.com> <78ad0914-6173-f753-9eba-b7cbfbb51fd6@kali.org> <20200807004001.GF20825@builder.lan> In-Reply-To: <20200807004001.GF20825@builder.lan> From: John Stultz Date: Thu, 6 Aug 2020 18:22:53 -0700 Message-ID: Subject: Re: [PATCH v3 2/4] irqchip/qcom-pdc: Switch to using IRQCHIP_PLATFORM_DRIVER helper macros To: Bjorn Andersson Cc: Steev Klimaszewski , Saravana Kannan , Thomas Gleixner , Jason Cooper , Marc Zyngier , Matthias Brugger , Andy Gross , Android Kernel Team , lkml , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" , linux-arm-msm , Hanks Chen , CC Hwang , Loda Chou Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 6, 2020 at 5:43 PM Bjorn Andersson wrote: > On Wed 05 Aug 14:57 PDT 2020, John Stultz wrote: > > On Wed, Aug 5, 2020 at 2:47 PM Steev Klimaszewski wrote: > > > On 8/5/20 4:16 PM, Steev Klimaszewski wrote: > > > > On 8/5/20 3:19 PM, Saravana Kannan wrote: > > > >> On Wed, Aug 5, 2020 at 12:44 AM John Stultz wrote: > > > >>> > > > >>> So this is where I bashfully admit I didn't get a chance to try this > > > >>> patch series out, as I had success with a much older version of > > > >>> Saravana's macro magic. > > > >>> > > > >>> But unfortunately, now that this has landed in mainline, I'm seeing > > > >>> boot regressions on db845c. :( This is in the non-modular case, > > > >>> building the driver in. > > > >> Does that mean the modular version is working? Or you haven't tried > > > >> that yet? I'll wait for your reply before I try to fix it. I don't > > > >> have the hardware, but it should be easy to guess this issue looking > > > >> at the code delta. > > > > For what it's worth, I saw this too on the Lenovo C630 (started on -next > > > > around 20200727, but I didn't track it down as, well, there's less way > > > > to get debug output on the C630. > > > > > > > > In my testing, module or built-in doesn't matter, but reverting does > > > > allow me to boot again. > > > > > > > Actually - I spoke too soon - QCOM_PDC built-in with the commit reverted > > > boots, however, module (on the c630 at least) doesn't boot whether it's > > > a module or built-in. > > > > You may need to set deferred_probe_timeout=30 to give things a bit > > more grace time to load. > > With the risk of me reading more into this than what you're saying, > please don't upstream anything that depend this parameter to be > increased. > > Compiling any of these drivers as module should not require the user to > pass additional kernel command line parameters in order to get their > device to boot. So, ideally I agree, and Saravana's fw_devlink work should allow us to avoid it. But the reality is that it is already required (at least in configurations heavily using modules) to give more time for modules loaded to resolve missing dependencies after init begins (due to changes in the driver core to fail loading after init so that optional dt links aren't eternally looked for). This was seen when trying to enable the qualcom clk drivers to modules. It doesn't seem necessary in this case, but I suggested it here as I've got it enabled by default in my AOSP builds so that the module-heavy configs for GKI boot properly (even if Saravana's fw_devlink work is disabled). thanks -john