Thread (18 messages) 18 messages, 7 authors, 2021-01-06

Re: [PATCH 0/5] Introduce the for_each_set_clump macro

From: Michal Simek <hidden>
Date: 2021-01-05 11:10:59
Also in: linux-arch, linux-arm-kernel, linux-gpio, lkml

Hi,

On 26. 12. 20 7:41, Syed Nayyar Waris wrote:
Hello Linus,

Since this patchset primarily affects GPIO drivers, would you like
to pick it up through your GPIO tree?

(Note: Patchset resent with the new macro and relevant
functions shifted to a new header clump_bits.h [Linus Torvalds])

Michal,
What do you think of [PATCH 5/5]? Is the conditional check needed? And
also does returning -EINVAL look good?
As was said would be better to handle it out of this series. And I
expect none is really describing fpga designs by hand and using DT
generator for it. But I can't see any issue with checking that we are
not exceeding certain limit.
Just keep in your mind that every bank has max 32 lines.
It means if you say bank0 40, bank1 10 which is in total 50 it will pass
your condition in 5/5.
It means maybe checking every bank separately is better approach.

Thanks,
Michal

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help