Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2318896pxb; Fri, 5 Feb 2021 15:00:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqdPbAiBUG087piqv4jT22/AG95Jy7lezvG6zUGesmxRNhm3QOnHGW/xIE7vwlfGArXymE X-Received: by 2002:a05:6402:19bd:: with SMTP id o29mr5755953edz.161.1612566004253; Fri, 05 Feb 2021 15:00:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612566004; cv=none; d=google.com; s=arc-20160816; b=GC2FSIjw4XPvEI7i65TxM6Qa17a4gP64un6XZBkI5oynlblQ/zaznkhy8XX+AeV5sh iR5o1AgkRZ0vc8thEDbri3Kaf+QF1KGSNBLIbdTnFaOHxU5le0nER2hvfhnsT/6ZqURf S4EGdr2yiLUxB1ceaIUMLvV88Pzm4FP5hPVqlsma45f40CypaKqZB/hdnGTCaeUR3vdT q/pNyXNilgr+6TU8Uxj+yoPUdNP9J8aMpenIG74E760+wuE2SucY9xZD88GEJY1FpP8y maSeQ4ypJOb328cZVZopFXrvD4d5/DiJicf0qzaHiEI5cKC+IFm9CeSSF3saARjEpZn4 19GA== 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=osolEAI6L0FgI75Adlrdep0mFmcqsfMeCY10qr4yDxY=; b=dYsODPvZk255R/+yUtZJUIAHeL+KAgVfr9XT6m/zFhjM9ayWZ/0bXcdo5twBtG1wK1 rPmXJLsGcTnuskVKaQbC0l3eHo5zGNC64dK4RNMM5n8CQRbXhrF/mkoU/ee6D7n8kyMk hQjVfqhGaQfk6ZCMN+R6b28tZZ8MHXUug5TC2x0Q4Y2Xe1fVnafUO7toTIPTP1zLg/I6 bZF4CsRTTR8itIFt/F5tv2JQT2kvowQy4KOQgH1s+cg+sPnEXgzRWdM96n8bGhhVSuLK rRXxrx9+AjaSBC14ou+jglAt+SC6CWRkoBBYABoFZcnqTzco0CHm1QO2J1++rh9r8bXN TsVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Fe2JQevm; 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 j17si5874923ejt.189.2021.02.05.14.59.39; Fri, 05 Feb 2021 15:00:04 -0800 (PST) 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=Fe2JQevm; 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 S229539AbhBEW5E (ORCPT + 99 others); Fri, 5 Feb 2021 17:57:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:43238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232224AbhBEOlc (ORCPT ); Fri, 5 Feb 2021 09:41:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F7FD64FD1; Fri, 5 Feb 2021 14:09:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612534163; bh=mYeIUU5hW+PP81IzM61r41l1t3USDJGaYIPTzFzxvjU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fe2JQevmcw///nXlqgDKWN8sXVDrRofWTCIIJ+ED6oImkB6DZgVFuxBfgXJwewndO Di3TOs/WDENScPB8pAxnOMKbEXYu3vEuBS9bTqrD4eMn6xwajyqfYIz6Z7a5KLzaCJ xOIJXc0z0tnqGE5t2Gqtk7ST1uZ2IrWWgeUqiINk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robin Murphy , Neil Armstrong Subject: [PATCH 5.10 12/57] arm64: dts: meson: Describe G12b GPU as coherent Date: Fri, 5 Feb 2021 15:06:38 +0100 Message-Id: <20210205140656.505146441@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210205140655.982616732@linuxfoundation.org> References: <20210205140655.982616732@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: Robin Murphy commit 03544505cb10ddc73df3b6176e71cdb366834134 upstream. According to a downstream commit I found in the Khadas vendor kernel, the GPU on G12b is wired up for ACE-lite, so (now that Panfrost knows how to handle this properly) we should describe it as such. Otherwise the mismatch leads to all manner of fun with mismatched attributes and inadvertently snooping stale data from caches, which would account for at least some of the brokenness observed on this platform. Signed-off-by: Robin Murphy Tested-by: Neil Armstrong Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://patchwork.freedesktop.org/patch/msgid/765446e529e50b304af63432da7836c4d31eb8d4.1600780574.git.robin.murphy@arm.com Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 4 ++++ 1 file changed, 4 insertions(+) --- a/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi @@ -135,3 +135,7 @@ }; }; }; + +&mali { + dma-coherent; +};