From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6EFDC433DF for ; Mon, 25 May 2020 09:36:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0A632073B for ; Mon, 25 May 2020 09:36:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="fuRxqLaU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389590AbgEYJgr (ORCPT ); Mon, 25 May 2020 05:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388437AbgEYJgr (ORCPT ); Mon, 25 May 2020 05:36:47 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE680C05BD43 for ; Mon, 25 May 2020 02:36:46 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id i68so13405311qtb.5 for ; Mon, 25 May 2020 02:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RrCJYv2CMkjmXgxh4luY1jGTleOro3sZ8PAwMM7JZE8=; b=fuRxqLaU5g8a+KV52JfO8iIc6Dpzv7xH8zEcUSQ/EPvQBP7xuZujlB1Zqe487JQ3Kq 07LoVBHsy1UXVK+h1466jj5fLf4k0US9SOPw/xkahZeYDz6NXGm5hSOhNSrUBtmqhLWK KpGTM4RgelTirb7PDz/hSax3IAD2wQczpkOEfKXlM0XO/X+ySXMhXr8sWjHil9VXwp4a gjc6rD/Jhv2tYnFrfXg8taOWar/FQPrbAQeQRe+RXkie2tW8wVIJTOK74bsrPbGDoPrG lezjk7vKK6+6lpnEOFAUY+wGVeHzj2KdWfnZ/xg9pSOhTX2lpNrlKoV/wVcAJES3+lOl 9t6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RrCJYv2CMkjmXgxh4luY1jGTleOro3sZ8PAwMM7JZE8=; b=bG95pY5S/eNh/xECFWLhRZCSfQ4Z+L/xas8hXajrPKCZNVzWv6t6breRbuA8y08TzB RLop682CihDMI9blVshUYgIrMqegPxwpjoO9YZwwQ5oomlwniJAAe1OKTescqln9QUbj EUeMR0BIPo71vJ4kCiLcQeYbf3PPf3phHe0MEP0IdVc8f8MwMjTXtVInBVSGoNqxzdFo rPOP5AVhXDORuO7vjqavF5bPibg4YUWkW+q7TwQNSOzyOCE+sV6QRFKo9X0MZhGMuQQH JdGpI2nLJpgzkIQEKgZMee/nZLL3Pi65ZFwklwbhhVUK0sLelaa7+InnsQrpJ7FYPrJX nT9Q== X-Gm-Message-State: AOAM530cnTAP38ZAnxEbZ+BLjApQvEgCoeORiA+RD5mqsdeJpsfgvLl6 vZGz/k2eJMbP5T7DeW97x+PwD2KFoO+HdGAu1XxaSg== X-Google-Smtp-Source: ABdhPJxH6RRcuaHYqO3WxxeIfwE81GyLqMO/ChAPMvFcbjmN7sgsVd4B4nKXJegt6FTlMqeYNykQPLynPcScd/lVDDo= X-Received: by 2002:aed:257c:: with SMTP id w57mr26966940qtc.208.1590399406112; 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 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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