On Mon, Sep 10, 2018 at 10:13:49PM +0200, Rafael J. Wysocki wrote: >On Mon, Sep 10, 2018 at 2:41 PM Chao Fan <fanc.fnst@xxxxxxxxxxxxxx> wrote: >> >> Imitate the ACPI code of parsing ACPI tables to dig and read ACPI >> tables. > >Why? Sorry for that, I have sent the cover letter to you. > >> Since some operations are not needed here, > >What operations? Such as some operations related to the map between physical address and virtual address. Here in compressed period, use physical address directely. > >> 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? Only read and get memory information, won't change SRAT. So ACPI code will not be changed. Thanks, Chao Fan > >> And also, these functions won't influence the initialization of >> ACPI after start_kernel(). > >