Re: [PATCH v8 01/11] pstore/zone: Introduce common layer to manage storage zones

2020-05-11 Thread WeiXiong Liao
hi Kees Cook, On 2020/5/12 PM 1:15, Kees Cook wrote: > On Tue, May 12, 2020 at 11:55:20AM +0800, WeiXiong Liao wrote: >> On 2020/5/12 AM 7:32, Kees Cook wrote: >>> [...] >>> +struct psz_context { >>> + struct pstore_zone **kpszs; >>> + unsigned int kmsg_max_cnt; >>> + unsigned int

Re: [PATCH v8 01/11] pstore/zone: Introduce common layer to manage storage zones

2020-05-11 Thread Kees Cook
On Tue, May 12, 2020 at 11:55:20AM +0800, WeiXiong Liao wrote: > On 2020/5/12 AM 7:32, Kees Cook wrote: > > [...] > > +struct psz_context { > > + struct pstore_zone **kpszs; > > + unsigned int kmsg_max_cnt; > > + unsigned int kmsg_read_cnt; > > + unsigned int kmsg_write_cnt; > > + /* > >

Re: [PATCH v8 01/11] pstore/zone: Introduce common layer to manage storage zones

2020-05-11 Thread WeiXiong Liao
hi Kees Cook, On 2020/5/12 AM 7:32, Kees Cook wrote: > From: WeiXiong Liao > > Implement a common set of APIs needed to support pstore storage zones, > based on how ramoops is designed. This will be used by pstore/blk with > the intention of migrating pstore/ram in the future. > >

[PATCH v8 01/11] pstore/zone: Introduce common layer to manage storage zones

2020-05-11 Thread Kees Cook
From: WeiXiong Liao Implement a common set of APIs needed to support pstore storage zones, based on how ramoops is designed. This will be used by pstore/blk with the intention of migrating pstore/ram in the future. Signed-off-by: WeiXiong Liao Link: