Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp66352pxb; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys23jhGOKLfnx/BX0q/ZIUrvYTo5ijnj1G92z8o8A9QyH4UUZUQ2O8H4le/xXXhYl7Dpk7 X-Received: by 2002:a05:6402:42d5:: with SMTP id i21mr11382246edc.14.1631563580643; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631563580; cv=none; d=google.com; s=arc-20160816; b=XPxtbPdliL8DBzjAwbHh/Uf7pVI+eoegzwvDRtOZ13zCa/+bKetwH7mc63kqYSiw1v LkR7/3Hh00PF+XxRzlry2iQcnZsZHxC/xvDs5I5CMdpuzBB+hSitkV+7bHKx+z067Tfy S2OLy6Qwi6ebs166HpwItPsRAwPtoI03tdNVNDFYh0+pFy+zEb76TZQDXAVtcDqj971f tbGtKGH4HsS6N5feLLkbdRkptL2k+AnV+ZXhmGxsYEyQLniCxeAOQPcBzeSUqKygrD4q ETuuKic2aA1USuFuf3zLqvbPFvl6TrCSblraGqa3Jy7TeAi916gztMd34I18IMtAoRPa h1iw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wLBebWtOzRv68dQuzB6UE6iNxW63VnaAvyqtDkPYTT8=; b=WxLtuIrKU04XmN19d5289P+Q655BGHnhmb9Yg58QkIiyOa+HEIjyucx2ffhlaY5Yox Hi5afRYnJ2clYZKmC7T2Riq1bQx47M1THwoZJu84J0VoFi/eBJCV2F3w4xu6hoa0jxc7 6T6PhUmXkKpXEJayffLegrYZwxzpqNkiRweMZVRSbbEfRx6aN4Nsj3RoRhKikwFzP6ag R63CQhzNjMKzCTWEwIEfMGbkipyt9vR3984sUWyXB0++2pHSlTACgycqOuYp+nB0V+py nSWA5cEuhVf3rEQ4VQeqZcbSLiMsvW9U6Irg5fiJ4ARXlcazV1/lXbwpGeEQxRqQ89rI gNZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gVpGmKrq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si9402196ejw.721.2021.09.13.13.05.47; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gVpGmKrq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243590AbhIMNoc (ORCPT + 99 others); Mon, 13 Sep 2021 09:44:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:41644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242335AbhIMNjE (ORCPT ); Mon, 13 Sep 2021 09:39:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C581161268; Mon, 13 Sep 2021 13:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539726; bh=ekp0c+JreeUF5Hl977yEOzwqN9bp4phjA7F5h8JaNpo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gVpGmKrq1Ngs5SmQY3EOIwOtxDQue/xVZ8inQfWNNdTBG3AYC1UtDVC2G7Ea9rCgS +/xDsJ8eVJzS0yKUaDqy1dVyg8woZlCkytUCO/9UCKeYNpm98+QzsTmGPHqaDjw4kf SSAqg/jg6Gw1+3YnNtAdyI+3VQDZN8XpGXk2W5Js= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Demetris Ierokipides , Martin Blumenstingl , Neil Armstrong , Sasha Levin Subject: [PATCH 5.10 104/236] ARM: dts: meson8: Use a higher default GPU clock frequency Date: Mon, 13 Sep 2021 15:13:29 +0200 Message-Id: <20210913131103.879142541@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Martin Blumenstingl [ Upstream commit 44cf630bcb8c5ec78125805c9447dd5766792224 ] We are seeing "imprecise external abort (0x1406)" errors during boot (which then cause the whole board to hang) on Meson8 (but not Meson8m2). These are observed while trying to access the GPU's registers when the MALI clock is running at it's default setting of 24MHz. The 3.10 vendor kernel uses 318.75MHz as "default" GPU frequency. Using that makes the "imprecise external aborts" go away. Add the assigned-clocks and assigned-clock-rates properties to also bump the MALI clock to 318.75MHz before accessing any of it's registers. Fixes: 7d3f6b536e72c9 ("ARM: dts: meson8: add the Mali-450 MP6 GPU") Reported-by: Demetris Ierokipides Signed-off-by: Martin Blumenstingl Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://lore.kernel.org/r/20210711214023.2163565-1-martin.blumenstingl@googlemail.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson8.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 04688e8abce2..740a6c816266 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -251,8 +251,13 @@ "pp2", "ppmmu2", "pp4", "ppmmu4", "pp5", "ppmmu5", "pp6", "ppmmu6"; resets = <&reset RESET_MALI>; + clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; clock-names = "bus", "core"; + + assigned-clocks = <&clkc CLKID_MALI>; + assigned-clock-rates = <318750000>; + operating-points-v2 = <&gpu_opp_table>; }; }; -- 2.30.2