Message ID | 0-v5-d0a204c678c7+3d16a-iommu_all_defdom_jgg@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-msm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CA82C04A94 for <linux-arm-msm@archiver.kernel.org>; Mon, 24 Jul 2023 17:30:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231725AbjGXRaK (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Mon, 24 Jul 2023 13:30:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229895AbjGXRaI (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 24 Jul 2023 13:30:08 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2053.outbound.protection.outlook.com [40.107.102.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAA9810FF; Mon, 24 Jul 2023 10:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LZzHA7bN/uHXP2wwP8lQpdKyU9i1bZHJtllyLPjvB9zbtSr+xvqLpOJthTAmydkSNcSCuSxin7W27GZjtq9VTYC037r1+L8xwj0HJt1uZh26w4q0S5RwNmSRvM/93Vf58yjkqYeNCKyf2pftFMsFQQgaRCGBJsqPHn0lM2K/XIFLMNaTN5ZFUmPYGjk6H+8K9s2u5XyXxi7n8HUpm0JDDoM7RtnzT8M6vPQkLgO8jC6ewjQ4Lhjf0mECAEY9ROXnad6L++IGYx7cBybvOcEcbXmz2imbFyu8lSqJ48j9zxmLhZPadMxpmV4TXryQpJvnbYhMASiItv7M0+dmdfYLYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xhB6YJf/MxhkoeZ3msnO+Mh1ntwDQViVJ1bE4PnFaI0=; b=Nqf7g24kEnNcRfZCk6HmSHwFiG0LoBVwr4laYofEpamIj7QK34OmqRfkoOvfwZvJCiYNdJIQseop/k9tKYLZs3t2tGmJxRhxA4VRi2NydvL0ULg7Hh/TAajEIgh2uaajRFxDpcXA5rJTcULXWidkmp1dFec8PK77Z72w/0tTwlAcbUUQKvEIyGTSJ8N5AXr6XEqVILHFXk2L1/Ec8FPIWPIv0snaAQ9PNrek+HHDa9v3rM/j1m/fqg+aLiqHZjTMrVV+gSYHwrqAp3FsNT2GKTnI+bJJgOkI8+5/j8/jrY8Y2ilnaNglgRORe5ooKAlWRIYLLGbIPgvFNbi/UWL/RA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xhB6YJf/MxhkoeZ3msnO+Mh1ntwDQViVJ1bE4PnFaI0=; b=Ox970yVWTsdrJlYmz+tixKLe6hVmONPJ6RJ/K8KfN3Va4kH3fekAYLTWDXA1U+mhOCUEWYaTrRUuVVmJh2a/Dxh05Iu/SxHq1TiYIk354HkpDPGfgRwDlWiCNbkl8M9SgoWVbIT1wzF4sMQWAhtzReIN+Lu0FT3vO4BFZY7tdvK9loO18QrUl8QP18X1O/rJ1wzHIySU6manUyOyPpmTjeqZuWlukYtD2ZoRKJ7vc0aQnxGdXY3jH9JtlczK1Sub8rsqicKO7fgS87v+sU6yiOKgVwA2jhKOrt3+xbvRZ2Z+oToDn44NJtkGHw7KlnMB9GryBA62clYTJGQM+EJyog== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) by DM6PR12MB4958.namprd12.prod.outlook.com (2603:10b6:5:20a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 17:29:58 +0000 Received: from LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::5111:16e8:5afe:1da1]) by LV2PR12MB5869.namprd12.prod.outlook.com ([fe80::5111:16e8:5afe:1da1%6]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 17:29:57 +0000 From: Jason Gunthorpe <jgg@nvidia.com> To: Andy Gross <agross@kernel.org>, Alim Akhtar <alim.akhtar@samsung.com>, Bjorn Andersson <andersson@kernel.org>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Baolin Wang <baolin.wang@linux.alibaba.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Gerald Schaefer <gerald.schaefer@linux.ibm.com>, Heiko Stuebner <heiko@sntech.de>, iommu@lists.linux.dev, Jernej Skrabec <jernej.skrabec@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Joerg Roedel <joro@8bytes.org>, Kevin Tian <kevin.tian@intel.com>, Konrad Dybcio <konrad.dybcio@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-s390@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, Russell King <linux@armlinux.org.uk>, linuxppc-dev@lists.ozlabs.org, Matthias Brugger <matthias.bgg@gmail.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Orson Zhai <orsonzhai@gmail.com>, Rob Clark <robdclark@gmail.com>, Robin Murphy <robin.murphy@arm.com>, Samuel Holland <samuel@sholland.org>, Thierry Reding <thierry.reding@gmail.com>, Krishna Reddy <vdumpa@nvidia.com>, Chen-Yu Tsai <wens@csie.org>, Will Deacon <will@kernel.org>, Yong Wu <yong.wu@mediatek.com>, Chunyan Zhang <zhang.lyra@gmail.com> Cc: Lu Baolu <baolu.lu@linux.intel.com>, Dmitry Osipenko <digetx@gmail.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Nicolin Chen <nicolinc@nvidia.com>, Niklas Schnelle <schnelle@linux.ibm.com>, Steven Price <steven.price@arm.com>, Thierry Reding <treding@nvidia.com> Subject: [PATCH v5 00/25] iommu: Make default_domain's mandatory Date: Mon, 24 Jul 2023 14:21:50 -0300 Message-ID: <0-v5-d0a204c678c7+3d16a-iommu_all_defdom_jgg@nvidia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MN2PR03CA0015.namprd03.prod.outlook.com (2603:10b6:208:23a::20) To LV2PR12MB5869.namprd12.prod.outlook.com (2603:10b6:408:176::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV2PR12MB5869:EE_|DM6PR12MB4958:EE_ X-MS-Office365-Filtering-Correlation-Id: 914b71ab-c6f1-440a-af41-08db8c6b99db X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RvK/mIvkr8cJSRF+jIHRI78Mbga2Gq22rwcW7fKsJWOiIPG1q7TterXEC7RT5T5V8PbeafvOTdmTq7WUG2p9pf1l4fCyF3oVz799rs1yqzDd4kt3UVpT9uLWdka9CdfQ0+wjEs8I0LDkY9tyvLCvLT7kyJ7hzHMaA90KaxMv+35Alve/LZlzBj+OuRe4+PJq/WQxipk13jvzEHUhzxPWnR4nv2JcVqwBRJ9wMK1fyO2C3Y2ZVd9NApAt9NE9m+rzRwknbLemZDYJyVSrpSLDEr1Wp2ogzMdisdZ+hY8w16LqIaOSv9StYb/0f0carpEVSPsHGILbqgdpMMec+G52fg4x4HtZWyha7bVTTssrUw+6bsbqO7YrfTi8XzPEaZ6BqIEd4y6PmOy3N3WGshHm6V2zYo7CUBN4Dl5wsoiOi3KwjXVa+VOO5rSdU67bXSauT6l3YS0lAbw4c7N3t8CDmlnte+3bB/5kfhBqbxQW7IJFJ+wfsEdkaQ1n1TdhVbyPgRY9AumkEgUIWsqCYojidwzNKO+JUJhfA0eIwHEXVKbwZUYnPHtUHYSwHhQVJGV1GmpodswpMY1dvNd1VUng0wJ4eo2vxfnni0uENm2xfKKxGLU/+hkz3lEHGdd4J23v2o32QZ8tAVq1UAmQg3w45vUNjES5hOBKtQuxpTA16rsTxFxB5Etno/p5fVah2dludVFu5r9vWL1L0mRUVGu+KA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR12MB5869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(346002)(39860400002)(366004)(136003)(451199021)(38100700002)(921005)(2616005)(107886003)(83380400001)(36756003)(7406005)(7416002)(8936002)(110136005)(8676002)(5660300002)(54906003)(478600001)(66556008)(316002)(66476007)(4326008)(66946007)(41300700001)(966005)(6486002)(186003)(26005)(6506007)(2906002)(6666004)(6512007)(86362001)(4216001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hyv4GEvbEu6s8n7CyANUjgIurc4bJWnNm9hH53P08K+atN+mry69ykVnBNiStChnd6f0j0LCiTtk1Wp15Hg5+TVrLTBE1ifmzJ7glkV9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dVs9INI7bRyqqC8fFv17W0pzcbUycJr+PFcs9ITTFZN9qa+m6icRcXJN2Zkaw0B+by7Q5LLN/W3QK0kfWtMFinXj3MbkpSwmI9CGooMVzuTHITDzGLRdDhDL8k3L0yqDsnpIL4KAESWbJtOjQUFgjHK5a5EmSHP4PvFWcyxK7YXHLbcn5+QQx8rThoOlUReUX/3Yrrh5aKXEZ+WP+hkGyH0c1tCY/z0AbTC62zNyqqk/8ZUcLV2o9Mn9c6xHZWqGbTavMrDhxhhkM4fJWBqU8v8llWDG+Gs63QusMfmXzht5Xet4yHbEaN6IFLdX62mT6keX3NXpy/wfgKF3LchPfcqXNLBWb1CHXGimO0ZsNVtSa7aXO25oSDAxXgZkfd4NctMi6euEC8zJZr2goYTSBlUBh0jYWbvQdE X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 914b71ab-c6f1-440a-af41-08db8c6b99db X-MS-Exchange-CrossTenant-AuthSource: LV2PR12MB5869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 17:29:57.5563 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yL1mCWRCouEPKh4HEgE0CPMc8HApV2n9DhjENlleek5HQmYtk9lcDH/yiQ1Jaygx X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4958 Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
iommu: Make default_domain's mandatory
|
expand
|
On Mon, Jul 24, 2023 at 02:21:50PM -0300, Jason Gunthorpe wrote: > [ It would be good to get this in linux-next, we have some good test > coverage on the ARM side already, thanks! ] > > It has been a long time coming, this series completes the default_domain > transition and makes it so that the core IOMMU code will always have a > non-NULL default_domain for every driver on every > platform. set_platform_dma_ops() turned out to be a bad idea, and so > completely remove it. Joerg, I think we are done with this now, it has been two months since a substantive comment. Can you take it so we have enough time in linux-next? There is a small typo in a commit message, patch 15 should have s/omap_iommu_set_platform_dma/msm_iommu_set_platform_dma/ Let me know if you want me to resend Thanks, Jason