From patchwork Mon Jul 25 13:15:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12928057 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 716E8C433EF for ; Mon, 25 Jul 2022 13:16:45 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rk61qrlH5PIOKY++acMQK9lnFQK2RdDhOkbz2KoeduA=; b=5BkCNe849F9hrU +MKMqkh2pqjybbwsiDamGrPMrDLNGYDescCjiR4LtfZmxJedOdxcOkmFRR6/dSwNYhtNFkt4LiOxm O9Yqe1h8rIv+XYTwNpbfp5ax/fIWCfKtul9tztBjtHUB4qKnoma/tYRPLfY8TiRiZkX4upZJQgape 49fEYcrfV7QvksRPgF3sF3jm3JzdWCDaPIWtsqUbh8I3XXt1WDPmjOCc5NDeV/BMzAFBvLsUeYKqE zlOi+l2qFJQeDmB+MV6pnhCWwZ26LrMPMT4MLTU7d1NP0n4g8RY2pSAkC38RSwtfwUrCQaL9tNmxE HxiN5z0rnx3utRvFWgQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFxw3-009vzC-CT; Mon, 25 Jul 2022 13:15:47 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFxvp-009vqq-LR for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2022 13:15:36 +0000 Received: by mail-ej1-x62a.google.com with SMTP id sz17so20515075ejc.9 for ; Mon, 25 Jul 2022 06:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mVT8yZV4TWvL4TvozYO47hCUSFhkHXoWVVszcktOGqQ=; b=vP9zfh4n4M74tiD5JKly/aNIcgQCMWuVOZiB1yTzHRc6jLJqWvhBY3M8Qc6/aax/LJ E4bcewcMvVFRBbNv+5Tc9Ep2o3HIZjCwgYVJ3McMKvrWRkKH4LlyMl0+1RYN/sNDTs+j UdB/gnRXd5bdxjEiiwlH8ccCa3tLdLxD//XQAGZkmz1Rxc3IKdwfLcsuwMrwlxYnvHfx n/MfhRy+UIZv0SGcTDGdKR0s3VZ84Tz4eDoDFINNaMf4CSRxhYcUVnHWzrv1H++578ZH Z/vt2Th4Ej5gXjj+GsnClxcdIOtQcR3APkP/rWlifdS9dykge0UJCxwd5mY5OsDYez5a uftw== 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:mime-version :content-transfer-encoding; bh=mVT8yZV4TWvL4TvozYO47hCUSFhkHXoWVVszcktOGqQ=; b=TUU7JUHaXgv+flIz7EALl+SFpz+Pl3+kQDFRaabuFmoKOgXQQbMsmtrimkbP+IGDsY tiaAc5qlEItXEhbrvBDuGayrzebCayQWOGmhhnY0Wltjilcb9CBHkSKwN+/82uYtK9aN XYQrBhnDdepYlj+dKLailtPz1Vp7Jl49uhw5qpjV4LqVnRusq9qhmwP/TeeHj6GXssOB NVCJsNocCbvrV2+lYGVGzYI5v4z7O18PC6sUGpxcotaBftzcge7hXpsWI0jnxghfPr5k 7xQ178pm/t08+9Wsh9jvja/zIg/0vXrY0Vn1Iu1gPZG7qcfnv5VqIqSILY8OtH40NN4x DrYQ== X-Gm-Message-State: AJIora+9yRaA+bVJSngkVezh9rvZFsH2ifvSju1LZt6/vurxSAWH9dUI Iu3wWoQmgFSh+3Zvm3Fv6Eii/Q== X-Google-Smtp-Source: AGRyM1uypohEGVVkFCvNKRl1Uk16DSCrPDNX9PVR6wHmQ/6esoTK7rv8zMQSDbhzxT08uztRbVtYjA== X-Received: by 2002:a17:907:7245:b0:72f:39e7:1207 with SMTP id ds5-20020a170907724500b0072f39e71207mr9967255ejc.201.1658754929034; Mon, 25 Jul 2022 06:15:29 -0700 (PDT) Received: from fedora.robimarko.hr (dh207-96-123.xnet.hr. [88.207.96.123]) by smtp.googlemail.com with ESMTPSA id h14-20020aa7de0e000000b0043a7404314csm7124969edv.8.2022.07.25.06.15.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 06:15:27 -0700 (PDT) From: Robert Marko To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lars.povlsen@microchip.com, Steen.Hegelund@microchip.com, UNGLinuxDriver@microchip.com, arnd@arndb.de, alexandre.belloni@bootlin.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH 1/2] arm64: dts: microchip: sparx5: remove PSCI Date: Mon, 25 Jul 2022 15:15:20 +0200 Message-Id: <20220725131521.607904-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_061533_745542_2A3B6AA6 X-CRM114-Status: GOOD ( 11.08 ) 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 PSCI is not implemented on SparX-5 at all, there is no ATF and U-boot that is shipped does not implement it as well. I have tried flashing the latest vendor BSP U-boot which did not work. After contacting Microchip, they confirmed that there is no ATF for the SoC nor PSCI implementation which is unfortunate in 2022. So, disable PSCI as otherwise kernel crashes as soon as it tries probing PSCI with, and the crash is only visible if earlycon is used. Tested on PCB134 with eMMC (VSC5640EV). Fixes: 6694aee00a4b ("arm64: dts: sparx5: Add basic cpu support") Signed-off-by: Robert Marko --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 2dd5e38820b1..38da24c1796c 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -61,11 +61,6 @@ arm-pmu { interrupt-affinity = <&cpu0>, <&cpu1>; }; - psci { - compatible = "arm,psci-0.2"; - method = "smc"; - }; - timer { compatible = "arm,armv8-timer"; interrupts = ,