From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH v6 1/3] x86/boot: Add acpitb.c to parse acpi tables Date: Mon, 10 Sep 2018 22:13:49 +0200 Message-ID: References: <20180910124015.18073-1-fanc.fnst@cn.fujitsu.com> <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org To: fanc.fnst@cn.fujitsu.com Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , Kees Cook , bhe@redhat.com, indou.takao@jp.fujitsu.com, Cao jin , Dou Liyang , "Rafael J. Wysocki" , Len Brown , Ard Biesheuvel , linux-efi@vger.kernel.org, ACPI Devel Maling List List-Id: linux-acpi@vger.kernel.org On Mon, Sep 10, 2018 at 2:41 PM Chao Fan wrote: > > Imitate the ACPI code of parsing ACPI tables to dig and read ACPI > tables. Why? > Since some operations are not needed here, What operations? > functions are simplified. Functions will be used to dig SRAT tables to get > information of memory, so that KASLR can the memory in immovable node. So do you want to parse SRAT only or do something in addition to that? > And also, these functions won't influence the initialization of > ACPI after start_kernel().