Received: by 10.213.65.68 with SMTP id h4csp1672613imn; Thu, 29 Mar 2018 08:54:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx49F/pKWRWD/p/oBdCTA91SNn77YTfNgvo009R/TNpD4zP1XI61knQQP0q1b48CrxGvfccU4 X-Received: by 10.167.130.71 with SMTP id e7mr6817990pfn.22.1522338859750; Thu, 29 Mar 2018 08:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522338859; cv=none; d=google.com; s=arc-20160816; b=zO2KGKtzHDbIsNsaD3J9Lz3eQ00TK+DyInF6V4SPX61gKIUZD0kkATkFrN86MTQOm8 +K9tJW5aa24CVTBgYPaBEdEyEW0x9CeeXUPMlQ1tU/G5LBDnqg/HiPgXlEvscLu/E2iG HNW97zYB/7i54V8jynp3XCVEZ26/cTKUFbEsOgh3WYvZvMOXD2nc9Q/eeD5d3NRuKUC1 eHfiW15H242Fzk/hSiFWFTyl2Ib+tpRiNxSp0bx9NjA22u+tnugY+Ehax4yGMv64HiNJ kTHUyAR1p0PTjiHxq/0hgOpCBsus5G56AikrG8Nban+kqb23h2UdIkw4/AblD3HtZ8XU ovQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=PjGL8oaJRoPwSFPPGcwiK5aZJEhC+12sOrobfvjBBfs=; b=b+dDzePFyZN/il1g6SNmw67GGwNVzKiRJWYzY3o58d4KDt3PfmIJk/g98azYgaF0EO ecXVSd1UimAAT/clK8I7EbFQB7TsRNtffKbVrO0Tawtu2djlViIVByn8MzH3zuxXtNYp /TUj1JckU6tgb3EkZR8zlCzsoTlhqNst8SV48ojQtntt1LQ87dU/eHxO4TjoJXuWjMqT CET1qQHLl3RVH3lWzalCVDBdOgJVyQc3xOHzhaT2XZ4scEWOoD7YPTUE0oMLW+OOSG88 j+mQpAt8J2GcJTG3npSP19ZJEE5CofRavwcIuooJgagKECYNEhtu7nuin51waanBZocD k9DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rEqRvnJ4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11-v6si5952278pls.337.2018.03.29.08.54.05; Thu, 29 Mar 2018 08:54:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rEqRvnJ4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752254AbeC2PwZ (ORCPT + 99 others); Thu, 29 Mar 2018 11:52:25 -0400 Received: from mail-cys01nam02on0042.outbound.protection.outlook.com ([104.47.37.42]:55072 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751642AbeC2PwV (ORCPT ); Thu, 29 Mar 2018 11:52:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=PjGL8oaJRoPwSFPPGcwiK5aZJEhC+12sOrobfvjBBfs=; b=rEqRvnJ4FgYuc+e5Uzk86EBXd1iR6aRyWKIwhc5lEaGt4wIRfH1kLj5CPEpInmqvkbqIPD028HPo35ue8Kn+3kEocDzGckihLbrZAh2k+ZpidOT24Vb/cSKqiSQk014k3y4Plf8GUzhGT7nqMqtAHKQSTmYGNuIAQvWNM4SHga0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.109.62] (165.204.78.1) by CY1PR12MB0698.namprd12.prod.outlook.com (2a01:111:e400:c43b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Thu, 29 Mar 2018 15:52:18 +0000 Subject: Re: [PATCH v7 0/5] Add Intel IOMMU debugfs support To: Joerg Roedel , Jacob Pan Cc: "Raj, Ashok" , Sohil Mehta , Alex Williamson , David Woodhouse , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Gayatri Kammela , Ravi V Shankar , Andy Shevchenko , Lu Baolu , Fenghua Yu References: <1517619001-148586-1-git-send-email-sohil.mehta@intel.com> <20180213140303.42mbzfxpypljy37l@8bytes.org> <20180213214002.GA27066@otc-nc-03> <20180213145332.35c73eda@jacob-builder> <20180215095337.fccoozdclfnbepi4@8bytes.org> <20180215083811.3ec86e49@jacob-builder> <20180315131854.s6xmltsvsysublcw@8bytes.org> <20180319093714.3afe698b@jacob-builder> <20180329084824.fvy7cg2wban4by4n@8bytes.org> From: Gary R Hook Message-ID: Date: Thu, 29 Mar 2018 10:52:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180329084824.fvy7cg2wban4by4n@8bytes.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: SN4PR0801CA0006.namprd08.prod.outlook.com (2603:10b6:803:29::16) To CY1PR12MB0698.namprd12.prod.outlook.com (2a01:111:e400:c43b::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c0f66d19-6c93-4a4b-3643-08d5958d0d76 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:CY1PR12MB0698; X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;3:ldZVq+8inptYHLrpqGnMLSqdsHN4nA/PmzusA2EjKFhbEBogxM/TXe7ol42t9eU8bxluuez56iKP+P+SyPxwsD3kVuSxAyex0rryww+W7Md2BLWHps6vdfge+GLZwsi8vawwhYjeFQOUn4dLLl47CJ2NPxreKNjii+bPd1UZ/Rhuzs0gg+/4tiXAgMYyzjuFj0wV3cedeBqO+0g3Vnxuj1MLvM1YWkxhu1P+4mhUxFjNsmvcvBSyFE2k5BkqpX8x;25:RkkGdFifoC2/JZIyZj0h2xoskNG32FJ953nYX6zE4ibGY0LJT8qsRszTy8HOVALvEhVXR92a82ms4HPbxU1K0tXHMUM8cMXQ4dGmmLDkPRyRi5vVhkESIa6/A8r33S3wp5Y8NzsPj/ISJxTm1arWp0Nas7cqHjpq4MpYc0Ag8Ssy3PljsW+fiZvKt+htJ78PD1NKkaMOaLUaE5JyuKi7XEGS3bUG9Fxb4ILCxRR1WrAWQp/1rQNHzC3231uZcob/R3MBohZxVj6akYp+51qpVpnv9Jz601FbnqzxKs4xoG2A8WxFNQyHj7tpVtpYoOSmQkvTyKSqo4kQyTDbe75yNQ==;31:lT02/vho2OcLKK9GUM1vdrtEw8u4Gn42gJ3RGEjqCQhh9cx8M+7ltC8RFbLpKjr5SwCXR9EqDT9wT/FnziifH7deUxuZQ+d/mO5j+uFlx2x7BzOzg2S0OiJJVV/cLYOnh8Kv9gjTndLXOC7QvoNDEgA84taB8KJSLMF/tiJPuUz8UOyq4otVf6gTLcQVFO3Eszjknl99eaPDlnuheRg/RkpOtrFHILzEUJwymEn7GQc= X-MS-TrafficTypeDiagnostic: CY1PR12MB0698: X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;20:+5wOquym1IQyqJo6znxTXzD7FoxEYgiijF8EnVvzjuBkRGy+z+sl1Ums+plGL3+fF/VVV8jRFczW7Mt5I+ABd53f0N22b/SP/BbF/lEQJVDTSM8jdm8o3giMr9GZ2XbaAOq1SKPSSxmI9vLGbPbmcGPNMPp0IPSfJB3ii346qtaU6gas3JPLpm6dC5uLD5sDPYPKQ7I8Ue/9EFuaZdQFtv14xHvh1mYs+Y4pdtUrvDwmNEBaEV6m58WqQruJ19xRfTjPY1VxZa2YoHewBazPKthPnwsyy3ece/zfQQkPrhQodJ6IPU06ZtEGMvr91ZcAsymeR8SHBlKJpbRY384xw4jRgBPFik8qpbgnM7hVTGrqrCw1CH3nRTNbyoyCfd4ulqoF0MIb8hVZlOnfIQsR5zd8mn8gHQhpMbw8CXZ1qiHQxniTaqtnHiryHIRU6X/5NOAVIjqSkgxTVpxWF+fKPshv+zGIBsbYco9jDcv094NfXdd75nApGQrCTRrfddaf;4:xTNEV4YGAWGJB6+roHwoGY3ACFzVhU2XAPH9O1yeE6X2rpXlSmMDzbozu+nM0xmrMrNXXjo+X2zkVrzB8WgH5drPz6GEWRh/K+yLFuPknAnao0Fal6SGSRxOd7KTyFz+62r3dIt55bvbX0huZJnnRC+XivjGryoGLvMyIEdSI+1NjzgT3rSOSJVZbANl7C4z7NNmwO4/KXDb6YpTA+XlOHRvJDSb0o8Z4Iyo28HS7gTIlKE6268kx+eIkzGYR7NkypxyabRgXcmh1ZK52CXpj/ELs6Icc2xuOhkiX0E65/YAKi1R+SAuZ97P4vivb0d3 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231221)(944501327)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CY1PR12MB0698;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0698; X-Forefront-PRVS: 0626C21B10 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(346002)(39380400002)(39860400002)(366004)(396003)(376002)(199004)(189003)(26005)(97736004)(31686004)(64126003)(8936002)(81166006)(81156014)(16576012)(50466002)(316002)(86362001)(105586002)(68736007)(4326008)(386003)(59450400001)(25786009)(53546011)(93886005)(186003)(16526019)(66066001)(65806001)(65956001)(47776003)(36756003)(229853002)(6666003)(77096007)(8676002)(65826007)(6246003)(72206003)(54906003)(110136005)(52146003)(2486003)(23676004)(6116002)(76176011)(58126008)(230700001)(31696002)(5660300001)(53936002)(67846002)(3846002)(11346002)(2906002)(478600001)(6486002)(106356001)(486005)(956004)(7416002)(476003)(486005)(52116002)(2616005)(305945005)(446003)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0698;H:[10.236.109.62];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjEyTUIwNjk4OzIzOkh2d01jMnpBMUIzRWswNm1VYjZDNFZPYVNh?= =?utf-8?B?VzZVbVRHV2VmSU5pWGlZbHZMK3p2Z0hENFBDVEgzdU1pNDJBNW4zYlZGR1dj?= =?utf-8?B?ays3OG9YUkxDcEtoNEN0Y1hDaFdnYkRuMTVqRFFxelJ3RzVtMUlOamxzWGJj?= =?utf-8?B?SDVPVnRyTDRsazFOdXlHTUpEdm9DQzhQd1BpdXM1c2ZCUGxSTmYxby9VZUkv?= =?utf-8?B?cCtpWllWbjJBVHZCRVZtcDF1S3FHcmg4VkRaNjh6eVNOb1VxMXQ5Qmc3eG1l?= =?utf-8?B?WDRRcGMwNXhIVDFYMHNBN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QQfO0EzILnJL53ZjA=3D?= X-Microsoft-Antispam-Message-Info: d4QoYSIT/yAmI7or8gEFe7WULLsuWUg4umU5rvyQZubRM8bAlVb7ZuRqh7kbcWiMN2NrqWY4psA/Gj6plnLheq9oCrTbwxrfb/5is7v5EJlijMLrTr0wZt6/SQ7iNG/V21pGLD2HFjdq1K9q3wmSo9NjlQ0U+pzkGwOvR6x0RQtGSTge+xZ+6OWK4zgW0iMW X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;6:TghOQtg6JWWd/82F43bfpEELjhQWSSq97fmqoJRQjBNW/KAvZTtuRSNexhQG7DP0v6e0fNmoJrMhD8EQEv7BxWnKJqjWaViJjYf7lsdeptUyFXmRRrR/NkM4W1XL8WGM6h/DgV5tnqRbnp0wrwKen1+TtwmpYkgRBFAibChW92gOalG1qF0TIPPyJtOA3BvDouLUKwh12nNjOaGGfrHW7qbVojoptCUZ7JUJVrAzAFsyjYh+DNwbtfM3G6BhWi4swhQuvzE+PAauzBNxY5693fLFlmmHuMzyg4MpcF6VsI+rtX0UK69Q2f0cGWccyUvjWV+TRUtQ1XCyuhwo47In+WGfzlAJ2Yb7oElhvVThpHNWHFg80+sHnRkbcJOZ3T4maK1EubJozoS7OyP7IXof5g39EvV+fLYSPjoUl36Xb4y3jS7TwelvpkQHwF+PmNh3WSwfcPjP0iiSwCafxNBU1A==;5:7p/KtRhzAdOQHU8K7NnDNfXWT6iI1zD5gQurKChrKWuGVsbRn/hj/9hbj/VFTlyzc92r48717NIB97+knF759SPjncdpZdx0GljovtmqhCXo1AO+mOesGcdxYCo2EL3JhdxSpfBhR8GhoPVkKpWSbDhu6/cvZI4O6rsIk4wu+3g=;24:tVSQnbHSbs4Wh8m5aBmrsOBZiWYWE+EiyEMp3UoRT0nL4MyloNZWc+3yuDrfaa752h84KnpYBYruZi8WbBoUBrLtZG71CG+9xdNiBAkOE6g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;7:6E7Fqu7MZoRVaCDFM0FBxUtt6HlKTtNSUcsLCvrk1HE1S84PBvmi+ud8dBlc+SbTshhy/qu2P9ZuPOg+om/WRPesPUB4xZm1ANsGkPdJyXPVWHaqTNOKxVY1bQGkxcdBNw6mbGqJ5cpBCpyM/FkkjN+di/5ngknKJJlaqj7hyHPd//0Rw5uJx0VwqwZHFeoy0jWAH5JG5cSH/THLsvR0CXGMm8KjVAyPU8PwJ2hvMxkDyzaAvAOerPzb9dRerFau;20:AsK58li/hi1opN4UQH3fO70iAB/w8UNqQmHE6OEUcSt+bmJspAppbgHD+pWNar8m0a1lgGad6vtSianr0Nu5aH9bGAC6nEa3uFK0AxkmWYJCFieAISAqr52x5GxVc5TRi0dE7uvAHRaLC2aRKFILOo19zKRrzqXNKssn2EePSXfyYGfYOL4cFeQeAv8radIUPf6lPlSevukB1HoZwikB3g1vHt2KOksNjLmkiM3sFbUtuBvOwmxoBdfHp7Y+eylJ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2018 15:52:18.5008 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0f66d19-6c93-4a4b-3643-08d5958d0d76 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0698 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/29/2018 03:48 AM, Joerg Roedel wrote: > [ Adding Gary from AMD to Cc ] > > On Mon, Mar 19, 2018 at 09:37:14AM -0700, Jacob Pan wrote: >> On Thu, 15 Mar 2018 14:18:54 +0100 >> Joerg Roedel wrote: >> >>> On Thu, Feb 15, 2018 at 08:38:11AM -0800, Jacob Pan wrote: >>>> Just wondering if your concern is on the implementation or the >>>> debugfs idea in general. Perhaps have some common IOMMU debugfs? >>> >>> My concern mainly is that we add interfaces which reveal >>> potentially security relevant information >> I don;t think security is any worse than existing kernel page table in >> debugfs. i.e. /sys/kernel/debug/page_tables >> This is a debug feature. > > Okay, so here is the way to go: Please introduce a basic debugfs > facility to the core iommu code. It should basically only create a > 'iommu/' directory in debugfs where drivers can create their own > sub-directories. This must be enabled by a new kconfig option > (CONFIG_IOMMU_DEBUGFS) and the kernel should print a big fat warning at > boot when it is enabled. This hopefully prevents anyone from enabling it > for production kernels. I'm halfway through this. Where would you like to place the invocation of the initialization function? There's an iommu_init() in iommu.c, But it's a core_initcall, which doesn't seem like a good spot. Not knowing enough about bring-up here, Would adding another __init function be suitable? Gary