Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3977717pxy; Mon, 26 Apr 2021 14:35:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVFnzmtIXCI2HlC4JdVWstlkliUNJu0/4lz/PgfxpUn70nQ/kT+eYYMHlLoI5g9RTxCWSt X-Received: by 2002:a17:907:b1b:: with SMTP id h27mr20902280ejl.421.1619472944678; Mon, 26 Apr 2021 14:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619472944; cv=none; d=google.com; s=arc-20160816; b=0CG4z+45/4WhlfhP9ZPkeDlhMCAJ0xcL/7IISOcxIkkuI8760gs+EFfTZkq2lWDLJJ YDPwUcdBL73tnrMhJHwm5I6b34xs1qQswEpT15R1JUr8MH+vhcRew/Knm6H1VdBjdkLL sunqyU52Qy37jdornpAt9LhSRfsMjhGm+Acodt+7iGNYzYgelFNy95QRQLi8Jd2kQS+z aJfL567H5rH5E2hM9cZ3tPMpOQizNQx5iQoxsjAjM/nA/PabqDvSfNeR7R8t0XYrZkd5 j7884zURDwB0TkS0qQy1gB+jxfL9k48/BGg6Kb0JB1fkA05RF7aj6Rb+UV+NExYY9WK5 mAkg== 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=YIDuPmzhPxytj5Fxz8H+t6WOGUUiRZKI+5N5FdxPWcA=; b=O/GgBKdXgkvF+6qdi46uRB54Ng3bHBUIBdbyd7DbW+w2dHZnAJjwaVS5DjcIjot336 jGpPJZSMgX0EE0lGnhmJto75o/AIYlIGPJG1ZhM7mDv8i8tqSuhqF+tQTZNzFWG1RKUf 9XphYdFHVDnn45BQDnMAHoDBsXlzrwra2/s5PHtvQHBMXOzg8N7ng4Rb4TB3BubS2CG5 C11P/r46x4e8Y10UTsrHTJD5LaqHEp6Y3FQTu6nXlTo4Hj3b0C+V15GAHY+sRTheOl3V OZ7Q8zqvAQhj//itipC4HWkfQ+vbIja28sTT0+RSTLANFrVCmtCzTMEf4FCMNCsmXfux OIjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=f7Bsl2HR; 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 h5si13767315ejb.54.2021.04.26.14.35.21; Mon, 26 Apr 2021 14:35:44 -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=@google.com header.s=20161025 header.b=f7Bsl2HR; 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 S236012AbhDZVej (ORCPT + 99 others); Mon, 26 Apr 2021 17:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235919AbhDZVei (ORCPT ); Mon, 26 Apr 2021 17:34:38 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78E28C061760 for ; Mon, 26 Apr 2021 14:33:55 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id q192so13090708ybg.4 for ; Mon, 26 Apr 2021 14:33:55 -0700 (PDT) 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=YIDuPmzhPxytj5Fxz8H+t6WOGUUiRZKI+5N5FdxPWcA=; b=f7Bsl2HRqgoSKtZA1OEo9CjCT7yvy46UVd9fQXeBhISTQCXh+fY6JC/QYdyS5RN/5S 2TlcOziMAURGHaOkKR+bkpj3IpNiBEM07P2e+N5/r/lzOIBlCsvPUq5oDJvtY6luCpLO VgxFrD2QVn8Jd8DM/bbBKh+NDwDS3osI1AJncPFugFg8yMyqPX1bWqAHp1LyIcZfxGIt TgdxdvWy52Dx0dO3Qvcezrw2YDP4fhJigpUS9jG78TGzHN+SonPtLHnt+CbfPZZfg1VH VQRzjt/PWACZ8OM2Lbs3B/hIx3iJak8g87JjG+6bmfXK0Gtojx4tofqDdEGsMNLZ0gGH Gr7Q== 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=YIDuPmzhPxytj5Fxz8H+t6WOGUUiRZKI+5N5FdxPWcA=; b=feYcDHTB/X3O+JrM8Hjjhef+zKgKYmUQc0uK9/8hoLLf5AWdTE4ESvMOv/ohK/uDSh SO0xuJS5A6IwjKWzbHcb17ffFWCztUkd+u1cSV0A5ZvhKjxpzHV0/icoRtvx8kzQJmDf DPklY879NPa6DuWY7pE0EytcODzpU6F5YHFrfMF0yFY+3nS0/JdhgTrGZO4c0a7G3VCE jf8z4/C8MXEmOysw/ME1CXmWAb5GEUEgoaWi4DdjLdXHmhQEGCvkTQUvSzF5XhHIfOwZ tS0G7Kr3B+phdR8G5I94X4M+uWoKpvzoGvDe63Em3+fGpEJOCUpOErxpuhtZCwvaW32H mKPw== X-Gm-Message-State: AOAM5310p6vCkUxaGdD4XBAcLe4BO793W9raAM4yAKXDqx7FF1D/qDCA Tv01drXN7aT0zt0EJcHolIUZkQGHiGsD7+fKWf4JGg== X-Received: by 2002:a5b:a82:: with SMTP id h2mr1115898ybq.20.1619472834555; Mon, 26 Apr 2021 14:33:54 -0700 (PDT) MIME-Version: 1.0 References: <20210302211133.2244281-1-saravanak@google.com> <20210302211133.2244281-4-saravanak@google.com> <60989b90-7f8a-5306-e7d7-c5461bc9ac68@gmail.com> In-Reply-To: <60989b90-7f8a-5306-e7d7-c5461bc9ac68@gmail.com> From: Saravana Kannan Date: Mon, 26 Apr 2021 14:33:18 -0700 Message-ID: Subject: Re: [PATCH v1 3/3] Revert "Revert "driver core: Set fw_devlink=on by default"" To: Florian Fainelli Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Al Cooper , Jim Quinlan , Sudeep Holla , Cristian Marussi , Michael Walle , Jon Hunter , Marek Szyprowski , Geert Uytterhoeven , Guenter Roeck , Android Kernel Team , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 26, 2021 at 1:51 PM Florian Fainelli wrote: > > Hi Saravana, > > Adding Sudeep and Christian, Al and Jim. > > On 3/2/21 1:11 PM, Saravana Kannan wrote: > > This reverts commit 3e4c982f1ce75faf5314477b8da296d2d00919df. > > > > Since all reported issues due to fw_devlink=on should be addressed by > > this series, revert the revert. fw_devlink=on Take II. > > > > Signed-off-by: Saravana Kannan > > This change breaks booting on SCMI-based platforms such as ARCH_BRCMSTB. > If I revert this change or boot with fw_devlink=permissive, then our > systems boot again. From a quick look, the SCMI clock provider was never > probed which means that our UART driver never got a chance to get its > clock and we have no console -> timeout. We explicitly landed changes to handle this condition. So we'll see if this is what is happening. > Al, AFAICT you had started to analyze this before in the context of > SCMI, do you mind sharing what you had found? > > Saravana, is there any debugging output that we can help provide? Thanks for the report. Couple of things that can help: 1. Example DTS file (the final board file so that I can get the full DT view). 2. Point out the UART device node and the SCMI device node that you suspect is causing the issue. 3. Boot logs with dev_dbg changed to dev_info in device_link_add() and device_links_check_suppliers() Thanks, Saravana