From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F138C433DB for ; Tue, 30 Mar 2021 16:05:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 431C9619C2 for ; Tue, 30 Mar 2021 16:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbhC3QE2 (ORCPT ); Tue, 30 Mar 2021 12:04:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbhC3QD4 (ORCPT ); Tue, 30 Mar 2021 12:03:56 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2765C061574; Tue, 30 Mar 2021 09:03:55 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id x13so16739439wrs.9; Tue, 30 Mar 2021 09:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=oGf3rAc09tWox8W/AuayHxD57BYJkHett6R/hVoRJQkI/dsuvVQsdL+66QBQPYbZO8 7THhwdyV51H945ZoxJJ5jgoQE1adMP2x6g1L6OVgqjahcsNzGiHVTu6IA/7mHr+IJoTe G2IRldQQOICbaa1RBtBbDZfRIbW4FXgw9hnfwAzpMP4E4foZcweEiry54xruXlagP21k XcoOokxVvs+Qse2Rf6Tt4VeNyK1jyyBHKCIvomFRhW/IRq3T5TGpU3ZuLfmOfUUI5hQs P/3sUmpZ5wxSwYnZxo9dJhApM9eLAmfB4ezalW1zrr0WOpAGs8ZoUsMpZDJ6ZjUb1W2R qWCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=sr1psPkqiWiwXknfTSC8+xBHArtcLVIEfVI1qxA7e1DadFOi2AbHbrIMlnRGU1mPD6 lu7VVgyWzs4HhCyiIEgSQxs1CHgcQxbsR6GdFGwjIZ5MNAdFHazxoorRkhcHFxXx3dcw SYvWetRjDtsjh+EPrSdFDkqJ97ZyQKxlPjTZ0T5Mp32LodIMGzwq4WvHw8z3iCebH7YG i14LeUqYMEudHP2zJl6vHpC5bs7ylQWmjy7TsYI/FjXV73LWX6j04jEjYbHDfesD+oY3 OBELavMk7yP5ZDdfEwlyopJcFH4nWxcZnkdb3t/FKKGEgWn3ebnFKE3Lur/83N+zrC1h /brg== X-Gm-Message-State: AOAM532nVZY1n9m3+jUV4Ma/jBmLgt/9DBKRVY5mKEeKxU42zsE4qQgZ oIK/0IRfROrZEMhtWv6U4Oakl7ZvToI32/fd4V4= X-Google-Smtp-Source: ABdhPJyIo4QMtpT4Jjy6Aso1yAaVwCCbPHuaf9YAguVzhh4oj3SzRFzxG8rjYLqc6NicwaW7b/FSImz48Hamu6fJQ0Y= X-Received: by 2002:adf:d0c3:: with SMTP id z3mr35756480wrh.28.1617120234562; Tue, 30 Mar 2021 09:03:54 -0700 (PDT) MIME-Version: 1.0 References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> <20210330093432.GB5281@willie-the-truck> <20210330153050.GB6567@willie-the-truck> In-Reply-To: <20210330153050.GB6567@willie-the-truck> From: Rob Clark Date: Tue, 30 Mar 2021 09:07:18 -0700 Message-ID: Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. To: Will Deacon Cc: Eric Anholt , dri-devel , linux-arm-msm , freedreno , Sean Paul , Jordan Crouse , Robin Murphy , Rob Herring , Joerg Roedel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Tue, Mar 30, 2021 at 8:31 AM Will Deacon wrote: > > On Tue, Mar 30, 2021 at 08:03:36AM -0700, Rob Clark wrote: > > On Tue, Mar 30, 2021 at 2:34 AM Will Deacon wrote: > > > > > > On Mon, Mar 29, 2021 at 09:02:50PM -0700, Rob Clark wrote: > > > > On Mon, Mar 29, 2021 at 7:47 AM Will Deacon wrote: > > > > > > > > > > On Fri, Mar 26, 2021 at 04:13:02PM -0700, Eric Anholt wrote: > > > > > > db820c wants to use the qcom smmu path to get HUPCF set (which keeps > > > > > > the GPU from wedging and then sometimes wedging the kernel after a > > > > > > page fault), but it doesn't have separate pagetables support yet in > > > > > > drm/msm so we can't go all the way to the TTBR1 path. > > > > > > > > > > What do you mean by "doesn't have separate pagetables support yet"? The > > > > > compatible string doesn't feel like the right way to determine this. > > > > > > > > the compatible string identifies what it is, not what the sw > > > > limitations are, so in that regard it seems right to me.. > > > > > > Well it depends on what "doesn't have separate pagetables support yet" > > > means. I can't tell if it's a hardware issue, a firmware issue or a driver > > > issue. > > > > Just a driver issue (and the fact that currently we don't have > > physical access to a device... debugging a5xx per-process-pgtables by > > pushing untested things to the CI farm is kind of a difficult way to > > work) > > But then in that case, this is using the compatible string to identify a > driver issue, no? > Well, I suppose yes.. but OTOH it is keeping the problem out of the dtb. Once per-process pgtables works for a5xx, there would be no dtb change, just a change to the quirk behavior in arm-smmu-qcom. BR, -R From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36CF8C433DB for ; Tue, 30 Mar 2021 16:06:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 81215619C2 for ; Tue, 30 Mar 2021 16:06:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81215619C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U7OQ56wf9oOGgKycRdh2By1OsO2lO575nVMUcYyyN6I=; b=NeD3Zb0zaJAcya1hoBncVpGx5 nJ12COayyT1TT1un6OsWAfNCsTyZ/EBlK9mF20Iosq0sMB22dgfGLS/MxHHpuqA5GL9IyNALsaxf8 kCHrq5Bq0BJBfuRtO7+hABqe/RkadjyCKmT6KAizKE3y2pc5cAD76VIy3m8p5/h/IZqPYm9uQJcZW Ez184iKtGM5hB/zfTRkyu0/sNqA6xwS8KY0227nJWVDa86Y1X/oBWFfxS8XepZV7XDGJq+KhOiBXk 9O+oj/lvIHebrWbXW+9sB1w4uEMdc1oGZzHTfmsuu5in0Xf77sF2Qee8ntxVzRXZac9yAutp/EylR K90Kvr4Iw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRGqb-004IHP-HX; Tue, 30 Mar 2021 16:04:06 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRGqR-004IFn-JY for linux-arm-kernel@lists.infradead.org; Tue, 30 Mar 2021 16:03:59 +0000 Received: by mail-wr1-x432.google.com with SMTP id z2so16753501wrl.5 for ; Tue, 30 Mar 2021 09:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=oGf3rAc09tWox8W/AuayHxD57BYJkHett6R/hVoRJQkI/dsuvVQsdL+66QBQPYbZO8 7THhwdyV51H945ZoxJJ5jgoQE1adMP2x6g1L6OVgqjahcsNzGiHVTu6IA/7mHr+IJoTe G2IRldQQOICbaa1RBtBbDZfRIbW4FXgw9hnfwAzpMP4E4foZcweEiry54xruXlagP21k XcoOokxVvs+Qse2Rf6Tt4VeNyK1jyyBHKCIvomFRhW/IRq3T5TGpU3ZuLfmOfUUI5hQs P/3sUmpZ5wxSwYnZxo9dJhApM9eLAmfB4ezalW1zrr0WOpAGs8ZoUsMpZDJ6ZjUb1W2R qWCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=FnjYdMJiJ6uSLgFPFBsAs5IO3uTgX+m+vyx9P/hKI1PgVbwbC4ftHjQIWv7zCyu3gN cYGSQzvCG051Y+tlFNb7yzK4NLjL+cqSwkIwV5jQzK1uTu2U70P4eyVbo2Dxhh+JcJvt Fthxbcdu3EHiMqQriPvCgtLARbcj/Vj9Y5XIfg5DPd98mhHd/fI9SGKYwZ7OPzIT6GMX F+l4kX34JgDacNE1B3hCSdPSiePpuTA6rVcwLyUpKtViC7DQbfZu7EMV+RdCtPtuur3y PgexFON6w2C7lzSjhHMtxvm02KoyNcldbolZ9I/n5y5SbX0/Q9oVlKvVmmz0djLIOt1D QIfQ== X-Gm-Message-State: AOAM532oTpUmrX6E5pYA5o8xkgkCUaRdlQ9AEAq95NRY1aNODqHuMq4W b30CQtb2lC116aj1/4pI0Bn97NrtkZ4qaXNltqE= X-Google-Smtp-Source: ABdhPJyIo4QMtpT4Jjy6Aso1yAaVwCCbPHuaf9YAguVzhh4oj3SzRFzxG8rjYLqc6NicwaW7b/FSImz48Hamu6fJQ0Y= X-Received: by 2002:adf:d0c3:: with SMTP id z3mr35756480wrh.28.1617120234562; Tue, 30 Mar 2021 09:03:54 -0700 (PDT) MIME-Version: 1.0 References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> <20210330093432.GB5281@willie-the-truck> <20210330153050.GB6567@willie-the-truck> In-Reply-To: <20210330153050.GB6567@willie-the-truck> From: Rob Clark Date: Tue, 30 Mar 2021 09:07:18 -0700 Message-ID: Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. To: Will Deacon Cc: Eric Anholt , dri-devel , linux-arm-msm , freedreno , Sean Paul , Jordan Crouse , Robin Murphy , Rob Herring , Joerg Roedel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_170356_151004_49CFCD64 X-CRM114-Status: GOOD ( 26.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 30, 2021 at 8:31 AM Will Deacon wrote: > > On Tue, Mar 30, 2021 at 08:03:36AM -0700, Rob Clark wrote: > > On Tue, Mar 30, 2021 at 2:34 AM Will Deacon wrote: > > > > > > On Mon, Mar 29, 2021 at 09:02:50PM -0700, Rob Clark wrote: > > > > On Mon, Mar 29, 2021 at 7:47 AM Will Deacon wrote: > > > > > > > > > > On Fri, Mar 26, 2021 at 04:13:02PM -0700, Eric Anholt wrote: > > > > > > db820c wants to use the qcom smmu path to get HUPCF set (which keeps > > > > > > the GPU from wedging and then sometimes wedging the kernel after a > > > > > > page fault), but it doesn't have separate pagetables support yet in > > > > > > drm/msm so we can't go all the way to the TTBR1 path. > > > > > > > > > > What do you mean by "doesn't have separate pagetables support yet"? The > > > > > compatible string doesn't feel like the right way to determine this. > > > > > > > > the compatible string identifies what it is, not what the sw > > > > limitations are, so in that regard it seems right to me.. > > > > > > Well it depends on what "doesn't have separate pagetables support yet" > > > means. I can't tell if it's a hardware issue, a firmware issue or a driver > > > issue. > > > > Just a driver issue (and the fact that currently we don't have > > physical access to a device... debugging a5xx per-process-pgtables by > > pushing untested things to the CI farm is kind of a difficult way to > > work) > > But then in that case, this is using the compatible string to identify a > driver issue, no? > Well, I suppose yes.. but OTOH it is keeping the problem out of the dtb. Once per-process pgtables works for a5xx, there would be no dtb change, just a change to the quirk behavior in arm-smmu-qcom. BR, -R _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52C88C433E0 for ; Tue, 30 Mar 2021 16:03:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CFCA619C5 for ; Tue, 30 Mar 2021 16:03:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CFCA619C5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 42B0689FCA; Tue, 30 Mar 2021 16:03:57 +0000 (UTC) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFE9689FCA; Tue, 30 Mar 2021 16:03:55 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id b9so16729813wrt.8; Tue, 30 Mar 2021 09:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=oGf3rAc09tWox8W/AuayHxD57BYJkHett6R/hVoRJQkI/dsuvVQsdL+66QBQPYbZO8 7THhwdyV51H945ZoxJJ5jgoQE1adMP2x6g1L6OVgqjahcsNzGiHVTu6IA/7mHr+IJoTe G2IRldQQOICbaa1RBtBbDZfRIbW4FXgw9hnfwAzpMP4E4foZcweEiry54xruXlagP21k XcoOokxVvs+Qse2Rf6Tt4VeNyK1jyyBHKCIvomFRhW/IRq3T5TGpU3ZuLfmOfUUI5hQs P/3sUmpZ5wxSwYnZxo9dJhApM9eLAmfB4ezalW1zrr0WOpAGs8ZoUsMpZDJ6ZjUb1W2R qWCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6oj2QpU+iRP2QcXpQSoeLL823H9nv69wn1Ubcw3X/Kc=; b=VqbMs5FhB5WXwhYKBPJsTf9LSE1oLamBE9T2UTuxO5XUFjnUHjfVgf/hv4ThH8Cza3 jEoxvW3tQV/3v6MAXvzPIhpO/I4itVx8IjOyhkxo8ux7HxxmuAxZKAqczPneH1Peamvp VFykyoFX6fmh1tCx90ZqmEw0IC9AYQ4k+fSZd9F6e5NPYaSIlnBo4avU9MEe6asJ4WpM mtF4v80IejbXgD2nKWDYm4VjmXN95HRuYmReUv9EL+3GnrpMR9pKVCjy+iRHGQ6bMgfk QGaUOUhIhYv5vBOA3HpoZsT5KZobZMfwPFfELPfU5p7nr8TNp/nOIN+Q9iVhZUY+Bj6n s/2g== X-Gm-Message-State: AOAM5338WH+tBjNlEF/xGktGLq3cM1A2I9UG39pJtAtT2C9qG8Wg1RAi bokAdzCl8VAVE4HxdtDd+g5KOn0Dhx5xTmxhK/8= X-Google-Smtp-Source: ABdhPJyIo4QMtpT4Jjy6Aso1yAaVwCCbPHuaf9YAguVzhh4oj3SzRFzxG8rjYLqc6NicwaW7b/FSImz48Hamu6fJQ0Y= X-Received: by 2002:adf:d0c3:: with SMTP id z3mr35756480wrh.28.1617120234562; Tue, 30 Mar 2021 09:03:54 -0700 (PDT) MIME-Version: 1.0 References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> <20210330093432.GB5281@willie-the-truck> <20210330153050.GB6567@willie-the-truck> In-Reply-To: <20210330153050.GB6567@willie-the-truck> From: Rob Clark Date: Tue, 30 Mar 2021 09:07:18 -0700 Message-ID: Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. To: Will Deacon X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , freedreno , Joerg Roedel , Robin Murphy , dri-devel , Linux Kernel Mailing List , Jordan Crouse , Rob Herring , linux-arm-msm , Sean Paul , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Mar 30, 2021 at 8:31 AM Will Deacon wrote: > > On Tue, Mar 30, 2021 at 08:03:36AM -0700, Rob Clark wrote: > > On Tue, Mar 30, 2021 at 2:34 AM Will Deacon wrote: > > > > > > On Mon, Mar 29, 2021 at 09:02:50PM -0700, Rob Clark wrote: > > > > On Mon, Mar 29, 2021 at 7:47 AM Will Deacon wrote: > > > > > > > > > > On Fri, Mar 26, 2021 at 04:13:02PM -0700, Eric Anholt wrote: > > > > > > db820c wants to use the qcom smmu path to get HUPCF set (which keeps > > > > > > the GPU from wedging and then sometimes wedging the kernel after a > > > > > > page fault), but it doesn't have separate pagetables support yet in > > > > > > drm/msm so we can't go all the way to the TTBR1 path. > > > > > > > > > > What do you mean by "doesn't have separate pagetables support yet"? The > > > > > compatible string doesn't feel like the right way to determine this. > > > > > > > > the compatible string identifies what it is, not what the sw > > > > limitations are, so in that regard it seems right to me.. > > > > > > Well it depends on what "doesn't have separate pagetables support yet" > > > means. I can't tell if it's a hardware issue, a firmware issue or a driver > > > issue. > > > > Just a driver issue (and the fact that currently we don't have > > physical access to a device... debugging a5xx per-process-pgtables by > > pushing untested things to the CI farm is kind of a difficult way to > > work) > > But then in that case, this is using the compatible string to identify a > driver issue, no? > Well, I suppose yes.. but OTOH it is keeping the problem out of the dtb. Once per-process pgtables works for a5xx, there would be no dtb change, just a change to the quirk behavior in arm-smmu-qcom. BR, -R _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel