Re: [RFC PATCH 1/4] acpi: change the topo of acpi_table_upgrade()

2019-01-07 Thread Rafael J. Wysocki
On Mon, Jan 7, 2019 at 9:25 AM Pingfan Liu wrote: > > The current acpi_table_upgrade() relies on initrd_start, but this var is > only valid after relocate_initrd(). There is requirement to extract the > acpi info from initrd before memblock-allocator can work(see [2/4]), hence >

[RFC PATCH 1/4] acpi: change the topo of acpi_table_upgrade()

2019-01-07 Thread Pingfan Liu
The current acpi_table_upgrade() relies on initrd_start, but this var is only valid after relocate_initrd(). There is requirement to extract the acpi info from initrd before memblock-allocator can work(see [2/4]), hence acpi_table_upgrade() need to accept the input param directly. Signed-off-by: