Message ID | 20171101211623.71496-10-brijesh.singh@amd.com (mailing list archive) |
---|---|
State | Not Applicable |
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 00844603B5 for <patchwork-linux-crypto@patchwork.kernel.org>; Wed, 1 Nov 2017 22:09:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5D0528C11 for <patchwork-linux-crypto@patchwork.kernel.org>; Wed, 1 Nov 2017 22:09:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D950B28C1B; Wed, 1 Nov 2017 22:09:57 +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=unavailable 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 89B6E28C11 for <patchwork-linux-crypto@patchwork.kernel.org>; Wed, 1 Nov 2017 22:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933341AbdKAWJW (ORCPT <rfc822;patchwork-linux-crypto@patchwork.kernel.org>); Wed, 1 Nov 2017 18:09:22 -0400 Received: from mail-bn3nam01on0043.outbound.protection.outlook.com ([104.47.33.43]:12256 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933454AbdKAVQw (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Wed, 1 Nov 2017 17:16:52 -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=OOhNt13AVZYVeD99maJiF4QASyMPUjCsyv7a/3aBRbU=; b=TrNHbgtPS2IzknX6gLAEuYjlA3Y9q15MH+cMgP9RdaWm9c8MnrtlHmCBGgtYMjqI/7W7Vvi25RQ4BbYQhxx5lVK0JpP4qD+OMGQCd+2XKT+EBcdsAQq9On9dHTecnJoknb4TX+Nen5VFINX0UJbSRVLDoCS5SgkvICmOluXXKGw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp141597wss.amd.com (165.204.78.1) by DM2PR12MB0155.namprd12.prod.outlook.com (2a01:111:e400:50ce::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Wed, 1 Nov 2017 21:16:41 +0000 From: Brijesh Singh <brijesh.singh@amd.com> To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: bp@alien8.de, Borislav Petkov <bp@suse.de>, Brijesh Singh <brijesh.singh@amd.com>, Tom Lendacky <thomas.lendacky@amd.com>, Gary Hook <gary.hook@amd.com>, Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, linux-crypto@vger.kernel.org Subject: [Part2 PATCH v7 09/38] crypto: ccp: Build the AMD secure processor driver only with AMD CPU support Date: Wed, 1 Nov 2017 16:15:54 -0500 Message-Id: <20171101211623.71496-10-brijesh.singh@amd.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20171101211623.71496-1-brijesh.singh@amd.com> References: <20171101211623.71496-1-brijesh.singh@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: DM5PR06CA0064.namprd06.prod.outlook.com (2603:10b6:3:37::26) To DM2PR12MB0155.namprd12.prod.outlook.com (2a01:111:e400:50ce::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c67246e-7988-411e-b97c-08d5216dd923 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(2017052603199); SRVR:DM2PR12MB0155; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 3:se/7z+ow9QGU3f0P2TsSos0zRVwjNdsvI93qPypw0xYj8EKfZbRYXATZA7+yvI+RlX0N+rDGcQBTv8iPK6UAlxHcGAMdJ49E7hSX0FKuxv/USlhXlaalv8AsNTwwK3+e/govqx3MyHd0HDg8UZT04Wd2L/8W8tboanWhjT20Va2e/o5nk8UY4cQFzN7Tkmfa2u59m7agVgXfXGXNXq/8GeSu0TMsSWujz+uMojvYEFCf+jz0THA9EwsEsOQrGGQP; 25:7lzO8Misdv02ho1siYA5xPwXK6/DlOa1jpSpsFVLjj3afu4JMVMa90G0JAmQax4lXau4LDyBIQ4B28RLhQp77EVWU47Pu7uYtcnvv6i8j9fE/9SlbbYegI9tAEVGfQTNr6tZSW6uA6j1Tlp4Hf0SD6N5v/k2tvtni/x8OwMppafu5qNJmuhZphFBGoU87xF4hqtMQX6RRNYvNOzi55egb4D4lQHXXqzEIlGW+N4VfCr0hb3Rqvpuc46x3lRGGne83S58p5CSWNLObZBlrJmZH5jbM/N4nPgo+ku+RffK/sns2cgmsOQ08QRZ1NcjEbjQAY2UXntoqiIxRU/TLAFo0w==; 31:C2QJRDSf+aim6/EbfmXkjjF8T9zUNxcEhw7Yy8AGZrMQ/+/tp07Z/y7uK2LEJfKqyEYu7Lb0MndFFcwzZ3i+b3ThSfwB0NEVtWgw2rYrqSjpd1gRttUptjeVemjI1M6qcy/8CpERsaqqNkjHyZWfh0LTx7Ljgt0pcAzbTq1Y2jMomBO8hqYZHQNf/zyqcAft6c0kbHpBkfLZjUpz7+P34UNjRNxhYWE/oc9KR+T/Gh0= X-MS-TrafficTypeDiagnostic: DM2PR12MB0155: X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 20:Pfw8UjenpKuOm3BYeVZgufVkctDv3kCUP+pslgHCj6WcNTjsvSR53SgaSt57SO8NZSHzdoDFfB5XC3ANuNphqFaqJKR9DIDLRMWmyEgkeEBbtBuqPByJYqtiRrCHKjPx3A6rtOyqgBNI9pSJ8NV7SxWbXpIGHqauFLjh/ncvWmWZ1T9zCvs5q6QdqASdy5jcQkUFDo9ivJibzzNWJUIy4Xfgzmv867Zdea27Sqs84btltaU9oLeLXkcNUK6raxmOHBmvJX054mnQm8RnHV4iRsUwWnYEoGYJEFJPETyqZaeiY9tW4U67SPXvd/6N30spixVTc62+gy822fTAPijlBddsT6nkkBY0TJFfrPQR4VrGG7boSSnND7V+vuZJ07YPgMS8d07JxxAjzDWMtVKZzbtlxxgXACxcWd1xc6msxmY1Jd4kTcfTMdjXvDwk64ST17pr0Yh2kgH0c4UbHhZTtwzvONitT4a1sXktyehK1bGRU1BLxJdWb5hNpxy1nxwC; 4:lw417mhfZtnIcml2oJAftmA/gZShNdPOaFnuIy5n4M6O50sq0GjkvT4QTl/tCTEmYCWjcboTEKKOe6+RqIbGsbQ6cLcEZ3FWKnB6s9NEIuycb5SHI+aRb1uXduE6/hJv+PjwPfIn4qWDMwudpTPmD01KUKMAT2llxnuJE5gI9XkYJUh+SNeu3jWaCaIQgKIJzH2rLjF86OotG6JE+oIoMSqFQ4IrrV+BBFF1LIwNDqk1/6ou+wn7CI3dZBPExSSnHjWICJ7g5oo81DgaN2DLHW3SPnRJDi6CRGGWES9uzP72dMC1VSxPBMkb7Hp8xBG792pUQMEpFFO2K5jP+YU/CA== X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(767451399110); X-Microsoft-Antispam-PRVS: <DM2PR12MB0155BE53D383524600FBD38EE55F0@DM2PR12MB0155.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3231020)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR12MB0155; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR12MB0155; X-Forefront-PRVS: 0478C23FE0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(376002)(346002)(189002)(199003)(1076002)(6116002)(97736004)(66066001)(50466002)(5003940100001)(3846002)(48376002)(25786009)(4326008)(54906003)(16586007)(316002)(8676002)(47776003)(36756003)(50986999)(478600001)(81156014)(81166006)(105586002)(53416004)(53936002)(189998001)(106356001)(2906002)(16526018)(76176999)(33646002)(305945005)(7736002)(86362001)(5660300001)(6486002)(101416001)(50226002)(68736007)(8936002)(2950100002)(6666003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0155; H:wsp141597wss.amd.com; 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: =?us-ascii?Q?1; DM2PR12MB0155; 23:mE22Li/KRZeFsxRNZfV/W3eeJmFzJCoDKktRB3swG?= =?us-ascii?Q?ESQf5TaWkomZ8JVORjjIsUlHfB6NVVJFIDiZ4UeV/TDP/hJ7iIoZloYUQE3d?= =?us-ascii?Q?0smUkTvcbc15DKHLVEqACuN3jOmhlT3qqnvDDDyFmj/u7n24FzLq4qXGooM/?= =?us-ascii?Q?xt8kmXOYm+dnXbwHvNIEPpmaQroiYO/m9OJvjjOJfB/rHOv0bzvzopy7ht0S?= =?us-ascii?Q?tiaNhZasTan0ryrI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ascii?Q?BXrai6E5WI=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 6:1C/o2Rtzsr+l6dZwd+oKqwWaPaLqd8ujW5mpu9sMzGOfBAfeuDlvVGG4qDjCx8hrprTlU9QBCm6DzALJkuDgKCrox516tnH+mdVdgKwu9sNngjx/MZRsGosU8g+IE+ospx5d44o8EXMOQK8mxDb3uklGLozhDttHw3WQqhwW07aF1ioMF3ZRC3LsB/BDtDJX0JllYks5zDaf16rR5a5lp7dTE/uo4CNwC/9WbhwzIWiZOM8Ty8R2b1UXdkTLrfovECtv8WuWDn8l2b4mdUh95cl0uz+XJAG2FskuO+FelabAkbKGwcoooHR/dJ+4bUizz+FkB8ehHSkYS1/gCIPZv0uLGn0/CD0hLeRjlC/QgSc=; 5:UiJCoAk98cPERk34e6L0pFLCkRF/qzoSuUM0hI9/5qqu0Ltl7I9i8UMdzKSn+sVq/xijUB5J1Ui3+eKKTv3jpx+8SoRB0fFIKp9C3Q5RsOm+KpF69as8D5thH235TgyU7IslKnq469Z7bdko/TeEfiiMHVIbvdcnOg2Tsj6Lp5I=; 24:RgIZfUh8IwXHooU7oUSChjr0p3a20V7N/3CtUeLsYvgV1XFQg/6T3iYH/4eEHy+VCbWUW6/vNDUwYZIhqVcYjcqmnmv48+AcaQWQJSWrZvQ=; 7:lAnSKFIM8Ev9XbPzOIjGh9g6stfSOVT+nGw3933byVVRPRxkh8LOgDkq88d+G6tRM0d9LDZUJ7EaFlGv70OFV1T9LlwN95fplIKNxcjUgtfPHsdJIwxS8OHOH1fDSBwpiBY6uNGIU+MFMxqBC0osAwHX2PnqXchquuqvZcmMaYDWlhE+tUkX79385c6rR+g9xTjA/Z7lVDc5c2WhZxfV/MuLHiQIm/+jSC8Ca7tBN2gii84eMQSYPEkcbT3pR8Qg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0155; 20:7X40g1PmfHhho5JuSeCZ0pgO2Aa7W+02le+DiDjSfXl3g0M2B3DUXgXA2mDKAThsG3ZMCAH8nTZVfnbVvThiFqcWVDcHsqM4yGI6QSf50hoCp1xKTiLEc7cZqFlqsvo0aLTCB4wjdX8RvYD5VWtVRpbaj67jHmKV8dzkon2PSBOWnvqKiTr0IgLzGiggdzfn64fgvsy1cSxX7waVG9jobdu79li/LxBRE+72P0xKOj8e0XULzuf/LUezUpMC+rHP X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2017 21:16:41.7817 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c67246e-7988-411e-b97c-08d5216dd923 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0155 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/Kconfig b/drivers/crypto/ccp/Kconfig index 6d626606b9c5..9c84f9838931 100644 --- a/drivers/crypto/ccp/Kconfig +++ b/drivers/crypto/ccp/Kconfig @@ -1,5 +1,6 @@ config CRYPTO_DEV_CCP_DD tristate "Secure Processor device driver" + depends on CPU_SUP_AMD || ARM64 default m help Provides AMD Secure Processor device driver.