Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1258708yba; Fri, 26 Apr 2019 17:43:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuVBEtRvfWdVJX7Z7vu8gaysLg56dy686ZKJTkRGepVoO4gQsIz/9wpe1Gtz9J80Gqu3Mx X-Received: by 2002:a17:902:a503:: with SMTP id s3mr44857008plq.16.1556325785330; Fri, 26 Apr 2019 17:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556325785; cv=none; d=google.com; s=arc-20160816; b=UtCFRfP20Yo+eDHNq4PSLeoJwQ57Q1/4tNzBuM7qV+sP0pxdG89Vs8N/sAGrzoG82U TXUM8XxoRCCwXtvKjN5dyBtDkwztvlpr4s2hjy2GvSmPwzAedL7JVi05J6cFPKKcS5JD I1l0/hgbt+Ts+5+XDbfb2ykZL/cdlGt8u2ujeRJqDcWXT8CmuXOIgOPZFwoGeutKV9hm sVoJiv47xxTYe80Ha54LOS5dgm0LGR8r8bE3QRNJ5IS55NktBn7zJ8EPXRjNzyn3xsCQ GRAVVcMTpxbErV4546ZXvpm8Ge/6BlQB8xfdIIzQeQCP1FnrTsJqH+Qvx9kvLCgvvv6R XtWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=71g7874Dm8GzDB1gp/UmnroMo/FuKzXQ28vDBNXnuLY=; b=hf75YDJEofomNqqhfgsjBNPAw5aKco/SYZp5+8r927C8FhUH0pRXAMt+8PWLzEn4cj YnPXYRGG19awNytB5dtyBU0AfENx3YEJrScvZzVAMxky3W7zFwzWvEzbaQXW6Mwe7fq9 GOcla1y2hCKiA+sqE2Cz+3fHkCMFKtqSTNQC8uDZOPYkIB9M4P+yKH6J80Qjf4S3ZiHI EvW1JDJWbZlivGwtBwrLGc5EoTX+RWTGRBv/8GI+j/FpfcbilIm2ugm8LtlSiUgQi9SO e43ViJa3uWdMAiQ3iqFbYhHOMDG1PBHCvWpZW6ogOXBA5SyFwn+NjoQA5Lw2tkaT6t+L 1L9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PMCQTNAt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18si4781249plp.170.2019.04.26.17.42.47; Fri, 26 Apr 2019 17:43:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PMCQTNAt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727230AbfD0Ak0 (ORCPT + 99 others); Fri, 26 Apr 2019 20:40:26 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:33800 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfD0Ak0 (ORCPT ); Fri, 26 Apr 2019 20:40:26 -0400 Received: by mail-pf1-f196.google.com with SMTP id b3so2486160pfd.1; Fri, 26 Apr 2019 17:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=71g7874Dm8GzDB1gp/UmnroMo/FuKzXQ28vDBNXnuLY=; b=PMCQTNAti2IUDiu5w5RuV5bzMeagemKbYMycGKukmKSty2oWlxYn9Hxe8q3QjHukn+ Pt6XDBaP8iA+FIOZk2zfMnhMBvvp07uU7pfO/EJcyd6ysvrlyGsPSqICUaDQ6m8paByp /1vutIP6bzqi5/MQftNoq1uNwC+hPZhNQZVuVaJe/0iQIJ3BbJP1llDP1epLk2PnR7y8 CgS2tnvELBSf/ZTKILC+Ar+ww0rixHMgzMrbQt9VSY7Gte87d4N5dg9xAD7Zv2G4MCkw 5OPSrO8PBPIpo/TqDWTNvJkBWz5B749Ha9mvv87GuBwW5wIXThaUEs3fuQKaQ+jKWqxw SUfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=71g7874Dm8GzDB1gp/UmnroMo/FuKzXQ28vDBNXnuLY=; b=cvgNY/znl7qcmMW5Z6u/6Pwg9ffah6dHAuNLCS6w26akIapEbtfBAi+gRa2kMg7rFF g9Sek7CqeoaL5MZRyODEcbmWYLCenpI5XrnpVmZoUn7bg3IfloKJwdchKg6iRPJ6koTw 8DftkYc7HWFqJbq3MpYKHYvCzT/FLiXDc0x/L6oN6JsUtcmeVDL+jrqzL9mBfxcDoFIh aC7rwh+apXwAfbHmzi78cs4NW0KsaybuiTmxJZMYCL7oXTjoS1vZTb0t3RSAsosAvuuP +1/rImngdUHUxPMqCMO7wCGBsz5mnqlSUqyU4xJyhtDlejq/06ZBWf4qRrvaQ3Fmpv4I iIuA== X-Gm-Message-State: APjAAAX2QyArlAKaSPvLxyWZ8Tj/ZpkKqUF3+mCaWz5I/nb5z9u1ycBq tWeJliAz2CGTaTmXcN79Vr4= X-Received: by 2002:a63:ee15:: with SMTP id e21mr17697767pgi.180.1556325625196; Fri, 26 Apr 2019 17:40:25 -0700 (PDT) Received: from icarus ([2001:268:c1c1:24b4:c70:4af9:86e2:2]) by smtp.gmail.com with ESMTPSA id s20sm31884210pgs.39.2019.04.26.17.40.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2019 17:40:24 -0700 (PDT) Date: Sat, 27 Apr 2019 09:41:34 +0900 From: William Breathitt Gray To: linus.walleij@linaro.org, bgolaszewski@baylibre.com, akpm@linux-foundation.org Cc: linux-gpio@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk, yamada.masahiro@socionext.com, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, geert@linux-m68k.org, preid@electromag.com.au, lukas@wunner.de, Andy Shevchenko , Arnd Bergmann Subject: Re: [PATCH v14 01/11] bitops: Introduce the for_each_set_clump8 macro Message-ID: <20190427004134.GB26000@icarus> References: <1cc8b30bb3954ca2a0961ffb0a2eed8a005ed670.1553828158.git.vilhelm.gray@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1cc8b30bb3954ca2a0961ffb0a2eed8a005ed670.1553828158.git.vilhelm.gray@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 29, 2019 at 12:04:08PM +0900, 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 location pointed by "clump". Additionally, the > bitmap_get_value8 and bitmap_set_value8 functions are introduced to > respectively get and set an 8-bit value in a bitmap memory region. > > Suggested-by: Andy Shevchenko > Suggested-by: Rasmus Villemoes > Suggested-by: Lukas Wunner > Cc: Arnd Bergmann > Cc: Andrew Morton > Cc: Linus Walleij > Acked-by: Andy Shevchenko > Signed-off-by: William Breathitt Gray > --- > include/asm-generic/bitops/find.h | 61 +++++++++++++++++++++++++++++++ > include/linux/bitops.h | 5 +++ > 2 files changed, 66 insertions(+) Andrew, Linus, I reverted your Acked-by/Reviewed-by lines to Cc in this release because the code has significantly changed from the simplification effort. If you are satisfied with these changes, please ack to confirm. William Breathitt Gray