RE: df36ac1bc2a16 ("pstore: Don't allow high traffic options on fragile devices")

From: Luck, Tony
Date: Thu Apr 10 2014 - 14:34:49 EST


> Even though those nvram devices are fragile and can only stomach a
> limited amount of writes, wouldn't it be a nifty feature to have a
> kernel cmdline param of the sort "put_dmesg_in_nvram_this_one_time_only"
> which logs to nvram only once for debugging purposes.

Speed is also a factor ... waiting for flash to update for each printk()
would mess up timing so much that you might not see the problem
you are chasing.

A better EFI trick for this would be "capsules". They live in regular RAM
and BIOS firmware does stuff with them at warm reset time. Matt has
been looking at them - but BIOS support for them seems sketchy to none
right now.

-Tony