Received: by 10.192.165.148 with SMTP id m20csp5319325imm; Tue, 1 May 2018 12:53:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoXfwyyLh7pipuPeXuaABD4r9ipIRzz8LrsJT5Oy6Ng8Y+Z7PV4nYZkHOHUIrduGZ4Mi/CD X-Received: by 2002:a63:5f0d:: with SMTP id t13-v6mr14151656pgb.145.1525204408862; Tue, 01 May 2018 12:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525204408; cv=none; d=google.com; s=arc-20160816; b=zMSfSZykRCdIbVhrh6UsqcV4VbHVAHui1f69obE8ksCLWjISKjQ7N/7aiNnyOQ20ru Z+zS7S0mBbojSJe8CfVdiKrb3j4Pd4AMH8hAciO1GKMX888U8PsQFv8wu8DPNYncskz5 foaiQetwYuDV4jA6LGKq3ZUHBfCbgeigebCNOJrSbgL+381+hrp51sAyMPTX6jtnBzWb anYDbsxrbjM9xg5pEHt0vuf6RFaz9G1ceUzlKEY8NUluRLXaM12r57CvjSZVEQTC3I+d q9SBH5vtYj36J6OY47bX5i5AQjmgGeIWDjIkaWFcpHO2rHOWHOETR3McYt0K4xrWn79V Z+GA== 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:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=c0IzQ7o5kTWrsNo94UNj87nUTbUeDqNcFoTLC288sJE=; b=Gz/hb9iOjfju93qX7mPL8Sus893C1GcazW6cXZWxopAcOZoQwXUqLF8Rpxe7AQ4ECW a9VsY/WySEK0MrM1ibjTib1o2iZBnFXA0Lf5ewLGbB6fqanQHeEC1IQCqvxqLNQSSxy0 FEixmOWUfPh6HMvYzAwy4WYhDKzALTdogiQ6iTanW+Sp2pzRChn8BeaiZ9u7bvTSZtwN Zj6fU6RVJ1bMmt8frAZfmS9xSmszBpX0Ba6vdwG/wumNXoYIX3kYGEzJQ4381o7B9729 HN2dLDp96SdOg0rvnLqHYw0cwK3oF+IiroT6BC66w/cBYIDYdBa4EBt8EOQWV+JDI/2Y SLrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=D9h+XS0/; 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 s130-v6si8414895pgc.672.2018.05.01.12.53.13; Tue, 01 May 2018 12:53:28 -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=D9h+XS0/; 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 S1751261AbeEATww (ORCPT + 99 others); Tue, 1 May 2018 15:52:52 -0400 Received: from mail-bl2nam02on0049.outbound.protection.outlook.com ([104.47.38.49]:42925 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750766AbeEATwu (ORCPT ); Tue, 1 May 2018 15:52: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=c0IzQ7o5kTWrsNo94UNj87nUTbUeDqNcFoTLC288sJE=; b=D9h+XS0/CfUxHBjUraFdWJnuNA7E6nrGm0gsPQiT3Ug6PDQT1aBsGAqvG0b3MPcePKKOOA45YolOavIHgmmvwQFCB8o8JZDyKBHDCwxEdsPA384Rw0fP4rRmBfBb+oMulfFd4OWDwQTArWXtj3Ws98Rf8XnlaitxTrF7Fip2BhA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [127.0.1.1] (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.715.18; Tue, 1 May 2018 19:52:46 +0000 Subject: [PATCH 0/2] Tweak AMD IOMMU logging From: Gary R Hook To: iommu@lists.linux-foundation.org Cc: joro@8bytes.org, linux-kernel@vger.kernel.org Date: Tue, 01 May 2018 14:52:43 -0500 Message-ID: <152520429853.30928.9793486018349326103.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: SN4PR0501CA0056.namprd05.prod.outlook.com (2603:10b6:803:41::33) To CY1PR12MB0698.namprd12.prod.outlook.com (2a01:111:e400:c43b::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020);SRVR:CY1PR12MB0698; X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;3:TUaPvjnEjC248g9ku4QWBqRU7q793fGdEIMmZN2HNlpjqMZ1ZY3arIJNOYdyoo4+OZx9wb+X5AWEgQaFh+kLdcsllz/q7QxWufU3nYiDusjFRexj8btkE7dSz/bx6SnI+5lmuUb71lP0ZBSeT1pm8mJjwIvRLPRdyi7AxqZDKb1apHM2YHyaBVK/p1dYA+ioYvXaDX0hTvltViCUkwruNzfIFQRDvFhYYkNmVmZyUCOEEqUBw95gTyVjI762Q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fy2lgt9do33DM2R6Rq0mFwWo+G6RPUotGJgiUS3rmoLwCRK3Q8MNWSjwH83toOa24DULT2zDtXpdb4R4hkO7jzrgqdli0bBxcDBW;4:DtQVFC2dO3uuEPbbN7ywsBKTEqPJYqs80igTjWLZRVDKRIinJFwWACkYF5bUk74LXCC2xA02UHrEdpWG0UhTKj1/UtdPr5IGmu3+eS9E6IR3rOTM0AApn6Iha1D6Y2Gi6k7eWPUIr4jQSEh7mjX9RSRBTFPg9xSc/X2Sp2oiqpesZHP97fF7NBi+Se4Q5ad81/7mVEC4aBgBg466ALjKv4jhJOx3GJH4euP1ZHXYl011jHaRU1IlX4YyPia5G2GXWyWZDBqLAp/rwu8uaBPfWQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CY1PR12MB0698;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0698; X-Forefront-PRVS: 06592CCE58 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(7916004)(366004)(39860400002)(39380400002)(346002)(396003)(376002)(199004)(189003)(86362001)(316002)(2351001)(305945005)(4326008)(16526019)(77096007)(25786009)(58126008)(16576012)(3846002)(478600001)(5660300001)(26005)(186003)(68736007)(2906002)(230700001)(6116002)(52116002)(97736004)(53936002)(6916009)(2486003)(50466002)(59450400001)(81166006)(103116003)(81156014)(47776003)(8676002)(9686003)(72206003)(6666003)(105586002)(6486002)(33716001)(956004)(33896004)(486006)(66066001)(476003)(23676004)(106356001)(2361001)(8936002)(7736002)(386003)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0698;H:[127.0.1.1];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?MTtDWTFQUjEyTUIwNjk4OzIzOi9CZWN2d3lCbk9uWjAwUVkrSDZhQzJpNlo1?= =?utf-8?B?QTFWMFRVQzBEc2NlLzBtM0Y1RVdrRGtWd0FpN1Rqb2FHcndwTndYS215dzhJ?= =?utf-8?B?NUhYQ21HRXpUWDFKdCt2UVA2b2NkR25xVFUzSFcxQWtlWEdwVkxVTkNOQXds?= =?utf-8?B?RVl0OURkVkZYdSsrU2lnNFFiU3dCaXF0Vk1uRGVsdWRmazhXMWVvU1hBSzJN?= =?utf-8?B?bmNUM1lxRk1JbGc3UDBuTEl2MUtZZzgxbHBYQk1sSXhFZGJyVnhxTWdyU2gr?= =?utf-8?B?NFlRRUdhb25ZLytNVm5OakxuOERWcTE0UXhLMTdHS2QzZ04yRjhNRFIzckk2?= =?utf-8?B?K2JIMTR6dDByVVBVdFdOMmV3dzFhc0wzUTFneTZ2OFZ3bGgxWGhYVUR2VHBx?= =?utf-8?B?Z1U5Z2gydU02MEZlVFpZdGhNVnVScmEzbjViSzJwTlpoalRoWnRDRzZOcmw2?= =?utf-8?B?bEF1SWs4SjQ2eHFpWjRoOG5tL1hvdHdjOE9semw5aE56akhtUEhBcE5mV3F6?= =?utf-8?B?VWxCNFZSdE9Sb2JwSzBNcFkxbWpqc1ZrYXFJY3lDWGtWelFUdU5Vb1lBU3Yx?= =?utf-8?B?TjZpdjBxWjZJc0ppb3VRVko4VFgxNjZ4K3I4bEFHY2FQNmxESDdyWE1laUZB?= =?utf-8?B?UENLblFVWEE2bVg3R1I0U1FoSWZSNjVDaEU5alpBSUJaVnNBaExFbHlLNWNj?= =?utf-8?B?Z3VhT3BocmI1SUs1eVB3ODZ5ZTIxaVpxVGlVT08yS0VzOUg1eDZkZXRvOE9k?= =?utf-8?B?OSsvb2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pUIuaJCNoosHdImuKSrcCkPBce7YG3OcRnletTFMoWIut5gA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0698;7:R8M6WUBNsgsOlEtsP1zU/hJxBujayfCQzDDnkhNKnjSQG3Q1EeYuxzbAdHzvzcPlLe02zNTiR6/mUCAInsKV9cbgiWI0sc+10BoUez0pBp/8URyEYqHTwoKcxtlTJ3sQQYxzuKVwrcZlIkkmZ1rbioGhPJH7RnXcSV0AX3VHnS4E/fGrCxVpQgInK5OYs4n9mB73q1M3iF3WHQCyH5aQL00uStGbba2uSVsn5TBgTozt2C/xHG6xXfG6+AmEBNHM;20:P7Vo9ekGnV29wSYLf3FAhIdYU/FMNWkHOZ+of+6Ew/NLtjR2dy/33oftj5FM9bEjcfQbunmU5o+1xr6mKX7YGkoci6x6X4GnFTgKQpO3E3Ch4d9aAbadztjy7LXWJ0xTxW2vnEVP9jaQVNMdXcMcYpPaXmYRLmRoj8kEIH1NcjWSSZabVOsz3Yb43F2qZERcsmd9SeAaG498ZUCXC46Ihu23ISO07Auc+rvyWY1d54RmiRzefnz2OcrqF6ryFBve X-MS-Office365-Filtering-Correlation-Id: 0ca10328-5ff3-447a-ff06-08d5af9d1c99 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2018 19:52:46.4248 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0ca10328-5ff3-447a-ff06-08d5af9d1c99 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 Update the AMD IOMMU log messages to be more precise, and add a log message for a new event type. --- Gary R Hook (2): iommu/amd - Update the PASID information printed to the system log iommu/amd - Update logging information for new event type drivers/iommu/amd_iommu.c | 39 +++++++++++++++++++++------------------ drivers/iommu/amd_iommu_types.h | 1 + 2 files changed, 22 insertions(+), 18 deletions(-) --