Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp193762rdg; Thu, 12 Oct 2023 03:00:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE500+fTew1cUA3hSb7qToc7djMquC19xKrkmE2dRorCYkH/HVbyew6i0nDO/XNZ2cfcVhv X-Received: by 2002:a05:6a20:7f9b:b0:125:3445:8af0 with SMTP id d27-20020a056a207f9b00b0012534458af0mr33486082pzj.7.1697104827244; Thu, 12 Oct 2023 03:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697104827; cv=none; d=google.com; s=arc-20160816; b=PCvjZPA60B54f9nsc44hZbgnXbxqSjbW2pxyq+kzZ7tS6YzaXU/rPxqtoCuyQoCH8n M0CIV/SgtLcMWIDD96VGBm9JyPg0tIZEs4s0w+w6K3J+Skrqq+RBeobxVfGl/05Z8xm+ EYLC7oKv1XPjVT69NjamzHFuNRh59ZJ7P7sbISZd2RYHOQvW+04H5gNc7g0KBVLwxlsD gq9VFbdO7OOGbZNuzAm5jKTEBMsK0HwwUoeN7G9px3K84DntaWld79D/YN1sC2Cf5w1b UkcNUmdRuLY3OF+9eA7iGWLquCK6KML+cqFqxT11Nnov99qS0613CslbS7kcpUP/MtDY YXrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+pkqfBVOhXgvLDsWbv5ktMbvR4NSyNBC9Ey1Mkig3UY=; fh=dDCJMZ9a6Xda1Pg9tQUuX+zAA7stA61rU6Tv5YM62Ps=; b=hSFZnvG0x/30F5ANJDru378yngMvewtejCJYv5zZE9JBoXkD2YUI3zyc5lq2pGCb4Z DqhXEIZw9ST6MGarDPj9CUMz7/c6561mCY4bSG3rOvyAp9QbYGkxVu77U1bX40P0hm5V oKB3A3G63jaFn0iuQrcRCckENU+Yb2jAMIycbhvnTSJx9sUUZPrF3xut94DSRUXwBSqx pdkkJwZdna/81kK07SBY12mUDjtiPN5g6AOgov/Z94lY8iAMhBMLU1L97OZKn8bj9YVp yKJSsWMx8NWcq1vSDPynkcNGJDXcu1LObWWHWffT+JXen5QE+khvqRgZBZR+ve7c7qyw 9vzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=N3Z0kYcI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l131-20020a633e89000000b005775e17f560si1887146pga.82.2023.10.12.03.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 03:00:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=N3Z0kYcI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 614788218E70; Thu, 12 Oct 2023 03:00:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235669AbjJLKAU (ORCPT + 99 others); Thu, 12 Oct 2023 06:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235672AbjJLKAF (ORCPT ); Thu, 12 Oct 2023 06:00:05 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10688D40; Thu, 12 Oct 2023 02:59:10 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39C9whSI055983; Thu, 12 Oct 2023 04:58:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697104723; bh=+pkqfBVOhXgvLDsWbv5ktMbvR4NSyNBC9Ey1Mkig3UY=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=N3Z0kYcIZvI3cCLP7r54FYgi/mXNAN5wbeaPJHLeqMRCS+28MD1PUTzJ6SAQhAomo tMUfcXEekvbR0bAVRwyuhX1zEkhRdWY9Z1l29//QdVktFGsN2g8UwhVhM7ryQYXhrZ MEQ0VwOCd/+8coWgcPwOromhVA4YVQ7MuEj5qdX4= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39C9whGO010652 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Oct 2023 04:58:43 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 12 Oct 2023 04:58:42 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 12 Oct 2023 04:58:42 -0500 Received: from [10.24.69.31] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39C9wZ47064962; Thu, 12 Oct 2023 04:58:36 -0500 Message-ID: Date: Thu, 12 Oct 2023 15:28:35 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v4 0/4] Add AM65x ICSSG Ethernet support Content-Language: en-US To: Vignesh Raghavendra , Nishanth Menon CC: Peng Fan , Udit Kumar , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Neil Armstrong , Arnd Bergmann , Konrad Dybcio , Geert Uytterhoeven , Bjorn Andersson , Will Deacon , Catalin Marinas , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Andrew Lunn , , , , Tero Kristo , , , References: <20231003105539.1698436-1-danishanwar@ti.com> <625f462e-d0d9-4abd-87db-178674f02cb9@ti.com> From: MD Danish Anwar In-Reply-To: <625f462e-d0d9-4abd-87db-178674f02cb9@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 03:00:25 -0700 (PDT) Hi Vignesh, On 12/10/23 14:48, Vignesh Raghavendra wrote: > > > On 03/10/23 16:25, MD Danish Anwar wrote: >> Hi All, >> >> This series adds support for ICSSG ethernet on AM65x SR2.0. >> This series also enables TI_ICSSG_PRUETH as loadable kernel module. >> This series is based on the latest next-20230925 linux-next. >> >> This is the v4 of the series [v1]. This addresses comments made on v3. >> >> Changes from v3 to v4: >> *) Added RB tag of Andrew Davis. >> *) Added LAKML to the --cc of this series as it was dropped in v3. >> >> Changes from v2 to v3: >> *) Changed comment of icssg nodes in device trees from "Dual Ethernet >> application node" to "Ethernet node" as asked by Andrew L. >> *) Applied k3-am654-idk.dtbo at build time to the k3-am654-base-board.dtb >> in order to not have orphan DTBO as asked by Andrew D. >> *) Modified k3-am654-gp-evm.dtb to have k3-am654-icssg2.dtbo as well. >> >> Changes from v1 to v2: >> *) Moved ICSSG2 nodes from k3-am654-base-board.dts to new overlay file >> k3-am654-icssg2.dtso as asked by Andrew. >> *) Renamed k3-am654-base-board.dts to k3-am654-common-board.dts >> *) Added "Enable TI_ICSSG_PRUETH" patch to this series. >> >> [v1] https://lore.kernel.org/all/20230911071245.2173520-1-danishanwar@ti.com/ >> [v2] https://lore.kernel.org/all/20230921060913.721336-1-danishanwar@ti.com/ >> [v3] https://lore.kernel.org/all/20230926045337.1248276-1-danishanwar@ti.com/ >> > > Wit this series applied I see build failures like: > > arch/arm64/boot/dts/ti/k3-am65-main.dtsi:897.25-916.4: Warning (unique_unit_address): /bus@100000/pcie@5600000: duplicate unit-address (also used in node /bus@100000/pcie-ep@5600000) > DTC arch/arm64/boot/dts/ti/k3-am654-icssg2.dtbo > arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso:14.6-85.3: Warning (node_name_chars_strict): /fragment@0/__overlay__: Character '_' not recommended in node name > arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso:87.12-125.3: Warning (node_name_chars_strict): /fragment@1/__overlay__: Character '_' not recommended in node name > arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso:127.14-145.3: Warning (node_name_chars_strict): /fragment@2/__overlay__: Character '_' not recommended in node name > DTOVL arch/arm64/boot/dts/ti/k3-am654-base-board.dtb > > Overlay 'arch/arm64/boot/dts/ti/k3-am654.dtsi' is incomplete (4096 / 1346656301 bytes read) > make[3]: *** [scripts/Makefile.lib:402: arch/arm64/boot/dts/ti/k3-am654-base-board.dtb] Error 1 > make[2]: *** [scripts/Makefile.build:480: arch/arm64/boot/dts/ti] Error 2 > make[1]: *** [/home/a0132425/workspace/k3-next/Makefile:1391: dtbs] Error 2 > make: *** [Makefile:234: __sub-make] Error 2 > > There probably is some race here as I see this with make -j32 dtbs > but not on my less powerful laptop > I am running -j20 and I don't see this build failure whien applying the patches and running 'make mroproper' before building. Please try with a clean build. I just did applied this patch on linux-next with a clean build and the patches got applied without any failure / warnings. > > >> Thanks and Regards, >> MD Danish Anwar >> >> MD Danish Anwar (4): >> arm64: dts: ti: k3-am65-main: Add ICSSG IEP nodes >> arm64: dts: ti: k3-am654-base-board: add ICSSG2 Ethernet support >> arm64: dts: ti: k3-am654-idk: Add ICSSG Ethernet ports >> arm64: defconfig: Enable TI_ICSSG_PRUETH >> >> arch/arm64/boot/dts/ti/Makefile | 4 + >> arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 36 +++ >> ...se-board.dts => k3-am654-common-board.dts} | 0 >> arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso | 145 +++++++++ >> arch/arm64/boot/dts/ti/k3-am654-idk.dtso | 296 ++++++++++++++++++ >> arch/arm64/configs/defconfig | 1 + >> 6 files changed, 482 insertions(+) >> rename arch/arm64/boot/dts/ti/{k3-am654-base-board.dts => k3-am654-common-board.dts} (100%) >> create mode 100644 arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso >> create mode 100644 arch/arm64/boot/dts/ti/k3-am654-idk.dtso >> > -- Thanks and Regards, Danish