Re: [PATCH] perf: fix kernel panic when parsing user space CS saved in pt_regs

From: Peter Zijlstra
Date: Thu Jun 05 2014 - 05:15:31 EST


On Thu, Jun 05, 2014 at 04:00:24PM +0800, Zhang, Yanmin wrote:
> On 2014/6/5 15:55, Peter Zijlstra wrote:

> >Why does pstore cause corruption? I thought that stuff was supposed to
> >be 'good' ?

> pstore is good if the board is reset by WarmReset as memory content is kept
> across rebooting.
> If it's a ColdReset, memory might lose some or all contents. My board uses
> Coldreset, which is a very
> fast ColdReset. Most memory content can be kept. But sometimes, some data
> has little change.

Oh, I thought pstore was persistent across cold resets or even power
outages. My bad then.

Attachment: pgpcgDGNDW55g.pgp
Description: PGP signature