Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2896759ybd; Mon, 24 Jun 2019 14:56:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfKOTe2YVW4s8jDxZBPE9VnEC1+W/IRi2IcN6cKrqhUbl/S/FljzLbpeg411oVTNhsxt4M X-Received: by 2002:a63:4f46:: with SMTP id p6mr3564259pgl.268.1561413418303; Mon, 24 Jun 2019 14:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413418; cv=none; d=google.com; s=arc-20160816; b=Wc6/+EYTIedG/QCcH955hNxfeYgDNCSXE/c4JfLXZ9Q6+/I/3sFbc68Jm1Mti6fUzd nO1jh1IUZx8Qp9gNLioM4Ccoo0E/+P9LhyBSr+ZvnUkWLIj++DWd56kMJir9GKQgizhN TlJEJ49+1qeI9a0r+0e8uWQRhrWXaIDxH0D1WEHIimlxEPbR41bEu6Nyrzda/yRhuUF0 gmQHQw+/ccEM/0QvQU5VybwNa/0mwPO35566Et1yU26S93HMf/jxXLHCCIL7iFVypGtU Wf/OxgHYn7XJX6XMSG4GyGNwHlMqKCCqwwRMQzwRW2B9N2KI7V7IfKXS+Y7LTwVALYgt ycdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=EnuV2vSdaLTFayGZ51p7Bh9Eh07YERVYXzq4dP7z16A=; b=xV1eaPb4GA0eBeAil8ng0GlEPn1cawWpJAEGD1MTiONeMxTyL/AFd4VcHhA32iokq5 Stc+GtQhagXgl6Phszf0AYEmDL8lVdIhwbWEzHGm+pdrewil+IxLwl+R7Gd8NdGD3eGm pmYyN3qsIWAdu90mREg9pfRCKAV/Lh3WT9187VqOrxA+cMdnSon4ZDiGba44TbmCisku O10Sk9WV7YSzGc+DlfuECKrqgdtZXaC+GxlucgBE1tJW5yb00KHC/bbvakv6/oUTFKMf a+OSlrAURad3PXFN8nd8IenozY6/neG5V1K7iVec3ZUW4B/lxr9GvouAQFn3piawyhJS pCnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=NgJh0y2Q; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 d24si11258875pgk.186.2019.06.24.14.56.45; Mon, 24 Jun 2019 14:56:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-amdcloud-onmicrosoft-com header.b=NgJh0y2Q; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729180AbfFXTar (ORCPT + 99 others); Mon, 24 Jun 2019 15:30:47 -0400 Received: from mail-eopbgr810058.outbound.protection.outlook.com ([40.107.81.58]:14990 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727947AbfFXTaq (ORCPT ); Mon, 24 Jun 2019 15:30:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EnuV2vSdaLTFayGZ51p7Bh9Eh07YERVYXzq4dP7z16A=; b=NgJh0y2Qz14Soehh4EEHBt9vXWFEJa0E7NVaQI/F/Y9sarnhfyC//52UZbimmYIsTkV7rr64a58AGd+uAVINmwT4twU4J8uaW+UZZSKi+QxNl/TYYEppc2RZnMvI/tqabpXqbfyHF39km3rU5JuSKOqRfc0QKvxagl3+oLG95cQ= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB2358.namprd12.prod.outlook.com (52.132.141.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Mon, 24 Jun 2019 19:29:32 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::180c:ff0c:37e6:a482]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::180c:ff0c:37e6:a482%10]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 19:29:32 +0000 From: "Hook, Gary" To: "linux-crypto@vger.kernel.org" CC: "Lendacky, Thomas" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" Subject: [PATCH 09/11] crypto: ccp - expose pcibus module parameter in debugfs Thread-Topic: [PATCH 09/11] crypto: ccp - expose pcibus module parameter in debugfs Thread-Index: AQHVKsMmqgCCjBTLREqK0KzRDmMnqA== Date: Mon, 24 Jun 2019 19:29:32 +0000 Message-ID: <156140457094.116890.3963045455964868732.stgit@sosrh3.amd.com> References: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> In-Reply-To: <156140365456.116890.15736288493305066708.stgit@sosrh3.amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0701CA0046.namprd07.prod.outlook.com (2603:10b6:803:2d::33) To DM5PR12MB1449.namprd12.prod.outlook.com (2603:10b6:4:10::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5679583c-5ec0-40a5-9801-08d6f8da48ba x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB2358; x-ms-traffictypediagnostic: DM5PR12MB2358: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:261; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(396003)(136003)(39860400002)(366004)(199004)(189003)(7736002)(5660300002)(26005)(2906002)(68736007)(8936002)(305945005)(186003)(386003)(66476007)(76176011)(8676002)(6506007)(64756008)(102836004)(81156014)(53936002)(52116002)(4326008)(66556008)(6486002)(66446008)(66946007)(73956011)(316002)(5640700003)(6916009)(25786009)(6436002)(81166006)(2501003)(6512007)(3846002)(2351001)(71200400001)(71190400001)(99286004)(103116003)(54906003)(6116002)(256004)(476003)(72206003)(66066001)(14454004)(446003)(478600001)(486006)(11346002)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB2358;H:DM5PR12MB1449.namprd12.prod.outlook.com;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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: CwulD/VXiHCyzQCzyNzZuAMkNacJewSoY8T7bx08MQ8UNYLVbxtl+0YVMY/jAnAAMXkTK9W5XN1VF4uWEX8JGoW3wtQX2Uv82AqVWAQZT9plQBwH9uRIpbGTiu3zPrdkabJVRFt2c8q5mbbQhYKVfN58AApF9IUVanqd9GzjL9ClvaHkyqeiKIfBvVL6x1ynxy0ksC33uyIO0eg9KtJSDUDMG7bkDWKq8MZIM5ySI65CucZGRBfLHkeeDT4SnkoZ0bosFSif3ZmonaW4bMjWSQZ5HOxdjVFoSt/v3Nc2BCqTVjEH8vxLAtWl73lILNjPU8MIQ2Zu24H/hsxIOtTwOHKCXGH0mJYSV7Sz061xOGQ6/ax76fwhAWy4f3p31WYVLZbmnziZd7eFRR4SLSqxuM+qu4du25cbCp138fLBoWU= Content-Type: text/plain; charset="utf-8" Content-ID: <5FA4BA70DF58CA468406DAF50FF041CE@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5679583c-5ec0-40a5-9801-08d6f8da48ba X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 19:29:32.9113 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ghook@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2358 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org QWRkIG1vZHVsZSBwYXJhbWV0ZXIgcGNpYnVzIGFzIGEgcmVhZC1vbmx5IHZhcmlhYmxlIHRvIHRo ZSBDQ1Ancw0KZGVidWdmcyBpbmZvLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYXJ5IFIgSG9vayA8Z2Fy eS5ob29rQGFtZC5jb20+DQotLS0NCiBkcml2ZXJzL2NyeXB0by9jY3AvY2NwLWRlYnVnZnMuYyB8 ICAgIDEgKw0KIGRyaXZlcnMvY3J5cHRvL2NjcC9jY3AtZGV2LmggICAgIHwgICAgMSArDQogZHJp dmVycy9jcnlwdG8vY2NwL3NwLXBjaS5jICAgICAgfCAgIDQ3ICsrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKy0tDQogMyBmaWxlcyBjaGFuZ2VkLCA0NyBpbnNlcnRpb25zKCspLCAy IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ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