On Thu, 24 Jun 2021 13:36:21 +0530, Vaibhav Jain wrote: > Persistent memory devices like NVDIMMs can loose cached writes in case > something prevents flush on power-fail. Such situations are termed as > dirty shutdown and are exposed to applications as > last-shutdown-state (LSS) flag and a dirty-shutdown-counter(DSC) as > described at [1]. The latter being useful in conditions where multiple > applications want to detect a dirty shutdown event without racing with > one another. > > [...]
Applied to powerpc/next. [1/1] powerpc/papr_scm: Add support for reporting dirty-shutdown-count https://git.kernel.org/powerpc/c/de21e1377c4fe65bfd8d31e446482c1bc2232997 cheers