Message ID | 20151001213238.4286.87015.stgit@tlendack-t1.amdoffice.net (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@kernel.org> X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CBF7FBEEA4 for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 1 Oct 2015 21:32:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8CEE2065E for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 1 Oct 2015 21:32:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9AB552065B for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 1 Oct 2015 21:32:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750868AbbJAVcq (ORCPT <rfc822;patchwork-linux-crypto@patchwork.kernel.org>); Thu, 1 Oct 2015 17:32:46 -0400 Received: from mail-by2on0058.outbound.protection.outlook.com ([207.46.100.58]:65376 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750745AbbJAVcn (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Thu, 1 Oct 2015 17:32:43 -0400 Received: from CY1PR1201CA0016.namprd12.prod.outlook.com (10.169.17.154) by CY1PR12MB0715.namprd12.prod.outlook.com (10.163.238.21) with Microsoft SMTP Server (TLS) id 15.1.280.20; Thu, 1 Oct 2015 21:32:41 +0000 Received: from BY2NAM03FT003.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::203) by CY1PR1201CA0016.outlook.office365.com (2a01:111:e400:5b9a::26) with Microsoft SMTP Server (TLS) id 15.1.286.20 via Frontend Transport; Thu, 1 Oct 2015 21:32:41 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=amd.com; davemloft.net; dkim=none (message not signed) header.d=none; davemloft.net; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from atltwp01.amd.com (165.204.84.221) by BY2NAM03FT003.mail.protection.outlook.com (10.152.84.105) with Microsoft SMTP Server id 15.1.286.14 via Frontend Transport; Thu, 1 Oct 2015 21:32:40 +0000 X-WSS-ID: 0NVK96F-07-2WH-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp01.amd.com (Axway MailGate 5.3.1) with ESMTPS id 2A43ECAE61D; Thu, 1 Oct 2015 17:32:39 -0400 (EDT) Received: from SATLEXDAG03.amd.com (10.181.40.7) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 1 Oct 2015 16:32:59 -0500 Received: from tlendack-t1.amdoffice.net (10.180.168.240) by satlexdag03.amd.com (10.181.40.7) with Microsoft SMTP Server id 14.3.195.1; Thu, 1 Oct 2015 17:32:40 -0400 Subject: [PATCH v1 2/4] crypto: ccp - Remove use ACPI field From: Tom Lendacky <thomas.lendacky@amd.com> To: <linux-crypto@vger.kernel.org> CC: Herbert Xu <herbert@gondor.apana.org.au>, David Miller <davem@davemloft.net> Date: Thu, 1 Oct 2015 16:32:38 -0500 Message-ID: <20151001213238.4286.87015.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20151001213225.4286.44278.stgit@tlendack-t1.amdoffice.net> References: <20151001213225.4286.44278.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(199003)(189002)(86362001)(11100500001)(50466002)(4001350100001)(54356999)(87936001)(62966003)(77156002)(77096005)(50986999)(68736005)(47776003)(103116003)(33646002)(64706001)(92566002)(2351001)(101416001)(19580395003)(23676002)(105586002)(2950100001)(229853001)(46102003)(4001540100001)(97736004)(97746001)(5007970100001)(5008740100001)(19580405001)(83506001)(5003600100002)(76176999)(189998001)(5001860100001)(5001830100001)(53416004)(110136002)(106466001)(71626007); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0715; H:atltwp01.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0715; 2:ZpKy5ZHCjNYgccCXWrdscMEIwXUkMb/N0cG3C62oGCbgNEabXDkclZzc/QcRxV7bvuYc2yJFoFQvA9vytT6cfH6KW/gchd1URZvzPjsHd42EV509uImNHCmSOl2/AMJt4ZW/maZ9yMBRN1bqGbm7qh7/J5MyCepOCrKTmVC48Zk=; 3:heGV80LgdpckhJoILNtJKWPKbc9FjZr19R4tAWE5HmP1y+C6FB3GCuZ+aoI7UHRDh4Q6DnWw1OtjanaFAvlPkJolwt1Ju3sIRvBP/HKeGmEEFeA2rzDBodjwbgnB8Pd357OMxqxoZlWZKKdaDMkFdtM7r5/lmTxeKe84zf7B9Kv9l2vqPY59XujH147VvH2pdV1viMQMlWa7yyEI85bVznKMKXocBytiCnmM1gLNHTA0LxoXZw8HacGwrnblVixn; 25:JyMHs+of7HOwhRG+KHuQvufDq01/K+47GUqVFJzEPPJYdSBxoJy+wbU9Oho4xUzBeFwOO1o43WldHImLQJ/WUwKKwCNuQkuB61potYW+u600AFrYsG8MN++VkTyaHKNITGEECp00vhUpXNb432P3+EGHmloKu5xzYQXa7MF5QKMnuYjw+ncNAdlHkVqN31UXWUTy+BKWwP9v7gR6aQTeQkgC3meiVEnqJBjJPhW/8lF/WE/oqLsSc0ZTKQ/zVmB2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0715; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0715; 20:gEWF+0YOnLwmxGK4qcUk4hAgVsEFGBYKzLv+w1M4mxzfMqoVsPSspY0pIQR14seGAiAvDetIygVD+Cx0q4wxB3n/zNHRamQC1/oP7K45KcpMYfWYsCGl1m0IinFqSa1JQlWWNBdV4GYpckDRYqSZBOxEjw+pL6+pI7K5P3BkQCi8gTVz8LoXRPNalUSy9s+s9rw/VI4z15x604EeARXkoHskuezqWjB8vng7XjQ7e578MbJDqpLbLGRBe77sseQRs6k8WPdA8RvHzeiCuTFK5eeUdfqjJvusjqzexcXgKlrm29ZNRrA1+9CX5QV3SFYGb+qNgg/O0NUSW+th1LZSYVzFibrJr5PcTh1kYll15ot6Sw+rRfsk6VrpniOeswE84H5JYSGG6bz6MsuVWqjj9PLZwe7lQ3VG2f9Ih+8zOyCJBipz20gqgs/pmz8vyaqJCrtLT/LquG7/0U2Rh+v5NLzBR7l872TzJNrQwMzWzCu1rnOigtkINRizTb6Eb2Vz; 4:cmgb36WIE0tlqMVVAfb9GdL8VtJQoTHtEoSkVm78l8K5MmSgsRscxC6+Ww0CJYv7Onz6VVRkj8ktgpGDnVuh6wR1Pa4ran4Mnl0B7RdlMrVmSoTcbJReARkxaXifHDsr0v9krJ8idxfzD6OpUl58wU/nDDYXydqqp+EDbNHDYivRO6KZWpAmPhN5tP5zNgZliTyIvin7ZyesiHDZFmjC7Q8NZKI6ZNZvLQJybfWaeli9VNGrLvYj9hzJWRXwsK/tyXV8+xTUdMBT1lvh7eJfyIM8e2G9C9u1w0a/2AVlFDgSNwJ0P7FcU5ejubOo6+ISKDBQdQOHqGD4I88955IMMK0xBpjgtvJmOEnHtW3ns64= X-Microsoft-Antispam-PRVS: <CY1PR12MB0715BE542211609D71F64A89EC4C0@CY1PR12MB0715.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:CY1PR12MB0715; BCL:0; PCL:0; RULEID:; SRVR:CY1PR12MB0715; X-Forefront-PRVS: 0716E70AB6 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjEyTUIwNzE1OzIzOmJZT3Y5akF1OHAwLzFZQzJDOTdDd0NKVVJ0?= =?utf-8?B?bXRyTjdYNXFQODR6YlVIYUdHY0ZPdFNNMW5vV1NtTWlYRFBESk9JMDBoRXk4?= =?utf-8?B?WWxXdDFSbkJYUUlrWk1sOFl6SEV4NWt6R3MveHk0d2tBUU5IYzVHSTlYOFdn?= =?utf-8?B?KzBrYk45SXVySmdpenFHMW1jU05LRFVFRTVvSXNVWDhJWGEzZEhJQzAzUElG?= =?utf-8?B?NjB0OUVPL2l6LzVaLzgvQTR0VFRCajhVVjlIWkNZZE1veUFyQXhwblZrbUxr?= =?utf-8?B?VVJqMno2aEFZdFVwR3c3VnczaEdyZ28yWlNzZVhQdFFCS0xSc0RYVmtRVHRp?= =?utf-8?B?OElBWU5xamRNMFNSNDQwQkMrVnlqTFBoZWQrRDZrZmM3SU9PZHZ4dmxiU2ls?= =?utf-8?B?S25LcUZlamVRY0ZqZTlPRTNjcTlidmJQTDZydk1SOXFvR3dpNWcyZVZQV2Rt?= =?utf-8?B?WElXTzhJVkd5TEdZRk9aaW8raEdrMWE2OFVXdXNLVytqTXB4ZFNNd1BsVk80?= =?utf-8?B?Y2FpNEZyQndXVVJhL0hNNGs5RERwVTVuN3BrenpUOWR1Y1Awa3JtTElVcVdk?= =?utf-8?B?ZkpaaGVRRE9lL2N2Y3FEVFFPdElDcGZXYU9lTDVhQ28vNXFYOTZ5eWpDUjNh?= =?utf-8?B?ek9iOXVyaTdtRHM3YTdQNndlb2hLTEdkdVhUZ09PaWVIUWVSUmRZamZ6WjZh?= =?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QzQU5HYkxI?= =?utf-8?B?RWFESmxrNlI5U0FBMlpUQUsyL1RmZlJnQldtRjVLVHRsS3h6bXV1WUVnPT0=?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0715; 5:TK9w24tqxswD1oQdflEBp0QpULAsz8LEuQ4vpiXs9Ss7ww3vZskwxGIPD12Qw0Gxv8BEX1JTZfIfExVnc61PS4KhVOi011Zukj+9lWon8+2W32ZlitHbiPtBIWHnsbC1td3ZiqBCfKiHCZKCI0sS+A==; 24:7TMV5T/ZaqtlJaAzmRofoKY2d1RAyEKBPLNA5NqVjCL/I8b8zfwc2+5hXKbfyRj092YGNVdmcvTCuKg4f57jPaj4PuatPoMlgOtKRzC3f0A=; 20:OKKBHg0JJilga9rlr74vM1pmfNsffunMyddA6SR2/aK345eAQE558si9DI4sV4q8Vo4wbQ/P/T8f5kl+tXnuKw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2015 21:32:40.8105 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.221]; Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0715 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/crypto/ccp/ccp-platform.c b/drivers/crypto/ccp/ccp-platform.c index bb241c3..4bc73d4 100644 --- a/drivers/crypto/ccp/ccp-platform.c +++ b/drivers/crypto/ccp/ccp-platform.c @@ -29,7 +29,6 @@ #include "ccp-dev.h" struct ccp_platform { - int use_acpi; int coherent; }; @@ -95,7 +94,6 @@ static int ccp_platform_probe(struct platform_device *pdev) struct ccp_device *ccp; struct ccp_platform *ccp_platform; struct device *dev = &pdev->dev; - struct acpi_device *adev = ACPI_COMPANION(dev); struct resource *ior; int ret; @@ -112,8 +110,6 @@ static int ccp_platform_probe(struct platform_device *pdev) ccp->get_irq = ccp_get_irqs; ccp->free_irq = ccp_free_irqs; - ccp_platform->use_acpi = (!adev || acpi_disabled) ? 0 : 1; - ior = ccp_find_mmio_area(ccp); ccp->io_map = devm_ioremap_resource(dev, ior); if (IS_ERR(ccp->io_map)) {
With the creation of the device_dma_is_coherent API the "use_acpi" field is no longer needed, so remove it. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> --- drivers/crypto/ccp/ccp-platform.c | 4 ---- 1 file changed, 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html