Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4576374pxj; Tue, 25 May 2021 11:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNtVWQoADMhlWkhu/Kw+X6emrXdwd1RnXsCYH5Jf1oDs5sxII0flo72ooIKF2CGCuD4zp6 X-Received: by 2002:a92:d38d:: with SMTP id o13mr19707446ilo.45.1621965894895; Tue, 25 May 2021 11:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621965894; cv=none; d=google.com; s=arc-20160816; b=F4zs0kRv7oFVQSIb1qj5oJd9+zD7efmekekclW9E4iOhXI/Ve4wS4309vTofQwhllA AVJlEjbYEyNwVcgfdQJDyapd3AIiMhl1Mme7RAhhKQN0TMxXZLZ73I6XsLhc+/udrXg+ TL3BfTTjHaA1J6DvYbO3hXm+nH1qGglIhEVc04FY+OnjwnuOjfBOTbEDLHq965F68/YV klEUYWdsT5Slp1r9oaFAwL6Ybge8d8sSSrJtpszfDrMyoKPcpI3+ceCn/8ZQJoxjM047 gXqAuGsgDRGYsOnfD7WsxgI/8UllcbWhJi99IaG2rB4G9TwvM07tdOmZva34YofeUYa+ ha1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UMrYaCknsZ9gnGhoqmMmsH4nd1WboOXoSjeEdSMCQs4=; b=gLUfyJs2H+vHjzE0xbd5qD7IjN5nEOGeIeFJQId07G4OR1Vo8/O2lxIpyeUMbpW7rW H9ynjEG4mRurn3iWvjW6xRdyThmFHuPCqQ3HYtOZh3Tgyf8fcrG8l7OgBr+qHz67wyGT qGBPRjLQM0N7cLqNIH9k4Q8rz+gSVqnjftUlfEBSY7FsSJv1fUuayijuEv+qP4MxG57a nIrH848S5+XeizE9/JPdgnKhsMJg/NVdWzUMbKyJ1WEhA9q782UKm1HJmyjnYSiIlcsr NEjT0/9IGg+7RKA/PXGsWnO3cGebpUqO2STNM8FHo39OG9rvewN0zwhvl4p6IyEq5Rid rjiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ftfvDnRg; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si17735482iln.71.2021.05.25.11.04.42; Tue, 25 May 2021 11:04:54 -0700 (PDT) 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=@linaro.org header.s=google header.b=ftfvDnRg; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233287AbhEYRQW (ORCPT + 99 others); Tue, 25 May 2021 13:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233589AbhEYRQT (ORCPT ); Tue, 25 May 2021 13:16:19 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03125C06138A for ; Tue, 25 May 2021 10:14:49 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id s19so30954966oic.7 for ; Tue, 25 May 2021 10:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UMrYaCknsZ9gnGhoqmMmsH4nd1WboOXoSjeEdSMCQs4=; b=ftfvDnRgHPDxriwA4tTcY2o2Q4HsZfPdEYMzQhs5uEikNq96E+dPdgNRChF4bAJ7lt gIZJsUoyDg5kzVVfcW2SAZuHlzA2ywibrKjRLmb1/BJdvUzqdxzT+2CUnXkbXHJWEHH7 xB0fROhXCehX/NqjeOxfHiIwitidswNG9G18cbEMpRk/dFgWYqoeL8lRFhLF/Sy38qjF VnZUXQINZKODxvW+VS0gVlR+bGHqfQ4YTKqKrttoa5AhlS/96lVwJ+vjhv8+UfEM9Byi fAKYtSxb33+8phZntntIEGv3m44TDaSOfy8Kck0m5A1MWRYVpOdTmq8vbPJkP6OfQwYd Ztnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UMrYaCknsZ9gnGhoqmMmsH4nd1WboOXoSjeEdSMCQs4=; b=osNon5KVkSKtyiUVpx82mfK587VuySr4ipKX9MX8w1REjbh8pHD0NGk0yOikl1m36N cFRu3T/wPkxAvqxcA7RYNvpUrdCdNnwM3PiOgcVKfNjF9dVfssIB5f4wuDcI92BdS0uZ phRRi99a7g4j3htvUPZf3bjgXL0Ca+K5GDioa3qo+jsNN9FK+eq8jOJYqSrcfnufrWgR HyT1d2Wau8Iozr9eUZzktZhIitrXW5Lh5/oYpchg2bcLWikz8PCxuD5iBRjlWHSBzVyi 0U+07fSm5F3UAeUCLFJLEdSiIL8ZqJLIHvtUg+HHlYq5FPLkDUQ6JDnmEANxhL7Sh0e0 i8jA== X-Gm-Message-State: AOAM5302CzjplIW0K2DFy8V83NK0L7lOYMANZBbiwFo5rQlj+HM0e2GV 8b1NRkAyHecqmpsMrYNuyS6+AQ== X-Received: by 2002:aca:30cd:: with SMTP id w196mr3505764oiw.167.1621962888344; Tue, 25 May 2021 10:14:48 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id m66sm2805314oia.28.2021.05.25.10.14.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 10:14:47 -0700 (PDT) Date: Tue, 25 May 2021 12:14:45 -0500 From: Bjorn Andersson To: Will Deacon Cc: Rob Clark , 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: References: <20210326231303.3071950-1-eric@anholt.net> <20210329144729.GB4203@willie-the-truck> <20210330093432.GB5281@willie-the-truck> <20210330153050.GB6567@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330153050.GB6567@willie-the-truck> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 30 Mar 10:31 CDT 2021, 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? > No the compatible addition identifies the hardware, the implementation then uses this information to know that it needs to behave "differently" on this platform. When/if someone decides to add the necessary support in the driver they can remove the driver quirk, but it doesn't invalidate the specific compatible. Regards, Bjorn