Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1359073pxb; Fri, 10 Sep 2021 04:17:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKziXZc5biB61tvBg8Mt5ozzZJL7Lx0vJae9z/1Yd9cSRSqmrlDGbWRmS0n55ZeLklk81v X-Received: by 2002:a6b:2b43:: with SMTP id r64mr6413410ior.187.1631272647435; Fri, 10 Sep 2021 04:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631272647; cv=none; d=google.com; s=arc-20160816; b=h506AIT2HosvSlWfDj620gRCbR2ozQctZcfwdF5Wo1Yxywnqe4kI79Wl0lHlHx2689 MFanVfrH32wZymEzqvpc6gNfEw48b4hBdUUUPaGwt9I40FTVe8asqxxtcrjJQyLc0gOv G4xCmiZo/t0Zacb3y4R5UPs6qaLpsnv86x6t0HsLcU04Gq9wNsX6vBudATk8upIdjDE0 TKDUewibv1dg+F7h0v/jVXWkK6RGe6h8lMLlG6D9DcTSjaDQuAgbej4q4xq7IKLrXfuu TB15mX1hRcIFSKHAfVHygLzqIY2Xn/seWVc/dF5opKYHdthQ2va4+LfLRTNaZUAdED+P 2Smg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vI2PkiClBxb4p8Gdaafho0d0x5NLZQXlzBV5ht0Wr+M=; b=RqzahJpQ4yeKT/IzMbKHGYgChpO5Ba+8GQ299gNPTlijs897lxzOQv1ArGYM/8UYYq oEQWwjBfIkBI81irzsJF2mOlHeSBoOAft1Q6aAfafac65pgzkKL8/WG0QA/wMTxV8DDT Ln3L2zw8IRB3RzKNgWspcWMlJLL4cPqARk2+Dc3wReLOUdaub8BzZJCpGfCD1fhqoj/C FmwesC6QHX4Kea6ddOR+j1PB2O7y83njXNBHtScz5cEPqtlD0aaUF+qvmPGuV/B7LL4Y yLeGVadtrvv3y0zVtxeZjZt1TQMKQWnaJtr6sDz3tndvMXxzOvAl+ltEJWQ0FLxJjq/w mSyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RLeL11II; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 200si4430583iob.24.2021.09.10.04.17.15; Fri, 10 Sep 2021 04:17:27 -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=@linuxfoundation.org header.s=korg header.b=RLeL11II; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232727AbhIJLQ2 (ORCPT + 99 others); Fri, 10 Sep 2021 07:16:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:32866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232513AbhIJLQ0 (ORCPT ); Fri, 10 Sep 2021 07:16:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 533D660FE3; Fri, 10 Sep 2021 11:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631272515; bh=wqZHkOETegfv4rOlmrPi3OSOXK3l/6cS5xQfWfMI/qc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RLeL11IIh08iqK5hbesqBO2B3pd9+OPRcbll/fop+sIVKCO2Msf/vyVyM3h5efOzh y0NlPkF5OctYtvSQTz3jTlm77UKvY6YWbQ+KLoYjUCqOgt3JA8UiG3/mhAQDaN6Vwe yZPS7JIYWOmOCvAy5Eson2siU+J30iwLiKlxCgPE= Date: Fri, 10 Sep 2021 13:15:13 +0200 From: Greg Kroah-Hartman To: Andre Muller Cc: Saravana Kannan , Rob Herring , Frank Rowand , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of: property: Disable fw_devlink DT support for X86 Message-ID: References: <20210910011446.3208894-1-saravanak@google.com> <5064e6ca-344d-7eda-3264-50fb63e2e3f3@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5064e6ca-344d-7eda-3264-50fb63e2e3f3@web.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 12:37:01PM +0200, Andre Muller wrote: > On 10/09/2021 08.15, Greg Kroah-Hartman wrote: > > On Thu, Sep 09, 2021 at 06:14:45PM -0700, Saravana Kannan wrote: > > > Andre reported fw_devlink=on breaking OLPC XO-1.5 [1]. > > > > > > OLPC XO-1.5 is an X86 system that uses a mix of ACPI and OF to populate > > > devices. The root cause seems to be ISA devices not setting their fwnode > > > field. But trying to figure out how to fix that doesn't seem worth the > > > trouble because the OLPC devicetree is very sparse/limited and fw_devlink > > > only adds the links causing this issue. Considering that there aren't many > > > users of OF in an X86 system, simply fw_devlink DT support for X86. > > > > > > [1] - https://lore.kernel.org/lkml/3c1f2473-92ad-bfc4-258e-a5a08ad73dd0@web.de/ > > > Fixes: ea718c699055 ("Revert "Revert "driver core: Set fw_devlink=on by default""") > > > Signed-off-by: Saravana Kannan > > > Cc: Andre Muller > > > --- > > > drivers/of/property.c | 3 +++ > > > 1 file changed, 3 insertions(+) > > > > > > diff --git a/drivers/of/property.c b/drivers/of/property.c > > > index 0c0dc2e369c0..3fd74bb34819 100644 > > > --- a/drivers/of/property.c > > > +++ b/drivers/of/property.c > > > @@ -1444,6 +1444,9 @@ static int of_fwnode_add_links(struct fwnode_handle *fwnode) > > > struct property *p; > > > struct device_node *con_np = to_of_node(fwnode); > > > > > > + if (IS_ENABLED(CONFIG_X86)) > > > + return 0; > > > > I love it :) > > > > Anyway, getting a "Tested-by:" would be great to have here. Andre, can > > you verify this solves your issue? > > Yes, this patch fixes the issue, the drives work fine. > Tested-by: Andre M?ller Wonderful! Acked-by: Greg Kroah-Hartman Or Rob, want me to take this through my tree? thanks, greg k-h