Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-12 Thread Andy Shevchenko
On Tue, Mar 12, 2019 at 04:22:22PM +0900, William Breathitt Gray wrote: > Since Andy appears to have hardware outside of the GPIO subsystem he's > testing, let's wait for that and see how it turns out. Since I have still not much time, here is the driver I'm talking about

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-12 Thread William Breathitt Gray
On Mon, Mar 11, 2019 at 06:01:13PM -0700, Andrew Morton wrote: > On Fri, 8 Mar 2019 09:31:00 +0100 Linus Walleij > wrote: > > > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > > wrote: > > > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > > within a

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-12 Thread William Breathitt Gray
On Tue, Mar 12, 2019 at 02:36:21PM +0900, Masahiro Yamada wrote: > On Fri, Mar 8, 2019 at 5:57 PM William Breathitt Gray > wrote: > > > > On Fri, Mar 08, 2019 at 09:31:00AM +0100, Linus Walleij wrote: > > > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > > > wrote: > > > > > > > This

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-12 Thread Andy Shevchenko
On Tue, Mar 12, 2019 at 7:04 AM Masahiro Yamada wrote: > On Sun, Mar 3, 2019 at 4:48 PM William Breathitt Gray > wrote: > > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > within a bitmap memory region. For each iteration, "start" is set to the > > bit offset of

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-11 Thread Masahiro Yamada
On Fri, Mar 8, 2019 at 5:57 PM William Breathitt Gray wrote: > > On Fri, Mar 08, 2019 at 09:31:00AM +0100, Linus Walleij wrote: > > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > > wrote: > > > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > > within a

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-11 Thread Masahiro Yamada
On Sun, Mar 3, 2019 at 4:48 PM William Breathitt Gray wrote: > > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored to the

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-11 Thread Masahiro Yamada
On Sun, Mar 3, 2019 at 4:48 PM William Breathitt Gray wrote: > > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored to the

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-11 Thread Andrew Morton
On Fri, 8 Mar 2019 09:31:00 +0100 Linus Walleij wrote: > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > wrote: > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > within a bitmap memory region. For each iteration, "start" is set to the > > bit offset of

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-08 Thread Andy Shevchenko
On Fri, Mar 8, 2019 at 10:56 AM William Breathitt Gray wrote: > On Fri, Mar 08, 2019 at 09:31:00AM +0100, Linus Walleij wrote: > > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > > wrote: > > > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > > within a

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-08 Thread William Breathitt Gray
On Fri, Mar 08, 2019 at 09:31:00AM +0100, Linus Walleij wrote: > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > wrote: > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > within a bitmap memory region. For each iteration, "start" is set to the > > bit

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-08 Thread Linus Walleij
On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray wrote: > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored to the

[PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-02 Thread William Breathitt Gray
This macro iterates for each 8-bit group of bits (clump) with set bits, within a bitmap memory region. For each iteration, "start" is set to the bit offset of the found clump, while the respective clump value is stored to the location pointed by "clump". Additionally, the bitmap_get_value8 and