From patchwork Mon Jan 30 14:28:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary R Hook X-Patchwork-Id: 9545483 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 A8DA5604A8 for ; Mon, 30 Jan 2017 14:28:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B75C2022B for ; Mon, 30 Jan 2017 14:28:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EF992811D; Mon, 30 Jan 2017 14:28:43 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 12DD22022B for ; Mon, 30 Jan 2017 14:28:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513AbdA3O2m (ORCPT ); Mon, 30 Jan 2017 09:28:42 -0500 Received: from mail-by2nam03on0070.outbound.protection.outlook.com ([104.47.42.70]:57632 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753231AbdA3O2l (ORCPT ); Mon, 30 Jan 2017 09:28:41 -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=oWehA7tNmdweBEPp6RJ/dqxkEPxVuIK9JNRHDgaRtnGqFk5hJnDHnb64X1csxkAyCPAhujJD/VpjfQAZv+sbm2u6JfsAm/0mOtjhj0UJriNQoAZFJ4Pt58XNyFiGoqUjc3/775OD6Taxq5/Qhyz4P3Pi1Gv2WMtsEuS69qUWSzA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by BN6PR12MB1395.namprd12.prod.outlook.com (10.168.228.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Mon, 30 Jan 2017 14:28:37 +0000 Subject: [PATCH 1/4] crypto: ccp - Change mode for detailed CCP init messages From: Gary R Hook To: CC: , , Date: Mon, 30 Jan 2017 08:28:23 -0600 Message-ID: <20170130142823.8459.75355.stgit@taos> In-Reply-To: <20170130142414.8459.71539.stgit@taos> References: <20170130142414.8459.71539.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: YQXPR01CA0068.CANPRD01.PROD.OUTLOOK.COM (10.165.103.36) To BN6PR12MB1395.namprd12.prod.outlook.com (10.168.228.141) X-MS-Office365-Filtering-Correlation-Id: decfbbf8-aacc-47b9-b8d9-08d4491c47c5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN6PR12MB1395; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1395; 3:LTwwL6Q+hVzd00htm+9s0HDtLCHKaeJw3u+8uTgWlAYaw3UXPKot+65o83C4U0gum5WvXTl+DIbfqcU6dMu2W7zI294xmWkGCxLNrnGcAYRGJ/qZcQHA9oFZYhfaYduXKtw73tK1L+gm04+R6fFb7ajlYtMbCoOPqBc4rJVrDikJeiM0i3af96UVPJTyXMXc14lRc/L4lbd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QQoBoEw4a+IQGSxnIka+JeJlV9+8Ts/EZjjl4TyBRLy/h; 20:AOr3ve+vHdl2BdGXvu1YGKc84KcSkTdpeA2qu49kmEGu09WHXRnEdZwnE2+9thNtNtXLMG5AzjuJ1QUAQsySrdWLzsPuPswDImlR1fSYvfEE4tozxEERVMC/c9MyenR/p3/+CQGBKgraV4/hR4E0Q92Um6sp0y/4RhY2wxSm10wfFOuydwIfH/HXyKAG5Ee6Rom8TKcGhHlbnXgOXSQ37mp3BF7qpX1EqyiWoFP3U7F4nOeoltWcp2X8kaNWslBN0W+e6MrpifjYY2rbGK8r0ugzEO/7tdw4ET6JvZMAJ6a2Nw1BEyNpZhWggltqcWY9WpS1akl2/4xpzlDZ0eKtgSjnU4Q7ZhzoOs2WdwW7+WT80AesWJl+M1z3S6YotCRZ9n+oWJGASGsAFFBLj6hVP28AweTpmRUOZEMNCxUjP4LUxkuAalaAkt5CnTkx05RxI08vSMOOitQEQZ6idaH8wE9Fbk14aJTLVAQ46f+E849pBd1BsWNMb7+/M756KtwW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148); SRVR:BN6PR12MB1395; BCL:0; PCL:0; RULEID:; SRVR:BN6PR12MB1395; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1395; 4:XmInwv+vZQxOx+mTY4StmN31p9mX5ROJKQYdu7gD8eNUqrmS9+OOSL6YuOOBgnFiORbnPoyy8PfYBjHqDvoS+O5UFaalXBdZD1YVekH7k06Pz+HwBIJ9nwNmgUljYucAKn8FV6HLSQPzULkNJHJpV6jad0/bjXmBjjZ7eBpeRnIvQNS0IIybp7MMhokxfKo70w83OJz9KQCwWkjfZG2qbt809fEfvosK6M6zIHT5/Gr35GI+zGwiNyeG16C2bEBnMivA6LV7OHYTLNShdOElZrOrwnUaNrXFndYQIE7ImfhTM/2ic3G0VV6LEnNW7Mk24n9pVpNqKF7dz9IG8KRTWvZwMq2iEtzvnzNCFJ3efeDQYBnjx+JmF2ovXpbnBDK8OTlvrBXhr41/JgaQffdHIcAPzAcb+IAIRQCcvcmRhNtmSajbt1Mwh4T136KBpa+Zve45sjYqw5omQYBPdwy30ghMvQToIdMpqx2TdpE/BpmbWWd+NLuUuM+R3nJ3ICjIYhvWCKn6eKRaKdmWDlF29JfGLKIX5en0nDlJ/qNypq1HfE6AGHZkF8MTqTRfGtBkFjx1SdeJCL4xiVuMvXjITQvtjFVmfKZscVw9nzq+OlqwZWg2gtJwWgHP+TKTUydL X-Forefront-PRVS: 0203C93D51 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(39840400002)(39850400002)(39450400003)(39410400002)(189002)(199003)(25786008)(54906002)(7736002)(53936002)(305945005)(101416001)(50466002)(83506001)(8676002)(81166006)(6486002)(90366009)(77096006)(103116003)(33646002)(81156014)(189998001)(4001350100001)(2351001)(105586002)(38730400001)(76176999)(97736004)(9686003)(106356001)(33716001)(6666003)(42186005)(54356999)(50986999)(110136003)(47776003)(66066001)(23676002)(230700001)(5660300001)(3846002)(2950100002)(6916009)(97746001)(2906002)(92566002)(86362001)(15650500001)(1076002)(4326007)(68736007)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1395; 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?MTtCTjZQUjEyTUIxMzk1OzIzOlYyQlZzQXdRUWpRaE0zS1NOb0R6YmNweDdx?= =?utf-8?B?bnZTek55MFkvQllneTE4L3NqejRGR0RDRzJDZXZMbWQzMzVoQTJwelFLK1Fx?= =?utf-8?B?ZUppdDUwL05HN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diagnostics: 1; BN6PR12MB1395; 6:xawKfD7fjg7aCDDBip5hkNsxsA99dUObQOQl07dp+FzFnwNy7T6JY9L1aDkQW5LCFxSC/CJmUqub7LUvT+tzvXRLUxiS9tgIO5icp2MUf7GLlefhcgXBs9UMqzoo+RgYvYjIdP+HaHc5eKU27c5zpU0Hdzhpa2la3e++HgxU4YwvMC669vtozEcwqUdH1vTReYEL+k8Ap+Cxrr4FBQleWngzX6UN9u1TEu8O2TKRskjwHvZufrwlsigNXeLJakkqpzA0U9o8qjMO+667PG9rEhuweNT+Y8krk1sIO/PPQIb0X9Nu6X6srcU4/BDcnlYp4SJod3b11OS4tE15MUSxQOKtEm/oyqZbPAAdQa40bGN3Hq5IpiUqoKscBWvA43IPfV8VYL59aahWHtiY1TBxVKKT1YIB6jdbyp5LXRnIl4S9zyFeHLrqMjyll5O4dGud; 5:emjCumslDlI6/WYU6Jq8vAcMAFMv1a4+TnAclhmOVNoWqLx/sOGaZGWYdQimSV6+VXyqKo1ygGUxrUP8ENxfUHcg1pgwoSNtIIRxt8Un0dOS0iRKGda/vGrP9ufwSxO4FjYCfQ/5rNxUSPpCNb+1gQ==; 24:KNwmzMYAWxN+gBmDDVllpJfulolVQaQTBqXmtVMqdstKMO9VqCy9CGxszMD1SjBMAQY0psYaEDnh3t4DDVJUevnQDFY0W77xYsAQ95AcJfE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1395; 7:h9HrigiWTh9SobnUUkV61dZJjjqqnS5v1pATs8J53J8HbVfyppUjSPytxhVBgJnsfypzyuj4AIFYXNRH1Ry87mFR45MADHDNh/6ma5JFs1ekyRMWosXUWbL8heZciBzNzjyuHemSUncXUaRj+nSV5U5hlbZ6ffSGQ63h84GxhpxlTt5AypzhBBjqcDdIxlqbRr/tG9A7yNtnF6jk7I+oP9oI9inDH1e8SVu6sV1MSfJct7j/jZCc9lKgg8zc5gh7aWMzfj10pYV66csafyxuAaBDYE/Zv6NEWJuoC+U2ldhjMj0YqCntOEmMSfTCdRBpnCk/QN15p1q0TUf9s65EMPhV0GO1mhEyT+rymKxHFjV9zHsqZNOy+WJZTkttmyqTkGY0mRt2bYM5xq7sgAIjn85RFeLLT/OCTGf6bDgs6nW+cKyN1f302t9TJhvt7jOXN+heWV7NVWr+kdsBCzvCPQ==; 20:eoYZZmDwdNcdStPflci9eunrKjrNkx9q4uqS2THd02vZcFGuaEHOiRUrHvrHpf/Jd09MQhaBJ6JTnAdD+THYvxDzWaI2y5BwKh9IHCzmy4d7BzMbE3mdVcPn+F9ivuF/A1BvTaHT7KbYfgDhgoYQgxOYfX5fvCyQOplJuSFlfJuWa89v20Upf3A+W5Y0Wivza15TLmBoaklwi8UoyxeUldorLHwll7e2Hx2yF6pFIdIp68a18cmnxPG4+DDaA6Iw X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2017 14:28:37.2510 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1395 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 The CCP initialization messages only need to be sent to syslog in debug mode. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev-v5.c | 5 ++--- 1 file changed, 2 insertions(+), 3 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 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++) {