From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 148C179C5 for ; Tue, 3 Jan 2023 13:52:42 +0000 (UTC) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 90BC81EC04A9; Tue, 3 Jan 2023 14:52:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1672753960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=jenftXUsLCjYgVrpPBjfO/iyCDXDPDkEsFq22/aOs1Y=; b=ZYVEZy40bpZKRPNEb8A+GuJDwo7co0rlr98fvB9Y46v2y2MaROimAin4irtrRaH0yfVsVu YJFlUTK+92Y1n157kbiM0mqAgVZirhb4LrcZxhZhM8StngsMJoYWzHWJdG5iLOxBw3rMP9 JoTXTSzQ+35L8T7r5FofStb4YRVIDmw= Date: Tue, 3 Jan 2023 14:52:35 +0100 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Dario Faggioli , Dave Hansen , Mike Rapoport , David Hildenbrand , Mel Gorman , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, aarcange@redhat.com, peterx@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv8 05/14] x86/boot: Add infrastructure required for unaccepted memory support Message-ID: References: <20221207014933.8435-1-kirill.shutemov@linux.intel.com> <20221207014933.8435-6-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221207014933.8435-6-kirill.shutemov@linux.intel.com> 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 > --- > 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) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette