RE: Pstore : Query on using ramoops driver for DDR

From: Luck, Tony
Date: Tue Feb 09 2021 - 19:41:36 EST


> Can we use existing backend pstore ram driver (fs/pstore/ram.c) for DDR
> instead of SRAM ?

The expectation for pstore is that the system will go through a reset when it
crashes. Most systems do not preserve DDR contents across reset.

> Was the current driver written only to support persistant RAM like SRAM
> or it can accept further change

Linux is in a constant state of change :-)

> to support DDR, If we have a mechanism to copy stored data from DDR to
> external device after the crash.

See above about DDR contents. But if you have a platform that does preserve
DDR contents until your "mechanism" can copy the pstore buffer, then post
a patch.

-Tony