Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp676648ybp; Wed, 9 Oct 2019 02:26:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx65cOnFaZQWLHjJ/FqyaUudWZUoBUX9DigSjEtpOUSmJUOe5bvBEx61Kxq0p8gArHw9QUw X-Received: by 2002:a05:6402:1519:: with SMTP id f25mr2007821edw.65.1570613206773; Wed, 09 Oct 2019 02:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570613206; cv=none; d=google.com; s=arc-20160816; b=wTBUEZj6Ov98Dg9OQCPj/Z2tIQqKputMdjhydVJVfRD2HvSQdEDLBzPg7bD063Lfo9 +h3v3tSaw9mMsGW5l8NOrA4lOySkaQErDPV/qD6fiIwEUawJGj53ZgHWdZyOkWNLQgo8 cx6JnHM1um9/gcKpLoCdsXRmWzyp6/+K/YoOhna/H5m/hN+FOcbX3fYLN/IHir76sn4c 0Oo2iPjJY5DEh3dFDiCukct91/JReCzWpykGpBcjDugd22IrO5XMbonRCBkE5GSg6CWN ofkDgEp4AdFQMBX2r0vASEh6ssL5gCgrc2eCyAHXrx3Owj4zqCE0GycnvIKAItHepwLn hRPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SD+HI02CKBBsUnBjBS8AONRJ3UqoWuFlv1/fGBB0L+4=; b=LMO0U/HNLqVYYb4nwBhUTS7oHeUJlco6pV8BUwvJsVlBEB8MEouW/LoDLIyrPWvNpz wo8VK+QlkobOPscV6BNDOI8N4jNIFPMZ2yJHu+XIpW3FrqJmb7jModd+FLbBruZmsqxl xWaUY8Ae/44SiWkOTaor8G4Jiw36+/UhMrpCJaZhuxjS9tUrBfgW5emTFbyRFQgIE6uC KKnf3u41pxPhahmZvWcjVVyUmvkdBDOMZ9BO+L9mW2FT/NHw4MAhvxhZ7dQSM700zcmY LN+x6S0gDAduI5MpvwIId7Sf/eej+P+3r32sL8i+E0aG9M5p64mF0EmHZoZvkGojuKuT MCdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Yp/ezDTo"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y47si989151edd.236.2019.10.09.02.26.23; Wed, 09 Oct 2019 02:26:46 -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=@linaro.org header.s=google header.b="Yp/ezDTo"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730485AbfJIJ0N (ORCPT + 99 others); Wed, 9 Oct 2019 05:26:13 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42521 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfJIJ0N (ORCPT ); Wed, 9 Oct 2019 05:26:13 -0400 Received: by mail-lf1-f68.google.com with SMTP id c195so1085163lfg.9 for ; Wed, 09 Oct 2019 02:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SD+HI02CKBBsUnBjBS8AONRJ3UqoWuFlv1/fGBB0L+4=; b=Yp/ezDTokXabk02kHZS4Q9Zcrip4udpQ7qThrEB8fA+oF5/YBaD2Q+THIO35uJ3kfM ijAdu971Sc0u1iXVcq8FmBzJx92WFKIL13rYfNLHAFEcAcABM/XNEWuxdcFUR630+oKt EhOBtNE8brRBt6vUfGQkuPeYH0wO5CD9zsgK8XTxtLlluYKde8xrN7DJnQGKvtMGqrQb 301v9yPx51H2ueQoUMiDBqmPbWS6qbm39fIrpFjEigHHHzEF4FAtjiFlUyKtyHYy4pFZ eyTC9foJ37+QThE5FPa4048amnHh8m0WuErFx7J6r28IzNf5kcGpC7qLDNVSqenrhhXu UeXg== 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; bh=SD+HI02CKBBsUnBjBS8AONRJ3UqoWuFlv1/fGBB0L+4=; b=DVX/EFf/AQtTqgXcFVmqm+7O/q/5btsx2RJR/NcLoZ25h8/beBruu+Pc1BVU/5q7aJ p1YeqM/W0c95Phg7dYprFHK7TWpcnSOf/mHcNrJLAwhMliIfj8b61VVrJUTK16vs8y0p rXnqL2eJZqHVBoQURWvWLaDA0ul7vLL3CUfqJsfwM3npjITCuIn6iLM6LXnKcay1He/I mhCW2GvWUe4hqPWyqET5xjFLozsrq3APk1wYE/xnAh7qUMS3T2cEOZ/5+fWffhXU5nDo sfxu92kmIIDaQhRG8YXFHo57hWEcT0p3OULRep81/b9xVEVoCBiiO4TI3Lu2JN5gDGzg HBrw== X-Gm-Message-State: APjAAAW0NlqyGLwkCdR5I/fW9pGKtUW0+1wQOlf2YkYsbyjjZFsfJiez LcLeSyz3c7IaHRDT5NEcUiPlbzRD0WMMLknxCKUZAw== X-Received: by 2002:a19:c505:: with SMTP id w5mr1439629lfe.115.1570613170790; Wed, 09 Oct 2019 02:26:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 9 Oct 2019 11:25:59 +0200 Message-ID: Subject: Re: [PATCH v15 01/14] bitops: Introduce the for_each_set_clump8 macro To: William Breathitt Gray Cc: Bartosz Golaszewski , Andrew Morton , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , linux-arch@vger.kernel.org, Andy Shevchenko , Rasmus Villemoes , Masahiro Yamada , Linux ARM , Linux PM list , Geert Uytterhoeven , Phil Reid , Lukas Wunner , Sean Nyekjaer , morten.tiljeset@prevas.dk, Andy Shevchenko , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 5, 2019 at 8:37 PM 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: Andy Shevchenko > Cc: Linus Walleij > Signed-off-by: William Breathitt Gray As usual I am happy to merge all this but I would need Andrew Morton's ACK, as I don't feel like a maintainer for the bitops. Yours, Linus Walleij