Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp433641imu; Fri, 11 Jan 2019 03:04:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN54vgqOvZRF+CRk9H1Fv2W5TpCT7u8LWqO4sOzNTsN38fPMZh6cS3oDKn/MyzLJ2VDCB09z X-Received: by 2002:a63:a002:: with SMTP id r2mr12741510pge.212.1547204666318; Fri, 11 Jan 2019 03:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547204666; cv=none; d=google.com; s=arc-20160816; b=RFmFwWlAsNaImNOx/Thyj/pLWAyb/iWuESL6MqaRFzhpQUrIn8r6F2D6QdS6H3ttOf IqKMU4iSQ/7RZ9qYB5UZHEDwTfShabWv/0odu0uBcLz9stXQIZ0Ir7g2A/p1FrdwXxCz Nlv4wRUT+jC1zssaCrHAIFZiq3pQkeeVSLNjcj8/v8DehQVLS5p7xI2sk0s4xqVKUIst 6cnAubtTNqB/cyCN5Y3i0E+xnEf/EjMBOiDBUUTCAYLNRywp0p7EI5VB+Ns7ApTHrSP0 TldzCQ3dF+2aaY+AJ0bGkMQaaoBFe51UMx59K3YWsxLfdp7xBKsYE9k6wHovxaB8RAvl GFfg== 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=o//Z32yfmUnZW8JOdGl2j32GZ/bDiB8tTsQiF7aTMIc=; b=V0QUC9RveV//7sVPQx8aiW32HVlknUZinL2waSrig0dqu0XACOSvIMyvHibJYCObbX F2ApEwpmqa65wQ7CDl+snLcvzY4V+UKp1pfGwK70O8cUsBX/aWUs8jcdhJjN2sgWU7mi WsmEEsAsRWyBqOTqg7rxIA60g9qL4WQFKxVc6aMfbEprJv9/tpzaC8IFpJ6Fgj+r+MPB VFuFpVNoWLF4xaBN7BmllV3YrHbABeMtXLwjwrygws+wnhvsDVWu3M+Z4oR4smbagBU+ k2jKgtSpqlmlTBdRA67Zk/kYpMsUOiJGouwkio/p753VHuFg8LDP/DGmqZmQFo3c2jQ7 tSqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+po9oQQ; 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 32si7951830ple.72.2019.01.11.03.04.10; Fri, 11 Jan 2019 03:04:26 -0800 (PST) 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=h+po9oQQ; 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 S1731198AbfAKInA (ORCPT + 99 others); Fri, 11 Jan 2019 03:43:00 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38787 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728031AbfAKIm7 (ORCPT ); Fri, 11 Jan 2019 03:42:59 -0500 Received: by mail-lj1-f195.google.com with SMTP id c19-v6so12206509lja.5 for ; Fri, 11 Jan 2019 00:42:58 -0800 (PST) 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=o//Z32yfmUnZW8JOdGl2j32GZ/bDiB8tTsQiF7aTMIc=; b=h+po9oQQ0pK6o3InRHLVh5C2MSBX5biPJSXdcl0267wTkCD4x+ksNfhXxUVPmc5tnw vLfnWYtO19aoE1aBFOTqn5QpiIQg0jtjRlY9tBcbWQ+x/H+YSP9AJrkgs1LOlM96L1HK +I52JZ9n4qIwOj2uKlFl4ursaxVSVLfD5s5GE= 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=o//Z32yfmUnZW8JOdGl2j32GZ/bDiB8tTsQiF7aTMIc=; b=XC/yE/x2hIglc6FofdtQPcJQJWEUvcQ/G5sSQPQwWx70pgY6BEozTmwGEFKE4r/dkj NaliWG+ntlW+uYAPdlecSBtJz9D3PFwbGxgsYPNn5QEB+qneDj2ki5iDWvKVHyUx4/39 XB9jVLJoMtbg9W4Ag1h88Py51aQwIXuTqh2onyyBUa2dUVjxG1J1i+SoG9u7E2pd6w0b fcDw2L8utrfjt22n0aI/09hulFEhRifWjlQpJ+PnunGGOmnjyAmFUAjzopW1zlDTfWwp zEcPP2oXIOpkSsyWULbP2a38iNxgp0OJH0YQIQNXERw1WEs7bW6P1s73XH3Zy+tx6Era UaSQ== X-Gm-Message-State: AJcUukcNR+3xLvZ4bMldHQp/XSBKn4RbLu+JBM4qI6dA6Oj8dy+t+bie X1FqQgghQkBFfB8VQrXph9ofJaH1aRi/YRFd7r7e2w== X-Received: by 2002:a2e:710a:: with SMTP id m10-v6mr7890287ljc.66.1547196177541; Fri, 11 Jan 2019 00:42:57 -0800 (PST) MIME-Version: 1.0 References: <9fb3981cbcfbce3fb8b42bf419d734c0e5a44d0e.1545198260.git.vilhelm.gray@gmail.com> In-Reply-To: <9fb3981cbcfbce3fb8b42bf419d734c0e5a44d0e.1545198260.git.vilhelm.gray@gmail.com> From: Linus Walleij Date: Fri, 11 Jan 2019 09:42:46 +0100 Message-ID: Subject: Re: [PATCH v6 1/8] bitops: Introduce the for_each_set_clump8 macro To: William Breathitt Gray , Andrew Morton , Arnd Bergmann Cc: "open list:GPIO SUBSYSTEM" , linux-arch@vger.kernel.org, "linux-kernel@vger.kernel.org" , Andy Shevchenko , Rasmus Villemoes , Andy Shevchenko 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 Wed, Dec 19, 2018 at 7:00 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 > Signed-off-by: William Breathitt Gray I am still waiting for feedback from the core lib maintainers on this patch. If I just get an ACK I can apply it to the GPIO tree, if noone else cares I might just go in and apply it, but it feels slightly outside of my jurisdiction. Maybe people were just a bit stressed out around christmas? What about looking at it now? Yours, Linus Walleij