RE: ERST: how to avoid a dynamic memory allocation in panic case

2013-01-22 Thread Seiji Aguchi
> > > > @@ -918,10 +918,7 @@ acpi_os_read_memory(acpi_physical_address phys_addr, > > u64 *value, u32 width) > > virt_addr = acpi_map_vaddr_lookup(phys_addr, size); > > if (!virt_addr) { > > rcu_read_unlock(); > > - virt_addr = acpi_os_ioremap(phys_addr, size); > >

Re: ERST: how to avoid a dynamic memory allocation in panic case

2013-01-22 Thread Huang Ying
On Tue, 2013-01-22 at 23:30 +, Seiji Aguchi wrote: > [Issue] > > Current erst driver is kicked in panic case. > On the other hand, a dynamic memory allocation seems to run in it > with a following code path. > > erst_writer -> erst_write -> __erst_write_to_storage -> many of apei_exec_run >