Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1929485imc; Tue, 12 Mar 2019 03:43:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBdPDALeZLcvsNMMUuK2zuLJ3pkjjEpZ3oMGEN+3gNYL4ogGamsEb037sS0ApFhq3rx7Vx X-Received: by 2002:a65:6290:: with SMTP id f16mr34262388pgv.106.1552387400881; Tue, 12 Mar 2019 03:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552387400; cv=none; d=google.com; s=arc-20160816; b=M9GH7ymvCBO2gMOBkfYpPr8BhEKcT0X9OBWvijlJsrfD2Btxxdn3fvvXVeTD7D7HuI WIOgXynWUDMcUjw7sFs7XWHY893FIu+hdFZEefyYUTOJvMuGFo99+Z2UrpqvA9F0Vr7a hBCtbRnVIWclLodn6wuBO6en2uajdeWMLw36p8r7oO9Fg19IO/zyjl8+BWGcyE/b3Dh9 Teb5RH/v12VLR2Ze0HYva9B432VFqQtG2Cb6R7CHkEmnYxerwBBMShIQKUkVL4tRlokY cKBaKdOqNYu/re0i0ylb66lVeW5lcT0gFddZyNKigiiE70DaUOcfBJle4iaHTM4+PnJK 6Xfw== 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=8vHoepjDxJI1lt/gbcimZl2bZHFCnc6mUWZPsIut26w=; b=hotIeSGrihWydShkrk+jWhC5brwNFHl4z9fakFu7yex/iDjTTz3E7TFt2o+q8FUJpO J2VFNY3GGR9wmnalKguLF8D7pHI4WFpPSqeZ9V6SrE5rMpjuNP5RSgy7OLkW8POTkDfH iL6MwsCMvh0gYYrsStck4T6uG+knXbqI/b33gToNDE/AxEIWXZ703dZNAWTgtUpWQQhN z6hxh6h/mGk+obzhFCKU/T93Xkygzv5/dL8gbrIwy598DjDbP/G+aRLMa2l40+lre0zz fTm2SxgKC87CcHep2NRqRXON9oMiW4U4piiWNUmmqv8wDgDrjtVn6urkjij+VrtzoW2C 2nJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N8CzuKxI; 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 z20si5477866plo.392.2019.03.12.03.43.04; Tue, 12 Mar 2019 03:43:20 -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=N8CzuKxI; 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 S1726452AbfCLKml (ORCPT + 99 others); Tue, 12 Mar 2019 06:42:41 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:53061 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbfCLKmk (ORCPT ); Tue, 12 Mar 2019 06:42:40 -0400 Received: by mail-it1-f195.google.com with SMTP id g17so3591623ita.2; Tue, 12 Mar 2019 03:42:39 -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=8vHoepjDxJI1lt/gbcimZl2bZHFCnc6mUWZPsIut26w=; b=N8CzuKxIksHQ5xPqbXGiE0OLTQi/epvu6nzrOJcRqAKwTsk0/slyqiksuFVuxVcODK Vru8zK0iRtFoFTDb3nhz8GkDAkYlKZp5n2CQAEqYoxZWS31odp7jkdJkGY5WKOk7x2qA ePa0tvQWUxMViM8H36egltoDSl3E2yYFxKxwDQiMbtP1t/9YmoDolz7fWtYod/Ep/1S4 RykkS20H5xQLQtFmGddAqn8yEBicylUcil9EyXMLLHSFjReJC7Q4mkX8JeQI3Iv2185K SaULbg1fpPhlhy0CjD2bahKBVOHAtKHdzFgNeB5h+pC8CxeVVFAGLVKSlwL5gKNnV3rn sGDg== 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=8vHoepjDxJI1lt/gbcimZl2bZHFCnc6mUWZPsIut26w=; b=IxETXOBLFc47HpjehgDza9KLgvpi/CyEPL6nFb/bpB6gz3rX3qaxDDd0D//T5yk+Uo ayPLS0TkJzy8VElm2Y/THjac7Z8oUosY1R3SVxkZ3YjKSy3AH4MTdJzg1fB02X2FTnaO sBDtvqUUpVabUc7MlqdsXOMXccVMblY7qsrfWe9ITm7DtoN62lhHh0KF9kRnaozcLYmJ hdMgmx8L6aFi7RVHyHnBpi0GB9vc664KpX1qAZQFBFypWZ30y+nLRKGBizRnUil0+cTw /T03/TQGoB8gEJtp97AzO87Au3+p+mGvNxWKebgoqVTdB/gbh713G1yOKwlLH/0YFd7R ttUA== X-Gm-Message-State: APjAAAXtg7I1mEBAEcINDfPoFvjJHXPwOfeQyUpYZrXddyy7TQ0mWc8O Bf77v6VChipyhtCjNH4SIrQ= X-Received: by 2002:a24:7a4b:: with SMTP id a72mr1563584itc.178.1552387359123; Tue, 12 Mar 2019 03:42:39 -0700 (PDT) Received: from icarus ([2001:268:c0a3:c255:c70:4af9:86e2:2]) by smtp.gmail.com with ESMTPSA id k133sm54561itk.9.2019.03.12.03.42.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 03:42:38 -0700 (PDT) Date: Tue, 12 Mar 2019 19:43:22 +0900 From: William Breathitt Gray To: linus.walleij@linaro.org Cc: akpm@linux-foundation.org, "open list:GPIO SUBSYSTEM" , linux-arch@vger.kernel.org, "linux-kernel@vger.kernel.org" , Andy Shevchenko , Rasmus Villemoes , Masahiro Yamada , Bartosz Golaszewski , Linux ARM , Andy Shevchenko , Arnd Bergmann Subject: Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro Message-ID: <20190312104322.GA3425@icarus> References: <12b3a364ac7fc32194fa6f55911dd800aca92a56.1551598603.git.vilhelm.gray@gmail.com> <20190311180113.c283fdbcba3df10db2c815aa@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190311180113.c283fdbcba3df10db2c815aa@linux-foundation.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 11, 2019 at 06:01:13PM -0700, Andrew Morton wrote: > On Fri, 8 Mar 2019 09:31:00 +0100 Linus Walleij wrote: > > > On Sun, Mar 3, 2019 at 8:47 AM 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 > > > Cc: Arnd Bergmann > > > Cc: Andrew Morton > > > Reviewed-by: Andy Shevchenko > > > Reviewed-by: Linus Walleij > > > Signed-off-by: William Breathitt Gray > > > > Andrew: would you be OK with this being merged in v5.1? > > Yup. We have quite a few users there. I assume this will go via the > gpio tree? > > Feel free to add Acked-by: Andrew Morton , > although it probably isn't worth churning the git tree to do so at this > late stage - your cvall. Linus, I discovered a bug in this version of the patchset. I'll release a version 10 once I've resolved the issue. William Breathitt Gray