From patchwork Fri Jul 8 18:25:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12911733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9531CC433EF for ; Fri, 8 Jul 2022 18:26:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=flqDYIYZKzmcKz3a1BdYm6A9uX5oyAG4JwbWbU85v5Y=; b=bJunuXPv/TNYqBBpVaglHBIbHs +kcjPpv9DUsCVVeXv63rRGqDs4rAbhgTScsYMMWlt4o8ggFSFAvdKwo+TThYJG856xjAz74pPndRI vJbeN5G1/5PRibmYmpCnqlrKSZS7Ij5KAWHQmygqGmpoCiRvOuA9IGurScFCbgA9pFJspkY+BPx9d kNygfX0TWZ5C4I8eCWfam6ub0EJmJqC28Cw3lLp/CzeNfOPf6kxbv/fSLrzCAD3pB2vJcDurdBrcy lq52T3Be15QzcMbcmjAN8gRZSQrOSmszrDlUeZIgrXCUwhoC/3ymEj6rGHXF8Lk9R2vWaKE2T9R02 tM7eoSZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9sfa-005JuO-O7; Fri, 08 Jul 2022 18:25:38 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9sfU-005JqX-It for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2022 18:25:34 +0000 Received: by mail-pf1-x42d.google.com with SMTP id n12so24224633pfq.0 for ; Fri, 08 Jul 2022 11:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=Nn7c+g91l3fYEVw8uLwgh9s4nk+rsSCQISsV80I8eew=; b=KPWoU0Ozv2alu7DAyDWZv11iCnpgK9BZG8fFb5qtWXKfjY2M3Qcn42Joa3YVP5LV8q 5NDHr2Gpvf/ET3ITLUtAwOi9aGJIsxS6h9he455+HiVAzh1sNAGRTqdfJRgTIcRZw3vi MqC11Pb7ixR0pzF/4N6/1qOJSnTdZgXY/lMdc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=Nn7c+g91l3fYEVw8uLwgh9s4nk+rsSCQISsV80I8eew=; b=BT5mqYgE5nuPB6ZFXW3VXQn++yPQmxpFqq0itHkEVixyaBHi72YF9TsIoy5e+jF2Ku 9lEcgdfOerlyJw4U1F9Sa9/JUEu2BBvGm0rcavW3zyoZmWDf0IydLi1WyFcV7vrkwhzZ GJbJDaPJL4nBhOCHFcezn4LbGW0TFMrrXUwt2UXUWYHJ2hBsyBzNdtfM0Y35iyCnDOjX a26f1kY13KKXYnAXLNmsbXqxX9LNHhlTIZOIfYd8+1aQgCDqJ4KhOHJeqpWV3IcgFeDZ zRzv3Dh3U4ZJZWQIq2ZwqfCBzl11KJqtNvIFM1PUKoVf8ILPUUYQmPLY/3N6yL3wl9Yj Xixg== X-Gm-Message-State: AJIora9mc1R/d6Nh3UFb1sXrEz9TqHrtnWbLXtSWuHtoqKmEz/kHg0I3 lcGt85xrZpf3AJVtzaeNaBMTA08+U1Urse6m6WZDijBEl6kq9ouxid/tLtMHZ2KeWDMoY8gbgdc ilx5SVB55dQpc0BC0RgQI0VqI6BXCGEPnowFN3CRDrZwli16erSoF9kdY/+h+K32KP2eCPVpugy 4R54ZEhnRRI3ik2rb1H2M= X-Google-Smtp-Source: AGRyM1uTgFyu50b7XMsZ1uPHfkbTAPklvLuVY1bohwS5Y/DG+7uCfO3K46/PYovBjgK5832k1CJKwQ== X-Received: by 2002:a63:be41:0:b0:40c:b4a8:dee9 with SMTP id g1-20020a63be41000000b0040cb4a8dee9mr4289647pgo.107.1657304729398; Fri, 08 Jul 2022 11:25:29 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id 17-20020a17090a1a1100b001ef8de342b8sm1992855pjk.15.2022.07.08.11.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 11:25:28 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: Broadcom Kernel List , William Zhang , Florian Fainelli , Krzysztof Kozlowski , =?utf-8?b?UmFmYcWC?= =?utf-8?b?IE1pxYJlY2tp?= , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot Date: Fri, 8 Jul 2022 11:25:07 -0700 Message-Id: <20220708182507.23542-2-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220708182507.23542-1-william.zhang@broadcom.com> References: <20220708182507.23542-1-william.zhang@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220708_112532_671380_A78A1892 X-CRM114-Status: GOOD ( 14.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add spin-table enable-method and cpu-release-addr properties for cpu0 node. This is required by all ARMv8 SoC. Otherwise some bootloader like u-boot can not update cpu-release-addr and linux fails to start up secondary cpus. Fixes: 2961f69f151c ("arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files") Signed-off-by: William Zhang Reviewed-by: Florian Fainelli --- Changes in v2: - Split into two patches and add fix reference arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi index a4be040a00c0..967d2cd3c3ce 100644 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi @@ -29,6 +29,8 @@ cpu0: cpu@0 { device_type = "cpu"; compatible = "brcm,brahma-b53"; reg = <0x0>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0xfff8>; next-level-cache = <&l2>; };