Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5691881imm; Tue, 12 Jun 2018 11:41:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJCxn8AnFehQSYS6mzOnH7keEOVaT/EYbI+kA/8Ho65QbMhvNwzLZkUayoP06Cl9jsWJ/2B X-Received: by 2002:a63:7419:: with SMTP id p25-v6mr1382099pgc.24.1528828869485; Tue, 12 Jun 2018 11:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528828869; cv=none; d=google.com; s=arc-20160816; b=xSrgPozdsRJFk9lAcyDMfgBFfdqXdLUa7CgQ4lf1PvrX2jMOdS02hzc+DNSd0C2CZz 5VO0MMg+cTmMwnuyXayN/+ollii8vENjWtuYKp4VaDfumljWSf+360b4LFtk/fcqxEZH Gc3lcOAQWWvboVHmHAQLJuvp0eaHAnaonNPPew/v9ImSZBdmaO6T9iwh80C+k1kxULM+ ZUO9g4Oi0rqzQGbjurfNqjSK73nW30zg0ZcBzKVL08k9tC/X2+zWua1YQ+otVr1jQO8T qWdNk+/G1eazfOSCWedLoWZchOi7BKWvX4T2OhRAnGIyqdHnfnyXM3ujIZ7Iz1Zd2QGz wzlg== 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=bJdDykz18apcOTZHNji6W63cnpAuw3O7Mm7S0wTEoBc=; b=Pq1p3ruMleCLJ5ASW0rjGHT9W8nWl2HiltvBmkZtsStp7yZRTORuSkT0lj/Or+Liy3 1k3aE9xPyYCfjX5y/iIIm15FfFe2V0tSHGMNKbf3WXhZq6W8H8RT/4RPrt+Vx2Avo4SP uteE1Tnm6f6rqxv1KA+Dpkg6muQ42BjXMtLKEiQvV5a56c/bZcKletz13afATXZeRIlo PFU8ERC0ND5gsBphCBU9PxejKeydAi5L31N3yLmpL7IM86pWRfqtzejuhrTouuIb5TM9 K4kR9RhULTAJ8sxmAilgvwlivCYpqJ7/aFn5v8Mk1ftrWMH8h6JV0hzqDoD0nklcExfp ZB9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b="fQ5mp/05"; 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 n4-v6si644591plp.128.2018.06.12.11.40.54; Tue, 12 Jun 2018 11:41:09 -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="fQ5mp/05"; 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 S1754259AbeFLSkX (ORCPT + 99 others); Tue, 12 Jun 2018 14:40:23 -0400 Received: from mail-cys01nam02on0071.outbound.protection.outlook.com ([104.47.37.71]:51328 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752696AbeFLSkV (ORCPT ); Tue, 12 Jun 2018 14:40: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:X-MS-Exchange-SenderADCheck; bh=bJdDykz18apcOTZHNji6W63cnpAuw3O7Mm7S0wTEoBc=; b=fQ5mp/05D2gXX8woF3oXkI0VI8trVgOp3DtNNylAJFs03BdPGhB++iYGUr+viKMR48T5FtVj1txd0bFT4CgmlQuRy3/YKMJA7ERSfcnSSdhLvTt6QslDJB3sjdSlSw/HSIiYhVzrRycXo7yqI7Bihy+NpAe7jf7dfuOQmnDHdLk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.109.62] (165.204.78.1) by DM5PR12MB1451.namprd12.prod.outlook.com (2603:10b6:4:d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.16; Tue, 12 Jun 2018 18:40:18 +0000 Subject: Re: [PATCH v8 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU To: Randy Dunlap , Greg KH Cc: iommu@lists.linux-foundation.org, joro@8bytes.org, linux-kernel@vger.kernel.org References: <152761784341.2654.8609366076331539902.stgit@sosgrh1.amd.com> <152761820371.2654.4551405686504157036.stgit@sosgrh1.amd.com> <20180529183917.GA10618@kroah.com> <9713a0b2-1450-7783-712f-ba27f8a09b2b@infradead.org> From: Gary R Hook Message-ID: Date: Tue, 12 Jun 2018 13:40:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <9713a0b2-1450-7783-712f-ba27f8a09b2b@infradead.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: SN4PR0501CA0012.namprd05.prod.outlook.com (2603:10b6:803:40::25) To DM5PR12MB1451.namprd12.prod.outlook.com (2603:10b6:4:d::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1451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yssJbPlX7rLLRFb7iepLScYJSSSzCcf0L5DKTA3blEb27am1eDsa1NL9QWXWUBE1CeFsQcmZb4ov6HDSZJJvBKGx8kvTdRMOntguHA3PCyF1xEhjKHiY3XkovqJCShao9BZWDynVhv9eU1dsZ6aSdH8FX1uf4JAAam3duUzLF232CduMrN6XN5/60YzKsL3riYC0PNavXbR1uKcN1N9Dmm2qyljcq8Eg/2YxQLNU2zDNA1yuE/jMPem6TJI/kkVNlJDiRAz2ZoK/11MP0YemdY5H80rBjsCWl7IvxmEYu5cBT3F2fX8BvTAShnGEHDBdPqZ2+hwaeqIgCaZVzByU9SoE8MQ/m++SioSZN7ArrXVBmlbd6JSV2kroRf1bKUHnb;4:bLvamzogW3L8D/JnlGVmsfyzqSY4dx5s2M0A+tNUPhnTXkHEKBPHVXwe9rnFNigbHhnBY0Q+STCdLgU/DFMTW/lcUs59WfCDakqM/Cxubkl9j2PY3ZEDPKwD+KQ0DOR5kjZ2HkcqVwTUhnB58mEo3WsbAyrF8IQ5NHKycDX8aWrxGftwiZhp3OROFTums//XYp2etW5+8OMAEX+rkT7ntDZIu2UjWk6RNhDvEU+UWlTZR0tJM8TD4w4AwDZ/HIPSOycxdL0n2E0Qk2cKkLqo8qhnWaV16xYs7JV7yHYqD2meyId1LPf/9VV8vN6PfWnI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:DM5PR12MB1451;BCL:0;PCL:0;RULEID:;SRVR:DM5PR12MB1451; X-Forefront-PRVS: 07013D7479 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39380400002)(346002)(396003)(366004)(39860400002)(376002)(199004)(189003)(72206003)(446003)(68736007)(81156014)(64126003)(81166006)(11346002)(478600001)(77096007)(26005)(50466002)(110136005)(58126008)(67846002)(486006)(52116002)(2486003)(6486002)(52146003)(8936002)(23676004)(53936002)(16526019)(8676002)(36756003)(25786009)(2616005)(956004)(476003)(230700001)(31686004)(6246003)(53546011)(4326008)(386003)(186003)(229853002)(97736004)(76176011)(16576012)(105586002)(93886005)(106356001)(316002)(86362001)(47776003)(65956001)(65806001)(66066001)(31696002)(6116002)(65826007)(3846002)(5660300001)(6666003)(2906002)(7736002)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1451;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?MTtETTVQUjEyTUIxNDUxOzIzOmpUWkFKWjJseXc4WEZ0VUE2cThKazYzdFli?= =?utf-8?B?NTZsYWJuMjI2dWgvY0F1YmYya3dnd2NhT01MWllmQXI3QnhhdTlPcE5CMUZZ?= =?utf-8?B?NXcrUUpOZmJQOGZFOTBYQmVvaE5NYXRTMDJWT3J2V0pMby96N3J6bGxzZnV4?= =?utf-8?B?anFHSkxsc0tMczN2TThEUjhkdi9aY0tQQTh5YVhVMVVYWU5Fb0RXTW5Vd2tB?= =?utf-8?B?R1lmNTZXV1NuUm5pU213NnFZcXlIVWRjOU5TNG5PM2htZjhGakdRd20zRGZ3?= =?utf-8?B?ZFlOZyt2OTBRN0lKd0NXVnhqSXVwVzloOXBHbEpvSTU3ZW5nSmpKUWUwc1JY?= =?utf-8?B?L3hhTmNzZS9ESWx4OUcrTnJRbmRQMk1UODYzMEI2ZjBGSlVDdnIvcUt0YVhO?= =?utf-8?B?bGZ1RzlObjZCdCt3YU9qU0VrY2ZzejcyS0M0R1hSdHgvak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mk7BHz1CKy8JGrGJZ336hiPJOmwA442Ye94PVlDYJJx2D3jWMivyskVinvDSldZSxS9sQ31/GnN6t+dl2F7i+HsDJUe/yD+B4LFK7iMdv5Y3q+xp9Ayd7bCnfHi3Q7RHwddvmKnk/AVnvLujHjKDqt2AdUaQpZ5I61Xm1+JuNa+F4gafhw51hboCA1ocHvMpHMYiptecLdZPYq8QKzFW5erA45NUAdjVjonRoXc6Hp3nPoL38VWZhqcarw X-MS-Office365-Filtering-Correlation-Id: 109ca7d0-da0c-4f58-55d8-08d5d093f232 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2018 18:40:18.1575 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 109ca7d0-da0c-4f58-55d8-08d5d093f232 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1451 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/04/2018 08:23 PM, Randy Dunlap wrote: > On 05/29/2018 11:39 AM, Greg KH wrote: >> On Tue, May 29, 2018 at 01:23:23PM -0500, Gary R Hook wrote: >>> Implement a skeleton framework for debugfs support in the >>> AMD IOMMU. Add a hidden boolean to Kconfig that is defined >>> for the AMD IOMMU when general IOMMY DebugFS support is >>> enabled. >>> >>> Signed-off-by: Gary R Hook >>> --- >>> drivers/iommu/Kconfig | 4 ++++ >>> drivers/iommu/Makefile | 1 + >>> drivers/iommu/amd_iommu_debugfs.c | 39 +++++++++++++++++++++++++++++++++++++ >>> drivers/iommu/amd_iommu_init.c | 6 ++++-- >>> drivers/iommu/amd_iommu_proto.h | 6 ++++++ >>> drivers/iommu/amd_iommu_types.h | 5 +++++ >>> 6 files changed, 59 insertions(+), 2 deletions(-) >>> create mode 100644 drivers/iommu/amd_iommu_debugfs.c >>> >>> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig >>> index f9af25ac409f..ec223f6f4ad4 100644 >>> --- a/drivers/iommu/Kconfig >>> +++ b/drivers/iommu/Kconfig >>> @@ -137,6 +137,10 @@ config AMD_IOMMU >>> your BIOS for an option to enable it or if you have an IVRS ACPI >>> table. >>> >>> +config AMD_IOMMU_DEBUGFS >>> + def_bool y >> >> Why default y? Can you not boot a box without this? If not, it should >> not be Y. >> >>> + depends on AMD_IOMMU && IOMMU_DEBUGFS >>> + >>> config AMD_IOMMU_V2 >>> tristate "AMD IOMMU Version 2 driver" >>> depends on AMD_IOMMU > > Gary, > > By far, most driver-debugfs additions are optional and include a user Kconfig prompt > so that user's can choose whether to enable it or not. > > I suggest that the way forward is to fix Greg's debugfs_() api comments > and to add a prompt string to AMD_IOMMU_DEBUGFS. Roger. I think we have that all worked out. Will send another version soon. Thanks.