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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 9545BC433E0 for ; Wed, 6 Jan 2021 07:28:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 438BC23104 for ; Wed, 6 Jan 2021 07:28:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725837AbhAFH2g (ORCPT ); Wed, 6 Jan 2021 02:28:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbhAFH2g (ORCPT ); Wed, 6 Jan 2021 02:28:36 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BD09C06134D for ; Tue, 5 Jan 2021 23:27:55 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id ga15so3838700ejb.4 for ; Tue, 05 Jan 2021 23:27:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xGW/hKcgThQrkDmp4/Nq73y8NgwE8XDkGF7zvIldMrM=; b=A2KNk3AHTmJlI18STPME1Sa6t9gc1Ftvw7b31H8Vj39YjusgeaU0c1ypsqit52yWFF 3eQGLVMgPfhF0tcCbEJmm3HsNCJ0zZ8NG3JRTyPKW7OXNUZNMMniS0bT/7ndVqBa7b3q FNEjNtzso2oFjWRDBWdctZ8/UBVolbVcrg/o27xs67qQd0Kl0+7v6and6KXS4zT0IDGo L8nHoW7UNQO5cliDlHgM3DAezmy7JMyVE7cZk2uzueStSK5Zefr34N8UH/sgVW6YOIjG mkROA3nUh248uHrjhIU+cLDXpa2DbIJKN7YqY8L5/rgwpwStSYsD7b1Mvy7MEYO2VlnD LaHA== 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=xGW/hKcgThQrkDmp4/Nq73y8NgwE8XDkGF7zvIldMrM=; b=Yg3GQduzrrUIYv1Ab/yuBrgtDsoiX5t/zPr7ZS9sqZPdzNMIi1T4pr2CsYk7sZzn4H ThMyJII6E5gOVMFMrA4xsSTDIwkDSFKycneVwM10SBbVFryVko2+b8Ag+D9mJ27XtGna rahYHrO2Q9u9ipdV9g/jDlM+PjYFtz9hcz+y92+voA/N9LiYbXgkudr5QbTUdS9tufFg 8wXLU+SHOjZRUzM5GN9dyUKV0sbW/4GEHCuexaK59UHWmM40Mg+E46LZ7RePDEEhjVtr vUt6M7Ox9a/tuo0a9xwG0lzOsQXI1lYkQ/r4YHXg5TX0NF1SOU9bmxAFm7OMuRLxpqOy 0oyw== X-Gm-Message-State: AOAM532Z2tK7JTKAItFSmfOiiRY3C7IhaHJPg/LQqh4KRxGjLbZSjm63 btkfD6OFQsPHXqQo6gPEsXBXaFLydUK8DYdQXORLIw== X-Google-Smtp-Source: ABdhPJwYjz8N2N+aC7hTbxtGQy//7rOVk9vuZpXjappd1ywiMkx0G+q8sv1KN8h2TqqcyRgEkKycqJpY3pGZKSJx6nY= X-Received: by 2002:a17:906:3a55:: with SMTP id a21mr2057000ejf.516.1609918074173; Tue, 05 Jan 2021 23:27:54 -0800 (PST) MIME-Version: 1.0 References: <20210105143921.GL4077@smile.fi.intel.com> In-Reply-To: <20210105143921.GL4077@smile.fi.intel.com> From: Bartosz Golaszewski Date: Wed, 6 Jan 2021 08:27:43 +0100 Message-ID: Subject: Re: [PATCH 0/5] Introduce the for_each_set_clump macro To: Andy Shevchenko Cc: Linus Walleij , Syed Nayyar Waris , William Breathitt Gray , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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. > I'm seeing William and Arnd have some unaddressed issues with patch 1 (with using __builtin_unreachable()). 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? Bartosz 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 DD8B6C433DB for ; Wed, 6 Jan 2021 07:30:30 +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 7C4EA23104 for ; Wed, 6 Jan 2021 07:30:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C4EA23104 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Do3NbclJfVr20XW5/bE0XjBS3B01a2zfmh91xutCaaI=; b=ISr5w1RrZ6yetNsTI0kDM8mCj TgoxpE8RQADwjvkn5WIuDJ83GmbDAgljsvvVrfIVv81WD6EcNz527cKJPNzjz7ek6kYRvrY/qpDOt oSSGWzg+aW3uxddl7FJlzreqTbe2V0uZvRIcmQFBWJwxpFnCGvS78x/TGD8BUsWlzGMSQyMFHY2N0 UbYrFkppZG+z8EYUZ9hzLTiXYwRtKojjvVo+KREaWqCUC7Rb2lMD4hZxxwx99Euqb7/54rjIQVc5C JgwSdPysSMnDK1xuUViTMk9x7zMyR+9nfgVqGlQGUt0k87GV3ARQVB8JPEm+7Q8Vvjn/IBUS9Un4U SQ4+JA9WA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx3Eb-0004Rv-QT; Wed, 06 Jan 2021 07:27:57 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kx3EZ-0004RT-Cb for linux-arm-kernel@lists.infradead.org; Wed, 06 Jan 2021 07:27:56 +0000 Received: by mail-ej1-x632.google.com with SMTP id w1so3715747ejf.11 for ; Tue, 05 Jan 2021 23:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xGW/hKcgThQrkDmp4/Nq73y8NgwE8XDkGF7zvIldMrM=; b=A2KNk3AHTmJlI18STPME1Sa6t9gc1Ftvw7b31H8Vj39YjusgeaU0c1ypsqit52yWFF 3eQGLVMgPfhF0tcCbEJmm3HsNCJ0zZ8NG3JRTyPKW7OXNUZNMMniS0bT/7ndVqBa7b3q FNEjNtzso2oFjWRDBWdctZ8/UBVolbVcrg/o27xs67qQd0Kl0+7v6and6KXS4zT0IDGo L8nHoW7UNQO5cliDlHgM3DAezmy7JMyVE7cZk2uzueStSK5Zefr34N8UH/sgVW6YOIjG mkROA3nUh248uHrjhIU+cLDXpa2DbIJKN7YqY8L5/rgwpwStSYsD7b1Mvy7MEYO2VlnD LaHA== 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=xGW/hKcgThQrkDmp4/Nq73y8NgwE8XDkGF7zvIldMrM=; b=mJ32O6KVO07RAWacooOHOtbBbWm529vA5dX+IivK6svE1Vz4OARcyJmyNW9a/hXuF4 Nh229eiCymi/7EK1Nk2fz6VQh73iwBsCvmffpfT554+mg/ORyFVD5XfsRaqiTe04/npa Zjv4KImX2OO+3T+tPG54jZqsoUwJrQXYBPBnAIu5o7J5y7I3wgl40RKtMvtHwklnB3nc 3EURF4Livw7hFYONBogGD++hvc6D0PICEVtXhyBBmy4umX+abx9UFNVN/8LmunN8gfSn qqGbtXxIqHd+HY5cDdtJA7gABV73ummL1KRAiXeauMgt02MdKQ5IKsMQt78jalTv+FcP mLhg== X-Gm-Message-State: AOAM5330EGt5zXEqCoUGQBNC3uFBz/WGOyH0p4jU4iSf/5DP7klYTZ9t u1R+pqPIbNYt3FSfoqhbR9ZqZ1xHEOIma72ZdPoHsg== X-Google-Smtp-Source: ABdhPJwYjz8N2N+aC7hTbxtGQy//7rOVk9vuZpXjappd1ywiMkx0G+q8sv1KN8h2TqqcyRgEkKycqJpY3pGZKSJx6nY= X-Received: by 2002:a17:906:3a55:: with SMTP id a21mr2057000ejf.516.1609918074173; Tue, 05 Jan 2021 23:27:54 -0800 (PST) MIME-Version: 1.0 References: <20210105143921.GL4077@smile.fi.intel.com> In-Reply-To: <20210105143921.GL4077@smile.fi.intel.com> From: Bartosz Golaszewski Date: Wed, 6 Jan 2021 08:27:43 +0100 Message-ID: Subject: Re: [PATCH 0/5] Introduce the for_each_set_clump macro To: Andy Shevchenko X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210106_022755_459012_D3994FED X-CRM114-Status: GOOD ( 21.93 ) 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" , "linux-kernel@vger.kernel.org" , Linus Walleij , Daniel Lezcano , William Breathitt Gray , Michal Simek , Masahiro Yamada , Robert Richter , Linux PM list , Andrew Morton , Syed Nayyar Waris , Zhang Rui , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. > I'm seeing William and Arnd have some unaddressed issues with patch 1 (with using __builtin_unreachable()). 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? Bartosz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel