From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4085DC433DB for ; Wed, 6 Jan 2021 08:20:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8F2623107 for ; Wed, 6 Jan 2021 08:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726056AbhAFIUR (ORCPT ); Wed, 6 Jan 2021 03:20:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbhAFIUQ (ORCPT ); Wed, 6 Jan 2021 03:20:16 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A0B1C06134C; Wed, 6 Jan 2021 00:19:36 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id i5so1757760pgo.1; Wed, 06 Jan 2021 00:19:36 -0800 (PST) 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; bh=/U5C7cSXXWC3ZHRZnRRNCwYTblI/jKmn2rVA8KcxSJM=; b=PAK/LCgT64vP6V1vGj+K9eE8e05GbIdrgGgEZmxtg9N74xdClCsYi4QLfwVO+VAirP selgESgzICugrADPg0yKx/auIhK2WDP3gl0eF27I++3+Fh0SYUVDggeHigfolqUefZE9 lqOr2KqLlzUR2ynVavN9HeiK10rIuYs6kGxJdCwd5xKqTxXJW8oxS9ahnjbtL1ytaOeS 2JqZAZWM7Yy3yEI92RBU1CMNO8b4zwRWU0ikSJL6Q+TZZTAyUXVJPOL+pr+kbtJn5WrM IXsY+S1tPmq4QzOVkgmlx7fk53q4At5W1yNZ2Kn4ivgI7L3r8lCzyi5QSMyE8tGQaZIg fCmg== 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; bh=/U5C7cSXXWC3ZHRZnRRNCwYTblI/jKmn2rVA8KcxSJM=; b=oo5CK7h0T1YXLVqyafoQnbjOg9cW+w0ehDsJLTV7QqkyOG4/Io9clDXXreMm1cC4KM zAkzvPYArML2FajCRXH6XFfkotgG78ZI93X+MXgBWPnu0BQ8aJH/8U8tkQdhGjtph3Ya BCpKH54ecuqyimCb+YXiKZ/GfY/AjlzqxFbupVA6GwkaOvVFSNQ3M8n7x7szHFEbZ0bB iyDCPQw5JnXsqH/ZY31KKlg35GyijncWdOFUDOO20JYMDfB1tKd/9pGvLD8TTn+AZmFJ UEytBOJBPh5m/urJhbXK6pUbIWGpEim/N0nTl7XRLKu1nsvhMslJxhTnXhVAsOkDlVqN /D2g== X-Gm-Message-State: AOAM530AFiCgJxGmMGB3+VRRnGyJhyHlJkYPgUh8xrwnoCJHc1C09JEa DOSnF59hxqHDyONDJ0rmpBA= X-Google-Smtp-Source: ABdhPJzngzNs2PcZJpclKMgPnTHoksW90J8u4KTkMxsH+ek49+eJ14WA6u41OIhjUkvHrYkH0UG1pQ== X-Received: by 2002:a63:1863:: with SMTP id 35mr3393995pgy.191.1609921176010; Wed, 06 Jan 2021 00:19:36 -0800 (PST) Received: from shinobu (p97026-ipoefx.ipoe.ocn.ne.jp. [153.246.132.25]) by smtp.gmail.com with ESMTPSA id i25sm1684029pgb.33.2021.01.06.00.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 00:19:35 -0800 (PST) Date: Wed, 6 Jan 2021 17:19:25 +0900 From: William Breathitt Gray To: Bartosz Golaszewski Cc: Andy Shevchenko , Linus Walleij , Syed Nayyar Waris , Michal Simek , Arnd Bergmann , Robert Richter , Masahiro Yamada , Andrew Morton , Zhang Rui , Daniel Lezcano , "(Exiting) Amit Kucheria" , Linux-Arch , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Linux ARM , Linux PM list Subject: Re: [PATCH 0/5] Introduce the for_each_set_clump macro Message-ID: References: <20210105143921.GL4077@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ygWp8EN/cCl4AW3c" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org --ygWp8EN/cCl4AW3c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 06, 2021 at 08:27:43AM +0100, Bartosz Golaszewski wrote: > On Tue, Jan 5, 2021 at 3:38 PM Andy Shevchenko > wrote: > > > > On Tue, Jan 05, 2021 at 03:19:13PM +0100, Bartosz Golaszewski wrote: > > > On Sun, Dec 27, 2020 at 10:27 PM Linus Walleij wrote: > > > > > > > > On Sat, Dec 26, 2020 at 7:41 AM Syed Nayyar Waris wrote: > > > > > > > > > Since this patchset primarily affects GPIO drivers, would you like > > > > > to pick it up through your GPIO tree? > > > > > > > > Actually Bartosz is handling the GPIO patches for v5.12. > > > > I tried to merge the patch series before but failed for > > > > various reasons. > > > > > My info on this is a bit outdated - didn't Linus Torvalds reject these > > > patches from Andrew Morton's PR? Or am I confusing this series with > > > something else? > > > > Linus T. told that it can be done inside GPIO realm. This version tries > > (badly in my opinion) to achieve that. > > >=20 > I'm seeing William and Arnd have some unaddressed issues with patch 1 > (with using __builtin_unreachable()). >=20 > Admittedly I didn't follow the previous iterations too much so I may > miss some history behind it. Why do the first two patches go into lib > if this is supposed to be gpiolib-only? >=20 > Bartosz This patchset originally start out as a replacement for bitmap_get_value8/bitmap_set_value8/for_each_set_clump8, which are used outside of the GPIO subsystem. Over the course of the revisions, the scope of this patchset was reduced down and now it's only affecting GPIO drivers. You're right that this shouldn't be going into lib anymore because it's gpiolib-only now. I expect the next revision of this patchset Syed submits will address that. William Breathitt Gray --ygWp8EN/cCl4AW3c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEk5I4PDJ2w1cDf/bghvpINdm7VJIFAl/1cnkACgkQhvpINdm7 VJLMPRAAwJEYL1+57OyJLDo0vHssi6pk3Thk0epTN66eEBfuWpVGeQIpwB3oeKjp N/h5TcXnHUBk7r52tZwPbkm/YoFPbzGCz+3JIOKxIOhnbq3hRjtgPDQOQmBJEMX3 pIhwSPAtCR+NSzOr5W1yXifWhOazAE5RXhLs1XedN60Gx1Zbopyl5XDr2YbFesgJ IUwzzncM6VXMAU6Gf6mbuLFiWRBjLTFyCAtHHZaBxVPbU6hrUwdqXIAXBmaL/pl+ PBvCiKMXXFCCxJ+hAtTZ+ODXjxO9tRbzvDnYolERDXNK+iO/o5bXoks+Dm/UDROQ r+mt2yIIur6IF8SU/pFdC0SYr7PTpv1WtT6D+Q4AlXpwG2yP8g/kXhYE+pJF1M3m jGqhYRf7Li6hC6K9xp/3C1pjTGRBB8lhYQWCHbmqT8IqHo/vMLf3Moqvmt/+hFB8 cGSS+bR7HGQBxJQ58xlwumPCbI0s79wU/HjEcvhQLNZACr7pgNRvHYv9BdXoGN16 CZZKXSnhOuJxgMOWAplY+unyNBqSItcqNXFQLouoToRGZwqp+tPo04IiOP5NSv6v kxipYcsXAApQSy1wqtLsX0LBso4OPSl3e4eAOFJYanWPy6HhJpZgx7BXlDFoDkG3 lc9Kn4B0BMp8eVH5Qi6gDrMZMIUvrNmWw2XHs4BuRZ5FSpYR0oY= =37la -----END PGP SIGNATURE----- --ygWp8EN/cCl4AW3c-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C6CCC433E6 for ; Wed, 6 Jan 2021 08:21:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A8CB23105 for ; Wed, 6 Jan 2021 08:21:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A8CB23105 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Nhk0zNIQF4dg8jCbweEDfjM8Zg7/zZdOVXhMMaNoIu4=; b=Ug8GBGVo+bLQeeGQOY6aT5lBE A47URPjNng3F6hMi3oCUb5DCigSKOiOZYjCXpAefkR55v6GYB3mxvOzk1Tbm38Rsi6icBD98DICdA /Qa+HjIwZz4OOItP668XIVz/yqrnQ1ro0S7yOqesGy9V0yV/i2ZOjHIVu/oyvOPPrdx/UayYJ4bMM CR8OpFJm/6aK73gJu9Llem/Vmi2v6oVG6JJl4tQT9qchPwSP6zYGbuNFTSTx550QSxccNs0pD5UJS dBOW0ML712zDQCHrNSzZMlYyITpi6C/BNjB4PiTK0gmRl1zmYEAGZNw4AtfAtAJ5dgtFZUxCSLSny g0Or9iKIw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx42e-0001OY-V8; Wed, 06 Jan 2021 08:19:42 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx42c-0001O6-IU for linux-arm-kernel@lists.infradead.org; Wed, 06 Jan 2021 08:19:39 +0000 Received: by mail-pg1-x536.google.com with SMTP id n25so1753432pgb.0 for ; Wed, 06 Jan 2021 00:19:37 -0800 (PST) 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; bh=/U5C7cSXXWC3ZHRZnRRNCwYTblI/jKmn2rVA8KcxSJM=; b=PAK/LCgT64vP6V1vGj+K9eE8e05GbIdrgGgEZmxtg9N74xdClCsYi4QLfwVO+VAirP selgESgzICugrADPg0yKx/auIhK2WDP3gl0eF27I++3+Fh0SYUVDggeHigfolqUefZE9 lqOr2KqLlzUR2ynVavN9HeiK10rIuYs6kGxJdCwd5xKqTxXJW8oxS9ahnjbtL1ytaOeS 2JqZAZWM7Yy3yEI92RBU1CMNO8b4zwRWU0ikSJL6Q+TZZTAyUXVJPOL+pr+kbtJn5WrM IXsY+S1tPmq4QzOVkgmlx7fk53q4At5W1yNZ2Kn4ivgI7L3r8lCzyi5QSMyE8tGQaZIg fCmg== 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; bh=/U5C7cSXXWC3ZHRZnRRNCwYTblI/jKmn2rVA8KcxSJM=; b=e9/FxHrbmr5HinPF/gd4Mn/RPdC3hI297V4a3mTCJ6dMvNbR9MF+13YFrLn3+gX7S0 m6UcB4229xRn0NRuqidf9CQsezAO4mUWu6z1A+bU0wvUr8OlK2bIJSDoSWz28pZ2LmM3 Lj71w68+oNgAQztvWYKbWwIHRn9/JF5uQRsxBfFm+zH+Qejq49IYmpwlxT2zyybP2f80 YdiE5twPOgsanK89ZYBTyeVTvOdzNBJnVcn6jSqlZUFq1LY4dJXSe9+DiTnUOTfLYdu1 S8gcok3F0U3AD1yOdjn5ZNbH7impHO86rGQVQDTMBFegUYE+eSNZp2jcQKDwxRDmt+al /2BA== X-Gm-Message-State: AOAM530+gaVU72QJvWZv/DV7ssM4J5lpFuN0DyUjVc2cRfzLyYxvdtjN Ljl+dDldI5QJit1neIo9dTk= X-Google-Smtp-Source: ABdhPJzngzNs2PcZJpclKMgPnTHoksW90J8u4KTkMxsH+ek49+eJ14WA6u41OIhjUkvHrYkH0UG1pQ== X-Received: by 2002:a63:1863:: with SMTP id 35mr3393995pgy.191.1609921176010; Wed, 06 Jan 2021 00:19:36 -0800 (PST) Received: from shinobu (p97026-ipoefx.ipoe.ocn.ne.jp. [153.246.132.25]) by smtp.gmail.com with ESMTPSA id i25sm1684029pgb.33.2021.01.06.00.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 00:19:35 -0800 (PST) Date: Wed, 6 Jan 2021 17:19:25 +0900 From: William Breathitt Gray To: Bartosz Golaszewski Subject: Re: [PATCH 0/5] Introduce the for_each_set_clump macro Message-ID: References: <20210105143921.GL4077@smile.fi.intel.com> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_031938_672789_4A6C9C80 X-CRM114-Status: GOOD ( 25.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-Arch , "\(Exiting\) Amit Kucheria" , Arnd Bergmann , "open list:GPIO SUBSYSTEM" , Linus Walleij , Daniel Lezcano , Michal Simek , "linux-kernel@vger.kernel.org" , Masahiro Yamada , Robert Richter , Linux PM list , Andrew Morton , Andy Shevchenko , Syed Nayyar Waris , Zhang Rui , Linux ARM Content-Type: multipart/mixed; boundary="===============4906598553848763295==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4906598553848763295== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ygWp8EN/cCl4AW3c" Content-Disposition: inline --ygWp8EN/cCl4AW3c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 06, 2021 at 08:27:43AM +0100, Bartosz Golaszewski wrote: > On Tue, Jan 5, 2021 at 3:38 PM Andy Shevchenko > wrote: > > > > On Tue, Jan 05, 2021 at 03:19:13PM +0100, Bartosz Golaszewski wrote: > > > On Sun, Dec 27, 2020 at 10:27 PM Linus Walleij wrote: > > > > > > > > On Sat, Dec 26, 2020 at 7:41 AM Syed Nayyar Waris wrote: > > > > > > > > > Since this patchset primarily affects GPIO drivers, would you like > > > > > to pick it up through your GPIO tree? > > > > > > > > Actually Bartosz is handling the GPIO patches for v5.12. > > > > I tried to merge the patch series before but failed for > > > > various reasons. > > > > > My info on this is a bit outdated - didn't Linus Torvalds reject these > > > patches from Andrew Morton's PR? Or am I confusing this series with > > > something else? > > > > Linus T. told that it can be done inside GPIO realm. This version tries > > (badly in my opinion) to achieve that. > > >=20 > I'm seeing William and Arnd have some unaddressed issues with patch 1 > (with using __builtin_unreachable()). >=20 > Admittedly I didn't follow the previous iterations too much so I may > miss some history behind it. Why do the first two patches go into lib > if this is supposed to be gpiolib-only? >=20 > Bartosz This patchset originally start out as a replacement for bitmap_get_value8/bitmap_set_value8/for_each_set_clump8, which are used outside of the GPIO subsystem. Over the course of the revisions, the scope of this patchset was reduced down and now it's only affecting GPIO drivers. You're right that this shouldn't be going into lib anymore because it's gpiolib-only now. I expect the next revision of this patchset Syed submits will address that. William Breathitt Gray --ygWp8EN/cCl4AW3c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEk5I4PDJ2w1cDf/bghvpINdm7VJIFAl/1cnkACgkQhvpINdm7 VJLMPRAAwJEYL1+57OyJLDo0vHssi6pk3Thk0epTN66eEBfuWpVGeQIpwB3oeKjp N/h5TcXnHUBk7r52tZwPbkm/YoFPbzGCz+3JIOKxIOhnbq3hRjtgPDQOQmBJEMX3 pIhwSPAtCR+NSzOr5W1yXifWhOazAE5RXhLs1XedN60Gx1Zbopyl5XDr2YbFesgJ IUwzzncM6VXMAU6Gf6mbuLFiWRBjLTFyCAtHHZaBxVPbU6hrUwdqXIAXBmaL/pl+ PBvCiKMXXFCCxJ+hAtTZ+ODXjxO9tRbzvDnYolERDXNK+iO/o5bXoks+Dm/UDROQ r+mt2yIIur6IF8SU/pFdC0SYr7PTpv1WtT6D+Q4AlXpwG2yP8g/kXhYE+pJF1M3m jGqhYRf7Li6hC6K9xp/3C1pjTGRBB8lhYQWCHbmqT8IqHo/vMLf3Moqvmt/+hFB8 cGSS+bR7HGQBxJQ58xlwumPCbI0s79wU/HjEcvhQLNZACr7pgNRvHYv9BdXoGN16 CZZKXSnhOuJxgMOWAplY+unyNBqSItcqNXFQLouoToRGZwqp+tPo04IiOP5NSv6v kxipYcsXAApQSy1wqtLsX0LBso4OPSl3e4eAOFJYanWPy6HhJpZgx7BXlDFoDkG3 lc9Kn4B0BMp8eVH5Qi6gDrMZMIUvrNmWw2XHs4BuRZ5FSpYR0oY= =37la -----END PGP SIGNATURE----- --ygWp8EN/cCl4AW3c-- --===============4906598553848763295== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4906598553848763295==--