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 F1070C636D7 for ; Tue, 31 Jan 2023 10:00:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230043AbjAaKAl (ORCPT ); Tue, 31 Jan 2023 05:00:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232151AbjAaKAi (ORCPT ); Tue, 31 Jan 2023 05:00:38 -0500 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A38494ABE9; Tue, 31 Jan 2023 02:00:32 -0800 (PST) Received: from mail.ispras.ru (unknown [83.149.199.84]) by mail.ispras.ru (Postfix) with ESMTPSA id B0E6740D403D; Tue, 31 Jan 2023 10:00:28 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru B0E6740D403D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1675159228; bh=h4ToMGMZFYqFycLaLNJ4vdum98eO1aybaTxkVOuGkJk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g+JYm/fhlp78oZKB6Obj0kKsvhCD2k5Pk34fdePNw5FOwbxZb3ZibZogOGlDCaHO6 thAjOlXB9Esnt71jyGox8o+YIwX0R92HzAk4fgpPXSyThH8FOvByk11E4VbDVGW+HE +Bo1s4+zzdEvuYUfE2jXcSRFKfs1jZO9F2cmI23k= MIME-Version: 1.0 Date: Tue, 31 Jan 2023 13:00:28 +0300 From: Evgeniy Baskov To: Ard Biesheuvel Cc: Borislav Petkov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , "Limonciello, Mario" , joeyli , lvc-project@linuxtesting.org, x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v3 22/24] efi/libstub: Add memory attribute protocol definitions In-Reply-To: References: <44539c8c6afdba66f791942deae95c7b13d1e13b.1668958803.git.baskov@ispras.ru> User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: baskov@ispras.ru Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-01-31 11:37, Ard Biesheuvel wrote: > On Tue, 22 Nov 2022 at 12:14, Evgeniy Baskov wrote: >> >> EFI_MEMORY_ATTRIBUTE_PROTOCOL servers as a better alternative to >> DXE services for setting memory attributes in EFI Boot Services >> environment. This protocol is better since it is a part of UEFI >> specification itself and not UEFI PI specification like DXE >> services. >> >> Add EFI_MEMORY_ATTRIBUTE_PROTOCOL definitions. >> Support mixed mode properly for its calls. >> >> Tested-by: Mario Limonciello >> Signed-off-by: Evgeniy Baskov > > I have fixed up just this patch, as there is another user for the > protocol in zboot. > One patch less in the patch set then, thanks!