From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartosz Golaszewski Subject: Re: [PATCH v7 0/4] Introduce the for_each_set_clump macro Date: Mon, 25 May 2020 11:36:35 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Syed Nayyar Waris Cc: Linus Walleij , Andrew Morton , Andy Shevchenko , William Breathitt Gray , Michal Simek , Arnd Bergmann , rrichter@marvell.com, Masahiro Yamada , Zhang Rui , Daniel Lezcano , Amit Kucheria , linux-arch@vger.kernel.org, linux-gpio , LKML , arm-soc , linux-pm List-Id: linux-arch.vger.kernel.org niedz., 24 maj 2020 o 07:00 Syed Nayyar Waris napisa= =C5=82(a): > > Hello Linus, > > Since this patchset primarily affects GPIO drivers, would you like > to pick it up through your GPIO tree? > > This patchset introduces a new generic version of for_each_set_clump. > The previous version of for_each_set_clump8 used a fixed size 8-bit > clump, but the new generic version can work with clump of any size but > less than or equal to BITS_PER_LONG. The patchset utilizes the new macro > in several GPIO drivers. > > The earlier 8-bit for_each_set_clump8 facilitated a > for-loop syntax that iterates over a memory region entire groups of set > bits at a time. > The GPIO part looks good to me. Linus: how do we go about merging it given the bitops dependency? Bart From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389421AbgEYJgr (ORCPT ); Mon, 25 May 2020 05:36:47 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0567C08C5C1 for ; Mon, 25 May 2020 02:36:46 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id y1so2698388qtv.12 for ; Mon, 25 May 2020 02:36:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bartosz Golaszewski Date: Mon, 25 May 2020 11:36:35 +0200 Message-ID: Subject: Re: [PATCH v7 0/4] Introduce the for_each_set_clump macro Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-arch-owner@vger.kernel.org List-ID: To: Syed Nayyar Waris Cc: Linus Walleij , Andrew Morton , Andy Shevchenko , William Breathitt Gray , Michal Simek , Arnd Bergmann , rrichter@marvell.com, Masahiro Yamada , Zhang Rui , Daniel Lezcano , Amit Kucheria , linux-arch@vger.kernel.org, linux-gpio , LKML , arm-soc , linux-pm Message-ID: <20200525093635.-XHV-ma1Btug2divxE0j6E3Bx22Dn4FLLcxkT8f3fAY@z> niedz., 24 maj 2020 o 07:00 Syed Nayyar Waris napisa= =C5=82(a): > > Hello Linus, > > Since this patchset primarily affects GPIO drivers, would you like > to pick it up through your GPIO tree? > > This patchset introduces a new generic version of for_each_set_clump. > The previous version of for_each_set_clump8 used a fixed size 8-bit > clump, but the new generic version can work with clump of any size but > less than or equal to BITS_PER_LONG. The patchset utilizes the new macro > in several GPIO drivers. > > The earlier 8-bit for_each_set_clump8 facilitated a > for-loop syntax that iterates over a memory region entire groups of set > bits at a time. > The GPIO part looks good to me. Linus: how do we go about merging it given the bitops dependency? Bart