Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4014312pxu; Mon, 21 Dec 2020 01:51:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEkxPmZAukaw8u7o0A6P8tEIm+PksGWQqR+oJdE2PH6ay54W+2lP/6tnyrHx1FK3cnVex+ X-Received: by 2002:a05:6402:ca2:: with SMTP id cn2mr15131405edb.137.1608544291764; Mon, 21 Dec 2020 01:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608544291; cv=none; d=google.com; s=arc-20160816; b=d4HfVpgkbMWCQoAzc/PPPES0ZOGiII2Vz1lfMmgZcolgggBatSnEVgeh4ByFPLO9AI rBc5gYhSZeRqwBDXEd86C3ID+qwvt96+TjTWXv0qW+oyFYMKkGY4odLxpSIsJP1b1EWs BzMyxfF0cvaHaJ6xttd9VfLn5GyYE1Kk4H2sIFgmRRuZEjWk9RhJS83eYkXcaNO+fmAQ 8EyOSAybp9rfMpN4QFxyNNUbDNvJW1abpH9rBqQ1jPHyXILyodjxWEknpLpzi5YinXAs A+92O47MHcrBgzUCeFWZcMNmNtSWMuueLGFC/fRSyeWxJENxXgneOMiC8VfZsx2xhlwx kN0g== 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; bh=/MAEcdhR8xhJxkTH5py9dhvbH9xpgK7YSOJAH3krQv0=; b=VppRMFDFoTwVrTcSNuJiDaWf9FQ6temGi4hVhlGEp8kD0fkOqx4vxHdPS8WZN1Q9MH N7woybUc30LN39ghbaZaKRVklRCpGnz7x+XepAuF2LonlH6cyruqts/6s4IVJic6r/XF ILiK9ffQ5Z/fiXS7X8mUz1dRyFGHudnPYT2dezo6G9WqONe6qX+ApUslsrecfvNcintR lhkdkZoaipxw+hvdfNxge7fTs7ZY1jRXQKAGhKWx4qr8nZ6JQmFJAO8Kg0wlLZ32at5E JwY04j4Wrdm5ExeOmtPcmJ2RlSQoeoOlhLDUFQdyi6lKw7mHFzpbPczppSK6SUqfHjJ/ SuJQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj28si10339719edb.352.2020.12.21.01.51.09; Mon, 21 Dec 2020 01:51:31 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728516AbgLUJtc (ORCPT + 99 others); Mon, 21 Dec 2020 04:49:32 -0500 Received: from mail-oi1-f174.google.com ([209.85.167.174]:38223 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727450AbgLUJtU (ORCPT ); Mon, 21 Dec 2020 04:49:20 -0500 Received: by mail-oi1-f174.google.com with SMTP id x13so10734516oic.5 for ; Mon, 21 Dec 2020 01:49:05 -0800 (PST) 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=/MAEcdhR8xhJxkTH5py9dhvbH9xpgK7YSOJAH3krQv0=; b=dwUuukA9Vuso8nZj5cPex0D3esu/LkjpQe3saBTKGgGIpO0qFdbbaSeOxVn1oQuYAF vwr56vTnoFnt6SpmgQ9yUOfLwBD+TyjXE3NOD3Afxj89CroHFZCbnV5JP/IMKHq8o6un 9PLU8HGkOU7hoJ6Ak9OE64QKslrcBrYdeEU2zWtHKXmNVySnqlK7QE0vBi6qVa2+zAER m/0JhqxgZB24eXgTBEkQYS9bVCGvydbVJgcDkAVaH8a1Th/g0QGzg6vx4eDMvj1DkgGP 6LfvXiWnHB69YAlfOEBq3ZSJ1eQvNK1XrC2vGf3EQLdgeDjuHzSbGhFvY6RG4u4FUCxE 7AoA== X-Gm-Message-State: AOAM533vEDShHYBci+oh7qTpYmaoZycnJgWXUuMoaQ4MfMNP4WV8lfp9 VQr9x4Tq6FBqdgfUAHKkoeeUUS+b8bCWPHvGbYs= X-Received: by 2002:aca:4892:: with SMTP id v140mr10402620oia.71.1608544120040; Mon, 21 Dec 2020 01:48:40 -0800 (PST) MIME-Version: 1.0 References: <20201218031703.3053753-1-saravanak@google.com> In-Reply-To: <20201218031703.3053753-1-saravanak@google.com> From: "Rafael J. Wysocki" Date: Mon, 21 Dec 2020 10:48:23 +0100 Message-ID: Subject: Re: [PATCH v1 0/5] Enable fw_devlink=on by default To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , "Cc: Android Kernel" , Linux Kernel Mailing List , 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 Fri, Dec 18, 2020 at 4:17 AM 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? Honestly, I'd rather not (but it's up to Greg). This is a new series posted during the merge window, so it should not be looked at even according to the rules. Personally, I don't have the time to look at it now. > 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. So it should be posted right after -rc1 and spend a whole cycle in linux-next. > If we do end up have to revert anything, it'll just be Patch 5/5 (a one > liner). Which totally doesn't matter IMV.