Re: [PATCH 2/3] physmem: Factor out body of flatview_read/write_continue() loop

2024-03-07 Thread Jonathan Cameron via
On Fri, 1 Mar 2024 13:35:26 +0800 Peter Xu wrote: > On Fri, Mar 01, 2024 at 01:29:04PM +0800, Peter Xu wrote: > > On Thu, Feb 15, 2024 at 02:28:16PM +, Jonathan Cameron wrote: > > > This code will be reused for the address_space_cached accessors > > > shortly. > > > > > > Also reduce scope

Re: [PATCH 2/3] physmem: Factor out body of flatview_read/write_continue() loop

2024-02-29 Thread Peter Xu
On Fri, Mar 01, 2024 at 01:29:04PM +0800, Peter Xu wrote: > On Thu, Feb 15, 2024 at 02:28:16PM +, Jonathan Cameron wrote: > > This code will be reused for the address_space_cached accessors > > shortly. > > > > Also reduce scope of result variable now we aren't directly > > calling this in the

Re: [PATCH 2/3] physmem: Factor out body of flatview_read/write_continue() loop

2024-02-29 Thread Peter Xu
On Thu, Feb 15, 2024 at 02:28:16PM +, Jonathan Cameron wrote: > This code will be reused for the address_space_cached accessors > shortly. > > Also reduce scope of result variable now we aren't directly > calling this in the loop. > > Signed-off-by: Jonathan Cameron > --- > system/physmem.c

[PATCH 2/3] physmem: Factor out body of flatview_read/write_continue() loop

2024-02-15 Thread Jonathan Cameron via
This code will be reused for the address_space_cached accessors shortly. Also reduce scope of result variable now we aren't directly calling this in the loop. Signed-off-by: Jonathan Cameron --- system/physmem.c | 165 --- 1 file changed, 98 insertion