Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7234811imu; Thu, 31 Jan 2019 07:08:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN4aqnXNraiGKlgdAmefSPTnPZ38V9cFo8xMdv8sguy78N+EMPEQD04NRg5IK6PEEnXvU7G7 X-Received: by 2002:a62:2082:: with SMTP id m2mr34402277pfj.163.1548947308415; Thu, 31 Jan 2019 07:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548947308; cv=none; d=google.com; s=arc-20160816; b=ugpSjr9LKIeqP/FJmKeq1pZ2r1RGIIVHCd+KdbjtjfDnBJAoQRpQCFvPYza3UzntQ+ MBRND+4E2suMDDd+YzXKPI10W/FUYeha+Bmzi8++s2aDaSfTq+5AJPNC8oKA3yjWmbq8 UXqPIboQy3mRyc2FPcWmeWiNEpQKcqxP+YpIcIquIraP1scXmtBF8ef+7s9fWX7hzHzd 4KOKo41SNr7j105DySeFNo+DSMUtVIicSf9tjgA7iN5K0LvBd1BU8yDWtkWE/Ew/wVEY p9KAQDiTEUgjJS+eAH/zu8Jm4K9gdekwIMMHZHCWjE24gXYu6yNFoWvxp0UI6VNfLhTf +dXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=VSsgRyWwB/P9sDLxt6kcG57ykNYCQhi+UfJMYlFP54M=; b=EkEfFzeYy1bBYhZfRoLDpLV2xERX9esjUN5hALKlcAa0smeAmvL/tU2Of0j8ml+NBg JrQw8QMbT62FBCKslN8pURv5wOOHQ0XE+8jbr2qTPRmk0353oDERxJAU6hjZE9D4tGyk RhQ1BmS0vDeRRXbxUiPRAnMaa20Ibr5cQ1kmgMhUZAV4LDkEjimz3IxfN+fFf4SJF/cq AqKYzThVtbxCCY/rvtY+37DVKSgZct80tCvNIAmNNNoJWZqbv9vwlwCVQnYAB3k6rZIw k6GlSmRuFsWyZ+3GbHl2QCy36jNPFX8nawFsnaHVLcv3QrM/bnAAlwD7pBTUJYxd4ld2 kllA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=LIUpEk64; 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 v25si4719150pfg.135.2019.01.31.07.08.11; Thu, 31 Jan 2019 07:08:28 -0800 (PST) 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=LIUpEk64; 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 S1727451AbfAaPIG (ORCPT + 99 others); Thu, 31 Jan 2019 10:08:06 -0500 Received: from mail-eopbgr780089.outbound.protection.outlook.com ([40.107.78.89]:21220 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725787AbfAaPIG (ORCPT ); Thu, 31 Jan 2019 10:08:06 -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:X-MS-Exchange-SenderADCheck; bh=VSsgRyWwB/P9sDLxt6kcG57ykNYCQhi+UfJMYlFP54M=; b=LIUpEk64perq/HfOpsB38xbB1HryS3gEUY8O7nqP2WRt+ULFo4YmB1J6uTqF7oNtU0Kb6Om7+DfebkesurjjiR+noQc0g08KeOGzjIU7W6T4shEbgii+oc+LV1ciy/QXjXoQAdslRM162g/9ofscYU44D/ZNjo0GDCZzoZ+LvFg= Received: from MN2PR12MB3631.namprd12.prod.outlook.com (20.178.243.19) by MN2PR12MB3278.namprd12.prod.outlook.com (20.179.83.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Thu, 31 Jan 2019 15:08:01 +0000 Received: from MN2PR12MB3631.namprd12.prod.outlook.com ([fe80::a861:43c0:476d:e044]) by MN2PR12MB3631.namprd12.prod.outlook.com ([fe80::a861:43c0:476d:e044%5]) with mapi id 15.20.1580.017; Thu, 31 Jan 2019 15:08:01 +0000 From: "Lendacky, Thomas" To: "Singh, Brijesh" , "linux-crypto@vger.kernel.org" CC: "linux-kernel@vger.kernel.org" , "Hook, Gary" Subject: Re: [PATCH] crypto: ccp: fix the SEV probe in kexec boot path Thread-Topic: [PATCH] crypto: ccp: fix the SEV probe in kexec boot path Thread-Index: AQHUuN53GxbsT9pk+UaDAUjTznR126XJe8SA Date: Thu, 31 Jan 2019 15:08:01 +0000 Message-ID: References: <20190130205710.14268-1-brijesh.singh@amd.com> In-Reply-To: <20190130205710.14268-1-brijesh.singh@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN1PR12CA0072.namprd12.prod.outlook.com (2603:10b6:802:20::43) To MN2PR12MB3631.namprd12.prod.outlook.com (2603:10b6:208:cc::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MN2PR12MB3278;20:ZTFaO0fANIvRFWL+adZ2CCjOjOtr7GpZnwP/z5FkL2IRNPxZywrIyVRY5iv4B25VdVR+pXzzfG1u+uyVLGCo0p6REH4CM8r763SqJzinuEqkqWK4uxV+n1qwxzg3ztBBdx9cQlYy1kq6S/5GHQE6yIRcn/+VW+wyncB01ebvaqEBZTNgTujH4ipHdsW0hvs6egTiumeBbM+nAMjg7JfwN9LbisghTJB459GJl81g1fYklY/AIA8HXJXImzaxbxk+ x-ms-office365-filtering-correlation-id: 27b7533c-8ad4-4099-a150-08d6878de46e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:MN2PR12MB3278; x-ms-traffictypediagnostic: MN2PR12MB3278: x-microsoft-antispam-prvs: x-forefront-prvs: 09347618C4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(39860400002)(346002)(376002)(396003)(136003)(366004)(199004)(189003)(106356001)(25786009)(105586002)(4326008)(450100002)(2906002)(2501003)(81156014)(81166006)(86362001)(31696002)(31686004)(8676002)(229853002)(14454004)(97736004)(71190400001)(71200400001)(8936002)(478600001)(72206003)(256004)(53936002)(14444005)(6246003)(6436002)(6116002)(6486002)(6512007)(486006)(66066001)(110136005)(54906003)(68736007)(76176011)(3846002)(2616005)(6506007)(36756003)(7736002)(26005)(386003)(99286004)(316002)(102836004)(53546011)(52116002)(476003)(11346002)(446003)(305945005)(186003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR12MB3278;H:MN2PR12MB3631.namprd12.prod.outlook.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: dXPgbx2Pusi2zbRkIUpYHfEKi5eiSHKmoxQ5wZbkiNP95zuFK47RxjLH9nM1ZTXXjPlcJSbtcOgl1gAYtxigvVDs0azikyzpM0og5695jLHteP5KNcnMHw/AaY/zFxfnYXrK2YBp1UHHt5jVav/KRVq4rcyPSBIn8+gDm2D9xNDUlLMX+ZZdV0CpKbwMk4PWjlmm4Iu7tz5xFP/tApsR6zfkr2HCGTaR8UdMr658dEbo13jcTvvYRM0MOPfaXmm15gj5951l5n6TJpI4l9TGvp60+UAC6EkMNBSTUHwgX13XUUonFpts3Kpx7yboOFyHo6MiEDhesbW8dvGPftaFrxLA7DDk7j3PkFZiOISK5pei7L4pRM4EkST65qxt8GjT6UmZLH3YUNGwhc5zfak52CsKtEE7430V6PLnYZ3akCY= Content-Type: text/plain; charset="utf-8" Content-ID: <9EE5576060482B4390EF50D59C2314BF@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27b7533c-8ad4-4099-a150-08d6878de46e X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2019 15:08:00.8825 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3278 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMS8zMC8xOSAyOjU3IFBNLCBTaW5naCwgQnJpamVzaCB3cm90ZToNCj4gQSBrZXhlYyByZWJv b3QgbWF5IGxlYXZlIHRoZSBmaXJtd2FyZSBpbiBJTklUIG9yIFdPUktJTkcgc3RhdGUuDQo+IEN1 cnJlbnRseSwgd2UgaXNzdWUgUExBVEZPUk1fSU5JVCBjb21tYW5kIGR1cmluZyB0aGUgcHJvYmUg d2l0aG91dA0KPiBjaGVja2luZyB0aGUgY3VycmVudCBzdGF0ZS4gVGhlIFBMQVRGT1JNX0lOSVQg Y29tbWFuZCBmYWlscyBpZiB0aGUN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