Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2434947pxu; Fri, 18 Dec 2020 13:13:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoEQo/CXZbbV6hLa6TP7TzP/at8OVg7CONXgCtm2R3gVicTQ2b+Cpl4lqRMQZIdT7eC7XA X-Received: by 2002:a17:906:400a:: with SMTP id v10mr5903793ejj.302.1608326034913; Fri, 18 Dec 2020 13:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608326034; cv=none; d=google.com; s=arc-20160816; b=lM7h5okbzFf8+JIfb0vke0WeuV1CEpeCvs0Dvbi9n2n+9sLCs2jXiJFWQrT03sc3Hs 3L5K4HNc66SPyKcd7KbB0xJ2ZYCstbx5idAxtDFiw6KPSA6wSina7sBaZyANRGMKw207 ox0pk9eRaU65kytg26c8oglpfXN/Ko8peah+szHJ0csI4t7/RhT50p47LaxomMnExZEz xbpZpkvsCE1kW2xC5JA0HHJ+hlHjOaLpdbx273P1GhFRXUq8E6s+K7Yz5Gz5SBmfoS9Z Zf9daBx/aw+pFJXJngTYiiEPxzyMy2RT2bkeTemh2uTk9Gkr6/D1Gg0eTfyhpcNJWXNg cBAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cFsnWYgZv7EVrgBXFoXDcyOnuUF1YGc0qpDAPXty7qM=; b=zsZgM5uPRBoWGxZ4FOrfrE+lF8m3aMz2q6zxHOQgXO/DSLEaTkNtZSA3uB4epuD1Np vwi4sOg5aL9t/DGuHGJGSN82YSw2nsilFqZrPBCY4Le+zxqAuWIJiyVqu8H5Di+McDC9 /lue/gw29gKUd5HuRWRA7XH1mP8oz0qTpQsy8G4/Vmm6knW4WohAcsU+mLBRtYaSNWrr dAFpEzqfPcpwBCzAF//8VSXW96zyFB1CNq/2aif1ulAiTiFWZDx0dSt/RX0M75IaL2r3 8SaRWnTDM6r5hvBIkhHbNhAPDUJgS4dysZWFeULacRUhebijVJGlKa3LDUoWPY3gNrWR 8N7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=E909suHs; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si6725898edu.165.2020.12.18.13.13.32; Fri, 18 Dec 2020 13:13:54 -0800 (PST) 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=@google.com header.s=20161025 header.b=E909suHs; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727439AbgLRVMG (ORCPT + 99 others); Fri, 18 Dec 2020 16:12:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726499AbgLRVMF (ORCPT ); Fri, 18 Dec 2020 16:12:05 -0500 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B5CCC0617A7 for ; Fri, 18 Dec 2020 13:11:50 -0800 (PST) Received: by mail-yb1-xb30.google.com with SMTP id u203so3174081ybb.2 for ; Fri, 18 Dec 2020 13:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cFsnWYgZv7EVrgBXFoXDcyOnuUF1YGc0qpDAPXty7qM=; b=E909suHsydiiXo6eDGwHUVoYI1cTbo8JAJZP8XMJD1W9CDP3Ett0Bg5T9kog8+0dpc f5ElkEHiSQ4oeKjj5l2xsyYlGw7O6beXkNQnMAMc2lvdq/EAcY8cVldzUexjVaxvzvWw AQz2Iu2E4meXkccmmjsXL19T+vA3sNsRrHt6MZScx46BULV0KHZlN7i5c0eMi2c3CkZ3 lchsrvpcvnS9PU5PpfuWIhJceVMldtdPA0QGzCdbyqITHCfteAMDTo0IeuF+eR5xZ5d+ UfiM2so+Q0xlYuFrXwPLLdgjnmy5ShkKwyz/oP+lOoWgVuME4XXHEaSQTZaQicia8X4U +qfQ== 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=cFsnWYgZv7EVrgBXFoXDcyOnuUF1YGc0qpDAPXty7qM=; b=J2RhZhqfUuwPNuaumIImJKuIEI/nqD88ZiubXE4Os3ME69+32tQiyVeFBrxmnDIhjV s5FwyLpLu7saKLjON7Aphy0Rs5JrNZqplLFRFCAnfV45BK96HAEmrAeFHJB66XxTu1s4 fbeFoEjlz3F99yD6iW856o8qQ1shrvy/ZxLoqPPDFe7eyfKlIBXdAyzFTTvI2aCnWvY3 7RSg0ix0rHYGhONA9Wky5qd1LIlX18X/qanWKls4/gQCkU54rd0a7sgVZSI/iqv5WgY4 vebo8imKmsUeBfZIjbm8kcfuYfZQ++AUfGdjdZEGECwLwW+CbeSEPQFW6qVx8Zw6srum ZTuw== X-Gm-Message-State: AOAM530d23vCG1RN/Jta3H51YK1ZTz6fayOblmQ+uGXGdZsBpvN+gnzO C3Fe0QDi9VsPZWcOyPF7vHwGfdC2WCGW8fVeDt82n1vvL2op6+/z X-Received: by 2002:a25:6604:: with SMTP id a4mr8745791ybc.412.1608325909702; Fri, 18 Dec 2020 13:11:49 -0800 (PST) MIME-Version: 1.0 References: <20201218031703.3053753-1-saravanak@google.com> In-Reply-To: <20201218031703.3053753-1-saravanak@google.com> From: Saravana Kannan Date: Fri, 18 Dec 2020 13:11:13 -0800 Message-ID: Subject: Re: [PATCH v1 0/5] Enable fw_devlink=on by default To: Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: Android Kernel Team , LKML , Jisheng Zhang , Kevin Hilman , John Stultz , Nicolas Saenz Julienne , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 17, 2020 at 7:17 PM Saravana Kannan wrote: > > As discussed in LPC 2020, cyclic dependencies in firmware that couldn't > be broken using logic was one of the last remaining reasons > fw_devlink=on couldn't be set by default. > > This series changes fw_devlink so that when a cyclic dependency is found > in firmware, the links between those devices fallback to permissive mode > behavior. This way, the rest of the system still benefits from > fw_devlink, but the ambiguous cases fallback to permissive mode. > > Setting fw_devlink=on by default brings a bunch of benefits (currently, > only for systems with device tree firmware): > * Significantly cuts down deferred probes. > * Device probe is effectively attempted in graph order. > * Makes it much easier to load drivers as modules without having to > worry about functional dependencies between modules (depmod is still > needed for symbol dependencies). > > Greg/Rafael, > > Can we get this pulled into 5.11-rc1 or -rc2 soon please? I expect to > see some issues due to device drivers that aren't following best > practices (they don't expose the device to driver core). Want to > identify those early on and try to have them fixed before 5.11 release. > See [1] for an example of such a case. > > If we do end up have to revert anything, it'll just be Patch 5/5 (a one > liner). > > Marc, > > You had hit issues with fw_devlink=on before on some of your systems. > Want to give this a shot? Marc, If you decide to test this, please also pull in this patch. It should fix all your interrupt issues. https://lore.kernel.org/lkml/20201218210750.3455872-1-saravanak@google.com/ -Saravana