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.8 required=3.0 tests=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 3178DC433DF for ; Wed, 20 May 2020 12:57:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 194852070A for ; Wed, 20 May 2020 12:57:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726850AbgETM5S (ORCPT ); Wed, 20 May 2020 08:57:18 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46451 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726439AbgETM5S (ORCPT ); Wed, 20 May 2020 08:57:18 -0400 Received: by mail-oi1-f193.google.com with SMTP id b3so2760145oib.13; Wed, 20 May 2020 05:57:17 -0700 (PDT) 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=aJamwLm96ytvqLYKUjvZ9u/+2q4WNnQotOo2fde5CyY=; b=RYnh5AHn7EaIbWpJHztdHUvamESoormlMzEx+3VLrLoja9JM5+OB73jLEuj+quLM9x JINTDcwi+ZieErAw3P1lNU3Lr7zi6kZ5M3zZURm3nKhltNCAIv/CX/scDZH/QrM6NcPd AOQdKwaHL+spyQMipPI3l+nQwR/XnMqCuE9BuQwHDqzDsNlH4oqrVQbYAiWnjKVYqlW8 LwxQIBdcSjAWvImclN8db/CBrHEGNtdWCenVQ3dV6rFF7k2YIecrb6w7+i2z6u14dfr7 FVWEJk8vxHgksPNC/nYGlsBjlTYC6L5NlR2ymXD3lNQYiT2UZQ5LEvaALel0MXuGuGaW /08w== X-Gm-Message-State: AOAM5337vv65OmtvByjKI96Obo1UlAOVdnxUb9CrUynf8jt7Xu3GwePh f1C+PE1EgWtJUIUWvuMtuZQzjNs0FcHR8aK8Yho= X-Google-Smtp-Source: ABdhPJwu+X5b8qR/tGxmz/DLvGSkjMTN6arpme3EHT/9IgTdRR+s5gJsMua0uE/HtMU43Dl221Icff70S4LCyfQLDG4= X-Received: by 2002:a05:6808:1:: with SMTP id u1mr3056906oic.54.1589979437182; Wed, 20 May 2020 05:57:17 -0700 (PDT) MIME-Version: 1.0 References: <20200511145257.22970-1-geert+renesas@glider.be> <20200520121420.GA1867563@smile.fi.intel.com> In-Reply-To: From: Geert Uytterhoeven Date: Wed, 20 May 2020 14:57:05 +0200 Message-ID: Subject: Re: [PATCH v7 0/6] gpio: Add GPIO Aggregator To: Andy Shevchenko Cc: Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Harish Jenny K N , Eugeniu Rosca , Alexander Graf , Peter Maydell , Paolo Bonzini , Phil Reid , Marc Zyngier , Christoffer Dall , Magnus Damm , "open list:GPIO SUBSYSTEM" , "open list:DOCUMENTATION" , Linux-Renesas , Linux Kernel Mailing List , QEMU Developers Content-Type: text/plain; charset="UTF-8" Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Hi Andy, On Wed, May 20, 2020 at 2:41 PM Andy Shevchenko wrote: > On Wed, May 20, 2020 at 3:40 PM Andy Shevchenko > wrote: > > On Wed, May 20, 2020 at 3:38 PM Geert Uytterhoeven wrote: > > > On Wed, May 20, 2020 at 2:14 PM Andy Shevchenko > > > wrote: > > > > On Mon, May 11, 2020 at 04:52:51PM +0200, Geert Uytterhoeven wrote: > > > > ... > > > > > > Sorry for late reply, recently noticed this nice idea. > > > > The comment I have is, please, can we reuse bitmap parse algorithm and syntax? > > > > We have too many different formats and parsers in the kernel and bitmap's one > > > > seems suitable here. > > > > > > Thank you, I wasn't aware of that. > > > > > > Which one do you mean? The documentation seems to be confusing, > > > and incomplete. > > > My first guess was bitmap_parse(), but that one assumes hex values? > > > And given it processes the unsigned long bitmap in u32 chunks, I guess > > > it doesn't work as expected on big-endian 64-bit? > > > > > > bitmap_parselist() looks more suitable, and the format seems to be > > > > compatible with what's currently used, so it won't change ABI. > > What ABI? We didn't have a release with it, right? So, we are quite ABI = the parameters it accepts currently. > flexible for few more weeks to amend it. Indeed, we have time to make changes until the release of v5.8. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds