I could use some help flushing out this idea.
The ACPI APIE and ERST methods allow the kernel to mount pstore to
store information in NVRAM (coreboot cbfs). This could be used to
store errors that are otherwise difficult to track, like suspend and
resume issues. The implementation would need to be able to find an
area free in cbfs for storing the data.
I'm not sure that this is a full gsoc project. Maybe part of an ACPI