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.6 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 3C84DC433E4 for ; Thu, 13 Aug 2020 13:19:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18276207DA for ; Thu, 13 Aug 2020 13:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597324785; bh=SknD/q4aQWNYq5Nk/fIPKkA97wOWHoR/XOtsWCarsUg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=yfM8DBoOkaaral0FxalKnZLKhnljGMFBc1/imB7vNoDR35kROarpnI5xIFQsJwRa2 QlzMEPcfDLiVMHaDXX8jSwIuBEkarPyJJqzt3jW9HG83VRa5gdMNsROcSW07uNYuqB nkT/oHZrvwERYgWdnDjNH8FonwaGWmowZr2qHXw0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726533AbgHMNTn (ORCPT ); Thu, 13 Aug 2020 09:19:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:38790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgHMNTn (ORCPT ); Thu, 13 Aug 2020 09:19:43 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D15620774; Thu, 13 Aug 2020 13:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597324782; bh=SknD/q4aQWNYq5Nk/fIPKkA97wOWHoR/XOtsWCarsUg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KyQtPDjjhE0RUI+jOnEFEBNw/+u3ZIzQvrcfs2bqJcSclzMEqquyp5iHRtp1RNgLN 0GHvoyF53tu5IMoeKYfshHf8pzTzkTlYFu4UrJiZttWR4h8heT83viHSVM3LlABhmz fUatW3ekpHN47Oz+hbzPT5iwPkIrwjnHUHdfpCyU= Date: Thu, 13 Aug 2020 14:19:33 +0100 From: Will Deacon To: Jordan Crouse Cc: linux-arm-msm@vger.kernel.org, Robin Murphy , Bjorn Andersson , iommu@lists.linux-foundation.org, freedreno@lists.freedesktop.org, Sai Prakash Ranjan , Akhil P Oommen , Andy Gross , AngeloGioacchino Del Regno , Ben Dooks , Brian Masney , Daniel Vetter , David Airlie , Douglas Anderson , Emil Velikov , Eric Anholt , Greg Kroah-Hartman , Hanna Hawa , Joerg Roedel , Jon Hunter , Jonathan Marek , Krishna Reddy , Nicolin Chen , Pritesh Raithatha , Rob Clark , Rob Herring , Sam Ravnborg , Sean Paul , Sharat Masetty , Shawn Guo , Sibi Sankar , Stephen Boyd , Thierry Reding , Thierry Reding , Vivek Gautam , Wambui Karuga , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v12 00/13] iommu/arm-smmu: Add Adreno SMMU specific implementation Message-ID: <20200813131933.GC10256@willie-the-truck> References: <20200810222657.1841322-1-jcrouse@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200810222657.1841322-1-jcrouse@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 04:26:44PM -0600, Jordan Crouse wrote: > This series adds an Adreno SMMU implementation to arm-smmu to allow GPU hardware > pagetable switching. > > The Adreno GPU has built in capabilities to switch the TTBR0 pagetable during > runtime to allow each individual instance or application to have its own > pagetable. In order to take advantage of the HW capabilities there are certain > requirements needed of the SMMU hardware. "capabilities" is a polite way of putting it ;) Anyway, modulo two design comments, I think this is about as nice as we're going to get this. Thanks for persevering, and sorry that you have to deal with such dreadful hardware. Hopefully the next version will be the one, although I'd like Robin to take a quick look as well if he gets a chance. Will