Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp922913ybs; Mon, 25 May 2020 02:39:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7t6gcuW71PDy56Q80B2s8BEkIi7euKKSvZ6nhUI0aWMKhiG/tcXVFKU9s4UYi2hMGZtMc X-Received: by 2002:a50:bf04:: with SMTP id f4mr13821573edk.91.1590399589023; Mon, 25 May 2020 02:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590399589; cv=none; d=google.com; s=arc-20160816; b=IjQ7ZZjIruTPc/qt9czEVMAJ8aXHWGeaUlgQVIfVAm6cwG906C7dyH31409xSxFiAB XjT01NyrB7Vw/r5weo59UKETxJdohGsZMfp7W7U0A1PWYegXpyP96rwTs4fOeJ9nQ6Ju Ad8vhZ4EJMH7+WlhPwtIH+7ZMbcO+K2Pm4ic6ZfJEvhtscOQvjjEJANFuRg5cFPa8gYw K3wRL0XpW/yN2dxqlmZZ7anAMxovcjDNQpr6kD0VYIZahe1aguidKoQNgSD6gf93IEly h4+6+KsnRxUYbkVYgIbYjbs9brNsOXjYubYaqTiKcp6pbOLo6YSxPZbaINSsZD0N7f/9 ywsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RrCJYv2CMkjmXgxh4luY1jGTleOro3sZ8PAwMM7JZE8=; b=AWNpAiVYs8ZbYCSc8mc/xFFYUInkoOViC2+wLNrud1xPrNiexTZLXelSI131Ifxpe5 J/Jbxlhq45XXFGdevb5VHPe9gbGO6ufLN3I3IehuhFpaDgvoHqCRS9JUI2VIokFoNmos GPMgJUcFpMF4BgUV0s/Uwam+w0+GKPOZ76r2L5yY5zR0Ue68EFakbOZ7AsC5/OrOcgFc w9H/nloYkxZjEmaudT/jTSm5kyLJZHBN7YDFYapnQv8QIlyxw1uB9o8D3bzTyP5OWy92 N4aqpgx6VatC59HqFdVkPN5P/C8KMWxJ+F5AMoJLs7mUrf3Y+MtITeE0D8J9iA1t0uZs JXDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=fuRxqLaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m25si9897043edj.212.2020.05.25.02.39.25; Mon, 25 May 2020 02:39:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=fuRxqLaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389421AbgEYJgr (ORCPT + 99 others); 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-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