From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9784C4CECE for ; Fri, 13 Mar 2020 20:35:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 918242074B for ; Fri, 13 Mar 2020 20:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbgCMUfb (ORCPT ); Fri, 13 Mar 2020 16:35:31 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:40789 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbgCMUfb (ORCPT ); Fri, 13 Mar 2020 16:35:31 -0400 X-Originating-IP: 87.231.134.186 Received: from localhost (87-231-134-186.rev.numericable.fr [87.231.134.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3A460240009; Fri, 13 Mar 2020 20:35:27 +0000 (UTC) From: Gregory CLEMENT To: Vadym Kochan , Vadym Kochan , "linux-kernel\@vger.kernel.org" Cc: "devicetree\@vger.kernel.org" , "linux-arm-kernel\@lists.infradead.org" , Mark Rutland , Rob Herring , Sebastian Hesselbarth , Andrew Lunn , Jason Cooper Subject: Re: [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi In-Reply-To: <20200209212016.27062-1-vadym.kochan@plvision.eu> References: <20200209212016.27062-1-vadym.kochan@plvision.eu> Date: Fri, 13 Mar 2020 21:35:26 +0100 Message-ID: <87v9n8xab5.fsf@FE-laptop> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vadym, > armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes > thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual > configuration, this makes dtb compilation fail. Fix it by removing > thermal zone nodes for non-existed cpus for dual configuration. > > Signed-off-by: Vadym Kochan Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > index 09849558a776..fcab5173fe67 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > @@ -53,4 +53,9 @@ > cache-sets = <512>; > }; > }; > + > + thermal-zones { > + /delete-node/ ap-thermal-cpu2; > + /delete-node/ ap-thermal-cpu3; > + }; > }; > -- > 2.17.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4531C10DCE for ; Fri, 13 Mar 2020 20:35:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8A5E2074B for ; Fri, 13 Mar 2020 20:35:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eYMmGa7a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8A5E2074B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PubDDfT4UWMCet2LHY5p6FNayd0pCOtKU/WqUEogLY8=; b=eYMmGa7ay5nsqY AEWkvzwLFSy9RteX7bHfgbjDyFNxrM2rAoS06wJBOxyk+dK8FBpKp2WjguVgxAkS+DgWRBRT9Uu5O zgFLqMUOp0S0H6dilY9wzCAl2LD9J5W2mOpX2yT0skJta4XLHKKNNIbjrpOrYeTxOUxPyHl6jCLXF DRJ1ZFv7FrhCzWlv3t1lbdh/A+IQ4DqnF8RB6XLg+x6FLqKIbcQwz8Yfc+IChdxv/lERJgDtFhTiz qOaNiTVySeRpy62Rcjsm6xULlDNsheWQODcAhTXY0EDFfOWu33LrchJnSAJtEZrTEcqrPidJQMjGh WjTv6mXB7Zh9nwGsGOKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCr1r-00013h-Qq; Fri, 13 Mar 2020 20:35:35 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jCr1o-000134-Jy for linux-arm-kernel@lists.infradead.org; Fri, 13 Mar 2020 20:35:34 +0000 X-Originating-IP: 87.231.134.186 Received: from localhost (87-231-134-186.rev.numericable.fr [87.231.134.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3A460240009; Fri, 13 Mar 2020 20:35:27 +0000 (UTC) From: Gregory CLEMENT To: Vadym Kochan , Vadym Kochan , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH] arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi In-Reply-To: <20200209212016.27062-1-vadym.kochan@plvision.eu> References: <20200209212016.27062-1-vadym.kochan@plvision.eu> Date: Fri, 13 Mar 2020 21:35:26 +0100 Message-ID: <87v9n8xab5.fsf@FE-laptop> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200313_133532_794971_EDD057E1 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Jason Cooper , Andrew Lunn , Rob Herring , "linux-arm-kernel@lists.infradead.org" , Sebastian Hesselbarth Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Vadym, > armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes > thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual > configuration, this makes dtb compilation fail. Fix it by removing > thermal zone nodes for non-existed cpus for dual configuration. > > Signed-off-by: Vadym Kochan Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > index 09849558a776..fcab5173fe67 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi > @@ -53,4 +53,9 @@ > cache-sets = <512>; > }; > }; > + > + thermal-zones { > + /delete-node/ ap-thermal-cpu2; > + /delete-node/ ap-thermal-cpu3; > + }; > }; > -- > 2.17.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel