Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1332922pxb; Fri, 10 Sep 2021 03:37:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp6hJQAlMzS4i0BOMCoRckBC6TmmZhTeeQ1XnYmAG1H3bK3BnMI28V6XADRF2eF8FPZDO4 X-Received: by 2002:a05:6402:2049:: with SMTP id bc9mr7003592edb.317.1631270277781; Fri, 10 Sep 2021 03:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631270277; cv=none; d=google.com; s=arc-20160816; b=PVqW//ew94jgb/Xq8jDDCb4S0d2leyX2HZAnO4nlInnKvzJ0q1bsBantrQXQFEaxgo 3Rjt1tvLfVxwRoO3Lf02Qw+Yx9Oz/vNY88jjkPKjRnT7QngDWf1+MLfLyc/TZUNHLEUQ 0pDIOaMonGVkyqUe7soDJK6aaVEAXmjS8+Y6s9nB+CDhVvY8+uIdiATSGbQlixTXeV5J fSP+tVWxiwLEX5HN0gLpbmA3UAaaIXplrS4D2wTl3Vyp0ux2XtCGWOusuKBWjulZr/lg 1xr7SH3OZr5rTVhXS/dO8JYND9MRM+297mG7IukWZnJRIodD6v8fRQIyQDq6C5S/T+cJ bm4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=NupAZwCEE6O7pIqXwUdUEERn37xGNXb+xsjLVhErYoo=; b=EUHrSnJXdDcV1DUyM/lyF0GgS217VADxwz165lwSRBr0pkwhTHgTgWiE+msgcwB4NC I3tXiTKAl8zF6HhWAV+tZx2l4VT96S9z1KPA25pS4R3AlBQEmFSO4vmFtLz+kp+9npx3 vknaAaPUBUA6BQjETdZvRu8d9u8CtKOfjWDOrdmCRK3ZCSrvq1FM0z97qlON88hIlCpR e97IEPhWftSjOfk/niaa53biriqRZp6F0jzDKsVB4oMz8xJv6J8cfiyfi3Sfy+R6rqE+ C/stpcYI8kIzNUbHR/DX+iB2KsCPbAVCxmUt4izclx+A0Un+3fQaXCYnZ3+v98HvwJLg 31Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=m0s4tDIt; 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=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si4748597ejy.541.2021.09.10.03.37.33; Fri, 10 Sep 2021 03:37:57 -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=@web.de header.s=dbaedf251592 header.b=m0s4tDIt; 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=QUARANTINE dis=NONE) header.from=web.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232415AbhIJKgp (ORCPT + 99 others); Fri, 10 Sep 2021 06:36:45 -0400 Received: from mout.web.de ([212.227.17.12]:53279 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232157AbhIJKgj (ORCPT ); Fri, 10 Sep 2021 06:36:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1631270120; bh=NkaF6yzyaw3gMwcBE5iEi8F34hLhYgz9u3+0igXeSrM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=m0s4tDItyYkg5wwuAwxXO5se0uejWOfgWwZngwOIQAX3KKgIM5cOjQ7O4nCX+N6qz Tag2epZb/JSNJz/0K23Z267ckKwcEqFzge17+WxWBNgyax2woIbVd26vmuaaGMsK/v rQmXiuLjuOZh2zedZWmVfGBNz2lZS4X4VKAy4XQk= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [10.0.0.17] ([185.159.157.24]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Le4Tw-1mjd9I0ur6-00psTr; Fri, 10 Sep 2021 12:35:20 +0200 Subject: Re: [PATCH] of: property: Disable fw_devlink DT support for X86 To: Greg Kroah-Hartman , Saravana Kannan Cc: Rob Herring , Frank Rowand , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210910011446.3208894-1-saravanak@google.com> From: Andre Muller Message-ID: <5064e6ca-344d-7eda-3264-50fb63e2e3f3@web.de> Date: Fri, 10 Sep 2021 12:37:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:wPimF1SPwTSrk6vH6Mnw/WxrIttEdY5oCk9Fbcef4RsFjrxVNLL YUCpz/wG/ahPxsNR/AyEp2mVy+D5CwCR8tVvGuUVbMNYXR4+geSqsidcWvOOpEHXIcQ9lrM lEUE5cR+VUjzpK5QzfQPpARKd4j7daIKQML8Ll95zpAkgqWk+H4/7bGL0j7DwQMKKMG7QVh xpioQrZcvMv2Lji8Xivag== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6HjYgy6odGY=:mtnZVk3N0IuPRnd92mAyC0 Umfg0FIZgJgNuQ8Fv1KSEk+XAUIKlWTiyPn+p2KkzW4S08os4fD4M4veYXEAUcPaZXOiy7P1u NzBd6zPrdUSQ+7qXOZZGL/zi2/du28H611JxOdbwX/n5joyyJCTeFkJYnIuj/SYf9bBggPSar we0UBkGjg4ydorF3yeuPQNLjPedqJ/TPA9yTmgAzmuZsPatRXtOUnCuJZVzUq+EKGq3ftwGVu SxZvJrE34ZBKiLONHTuNQo53I8AVUDbFn1zr2LqWVdddj1vKBYqhUa8VrDbFXt3pjTcmHJRfn EiWvtUBdxAm/gfC5lVbOMh0favWxWKWOyDAMwWaTA7/FRGnidm4tiIpS8s9T4Ex5vN3HnBEFW UtdmDPcsKDUf6C+hPHLfpgO3w2oRbjtc4PbLPNCOllEDg+nK1A/k43fbx8Oyxs3z56lr0AWBk wnn/yTFudhrtY79wg1r4+ECeGk4GPKeb8brMh6sNzGtEGiC5DgCI3VQ+7/3GMggERR0QxXhhj /p/oAyG65dR048ULpicNAipXZp32cv5xlMdwoyqzX97QqnectJUf3qOEuGr3EaEAw8F9nmGkw SLtNffL3kEhTZ87C+fN11cTgSuSI9KO9IYIaagmUkgO9epSLFXdpY9RI+KojdZPRlR5t1fxR9 D7XfXZ9RjGW0JlQkToObmPQdCyi6G2u5Z9peQDB9aKB9ymukj2PxkUHw74bTiHB++j+3GIaRc TyI4f+VYrwKlXWRRISnqw8XY7fjR3J0L34X5SCeVuZZeWfxCgnCh1Rq/msm4sWxlyUedZ7KU0 vCscmYtcOlgF9q9EaAvc0peeSO1m+Bb5itHj75h25o/H0JCfBHX/zGClKOE5tXdyoZnQ7uEOK LI/lSO2A5ErO2w/ULhCQmHhDJOxWiDGl7hwZNeExEYGTxgzHqoi/cJaEq2i9d8t1LK2L214yN jllOYE9cpJ/Z2yFozQCpha+g4zL3n6G2FCja+N0yhg9gbqqAJqHaRGVfBnM+fR/naJQP0k1Jf Jc8u8hd0CzDkexmtERR3g+HTtMn7rdhO2ZmnH0n2WN6R30vbH3zRwqKRfq5maEuwUOZPcvrei w7uIoCzRk4Z8A4= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=3Don 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 fwnod= e >> 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_devli= nk >> only adds the links causing this issue. Considering that there aren't m= any >> 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=3Don = 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_hand= le *fwnode) >> struct property *p; >> struct device_node *con_np =3D 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=FCller Thanks all, Andre > > thanks, > > greg k-h >