Received: by 10.213.65.68 with SMTP id h4csp114560imn; Mon, 26 Mar 2018 16:36:24 -0700 (PDT) X-Google-Smtp-Source: AG47ELsU10VSgnkXaCYihJnYChqickk5dH0B2ULipZy55NJGvHI2Lb0RXMxOFbvxAuW1jo6F7i2Q X-Received: by 10.99.140.87 with SMTP id q23mr29770612pgn.258.1522107384304; Mon, 26 Mar 2018 16:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522107384; cv=none; d=google.com; s=arc-20160816; b=ZAx8tAHAnweRuH8brVb/B7NOX9UdWbYDI5asIT0O6H0KH9mxjJA1YETyDPVl56zIt4 N3vN21Twe1ID5n0+9O+phjadPMglFlBaSMlM5NuLQbRA8fXwn3NdHOHM+d8DLXdowi2V MxCyQr4J8ZrBPXSgoNNfzQE0+nZX8/hcbuKeAgJvK01YA4q9Zay/El2SVSDKa2EHdQFJ Ze6AHNmx4ayYCq1OLFMZqn9b2UaM8tUzJH9utP5NT5gIedwOecd7+FdaXF+RPjXQPOMN PLcYXGKkwJzm9K6h0t2wkLAWMyW1vzaZohhkCwrglAT3lCQJ73GiDp8HdXes8IjRT/QT 2o1g== 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=Pu+2YGZqbc119AFIIOsmO4m9XOJAqVHwsTRAsRfrsyk=; b=TFMIzQMzwN+SQyIkx1ZRXcSb6SoRQXO8f3YHMkFLJGrdnwpySlDKcg55nopzr6tGBl pq9eleezD2XGb6cbNFmLMIDJ65zoGJpIgO3OXTYapu5WrE2e4qbpy7w0f5HxxBgDu5EH trqmqOIpouvPNShltRLcVQNeBsatIRHdJJDBRzLieEMTBk5FOBBq7GpiXWjDSapodRC7 ImrFtZr6IzGo3G4SPCQSVEMP3FxQ48CAOc9wtM2G4pV/eCAnm6gqPrheiauYsV3c3l9B 4DGDrgrQ4MR7nMEZZ+lyXk8RBUgQVwzoJvYA+VEhRcyYIzegZmNJFA2986ylAwMdYyl6 BIxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=QVomdCJu; 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 q2si10563773pgc.401.2018.03.26.16.36.08; Mon, 26 Mar 2018 16:36:24 -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=QVomdCJu; 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 S1752004AbeCZXdw (ORCPT + 99 others); Mon, 26 Mar 2018 19:33:52 -0400 Received: from mail-co1nam03on0079.outbound.protection.outlook.com ([104.47.40.79]:34449 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751115AbeCZXdu (ORCPT ); Mon, 26 Mar 2018 19:33:50 -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=Pu+2YGZqbc119AFIIOsmO4m9XOJAqVHwsTRAsRfrsyk=; b=QVomdCJujpce4VYey2es/IG2fCYNvGXrlsYgzuSbAz8veEhOaH8+aWWRAS/jATDggNp5CCSnhcyrsxwCcuoVkPaLJPvfTHgVb2SGfCpkwXRS/fwqzPPqSBqd14uDek/hMO8bMtkjPKJnODG0MPuBFxkF8mxd1B9VEH/0cmXX91o= 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.609.10; Mon, 26 Mar 2018 23:33:46 +0000 Subject: Re: [PATCH v3 0/5] Add debugfs info for the AMD IOMMU To: Joerg Roedel , Gary R Hook Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <152106836233.67212.15861879210675477690.stgit@sosxen2.amd.com> <20180315135838.GB5259@8bytes.org> From: Gary R Hook Message-ID: <29b998bf-c942-39e3-0e78-f1505492ac4b@amd.com> Date: Mon, 26 Mar 2018 18:33:41 -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: <20180315135838.GB5259@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: MWHPR1701CA0007.namprd17.prod.outlook.com (2603:10b6:301:14::17) 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: 3ce765c2-6799-4b71-0d2d-08d5937205a7 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:xPZGhJ7PN5biGgi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GIEvxeVJeqbOasn/dK6tIymrg8AhPR1osjtmOMuLMFAP/aeBHGHlbBMMoHJ7Nvl1Gz5uUhIs9FHFxc6ps2GBSZAGBM0USbsvj6ian4+Q1PjSuTsGX0Pl8XR9/bMZNzS3GxIVRLblxSpY7I08xXK9c9nlW+57SqmSSjKMMgo4rMbp+Kb/KAlT2xXLU7atRjT8EXvRMSe0oBYaSIyQWWkoBVz4UkvqImIHGundNXqX50xHQw6Clu4akMBjAM8wUPrhHCKiqOSLUKzvk4TCk0HmTqOnqydk7R14GaglXnwI+2FBRf43ghdkpIjktxsk+JpEmmxSRYJZfUlr4XrlGA+Hjy3cnM4ekHioy0HPCQ;4:zFilhHEHkyCaLy4WnbEogIugINJsgiLnata/4Sx/O6Tz0VDWcBGUtZWFSsD7tY3Jr4T1sA7PmNhlbMnRZdf7WdjidtvGubOXRT2OSfqWDANC4Bd2Xe7HX/au5DEULMfk16VVJJRNqR9CPF2aj6fLe43A3AxdZrfCQ9kiJWkk/ltEb4CbbI8EBth08pW3eo5efogYUK8a2MYuHFZPYJbZAmB4SuX5gHdkNxz5m/oKKlBCpJixieEo2uhb62IKSbukIZBMXJqnrPiNgpqzdDmAYP70JVoQG9wsm5c31p4mz28ckVZQq6N1s5sRStjfQs0d 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)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:CY1PR12MB0698;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0698; X-Forefront-PRVS: 06237E4555 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(396003)(39860400002)(346002)(39380400002)(376002)(366004)(199004)(189003)(229853002)(8676002)(8936002)(97736004)(106356001)(64126003)(16576012)(316002)(50466002)(81166006)(31696002)(486005)(486005)(58126008)(3846002)(110136005)(6116002)(2906002)(81156014)(31686004)(105586002)(47776003)(11346002)(25786009)(67846002)(2616005)(52146003)(446003)(23676004)(2486003)(68736007)(956004)(478600001)(52116002)(4326008)(76176011)(77096007)(72206003)(36756003)(6246003)(386003)(65956001)(66066001)(65806001)(53546011)(65826007)(59450400001)(6666003)(6636002)(186003)(7736002)(305945005)(53936002)(16526019)(5660300001)(230700001)(6486002)(26005)(476003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0698;H:[10.236.109.62];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjEyTUIwNjk4OzIzOkwzWXNhekRXRUgvRlAzazZHbFdKdmVkVzJx?= =?utf-8?B?bnkyY0I3Vi9vUHJzT2gxVUo1QjBhZXhGcDVIM1NnY3RITmhtWUNNbzNEazZJ?= =?utf-8?B?MnlBNCtFeU1RWVlFWmFxcHhXRk5WQmpkOHdRRUwwT2dhN1dPZWpjY2ZBa0JQ?= =?utf-8?B?T21BVDNnOHBvM3JNNndSNVdEZlBnVzRsYmJzdmtLQTNTUStibk84V01qbWZ6?= =?utf-8?B?K0JJcis5Q29yUjNUdTVDeHhuV2ZReUhia0ZYZUJ4aXIxSTV6YUxlUDdZRGpT?= =?utf-8?B?RXJvcFFhOWFyWWRyMm5pR0NpT0gveDdBSCsxdVp5NGJoOWNKRGcyVmVrTExP?= =?utf-8?B?bTQ4Q0xhQm9JMEFmVlFuaGZXQVNTQ1Q1RVVyaVRHVHUybGpHYWdIVHlRS0Vh?= =?utf-8?B?YUJEdUtOWXRuM2RWNkVGd3p1aTNIS21IMGl5Y2NIK0NJN1NGK3JuczlqVk1k?= =?utf-8?B?T0lQSnpFckRXOGNpbV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WGNEhzTtjcNJguGhjM88gdpZ1o/8CFB3ODyhIMcWZI7YDH+ekPojDbkr/y4Uwqbwiybz+ty3NAK2KcEIQWM2+ru0RD1JufeJjmrFZvN1jWTx8xTCxqCg49uBePbreoguimAqQ64pPGohwXjOdKStrtHBc6FZZzf/fdTzsehydw7YnaWZtnYg/iW9mERdEJoYCLslyJb/YiSz78LMnz+6BKgajvoZx9fYOtNCaqCcijAPPKjfJpKzT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2018 23:33:46.7869 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ce765c2-6799-4b71-0d2d-08d5937205a7 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/15/2018 08:58 AM, Joerg Roedel wrote: > On Wed, Mar 14, 2018 at 06:04:44PM -0500, Gary R Hook wrote: >> Gary R Hook (5): >> iommu/amd - Add debugfs support >> iommu/amd - Add a 'verbose' switch for IOMMU debugfs >> iommu/amd - Add a README variable for the IOMMU debugfs >> iommu/amd - Expose the active IOMMU device table entries >> iommu/amd - Add a debugfs entry to specify a IOMMU device table entry > > Same problem here as with the Intel patches, I don't think it's a good > idea to reveal internal iommu data structures to user-space in this way. I'm afraid I'm not following the line of thought here. AFAIK, if we restrict access of any debugfs info to root, then only root can see any of that information. If root is compromised, the whole system is compromised. Which seems to me to make all of debugfs suspect from a security perspective. Therefore, I'm likely not understanding the security concerns as they relate specifically to the IOMMU. As for stability, you mention on the Intel IOMMU thread issues surrounding kABI, which I appreciate. But I'm exposing well-documented device structures in my patches, not kernel structures. There's nothing there that is going to change underneath me without my knowledge, if ever (I vote for never). And I'm likely ignorant about policy nuances surrounding the kernel ABI. > I've debugged iommu issues for around 10 years now and never had the > need for an interface that reveals those internals. How exactly are you > planning to use this information? Well, I've already had to dig into the DTEs and page tables for a couple of reasons (both debug and development), and it made life easier (for me) to make the live data available this way. Then I thought that others might be interested as well. Admittedly, I could be wrong. Finally, I'm no guru, and likely am unaware of other techniques in which I should develop skills. I'm always open to input.