Message ID | 20170209214948.11781.67524.stgit@taos (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@kernel.org> 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 BD202601C3 for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 9 Feb 2017 21:51:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE6FD2854A for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 9 Feb 2017 21:51:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A20002855D; Thu, 9 Feb 2017 21:51:29 +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 DB0F92854A for <patchwork-linux-crypto@patchwork.kernel.org>; Thu, 9 Feb 2017 21:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753032AbdBIVv0 (ORCPT <rfc822;patchwork-linux-crypto@patchwork.kernel.org>); Thu, 9 Feb 2017 16:51:26 -0500 Received: from mail-bn3nam01on0066.outbound.protection.outlook.com ([104.47.33.66]:39601 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752263AbdBIVvK (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Thu, 9 Feb 2017 16:51:10 -0500 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=p4516fDEWfsUsUFcaGvZ0+KXiPPdPYQ5r4xTCWjgD9k=; b=ye5j1AVw2o9iWVz2ubASHH28j6utcUTu12qVmXrVk5ZmfNL6IK7WInyRx0CW733lOJmsI5Yq/AqCqTfXDnI9Qsu829Y7QJ/ctGAHtKViBc7Qixj/b7hZH2FDwNFwhz0Xm6UVY/+Llz/7OlyKj33jHgSgBl9vivgRiBur4Sm/KZ0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by CY4PR12MB1398.namprd12.prod.outlook.com (10.168.169.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Thu, 9 Feb 2017 21:49:54 +0000 Subject: [PATCH v2 1/3] crypto: ccp - Change mode for detailed CCP init messages From: Gary R Hook <gary.hook@amd.com> To: <linux-crypto@vger.kernel.org> CC: <thomas.lendacky@amd.com>, <herbert@gondor.apana.org.au>, <davem@davemloft.net> Date: Thu, 9 Feb 2017 15:49:48 -0600 Message-ID: <20170209214948.11781.67524.stgit@taos> In-Reply-To: <20170209214704.11781.28640.stgit@taos> References: <20170209214704.11781.28640.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.77.1] X-ClientProxiedBy: MWHPR10CA0001.namprd10.prod.outlook.com (10.172.48.11) To CY4PR12MB1398.namprd12.prod.outlook.com (10.168.169.19) X-MS-Office365-Filtering-Correlation-Id: 24e2de92-8df6-46e6-9813-08d451359589 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:CY4PR12MB1398; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1398; 3:jf8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k8ALv31OtGdk0WOFisfTWHXhWScuH3zQh8JN9A2udm8an5ep83Oq5SiCBoXGlS4kn0OTDjc20j1HmSteMf8xH4FvyJAzXPwSSsMBa0tHG1pHRnj63K+Iq6Ej9Z9mS3Q4ehXMO5IcCa3O56k/Nld3vpweJF1xRgXHBpBmhD9RcL/NgbPkLSNbCIZlUF2yF3ZYIiiUeeR4HLfvG/gUMJVePfreAs8zr3g7Yslse7I7eG5oS7uul3Wm0XCkIK3/XVANIt5mEXSHJWLgF/x3eL7mbPrJ3JCKmc43OEeftJ2nDlrAslxk9bbmpxM6VjAKbIft8yGegGasaQ5Hv0PbZ65E3o+TF1/MwOFQUkYWPc7Wy4zxt3/MPA6DYTMjiFipRFyJ0UogYdRDDnTnvUhKt/Ah8vUnShHPMz9Z0dmyOnbBdLYAP96OVaE+BaqzEzkjIGeHejSpbAfZcTNghawF7+1rmiF2TfzXS3gPpPhiJ4pcXnx+g X-Microsoft-Antispam-PRVS: <CY4PR12MB13989A2219D94A860EB85DD5FD450@CY4PR12MB1398.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:CY4PR12MB1398; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1398; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1398; 4:1FeqRTYmyHddDR+XqfPB2rYffk03gXd38cmjHb5Qaihc5GelPJcf9KyVhX3RQ7Cy384Qdn6hLEVShfChFfpcOMedQWDQSjwsQNPymiFmwznz+lNCNZySmo29xqFArcy/7xcbQI9uP3wwnLtec2JCTdorSJKntiy4RB8GcgYhkF1gDfsSEmrMQRE7lk9fuIVWytVhIvUl1cGQkEdjYcz/T+/f2oK9bxrszzL7tUBZOpRyFg/N0g2v7gKd+AXyJRhPRJkwrIWAp49p/t1IHVRVhUjHzoKvTECPdUg/RFiHJ4SpQi+opnFUD2WaRV0TNWc7XHKS4EeZywPyOfD5irHlm1FQwtn0r/WbPYluJBXMoa1s3T5g/ZonEl+nt8oGt6vTSOketGhm5miKprYtPcGPstG4ZeMuqLyAMCW/dsLwFLjeRtyp1rL5tdk7D5dI6kWvKtoWq9PIsjSkTwH62FmpyQgZorDcuvZucFAfdWj3JcVCWt0aB4t8nUElpeMhmDoJLGVOPEbb/3fxZzblRyGFQLqMTpgnthiRARGU6oek1DXxtlUM8Zoqc8PHe0Ib9Xy0uCfaIVwuhCqKNt8ff2wh1Lcel0dtH5fPEIJed4atH4VisuPc2lSkvSMkeY4v1x0uyfP1n0QKNdOGo5uRO2ctO1U8p9zra6qmk3SwagzsHPE= X-Forefront-PRVS: 02135EB356 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(39840400002)(39860400002)(39450400003)(39850400002)(39410400002)(189002)(199003)(15650500001)(3846002)(33646002)(66066001)(47776003)(68736007)(4326007)(305945005)(110136004)(38730400002)(54906002)(1076002)(83506001)(6666003)(105586002)(2906002)(106356001)(6116002)(2351001)(9686003)(189998001)(50466002)(77096006)(92566002)(90366009)(25786008)(6486002)(50986999)(53936002)(81166006)(97746001)(4001350100001)(8676002)(54356999)(76176999)(81156014)(103116003)(42186005)(5660300001)(23676002)(33716001)(2950100002)(97736004)(7736002)(86362001)(230700001)(6916009)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1398; H:[10.236.19.42]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMzk4OzIzOlFIZ3dRSnpBYXZGcGtpcUQxNWpsUktURXlm?= =?utf-8?B?WXNERFNHeGZBbWQvaUJ1djFyU29HZ254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KXhA/gMFTZ4Q1vkzrNMtqXfNb0H5SVqa6GGz5k/40pFGs/LeBHZfY434y8YfI6lZs4jPuGhK+C+HTltiTuEKqwznoFFPSQXL3fm8SxMQvhzJVEqu1PD3DfeVUs0goKMNiZRaHTRderodXJ49y0Co7yHsC/7TA/qWt8cdT9SUVDPH/sTpGHm0vAJp/QuYO3r9KYMpDq1olGoq8Dj5q5zpJoa5Vw+QhnRjcnwLn0AGg6xFQbsR2+MObOejB6h6JO/TyaGyNg7wTzzgUI13J+NJYzNrCfETJJ3nx5pTZQ/oudcvocaoR6IyP44tvtbxT0sqVO1DElRvwVZlb5U5l5MJelOVg3P2C+8OY5KAoOJJ4lXJbVA==; 20:VwkTHRjBaeKs5Pe4AydMObrn4G4prBoOOrMVYL4qyHEuWKedmQSFc+v5s1PNoju9fe/r1REamUNXzFzTmapZmUNMPaBp8Tsdgfyvs+AG/Gfv5GYVyoDuvo2Ebz4U3wGYlWaOHWqsGilMycmw0w00eDrMajlYiNMH4IPbL1mgLAyXSyiC+JQEwBikUPZyFMvPu40yX4I3wphK5xEXWy4f1SXYD8Sd/KEnOAH4tP3Sm9jeie6CFp29QQh6IHfa/QcI X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2017 21:49:54.5517 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1398 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-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/crypto/ccp/ccp-dev-v5.c b/drivers/crypto/ccp/ccp-dev-v5.c index e2ce819..5fb6c8c 100644 --- a/drivers/crypto/ccp/ccp-dev-v5.c +++ b/drivers/crypto/ccp/ccp-dev-v5.c @@ -532,7 +532,7 @@ static int ccp_find_lsb_regions(struct ccp_cmd_queue *cmd_q, u64 status) status >>= LSB_REGION_WIDTH; } queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); - dev_info(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", + dev_dbg(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", cmd_q->id, queues); return queues ? 0 : -EINVAL; @@ -574,7 +574,7 @@ static int ccp_find_and_assign_lsb_to_q(struct ccp_device *ccp, */ cmd_q->lsb = bitno; bitmap_clear(lsb_pub, bitno, 1); - dev_info(ccp->dev, + dev_dbg(ccp->dev, "Queue %d gets LSB %d\n", i, bitno); break; @@ -732,7 +732,6 @@ static int ccp5_init(struct ccp_device *ccp) ret = -EIO; goto e_pool; } - dev_notice(dev, "%u command queues available\n", ccp->cmd_q_count); /* Turn off the queues and disable interrupts until ready */ for (i = 0; i < ccp->cmd_q_count; i++) {
The CCP initialization messages only need to be sent to syslog in debug mode. Signed-off-by: Gary R Hook <gary.hook@amd.com> --- drivers/crypto/ccp/ccp-dev-v5.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)