Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36359C433F5 for ; Wed, 1 Dec 2021 14:06:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349695AbhLAOJe (ORCPT ); Wed, 1 Dec 2021 09:09:34 -0500 Received: from mail-bn8nam08on2054.outbound.protection.outlook.com ([40.107.100.54]:8800 "EHLO NAM04-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244709AbhLAOJZ (ORCPT ); Wed, 1 Dec 2021 09:09:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/M2MNngxTn1TSGHy7ekvY/m3AYw2L5+Ivi+hJudfNA07vtp1XV1X2sWsLhVL3jvR9uYAJb82Hg+SjqKjuzWqT/2RM0jZQarlBKISM91A5LKWso7UVmI5fx/6l7QlNaPjQrg1J1C5yDmqujcmbqn1fZpbMAJVx1Z2WEjd8D7SkQSEp9a0I71GlniZUDZ1cXCMuYK9gg/1WvQA3GyfppfAAGZjy2vHciYdIf/qPJJm5AWTS+W51KhT4dilIF3cotJ/d4DFAj+6Q6vuQzuDQPhXs3cn2Knjf9ZLzKXUKCS3hYvfylX2vL27iP12jX6rQfsoy4pg7s5X8n5/ZXyAtHTIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=q2SVQdCyY5kZZxPU5G3TsbEFAJD0NdFfH8XbKUIm+vg=; b=T6cG7gnlqpUKnd1XxpcaqWfv1gokd6vQvnD1BVq4jRJ+Vt0R3kdL5r4sNdmSUhgjkfo+6OJrUxMlszSHz0iu8zmDRe7vz1M7DhAnIwcoAHky4k1cQqzo/53xZFzmqx3Z4fWWmnqVagdvzoAo8RSQIHzfc9DEzjasay1R+xvBclpQV5RxfMuw6Wlq26wj6Hf7dyys8v8hKTGv9pNtPiPZb95kb8uf3l3FzXbP/9YfPdBnhydXl3kmV68WR1nHbj9Alde1RJGnxqfl8LB4M477RGqYPZeVae/00ELZdrFyEDNmgb+wbB7022XAATwRWpdhQUHQFmy25HLkLrUQ9EI25Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=q2SVQdCyY5kZZxPU5G3TsbEFAJD0NdFfH8XbKUIm+vg=; b=QlZ8NlBySrlkOu+KiaJ1Ofzl5ceCGnbD0nRms/FMWqBhnbzwzS02SZXh90jNbpGIfWG1HAs12Dn01K1AfTMm5r1352EmC+YXU5oVCBt76ln7fCuOj2Fa8CIo0898aLq4eyccnTKg1lKzHMaBZsafWdu5x+ZgdQNsdmCwdyf2tj4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) by DM4PR12MB5390.namprd12.prod.outlook.com (2603:10b6:5:39a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Wed, 1 Dec 2021 14:06:02 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1ddd:71e4:5803:e44a]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1ddd:71e4:5803:e44a%3]) with mapi id 15.20.4734.020; Wed, 1 Dec 2021 14:06:02 +0000 Subject: Re: [PATCH v2] x86/sme: Explicitly map new EFI memmap table as encrypted From: Tom Lendacky To: Ard Biesheuvel , Borislav Petkov Cc: linux-efi , platform-driver-x86@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Darren Hart , Andy Shevchenko , Matt Fleming , "# 3.4.x" , Linux Kernel Mailing List , X86 ML References: <8afff0c64feb6b96db36112cb865243f4ae280ca.1634922135.git.thomas.lendacky@amd.com> Message-ID: <15ceb556-0b56-2833-206e-0cf9b9d2cb45@amd.com> Date: Wed, 1 Dec 2021 08:05:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR02CA0136.namprd02.prod.outlook.com (2603:10b6:208:35::41) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) MIME-Version: 1.0 Received: from [10.236.30.241] (165.204.77.1) by BL0PR02CA0136.namprd02.prod.outlook.com (2603:10b6:208:35::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Wed, 1 Dec 2021 14:06:00 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d37dbd83-66e6-4026-d9ac-08d9b4d3b4b9 X-MS-TrafficTypeDiagnostic: DM4PR12MB5390: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o0GZBJYWmA1q7z6ny8fCpGBwJWwr16FWQ64YxN1z+s9LQRjGFZcuS1QmPCc2i3iVIY2SAphdxDFkClEEqGJ1IIiBQFYEy65I3yBh8IH7FbX3G5kYWuZ2LXXEivg2VJikyHg8GhJ4PCLCwHJiKt+a9ruh1Np+3W2erhdE6hIxjpTqp+r6EdA3P8UngvVpfr60mln40XXSr0dyxa1tGS30kEanvYqxnJpXh3m5EyBh4nZlbo3q+7yyI5F0exetYRTURGMM/JH9ModZQG9liTxOFEUfxu4HOKH8QqOJZMeu7gh2ICkFegvz3FDxHS5coxGTkD8EGSYn5annuX9TsLbCgm13S3hTJjHxmlov0+uiRtDj4CWA1MOY6VGDylt7pBxClMyeDhq0iFnT90c4QW1JJ/57Ifan6D44W6vp7h/LFz4/YRiVSFH+xk92wV4259cM+U55jkOhRMIqE0u4lRtTx9sOHCRYvaaAcLoyd+FVeRcs+Iir/8AH0jU3t/na03C6mVLdSHSw4y9Sz973YeZ7ktkODgInWCfcBfTgy26nRZlAlQpCHcaYJBDNbQ6eV7RNhpLjiiy8Xv45HmKNTCIXz0BvPEkmfI00G52EcpqTNjqjUdSRpb+eWh0Y6OogfosK3lLRq46kKTwjcKntm/67PtxeD4bAQoUvT0a/2ENYnhpmRpFHuIy5Y9LXydcCDvgO25m9Ytl4C6bjfrbtaHaOR/OfL3L5zCokIGUCPntSXn8fB0eOysXsH2NCy6rwY4KM X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5229.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(316002)(2906002)(508600001)(83380400001)(110136005)(16576012)(8936002)(31696002)(7416002)(53546011)(2616005)(8676002)(956004)(66556008)(38100700002)(31686004)(66946007)(186003)(4326008)(54906003)(36756003)(6486002)(26005)(86362001)(66476007)(5660300002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?enlrN0JGS28xK2JRN2N3ODd0cG5vMWRFaElQMVIwN2dLYlZ3c2NkK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RkwzUXUzb3R2V3NZeVZ3TVRBckJzdWJyRmFSaGpmK1VmMFNQZGYzbnVS?= =?utf-8?B?WmM5N0VaNFBLcWpkeTFjZno2ellQbFF6b0RMRzhmYjRLRHpEK09FRFVzVnRk?= =?utf-8?B?c2t3U2FxcHI0eWtsSlZlQ0p5YTdsY2VKYlo4UVQyTVZaWERRb3RaOE44ZXpC?= =?utf-8?B?elJ1OUt0cnRIR3lCOExJZGNSZmUzVTVWSkJRYi90Z21qRGF0N2x4eHBla3dh?= =?utf-8?B?U2NHNFFZSW9JWTIrSEZDRG9oWkVrNVVYV0hNcEFFeCtObWptWmM4RGZKWHJt?= =?utf-8?B?bkpqbHpZTmlWbGxYVlA5dUZMbHJud2hFZFhBR2RNZEI2RnNzUkpoVmt3V3VL?= =?utf-8?Q?zAB3dWm0U6OYQRAdriomzfk=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d37dbd83-66e6-4026-d9ac-08d9b4d3b4b9 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2021 14:06:02.0480 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tM81zmcX9FlBQdI/wNaFRh0go5fwWTrzlMj0EFbZ9Ao/IDQo463AsgOLwxkzeM5UO36VXhBAzqcmHbq0XL6R+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5390 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/27/21 12:04 PM, Tom Lendacky wrote: > > > On 10/27/21 11:59 AM, Ard Biesheuvel wrote: >> On Wed, 27 Oct 2021 at 18:56, Borislav Petkov wrote: >>> >>> On Wed, Oct 27, 2021 at 05:14:35PM +0200, Ard Biesheuvel wrote: >>>> I could take it, but since it will ultimately go through -tip anyway, >>>> perhaps better if they just take it directly? (This will change after >>>> the next -rc1 though) >>>> >>>> Boris? >>> >>> Yeah, I'm being told this is not urgent enough to rush in now so you >>> could queue it into your fixes branch for 5.16 once -rc1 is out and send >>> it to Linus then. The stable tag is just so it gets backported to the >>> respective trees. >>> >>> But if you prefer I should take it, then I can queue it after -rc1. >>> It'll boil down to the same thing though. >>> >> >> No, in that case, I can take it myself. >> >> Tom, does that work for you? > > Yup, that works for me. Thanks guys! I don't see this in any tree yet, so just a gentle reminder in case it dropped off the radar. Thanks, Tom > > Tom > >>