Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp917245ybm; Wed, 22 May 2019 13:54:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM1ar8qnUm8y9CEiPFJc8ttzVpY6+61g1c8mmzMom2wubIS8YYkVVPJ1XCPDqWP7lidDBO X-Received: by 2002:a62:81c1:: with SMTP id t184mr97023248pfd.221.1558558499031; Wed, 22 May 2019 13:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558558499; cv=none; d=google.com; s=arc-20160816; b=yUobc/RWLp5w1JjsYDPb4FD6Ktu956wh3D74xjGExkAeH9lc6MNnlzTiFnYhpU3Pxv GGt3ELd1CflZA7PvFCP9fRp2y+uPjZdoC8VLkL0cSNrvrGlTAZfBlh+cnBzJBBUVBWs0 fLHtIGmnt/HeKddN+CZ5p5rCeOS8KbiN6fZLA6btUCPlKdO9Tt08OgmlCteFPBTOdl5W F2rIEFP8LJbNvxSba/DDOPWdy3uI5PYhbJkr0nzcrl0guNV2nPBTNB0D2NPnQ0IGVzRv glH+l1dzklYbMweH8vPSstidv13LPOXOfiVE9hUX74pgIjBh6UAslR7ymZsGGLeo4isP kNVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qhRMgHVZUHmqUWlteAsz67WhR9YFrKA9qz2UE+RZ+zk=; b=DHmAomkKRZM5wXJ9i4T0GsTjBIxXMnf+DJkto5dGNe9mdjyMGvifunMeelbU58ahQf Fvw2ynNMDpx+4CuKRCmHofbCFluA6q6hSclabOuCL36LcwTUlha0TsBeh+bbUbO0OExc 9EHN/NfhQ8fCtfU2DmbyF4pLIUSikf/rE9fcRbuGZazIT5PLFfwspPoN7Qggnwx+3xkR oZIyzoZbjiKrEijmvUp6AbG5pdoVDRj3kjJfd2KPYRccr7iBGu5DprgZJx/StbS6aO8g g4q9cL74OtgN3l15blw2cUNZgNZJ8tftsVngs+prCtec+oOKEc8N6doTfIoLZyOi+AgP dw5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LJZbItmK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t25si11933729pgk.442.2019.05.22.13.54.43; Wed, 22 May 2019 13:54:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LJZbItmK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730537AbfEVUvn (ORCPT + 99 others); Wed, 22 May 2019 16:51:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:37538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729906AbfEVUvn (ORCPT ); Wed, 22 May 2019 16:51:43 -0400 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6038D2186A; Wed, 22 May 2019 20:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558558301; bh=dcl6XpzG1DDiMx3oHbMcInJ4R+XbGpCs4f6YYoK6WEk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LJZbItmKpX56PBXWugXHQzTgAjsfEm5s1uaBT2O8qqjizQ/Es1rq0wQCtlYQF+jCB cjUHCJjB6zbf4/stUzWPHJTzh7/zwfY+5Jx2/LRyFn/O9x2nw/3NqkFQdaZpfBkbE2 okPV6H9Cu2UdrP1Nh4TKrBEgZ92kMJasUrH+HspE= Received: by mail-qt1-f175.google.com with SMTP id i26so4133978qtr.10; Wed, 22 May 2019 13:51:41 -0700 (PDT) X-Gm-Message-State: APjAAAU4m7kwaFWyvIUGwAZlYK5qkg2/v2E7UWRSDKulKjlNAJZsD2C7 jRB2xXFJZuqJ61XRTTUpHIyts+TQ3KtyTnnvEQ== X-Received: by 2002:aed:3f5b:: with SMTP id q27mr75854887qtf.143.1558558300682; Wed, 22 May 2019 13:51:40 -0700 (PDT) MIME-Version: 1.0 References: <20190521161102.29620-1-peron.clem@gmail.com> In-Reply-To: From: Rob Herring Date: Wed, 22 May 2019 15:51:29 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support To: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Joerg Roedel , David Airlie , Daniel Vetter , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Tomeu Vizoso , Will Deacon , Robin Murphy , Neil Armstrong , Steven Price , dri-devel , devicetree , "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Linux IOMMU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 2:41 PM Cl=C3=A9ment P=C3=A9ron wrote: > > Hi Rob, > > On Wed, 22 May 2019 at 21:27, Rob Herring wrote: > > > > On Tue, May 21, 2019 at 11:11 AM Cl=C3=A9ment P=C3=A9ron wrote: > > > > > > Hi, > > > > > > The Allwinner H6 has a Mali-T720 MP2 which should be supported by > > > the new panfrost driver. This series fix two issues and introduce the > > > dt-bindings but a simple benchmark show that it's still NOT WORKING. > > > > > > I'm pushing it in case someone want to continue the work. > > > > > > This has been tested with Mesa3D 19.1.0-RC2 and a GPU bitness patch[1= ]. > > > > > > One patch is from Icenowy Zheng where I changed the order as required > > > by Rob Herring[2]. > > > > > > Thanks, > > > Clement > > > > > > [1] https://gitlab.freedesktop.org/kszaq/mesa/tree/panfrost_64_32 > > > [2] https://patchwork.kernel.org/patch/10699829/ > > > > > > > > > [ 345.204813] panfrost 1800000.gpu: mmu irq status=3D1 > > > [ 345.209617] panfrost 1800000.gpu: Unhandled Page fault in AS0 at V= A > > > 0x0000000002400400 > > > [ 345.209617] Reason: TODO > > > [ 345.209617] raw fault status: 0x800002C1 > > > [ 345.209617] decoded fault status: SLAVE FAULT > > > [ 345.209617] exception type 0xC1: TRANSLATION_FAULT_LEVEL1 > > > [ 345.209617] access type 0x2: READ > > > [ 345.209617] source id 0x8000 > > > [ 345.729957] panfrost 1800000.gpu: gpu sched timeout, js=3D0, > > > status=3D0x8, head=3D0x2400400, tail=3D0x2400400, sched_job=3D0000000= 09e204de9 > > > [ 346.055876] panfrost 1800000.gpu: mmu irq status=3D1 > > > [ 346.060680] panfrost 1800000.gpu: Unhandled Page fault in AS0 at V= A > > > 0x0000000002C00A00 > > > [ 346.060680] Reason: TODO > > > [ 346.060680] raw fault status: 0x810002C1 > > > [ 346.060680] decoded fault status: SLAVE FAULT > > > [ 346.060680] exception type 0xC1: TRANSLATION_FAULT_LEVEL1 > > > [ 346.060680] access type 0x2: READ > > > [ 346.060680] source id 0x8100 > > > [ 346.561955] panfrost 1800000.gpu: gpu sched timeout, js=3D1, > > > status=3D0x8, head=3D0x2c00a00, tail=3D0x2c00a00, sched_job=3D0000000= 0b55a9a85 > > > [ 346.573913] panfrost 1800000.gpu: mmu irq status=3D1 > > > [ 346.578707] panfrost 1800000.gpu: Unhandled Page fault in AS0 at V= A > > > 0x0000000002C00B80 > > > > > > Change in v5: > > > - Remove fix indent > > > > > > Changes in v4: > > > - Add bus_clock probe > > > - Fix sanity check in io-pgtable > > > - Add vramp-delay > > > - Merge all boards into one patch > > > - Remove upstreamed Neil A. patch > > > > > > Change in v3 (Thanks to Maxime Ripard): > > > - Reauthor Icenowy for her path > > > > > > Changes in v2 (Thanks to Maxime Ripard): > > > - Drop GPU OPP Table > > > - Add clocks and clock-names in required > > > > > > Cl=C3=A9ment P=C3=A9ron (5): > > > drm: panfrost: add optional bus_clock > > > iommu: io-pgtable: fix sanity check for non 48-bit mali iommu > > > dt-bindings: gpu: mali-midgard: Add H6 mali gpu compatible > > > arm64: dts: allwinner: Add ARM Mali GPU node for H6 > > > arm64: dts: allwinner: Add mali GPU supply for H6 boards > > > > > > Icenowy Zheng (1): > > > dt-bindings: gpu: add bus clock for Mali Midgard GPUs > > > > I've applied patches 1 and 3 to drm-misc. I was going to do patch 4 > > too, but it doesn't apply. > > Thanks, > > I have tried to applied on drm-misc/for-linux-next but it doesn't apply t= oo. > It looks like commit d5ff1adb3809e2f74a3b57cea2e57c8e37d693c4 is > missing on drm-misc ? > https://github.com/torvalds/linux/commit/d5ff1adb3809e2f74a3b57cea2e57c8e= 37d693c4#diff-c3172f5d421d492ff91d7bb44dd44917 5.2-rc1 is merged in now and I've applied patch 4. Rob