Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1317858imm; Fri, 14 Sep 2018 15:33:22 -0700 (PDT) X-Google-Smtp-Source: ANB0Vday8SRbtzjZjZtxRwOF3jAwPXbUx4q9hrAlAE4QTQWTS5hwPA9stkCWmk6ME1P2DLt10zgX X-Received: by 2002:a17:902:47c2:: with SMTP id d2-v6mr14255170plh.317.1536964402093; Fri, 14 Sep 2018 15:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536964402; cv=none; d=google.com; s=arc-20160816; b=1BEU9G95FbzIiXrhDxUNqhUTk98CglhlEAkjN4I8QKPcNm+Gnge9LMP/FPfkcBQ2Cr 4RvXtRgzW/aBrJKTAPdNR6wgUL+m2lEC+87sldv/SyIREy1gORkG8rbghMYUtu9cUlr7 onigQpYmY7G8lyxbGeWT91dOAZD2aw8IAC8fVha2MTvdVdFFGLj+Rqs8K0knH3b+q6ad LcssVFlvIOkKFyq1dxUYxgMLvvQTsp2uA/8q8RBS+e4E1EPAJV9oF19oLm5IjC5kISKB mIU69v/nY8fGhVHdqyE2qIsCa3fYlzC0PQThVxOLI41UY6z+rdgofbo8pj2i08QVcist EAMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=BTLjts0Ve/bbTwB3qArx5+umOWuvCZh5Zgfbq3lJFSo=; b=rrxE1JoVImaXHk2nbRpXfhMwFOQRDoebeMGUzQWCwKN4y1SYcV4MthGlqGSgen6ECd zR6kWPkqZKTuIYbRWa/XOpzklxTGfVELMmWiiSseg3FUa9TZHVmxIFmuJNA9FGaOVQjX /iOeTvXRBTHzEunMAAiahba8AFqp/7LUnZGwK8sdpbBRCwdU2wdZ3y9XIQ9NlAeoFjRG 3tBx+wXWjuN/GmO/9RYVtN/pRqU6iyQy0U4i7aONxupG2Fpw4R7uEnj+QQnAua0mVeq/ alDw1RIYH67S8b5j8OSUylQOuPVlw3C7cCf4ey95QOFS45cmKbqLbqDu9JiXTuL0h3j2 Ytiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=IPV1qJLB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i22-v6si8099449pgl.439.2018.09.14.15.32.34; Fri, 14 Sep 2018 15:33:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=IPV1qJLB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727872AbeIODsy (ORCPT + 99 others); Fri, 14 Sep 2018 23:48:54 -0400 Received: from mail-eopbgr720052.outbound.protection.outlook.com ([40.107.72.52]:52864 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727065AbeIODsy (ORCPT ); Fri, 14 Sep 2018 23:48:54 -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:X-MS-Exchange-SenderADCheck; bh=BTLjts0Ve/bbTwB3qArx5+umOWuvCZh5Zgfbq3lJFSo=; b=IPV1qJLBz446fHau2NXv3xwiLb5QJh+VFIYtb9QiPOt3xDxdFaOGHbB1xu8U380Ly3ikTOi/QZ88a5ETc5z21HzsbGRivePXLhDVzX1Ltae9M6J/qD5pSLoV2AFGWYWxcMC1/DjTRhx4BWjFswwQyhpTRpgWohxYzs9I1sLj44Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Janakarajan.Natarajan@amd.com; Received: from gi-joe.amd.com (165.204.77.1) by BYAPR12MB2725.namprd12.prod.outlook.com (2603:10b6:a03:61::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.18; Fri, 14 Sep 2018 22:32:22 +0000 From: Janakarajan Natarajan To: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tom Lendacky , Gary Hook , Herbert Xu , "David S . Miller" , Brijesh Singh , Janakarajan Natarajan Subject: [PATCH 0/2] Miscellaneous SEV fixes Date: Fri, 14 Sep 2018 17:32:02 -0500 Message-Id: X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY4PR0101CA0021.prod.exchangelabs.com (2603:10b6:910:3c::34) To BYAPR12MB2725.namprd12.prod.outlook.com (2603:10b6:a03:61::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d958fee3-29cc-435e-42c7-08d61a91f0b9 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BYAPR12MB2725; X-Microsoft-Exchange-Diagnostics: 1;BYAPR12MB2725;3:GhKMgdTqoQIz94h7uzvxggVnAaDT8vbtB3D1GpnCx9dQQEGxlDAdwjHxar+vCdMJeaNsKleWyIL7k0x7q2icWOgoS15KWOm/EkKxEYFYcPDKNBh+xYJCdMZtYbX1tF1auaYM2Jk817hdRvrNc2nwajYMCHl8ZQVHLXDUQAdHgu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CrW79SJgQ9BZPiqoQQoSLpqjaXYRDZ2aoE7eDwcVsylzAJ+x9h60muZt9wKlJGiEWeu+StgF76FdIM6ipEjhCoocL3Pgyq9XQjpVbrwUqnTBgO+EA7chAdQc4gZAlD+cof2oVqvnaHEtZgaOmvzkbHibNffwFVwg;4:xMNgqWt/JAAcJXqY0pxzq0gb5vEEwh+hFbL2q5PoLggzkb7mlxp/RJfTMFV61tI6YQtSGRVnzwKtVF424QhbJ1pTDIHBWkpNlK9Zw5BnFwU1H+MR6lUAGMlqdXyzL8m7GkG2RPjqFhGkjNtcyUyxiFPY8fKKg0uALXIBghhMobAn49iUbQH2T118ZR1PS//Y812+Hfv/r9gYdfhmre5ZVHPgNtVC79WCfgjtekVeNmuH9wS5TV6j2xPxBwx6ostIryyuJ8OMmRiket5mQB5tYA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(93006095)(93001095)(3002001)(10201501046)(3231348)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);SRVR:BYAPR12MB2725;BCL:0;PCL:0;RULEID:;SRVR:BYAPR12MB2725; X-Forefront-PRVS: 07954CC105 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(39860400002)(366004)(136003)(199004)(189003)(6116002)(6666003)(3846002)(305945005)(14444005)(72206003)(52116002)(26005)(7696005)(316002)(16586007)(7736002)(54906003)(5660300001)(105586002)(486006)(53416004)(106356001)(476003)(2616005)(956004)(6486002)(4326008)(50466002)(48376002)(47776003)(66066001)(81156014)(81166006)(386003)(97736004)(186003)(2906002)(86362001)(16526019)(25786009)(53936002)(51416003)(68736007)(8936002)(50226002)(478600001)(8676002)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR12MB2725;H:gi-joe.amd.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BYAPR12MB2725;23:P/4ECx8I6vXCLsol2G4EtulY1auERAvhOiKDS0lhe?= =?us-ascii?Q?o5Qj8APz88kOIHt8Rsmmvneu+QMNowj4eLYpobE0hXxyDQUrRGkx6Sy8pD4o?= =?us-ascii?Q?EPwQbRY2TsjeKLtIc+BLFXB3hQT4fnt2PQudFF89aEUVADJqrfA09tkapUas?= =?us-ascii?Q?w98mHoOQKjS4JBSvMkh065nlY6q8Oq3+xSh3Fv1HY978ntIxCDl0CBc+mW7o?= =?us-ascii?Q?KJrXgSc+iPJVn7uChoNBcPFWnt2kUWuPItMC7oKx0ekRgvC079Dalo6FHE4I?= =?us-ascii?Q?rVxN34CJNTUc6cHXvdDwriR5sKfjxIQo4y6QJXFLzxNIdZMuwQ3fC39zi6KV?= =?us-ascii?Q?8Ce2cfyRgN8iPU8xbs29t2XBjrUsP08a2FlUrFcbi9QGNS41ItiqQZ7ONz1L?= =?us-ascii?Q?UHmXhyoK0iVQOKK46muW8+FwOeE/cN0dvE3gqw4rljrIsvlkucpnMcNLR11G?= =?us-ascii?Q?DttKMIBKcyqZuSWkXhWZCUMFQt1ALcoW1cEY22GsGAMY/vhEHlVnoQs1gY6Q?= =?us-ascii?Q?tuktoCouOrFUgLAhGqShh5Z9K4D7SutFgy4PG+JHWs0wjhGmf/kyJ0CzG4Io?= =?us-ascii?Q?eQnVYqerZF6V2Zc5OMKBvrLggZY9oJt9QlZnofe3yfDdb20qCWIJcgFrbpYL?= =?us-ascii?Q?AtUG3bRCE2keGGXHnw5Kc6lZuQFs4MsUnouQ0tlu7R3Eh3jwnRRyarYeG6qk?= =?us-ascii?Q?H0dvb7BG08Q7kHsEwp2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qW5EZZLXDVCrEczVpJB9fwkqV9kH5GpfFEQtk16Iw3a1Nn0y8+Df8wm0cD4tdckq8AY+3cQCK X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 22:32:22.3582 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d958fee3-29cc-435e-42c7-08d61a91f0b9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2725 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch provides a fix for a static checker warning. The second patch allows for the SEV firmware blob, which will be searched for when updating SEV during PSP initialization, to be named based on the family and model of the processor. Janakarajan Natarajan (2): Fix static checker warning Allow SEV firmware to be chosen based on Family and Model drivers/crypto/ccp/psp-dev.c | 46 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) -- 2.7.4