[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3397e4295c9a1d5ffcd311027dd3b933@ispras.ru>
Date: Thu, 20 Oct 2022 15:10:45 +0300
From: Evgeniy Baskov <baskov@...ras.ru>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>, Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
lvc-project@...uxtesting.org, x86@...nel.org,
linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH 10/16] x86/boot: Make console interface more abstract
On 2022-10-19 10:23, Ard Biesheuvel wrote:
> On Tue, 6 Sept 2022 at 12:42, Evgeniy Baskov <baskov@...ras.ru> wrote:
>>
>> To be able to extract kernel from EFI, console output functions
>> need to be replaceable by alternative implementations.
>>
>> Make all of those functions pointers.
>> Move serial console code to separate file.
>>
>
> What does kernel_add_identity_map() have to do with the above? Should
> that be a separate patch?
It used to be dependent, but no longer is.
I'll split making kernel_add_identity_map() a function pointer
out into separate patch.
>
>> Signed-off-by: Evgeniy Baskov <baskov@...ras.ru>
>> ---
>> arch/x86/boot/compressed/Makefile | 2 +-
>> arch/x86/boot/compressed/ident_map_64.c | 15 ++-
>> arch/x86/boot/compressed/misc.c | 109 +--------------------
>> arch/x86/boot/compressed/misc.h | 13 ++-
>> arch/x86/boot/compressed/putstr.c | 124
>> ++++++++++++++++++++++++
>> 5 files changed, 146 insertions(+), 117 deletions(-)
>> create mode 100644 arch/x86/boot/compressed/putstr.c
...
Powered by blists - more mailing lists