From: Robin Murphy <robin.murphy@arm.com>
To: "Clément Péron" <peron.clem@gmail.com>,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Maxime Ripard" <maxime.ripard@bootlin.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
"Will Deacon" <will.deacon@arm.com>,
"Joerg Roedel" <joro@8bytes.org>,
"Neil Armstrong" <narmstrong@baylibre.com>,
"Steven Price" <steven.price@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support
Date: Fri, 24 May 2019 18:25:30 +0100 [thread overview]
Message-ID: <61088426-43cd-338b-ca77-50c00fcb7c5e@arm.com> (raw)
In-Reply-To: <20190521161102.29620-1-peron.clem@gmail.com>
On 21/05/2019 17:10, Clément Péron 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=1
> [ 345.209617] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> 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=0,
> status=0x8, head=0x2400400, tail=0x2400400, sched_job=000000009e204de9
> [ 346.055876] panfrost 1800000.gpu: mmu irq status=1
> [ 346.060680] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> 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=1,
> status=0x8, head=0x2c00a00, tail=0x2c00a00, sched_job=00000000b55a9a85
> [ 346.573913] panfrost 1800000.gpu: mmu irq status=1
> [ 346.578707] panfrost 1800000.gpu: Unhandled Page fault in AS0 at VA
> 0x0000000002C00B80
FWIW I seem to have reproduced the same behaviour on a different T720
setup, so this may well be more about the GPU than the platform. There
doesn't look to be anything obviously wrong with the pagetables, but if
I can find some more free time I may have a bit more of a poke around.
Robin.
>
> 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ément Péron (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
>
> .../bindings/gpu/arm,mali-midgard.txt | 15 ++++++++++++-
> .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 6 +++++
> .../dts/allwinner/sun50i-h6-orangepi-3.dts | 6 +++++
> .../dts/allwinner/sun50i-h6-orangepi.dtsi | 6 +++++
> .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 6 +++++
> arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++++++++++++
> drivers/gpu/drm/panfrost/panfrost_device.c | 22 +++++++++++++++++++
> drivers/gpu/drm/panfrost/panfrost_device.h | 1 +
> drivers/iommu/io-pgtable-arm.c | 2 +-
> 9 files changed, 76 insertions(+), 2 deletions(-)
>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2019-05-24 17:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 16:10 [PATCH v6 0/6] Allwinner H6 Mali GPU support Clément Péron
2019-05-21 16:10 ` [PATCH v6 1/6] drm: panfrost: add optional bus_clock Clément Péron
2019-05-21 16:10 ` [PATCH v6 2/6] iommu: io-pgtable: fix sanity check for non 48-bit mali iommu Clément Péron
2019-05-21 16:10 ` [PATCH v6 3/6] dt-bindings: gpu: add bus clock for Mali Midgard GPUs Clément Péron
2019-05-21 16:11 ` [PATCH v6 4/6] dt-bindings: gpu: mali-midgard: Add H6 mali gpu compatible Clément Péron
2019-05-21 16:11 ` [PATCH v6 5/6] arm64: dts: allwinner: Add ARM Mali GPU node for H6 Clément Péron
2019-05-21 16:11 ` [PATCH v6 6/6] arm64: dts: allwinner: Add mali GPU supply for H6 boards Clément Péron
2019-05-22 19:27 ` [PATCH v6 0/6] Allwinner H6 Mali GPU support Rob Herring
2019-05-22 19:41 ` Clément Péron
2019-05-22 20:51 ` Rob Herring
2019-06-03 17:27 ` Clément Péron
2019-05-24 17:25 ` Robin Murphy [this message]
2019-05-29 15:09 ` Tomeu Vizoso
2019-05-29 17:38 ` Robin Murphy
2019-05-31 12:04 ` Tomeu Vizoso
2019-05-31 13:47 ` Robin Murphy
2019-08-28 11:28 ` Neil Armstrong
2019-08-28 11:49 ` Robin Murphy
2019-08-28 11:51 ` Neil Armstrong
2019-06-10 13:30 ` Tomeu Vizoso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61088426-43cd-338b-ca77-50c00fcb7c5e@arm.com \
--to=robin.murphy@arm.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@bootlin.com \
--cc=narmstrong@baylibre.com \
--cc=peron.clem@gmail.com \
--cc=robh+dt@kernel.org \
--cc=steven.price@arm.com \
--cc=tomeu.vizoso@collabora.com \
--cc=wens@csie.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).