Re: [PATCHv8 05/14] x86/boot: Add infrastructure required for unaccepted memory support

From: Borislav Petkov
Date: Tue Jan 03 2023 - 08:52:47 EST


On Wed, Dec 07, 2022 at 04:49:24AM +0300, Kirill A. Shutemov wrote:
> Pull functionality from the main kernel headers and lib/ that is
> required for unaccepted memory support.
>
> This is preparatory patch. The users for the functionality will come in
> following patches.

No need for that sentence.

> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> ---
> arch/x86/boot/bitops.h | 40 ++++++++++++
> arch/x86/boot/compressed/align.h | 14 +++++
> arch/x86/boot/compressed/bitmap.c | 43 +++++++++++++
> arch/x86/boot/compressed/bitmap.h | 49 +++++++++++++++
> arch/x86/boot/compressed/bits.h | 36 +++++++++++
> arch/x86/boot/compressed/find.c | 54 ++++++++++++++++
> arch/x86/boot/compressed/find.h | 79 ++++++++++++++++++++++++
> arch/x86/boot/compressed/math.h | 37 +++++++++++
> arch/x86/boot/compressed/minmax.h | 61 ++++++++++++++++++
> arch/x86/boot/compressed/pgtable_types.h | 25 ++++++++
> 10 files changed, 438 insertions(+)
> create mode 100644 arch/x86/boot/compressed/align.h
> create mode 100644 arch/x86/boot/compressed/bitmap.c
> create mode 100644 arch/x86/boot/compressed/bitmap.h
> create mode 100644 arch/x86/boot/compressed/bits.h
> create mode 100644 arch/x86/boot/compressed/find.c
> create mode 100644 arch/x86/boot/compressed/find.h
> create mode 100644 arch/x86/boot/compressed/math.h
> create mode 100644 arch/x86/boot/compressed/minmax.h
> create mode 100644 arch/x86/boot/compressed/pgtable_types.h

Reviewed-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette