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=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 D523EC433DB for ; Tue, 30 Mar 2021 09:35:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7EEB56196A for ; Tue, 30 Mar 2021 09:35:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231773AbhC3JfM (ORCPT ); Tue, 30 Mar 2021 05:35:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:57760 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbhC3Jej (ORCPT ); Tue, 30 Mar 2021 05:34:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 517D96196A; Tue, 30 Mar 2021 09:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617096878; bh=sHCKH0VrxIQRknBZUe53hpu6+EWa87sqvxZc/EQqBWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=irmAXxbnLzYb3QuyRYDJ+n/7qzDQ3+YVJbjzYT9Ux6oij7W/7ziAd7JJvQQLofZBO aOBM8wDdjL7MOOuFnmAUQkxEdDq4EX6TPRWkdu1ldABibJPam7o3aIzbYyGKI6gXrj XIPwOXR882gwj4oAgO8xNctjRaA6crsK+VREY8AAFC7rZDMSaYohZ1U3rbVCimPcSX wSw5xmz15x5ljjEHxJ3oBbc1dA1QJpcgboyvDgQ0xBonEicG/X5+ZU6dmFsdeZLm6K eaXRRpn4jaTfwvePjhzdqBz8qn+/30gMI9v5LTCV9vVIqfGKFL60BctrE8c5rW3SDK oWVCTARuQY58g== Date: Tue, 30 Mar 2021 10:34:33 +0100 From: Will Deacon To: Rob Clark 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 Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. Message-ID: <20210330093432.GB5281@willie-the-truck> References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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. Will 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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 4B579C433DB for ; Tue, 30 Mar 2021 09:37:22 +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 BE8356196A for ; Tue, 30 Mar 2021 09:37:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE8356196A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cVgLInPJ2Xe2VI2XgbCNqaVva00fAdv6oApx7zN3gcA=; b=HRLe5cm20Q1Aep0TX0V9S+Wa/ YUFgakH/utqYJKP2TpB8TMMuBoQmIVq6U1JojzXSNK8OcXeqE3Z98aia+kt3k7QDtOy0mOz3m5R1p BQgfvm9YCNJu70oM/jgL4v2r4OOdOFPXxkZxrK4jn+EyCMKVqv6thiugfdMNReyUj/afNh829scuV tntFBp1Oezi/f6KSH+/TJMenjkDlHwsInE3RdDNyGVCTpCvgbi0M2mGnIaidK9w2envtEHYhOzZ3l /4l0KMEz9lHt9c50Zp4Oc51yHQKSM78MGrAAgvxMCybCT5qM5RL0e5B7Rej4+Nj2nT8ovFJESagZA pAIKfdUfA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRAmD-003EYB-81; Tue, 30 Mar 2021 09:35:11 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRAlk-003EQw-Ba for linux-arm-kernel@lists.infradead.org; Tue, 30 Mar 2021 09:34:43 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 517D96196A; Tue, 30 Mar 2021 09:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617096878; bh=sHCKH0VrxIQRknBZUe53hpu6+EWa87sqvxZc/EQqBWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=irmAXxbnLzYb3QuyRYDJ+n/7qzDQ3+YVJbjzYT9Ux6oij7W/7ziAd7JJvQQLofZBO aOBM8wDdjL7MOOuFnmAUQkxEdDq4EX6TPRWkdu1ldABibJPam7o3aIzbYyGKI6gXrj XIPwOXR882gwj4oAgO8xNctjRaA6crsK+VREY8AAFC7rZDMSaYohZ1U3rbVCimPcSX wSw5xmz15x5ljjEHxJ3oBbc1dA1QJpcgboyvDgQ0xBonEicG/X5+ZU6dmFsdeZLm6K eaXRRpn4jaTfwvePjhzdqBz8qn+/30gMI9v5LTCV9vVIqfGKFL60BctrE8c5rW3SDK oWVCTARuQY58g== Date: Tue, 30 Mar 2021 10:34:33 +0100 From: Will Deacon To: Rob Clark 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 Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. Message-ID: <20210330093432.GB5281@willie-the-truck> References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_103441_194579_9D2D04D6 X-CRM114-Status: GOOD ( 16.59 ) 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 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. Will _______________________________________________ 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=-5.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 A42A7C433E0 for ; Tue, 30 Mar 2021 09:34:41 +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 3AA7E61994 for ; Tue, 30 Mar 2021 09:34:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3AA7E61994 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 579DF89E52; Tue, 30 Mar 2021 09:34:40 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D5AB89E52; Tue, 30 Mar 2021 09:34:39 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 517D96196A; Tue, 30 Mar 2021 09:34:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617096878; bh=sHCKH0VrxIQRknBZUe53hpu6+EWa87sqvxZc/EQqBWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=irmAXxbnLzYb3QuyRYDJ+n/7qzDQ3+YVJbjzYT9Ux6oij7W/7ziAd7JJvQQLofZBO aOBM8wDdjL7MOOuFnmAUQkxEdDq4EX6TPRWkdu1ldABibJPam7o3aIzbYyGKI6gXrj XIPwOXR882gwj4oAgO8xNctjRaA6crsK+VREY8AAFC7rZDMSaYohZ1U3rbVCimPcSX wSw5xmz15x5ljjEHxJ3oBbc1dA1QJpcgboyvDgQ0xBonEicG/X5+ZU6dmFsdeZLm6K eaXRRpn4jaTfwvePjhzdqBz8qn+/30gMI9v5LTCV9vVIqfGKFL60BctrE8c5rW3SDK oWVCTARuQY58g== Date: Tue, 30 Mar 2021 10:34:33 +0100 From: Will Deacon To: Rob Clark Subject: Re: [PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c. Message-ID: <20210330093432.GB5281@willie-the-truck> References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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 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. Will _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel