Re: [RFC v5 3/4] pstore/blk: support pmsg for pstore block

2019-01-23 Thread
On 2019-01-18 08:17, Kees Cook wrote: > On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong > wrote: >> >> To enable pmsg, just set pmsg_size when block device register blkzone. > > At first pass, this looks like a reasonable extension of blkzone. Is > it possible to add console, ftrace, etc, too? > I

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-19 Thread
On 2019-01-18 08:21, Kees Cook wrote: > On Thu, Jan 17, 2019 at 4:15 PM Kees Cook wrote: >> >> On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong >> wrote: >>> >>> It is a sample for pstore_blk, using general ram rather than block device. >>> According to pstore_blk, the data will be saved to ram buffer

Re: [RFC v5 0/4] pstore/block: new support logger for block devices

2019-01-07 Thread
On 2019-01-08 05:47, Kees Cook wrote: > On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong > wrote: >> >> Why should we need pstore_block? >> 1. Most embedded intelligent equipment have no persistent ram, which >> increases costs. We perfer to cheaper solutions, like block devices. >> In fast, there is a