From patchwork Thu Jun 29 16:48:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brijesh Singh X-Patchwork-Id: 9817363 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D97C1602B1 for ; Thu, 29 Jun 2017 16:49:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC07328723 for ; Thu, 29 Jun 2017 16:49:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C060428791; Thu, 29 Jun 2017 16:49:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E66828723 for ; Thu, 29 Jun 2017 16:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752017AbdF2QtD (ORCPT ); Thu, 29 Jun 2017 12:49:03 -0400 Received: from mail-cys01nam02on0066.outbound.protection.outlook.com ([104.47.37.66]:44199 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751690AbdF2Qs6 (ORCPT ); Thu, 29 Jun 2017 12:48:58 -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=IDwQz3gM49mM3HxGXJhT33HndFCd/pCWq9EJCFCQPuk=; b=WIrmpb6uq1EIMSVMeaf4e/MLdua+5UGzLaRWuxv0RFSU7o9Kx5KM6yt8/QnTs6cwRDL2KSV5nw7iK3iPyTTTVeRby5gcUv4XsX+bDAHWm7filHRjWEuylhfQbWyfa5MvwR2XRay0C3aL8Mfg1ps+lojFzKmRqHY/mqm2oLQ+gPU= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=amd.com; Received: from ubuntu-010236106000.amd.com (165.204.78.1) by SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 29 Jun 2017 16:48:52 +0000 From: Brijesh Singh To: linux-crypto@vger.kernel.org Cc: gary.hook@amd.com, herbert@gondor.apana.org.au, davem@davemloft.net, Brijesh Singh Subject: [PATCH v3 5/5] crypto: ccp - remove ccp_present() check from device initialize Date: Thu, 29 Jun 2017 11:48:32 -0500 Message-Id: <20170629164832.13252-6-brijesh.singh@amd.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170629164832.13252-1-brijesh.singh@amd.com> References: <20170629164832.13252-1-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: MWHPR03CA0060.namprd03.prod.outlook.com (10.174.173.177) To SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e8ecf17-cf7d-4370-ee50-08d4bf0eb9a5 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1PR12MB0157; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 3:bTaTqvxuRuzvAr+T9XiTVDmlThXtfIuaCRH490FIjsrRoJr5TKMys2GVjNAd83w+tPCtmctyeae18FXG/gskJmtqCgabqfwlW28hrc+QUL95XXCbmoNnz7OElqgRn2ymlJmQGjIUJHiD9oOzy+zWbju6oW+H4O/tjz1wcGhPHwNQ+FhXY0J43BEMaF0tFerxHwbmRObWph1f/ldiJG7G5xSffWgKH0xu7NHZyELWF7fOvJSmSP8SS59y5k7h0hdayV29jKGCNalanuGxaVt4jhqw7/t1ZMznWRkUv3hqftPQ87NfoO8SeWB18kWniAPqYEjeoQCNWGQONPC2bVuE8t1w1jRMiHwDMg2F01cQD5SwyRg9+G7UTu/AOHsxjG2o8OhdxteGP3Hna1fm67EAc3Y1HXXAAEmMaQIILdEQqr1Re5lppEKWO4jUFdWYg2qeHx4DqNkr9gfmSd9dX1E3CX7d0HMHEL8tBnuxR5n+pDOi++OReCv/jBMeR6H9+95srXwlzVa9hPzXBt5Hbffzpu7Z1NRL7vnHxQVDUL+vyzc8Cys0+hC2KoWncMigRrolGdobw2E50PuE4Wo2JSJZdFysen15D3iPH+ouWS5FI4rBpam9CRzhqAR+lJeFV37JKqnIQzUVUzfr67wCg6hyzAUmRnJoE6hxJokf3cpEpGiaE0PnAeMpNkILnrTrpcVYV0G9efAKzUXGOOFCssiH/TkgC9WtJ0x5yw7JLksEQOaX6mB50F4x3Pyo5uSH6WbEAg+UqSS44zPf89Pl6SQxbQ== X-MS-TrafficTypeDiagnostic: SN1PR12MB0157: X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 25:Qd50mnISdUVwLPgP8EbibomFgB4DYGmALr6uowuGKww4/PJY4M/BtRYKfV8hXaO0nWqg/3BlgKr28PaUhqn1aj9PoWUkIwVhUSTWOvMOKtMt7Fwn6EVJv6KJEqRnatKIcmtYAOPvMFAKTGhydv+jIVAiDS8dH8Nidf3Ypf43fzaVf7vwGMrHgwP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IfPzTLnJDOAT0jVSTzzw4jm48nIolX4HmuVG4CqwEqZyz3qKZQKjAzD+B6+wgu8O79mEoZz84qipIWmiMpS3hq05PfHgbkUcuVg3vAI6Nsmv5NLsbQFUdzqGBVmq/RBnBcJr3+aqVvoLtfvhVcWoZe6zIVEt22fui1AaJ5Xn/HKWzRjkm8jTkrVKvOFYY8qWoLt1lXqaFLWBl6I4tGvwVEcjxi39c4kGEKLBOEslzGNAso9VHIR4ytT5nxnbDgHXD5VLdZG5mit4vgfFXMiS6lvIueTteq3gFPkVUmg4L927TavW0iNhUyG5wHHqSeRC8UoB06H8+tI2aUe2ydHvpAWh4a60kc2ZQ1HXjoQr/v/GHXyMCg+E8D9lTyB94Vz3ovO/xVXcAezhr3LQ= X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 20:WCZbJ7u6ESnMpa1dLnBVAyzF2VcNCbGYrtAHPIfWqeApSK5gLjHMtocKoraZRIfNZJHv3SUIXiWT7lngWuujuwR7EImViXhCyZDL2UOO+uK454zQbqP4u4mJqq1Y9o4NAbj/rzo0ZWKUlzUy8FKnjuTrT4Z8XSYHwCcCkDe60Jna+805tnFM7kWKLNVENOzNuI55IQx9pjtSjqqp405Q5TjFoqqqFfzrhnMlrA17swZ7LDK82pSgE5zn3pvWY7SiFMhPAZ2EWYxPSxCmgZUg0ClBPQPN7XPfLNGOVmYA1VcWopzoKyV2tqjZVU427L+ZjGbkcYVKe2g9wEPrXEdyKqNVoC0dqmo8rlMCRrLOQl7BQkUSTBKLqrplarnCNJ3vd7DQioIP2aeb/qf8m+IumzMxKrmBXa7JaHD91fZ0/DWBDV9GkO0nFTynHvbJ51NGZfuAFlHk+UfeyZrRzp1pj4qOoZvJl837og5+UOqyL6vk1g/HRoLCQ8kppuB5RuxJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR12MB0157; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR12MB0157; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0157; 4:UaeMZz4QIbjOjiHRFekmr8k97ZPSP3tXzpqf0mh6F8?= =?us-ascii?Q?P9YbCE5bRJWe+zrbjtDuhHCLxgw2giBBIOC12B3GNEsUPmS0VhWiumYumNHl?= =?us-ascii?Q?WYA+b8wRCM5lcFfBzISJWqsmUXP5oHcJSFO4q8vWs1yL/1kIbvzOLudK3vEH?= =?us-ascii?Q?LA4NvHE5wQhqcqMGtz5glAEyIBwS+pnDeHHNPRdBJ6JQz+H9AdF/nNkU/nFx?= =?us-ascii?Q?iKr0fBFFhSL4o6hhWZC7wWLCF3RbQ24t+vmI0g+tZdG96FSP2TZuJRKHR+Jz?= =?us-ascii?Q?6IsJy6BDBHDksaxxwImIrwmzch4ukF12FWLWAvg70XGMp0tmIsMI3PM7Z9ph?= =?us-ascii?Q?YcUHQMVOlPnXrNdsoo7NbxRa9d2Z48mecCu1Uen2ZOh4sUQmVkaeb7yg1Q28?= =?us-ascii?Q?cThPzTjwFRlJcikCy6N1uoNOaUfLwAL6HgstRX98Nrq5P/xuVYhOHLffbvGG?= =?us-ascii?Q?2kt4lKKroD8s1dYEcxgFATRx2rdIIO12aQ1o+OQadxka5RTGsUmfFmz/Wjec?= =?us-ascii?Q?szCQdy2IKc7iq7BC0fyWK5vXjPcmBNP66Ox6409O8QCrhRkQSmOaptR7ckeo?= =?us-ascii?Q?hrKLMFezm2R6ZL9GPWwfetTiYcWqI0wzJVW9RjeqJY5UAq3DUUXm4Mg+tY9o?= =?us-ascii?Q?mthZpyGynnmlRIq/34ORtjCZD049S3WAXCAFJBKo9Lr03/83OBVKI4YjVMR4?= =?us-ascii?Q?t0zNwPmxUvPxwYMCku7fHLDJpEGM7DRL7TsNAzeWAqIyR7wA1sjWdgrJ3ldy?= =?us-ascii?Q?bjGLZzaiKxorZd55Ayqnc3n8ogIBaU7YIWpXBSO34JlQmihnzkbW1ApYpera?= =?us-ascii?Q?44p+O8mxnZW/VL+RfZs75f4UileGXzxLpHurZL8BveQGg7VooO/PsyLWs9C1?= =?us-ascii?Q?1ed2+kO43bF3ooZXDNPsFbjwIyUmKGrW/0+FKBYnTMnDlGUdrUXhFxWegmQ0?= =?us-ascii?Q?lzLFV83J8Bog1HHXsQup80uFYfxyjn3waeHc0liUh7bNsg4KLFfYmOYakhvs?= =?us-ascii?Q?jYMvQTEBg5clu0KL0TyjmeaV3jyy8qiQMgOG2ky+gfAQVid44nGtlNYYqVes?= =?us-ascii?Q?E0HYsJJu9SRj+FZx0GBS3WOMiGaMkBRSuM89FAPnkKMadcB8DBils+4WSOY/?= =?us-ascii?Q?5l4onScMHQ7pj/b1xnJK8dfOWo4WqehunEjXnhO9t2KN6iCKSun9AbIq2rGj?= =?us-ascii?Q?JMC/FjcZw8v+eUZl5g4heB8N4rP4N+PJyIfTBYbZNjSF0mpexq7pSpRQ=3D?= =?us-ascii?Q?=3D?= X-Forefront-PRVS: 0353563E2B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39860400002)(39840400002)(39450400003)(39400400002)(39850400002)(47776003)(76176999)(6486002)(2351001)(8676002)(478600001)(81166006)(50986999)(2361001)(50226002)(25786009)(7736002)(4326008)(33646002)(6666003)(6916009)(305945005)(2950100002)(42186005)(53416004)(5660300001)(48376002)(6116002)(189998001)(38730400002)(66066001)(53936002)(3846002)(110136004)(36756003)(5003940100001)(1076002)(86362001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0157; H:ubuntu-010236106000.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0157; 23:u9fBbn38w9tlx07EY7txvPzRfcAC+y/SKSzadJVsa?= =?us-ascii?Q?nYl78B3S1jNqz0l3MdJIwvcUtGLmocgzuQKpFgQcrC0DA1ewa1ZYJJzSg757?= =?us-ascii?Q?4+Smj3KP8/wpk51jtIOP2F+ESsvVhoLNDvzS0FDTzPdd5NF5DBfu8sbgvc+7?= =?us-ascii?Q?NAHzvlSHpkUYgOcPb+ZUp5pT1fx8kMNPknhIIQ2GJm19mVlCxCAhyev3Ym97?= =?us-ascii?Q?NpDx+/AJobq431QfpVYSECVEl/0Sfw/PIIgVmY85okIzeaY2tfD4f/WJt3/E?= =?us-ascii?Q?Sgn7tgHrQIuWVAS6vShJlmyBkctos8nyYFLX9mVBa1fszZpITce3OlSwfft4?= =?us-ascii?Q?VpzAwUBVm+ZKdOtgg69ChMgPIEIZescsfSlxy6WBqgG9LCLRNWTl8BZlhfbU?= =?us-ascii?Q?DLwVngvdKzwsh5vgckf7mI94g1OIAdKaPAr0qmayMNqi8hLqUBWTFXvoHajb?= =?us-ascii?Q?SIK0IbuO2X92JfAQhoqXJNSfaqO+a3+5/4we1N6LqEdoJUXvJ7RvXL7aCqEu?= =?us-ascii?Q?ea7FQ1ofuDrcbkOtWV/FKa1EywVqx0I7JxfbILT/rmSVLSNPsXS5r9AwnedB?= =?us-ascii?Q?hgO0xOnLx7SEPjyFms8CB0fDJCuDhKksZMfX5y1qGARdhfD4j3Y9rM4Y6WCv?= =?us-ascii?Q?uZsIORCOCeD5LlutSbE9V1PaStmnUa2IQ8PGlgOi8SDYeQo2APPDi4AYq/WC?= =?us-ascii?Q?P57UUbW+v7aQLLeVF88UlOw/5v/EUA8oTocyVBbb0oP7q5biULxykpLphx8A?= =?us-ascii?Q?ej+Ny0Vshh3I+YPyV94hZT+DWfgdYmrPK/8RyVXAr0AOykye4WXQW/zIFzyk?= =?us-ascii?Q?c8kAYlK9lzttco/bOM5ENehdoO1CxV+Bd8J/jyovlvl82pkWK9ABladF2Wx2?= =?us-ascii?Q?Xz0pnRcl+CRGSUkUcnFyFz50a5vnG0Vfqbm10dlr6vIniuU8Z2GLBCYjWFHH?= =?us-ascii?Q?wgl/EkFvAd0C6RywOrIOUVag9MpUERlEOmAw3R8yujhhyPP7PU0K4dvf7e0W?= =?us-ascii?Q?Yu6yOoZKDvwprLOOxfR+YufWWA6ACVML8SB19etrSKl/+jCk5vEXgtlKLqfg?= =?us-ascii?Q?CkYc352mpML6hndfQA7gj3G/2qK?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0157; 6:2r7UKDFhRqXjnscnjSmW9oW/t44k1UsPQNKkFZMb0M?= =?us-ascii?Q?eq7clh2wIrXtqtk013gCg+zsJ74hd17NsD+5cBiUB07YS1z87QK/BgPyjasn?= =?us-ascii?Q?n4G3EUJeyHhNusJQpOsmg/Qa/o9jaPmAyoAg1119Sd4RS+RZAM614g3qdRUa?= =?us-ascii?Q?VV1d+VOTF3FXF9kE45sBV8uY8w7GQtNVnbbs9CVaxcd3j+OUVwBquJ8UYYsh?= =?us-ascii?Q?pGAqhtXRwn00TX+7laTNbqF+LnkhNPyphW9g630aOdMw1QSnG8KmF1cuIENE?= =?us-ascii?Q?bahrTfOx6oX8bc8lIAYvgU0WS05r4s95eAijd5hnPpaBC7ip5IvsAqC5ZC5/?= =?us-ascii?Q?zcuHh9a0rVjxAz44zhXR1VmkVmOqxHmrNci+XB9qFUQsNUSL6TQGGL1ufpeN?= =?us-ascii?Q?W3iiYju7bCt5jsY1btL69suCbcvv1qS86D23LqqS77AoHXMAhpjDR99JQx9/?= =?us-ascii?Q?stveKln6SD26LHB1EOpdNbvOLfBPaNAoVcPV0DXWV6i417xJA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jlU18FvbUkarQnlUe4oHpCJq1E= X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 20:/XnIOUj8uFw70jsyhWq/stjC2BUrZgvEYIAudyVf0tRq+c3EYphQ1/cgNcuEY2JRbHb8DDvcBlQySxBdr5OElD/40ZVd7waWcZZajusKsQrFGFkCIE5fXLJ0lM4dPlSxHK7INu2yXJTNMNciHdaRqmk6UI7220iytoG4Hql8QuxGjdeloxhwgzwmEOfdtpRSZyK1gSfP+HpNIJt5CLu/Toi4b2W8QzBnWs+Sij4upNSRm3fRYPMJJkvtEI96ahUF X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2017 16:48:52.3376 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0157 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since SP device driver supports multiples devices (e.g CCP, PSP), we should not fail the driver init just because CCP device is not found. Signed-off-by: Brijesh Singh --- drivers/crypto/ccp/sp-dev.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c index edbf1bd9..a017233 100644 --- a/drivers/crypto/ccp/sp-dev.c +++ b/drivers/crypto/ccp/sp-dev.c @@ -244,12 +244,6 @@ static int __init sp_mod_init(void) if (ret) return ret; - /* Don't leave the driver loaded if init failed */ - if (ccp_present() != 0) { - sp_pci_exit(); - return -ENODEV; - } - return 0; #endif @@ -260,12 +254,6 @@ static int __init sp_mod_init(void) if (ret) return ret; - /* Don't leave the driver loaded if init failed */ - if (ccp_present() != 0) { - sp_platform_exit(); - return -ENODEV; - } - return 0; #endif