Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10845607rwb; Fri, 25 Nov 2022 08:21:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UJ2Xpg9z9A70lIpP4giAmPVflaRwHMzXhZJpb5VT+hJBVaxh8NSK+aLq1VlqfnVj3OfO9 X-Received: by 2002:a17:902:d893:b0:188:542a:68d8 with SMTP id b19-20020a170902d89300b00188542a68d8mr21194613plz.126.1669393270747; Fri, 25 Nov 2022 08:21:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669393270; cv=none; d=google.com; s=arc-20160816; b=HkLDtJHuX/bXhX/tHepLfRrVWQ+z/KASOkxdjMqX3lSqh7eOGGr8ZIDtrjNG58IIZr goS9L/MNwGwi+Bd5Lyk4btO9x0RHl0j/qSi1yUz7rSbEffqhs31ryb30hD3dg77T9nUc lbHIcLNetH55jNQUzohZYvoAfdEnRQ2rN05DpHBAd7tfbP2YMbUh7hrl7ChgOISHXzow eHR8k7zAs19N8Rp3ZJTqZDgaHXG9Kp2BCtGatLwp8ffbth1H0Ho/bANQqkQsjsbwOs29 b1KjETc+wJ+Shsj3hkPk0lmQxuJ34kqtUmP9iuriUNZ4ufeACVDOYMgVZJ8UTAxuDiuf YsKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=GPaT39sAq6bB/8jycs8Qu4XNOLXdQXN9CIa8CNq+0DU=; b=WFI7DdvnDVGcaEAqp81vYRWUgT32hQHtf+vvKcXeZY3uC7kylAImI3kKJ2NDMq++CC iB/yxfMN8eNQCObj1j8ubcpGTSh/ZrduLaVNPTuZtLKlMyBszqOD4RSkJTgWu6eCMX0G dxPXhmS4allvhuByqMHgaD5mGJdaxIx/+R0xY4uJSAT49hrhhkmVcitTXDjfd4XMl4N+ ivtq6GI0QaCPbCM/+55HNDdGa6U/zJwMoVYH/0IOnoSQLrK/3plmayrbsvMo1Hn3rnxG rqWopo1cKJYlVAhfk71lNqHDzO+f412MAOBfK+6oe9nJgy+tm91fG1RUR5Yo0BSmz5pf HPPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="d/iWI35Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k21-20020a056a00169500b0056c45eb2147si4025785pfc.51.2022.11.25.08.20.58; Fri, 25 Nov 2022 08:21:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="d/iWI35Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229752AbiKYPv1 (ORCPT + 85 others); Fri, 25 Nov 2022 10:51:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbiKYPvS (ORCPT ); Fri, 25 Nov 2022 10:51:18 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3357247329; Fri, 25 Nov 2022 07:51:13 -0800 (PST) Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id A50931BF203; Fri, 25 Nov 2022 15:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669391472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GPaT39sAq6bB/8jycs8Qu4XNOLXdQXN9CIa8CNq+0DU=; b=d/iWI35QnhWrUQmu3eK7MTp+CL19nh+Yxmv+C3PgagomoCjafmL46X4+idl8P6GeM7d7W/ IuyPuItiyYGPs6TsLADAGD0fSGx6to8UDVu3P9UK3lyMkSj/644Y+Y5bjxkZyDmYKd2Qga DUF4/VbHFuiaCTiZ0UHRpzPT1DjliCWV4/upp90Fv1szfz/rUHVVRGz1w5qZJuqmV8DlmS cNOkK0+d9366JLreDe2UDAfAZ62wxQCkvsA9I3ZhrdFmqD0kW5jtdEEkWlnU2CmcNCVjUK Fkf7YKCimzEimQEb0AaOSeczhQyCpHoJCRmyNQeq1OscLIz4gU7xdWoeIXLmHA== Date: Fri, 25 Nov 2022 16:51:09 +0100 From: Thomas Petazzoni To: Vadym Kochan Cc: Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , Krzysztof Kozlowski , "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Elad Nachman , Raz Adashi , Yuval Shaia Subject: Re: [PATCH v2 2/3] PCI: armada8k: Add AC5 SoC support Message-ID: <20221125165109.6059d3a5@windsurf> In-Reply-To: References: <20221124135829.2551873-1-vadym.kochan@plvision.eu> <20221124135829.2551873-3-vadym.kochan@plvision.eu> <20221124155817.5f372417@windsurf> Organization: Bootlin X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Fri, 25 Nov 2022 08:43:06 +0000 Vadym Kochan wrote: > [quote] > this is not needed, as by the time Linux is loaded, link has already been established (by boot loaders) > > So this code is not needed. > [/quote] Not ideal to rely on the bootloader for this sort of initialization, and if we want to do this change, perhaps it should be done in another patch. But again, the fact that "it works for Marvell because their vendor U-Boot does the right thing prior to loading Linux" is not really a very solid argument to drop kernel code :-/ Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com