From patchwork Fri May 18 21:34:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10412245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD9EE6031B for ; Fri, 18 May 2018 21:35:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE33128980 for ; Fri, 18 May 2018 21:35:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A285328AF6; Fri, 18 May 2018 21:35:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4437B28980 for ; Fri, 18 May 2018 21:35:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 85D2C6E273; Fri, 18 May 2018 21:35:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id 490FD6E273; Fri, 18 May 2018 21:35:06 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CA7F060D81; Fri, 18 May 2018 21:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526679306; bh=DFAjHCWc3tnye7/woISMoqkk1qa7VPyvjAvlKpU4X/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ju7Pt+P45C8u0vU7uqaatPhe4xJwX2mhjYovKvcKR1Svu1d/WLl0GncqjRk1cEcZn DPqJtENEslRaJNPlcKxubNs4bS64tZgRV9ksRlRLr1TyG+waa5p8y6PQogpv0av+0D /4KQ7IkSktLsKANGcLNFf+ZhRan6XByHvPJMfIos= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6CA3560392; Fri, 18 May 2018 21:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526679306; bh=DFAjHCWc3tnye7/woISMoqkk1qa7VPyvjAvlKpU4X/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ju7Pt+P45C8u0vU7uqaatPhe4xJwX2mhjYovKvcKR1Svu1d/WLl0GncqjRk1cEcZn DPqJtENEslRaJNPlcKxubNs4bS64tZgRV9ksRlRLr1TyG+waa5p8y6PQogpv0av+0D /4KQ7IkSktLsKANGcLNFf+ZhRan6XByHvPJMfIos= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6CA3560392 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: freedreno@lists.freedesktop.org Subject: [PATCH 01/16] iommu: Add DOMAIN_ATTR_SPLIT_TABLES Date: Fri, 18 May 2018 15:34:45 -0600 Message-Id: <20180518213500.31595-2-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518213500.31595-1-jcrouse@codeaurora.org> References: <20180518213500.31595-1-jcrouse@codeaurora.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jean-philippe.brucker@arm.com, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, tfiga@chromium.org, iommu@lists.linux-foundation.org, vivek.gautam@codeaurora.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add a new domain attribute to enable split pagetable support for devices devices that support it. Signed-off-by: Jordan Crouse --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index d7e2f54086e4..366254e4b07f 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -153,6 +153,7 @@ enum iommu_attr { DOMAIN_ATTR_FSL_PAMU_ENABLE, DOMAIN_ATTR_FSL_PAMUV1, DOMAIN_ATTR_NESTING, /* two stages of translation */ + DOMAIN_ATTR_SPLIT_TABLES, DOMAIN_ATTR_MAX, };