Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp160614pxb; Mon, 13 Sep 2021 15:54:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAD842wejeKKb8XAG96+gshUsEgNAEgMy62lAmPAlifNS1CgR45AHD4DID4pgLD2HKaJAW X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr12014747ejb.542.1631573698114; Mon, 13 Sep 2021 15:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631573698; cv=none; d=google.com; s=arc-20160816; b=ZfdXKrDp2tG9/a92icSuuxzDGy/OLruTZHOhgMnYnyrdqQDrwj/pgn3DxFvUfcvs8A 5SkOuN2IE/J9ufp1azPLI4RdCyx38XCjTo1eYLD1BR+PSXQMRocBZ68MmJckZdQiu7va rvBrS/gKVfSPs+TYyiOGjWJfmlZ8/Vx5IuNnJo1QdLJJtgz64Wcss+OSWXiPf5bnt8gK /3V/EaqN12hqZh9Ztslv23iHqfOkJPMFaUmUI+MGf9JaX+JDrNy3/rnKkToq3P7YBoSt 9Vuuv+euRi0Ui9mnHYO47ieLX4+OYaVq8MCnwxFWUW8js3jGe5nMLXG5/Xw81FMP8NjM wgdg== 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=JhTaVXiy6Y2b6dEcUDp8o5eX9OjDW9dRBaqp/z3hO0I=; b=lzKkdtnt6XbPRU1ggDb0KFR3SY6VlsCQMMcHNkRbvUHYz+WDn7GsCR7dUlA61tAvFj ILdUjBDcp5YQC08ndbDfVhUa7EtrLPpVYsK3OyYjQxUlfOqVmOhsVrbi1yj1mU6LZ52c H6YNyd3MlHLjKXwG51DtVCoJ1wBI/ZTpuJlNVfiagHxIo55KUJtPnDCu5D+EXvsAReoz F4e5NFz0W+hbdKdEAf8cruyugA4ne8AiYuZ/yOMoDC7DR03qzQbuEPD4zvN0yVXAc2kQ Rkc+k5yNUsk51S9y/X0hqf1TVQnsM+bi101AgprJE3ZH7UdThaz4vhSoJqsOgK7KOmsw Lgnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gQuy9Srp; 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 f2si8211001edr.461.2021.09.13.15.54.31; Mon, 13 Sep 2021 15:54:58 -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=gQuy9Srp; 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 S1347134AbhIMOeK (ORCPT + 99 others); Mon, 13 Sep 2021 10:34:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:51346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344869AbhIMO2v (ORCPT ); Mon, 13 Sep 2021 10:28:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 855FD61B7E; Mon, 13 Sep 2021 13:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631541017; bh=sZ4Hm5b8lpaGGXkwBBXLGyzJlZZ8AkWArhVJVdu+wqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gQuy9SrpFet60XjNLmCF2rQMrlcIOdsqzXWInyDiYevde1H8f58UYuVuSy6e68Vdh 6x84PwYASFZjaFNvQNqUzZQqwR2JFxJ73/VnAImpNYFkbCElAJxjOB9za7WNp/aBGG TDSjv2pM/m/n8Xbo+wYLvbDp0eUo2RxvbBeWARXM= 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.14 127/334] ARM: dts: meson8: Use a higher default GPU clock frequency Date: Mon, 13 Sep 2021 15:13:01 +0200 Message-Id: <20210913131117.666772990@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131113.390368911@linuxfoundation.org> References: <20210913131113.390368911@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 157a950a55d3..686c7b7c79d5 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -304,8 +304,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>; #cooling-cells = <2>; /* min followed by max */ }; -- 2.30.2