Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp544649pxa; Thu, 27 Aug 2020 09:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMOZG2Jk17DTSjqTBk7/Y4nJGlMG+/JJYGm4pFqfGuJjDs8bFHvA/sQ1PN6vOVHZUyo7OF X-Received: by 2002:a05:6402:7cf:: with SMTP id u15mr21247162edy.90.1598544335752; Thu, 27 Aug 2020 09:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598544335; cv=none; d=google.com; s=arc-20160816; b=Kl122SgzoM/vcqQvga/LJ6Li1zCaL960+BN4A78sdMaZiBLMTFmRnPblXSU/TStc4y 1UdHy6oaEBLpam0ODo3ZZtRxpc3IZdYw/rVpEyKUDywP76Ou1RYkHhP8XeLDb/ZkEb5g emDrg+mISv7h5ytYqd3J5Bi6VEab/l4F6LDBbembqBn6S43xktrgGxEOK1yCV/jBkQOK 2R21zUq2U1RZ4wCd7NHA5C81AJjfOppOS4VjAIorR7aPZWt3CdcJYVImUy9hIdW/KC5h mzlgNln/q3MgcZ5BwlkaeSvyw0ZQCdtEmXqcIKHTK1Dwi68q42Gw2/WU5RFHlaYxg/7M CH7g== 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=d2EanueJM2XSw5YRZCjtUeiiCZijMpX8hJxxqxioM78=; b=Q3AIKuao1CunkkMJH3r841UrMGvPLW06o+Qw2nuh8JFCTlOMNvASLzZCBS3bCc5nok DYrJhFIR6J0DOqhgyGSHa5RP6eNvpy286Lmu7azaBd/grlKmoWzZadz8xMmW6Gz8cYH7 EVpBPSqja1iHvF9X+LffRlyGrq9nsVxIRk62nOXMeVaDrKyxosZa1BCjsiuJpwfahMN6 b4QqR30LTCjXH/OKBGBT4nJIq6QjFdnTAFO6AH5DdcB0X6GSLcHx9/HbRK2gDpOWpspE 2eaTfpyP5cM9VyNc3ScRG0jsVIvNL2GAM4bb+BS9VdvtiWmzlJv9r+BmVy4DWGIiBfD+ W9Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Pb2La35w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si1341005edy.292.2020.08.27.09.05.12; Thu, 27 Aug 2020 09:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Pb2La35w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727814AbgH0QCR (ORCPT + 99 others); Thu, 27 Aug 2020 12:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgH0QCP (ORCPT ); Thu, 27 Aug 2020 12:02:15 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC6FC061264 for ; Thu, 27 Aug 2020 09:02:15 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id bo3so8344651ejb.11 for ; Thu, 27 Aug 2020 09:02:15 -0700 (PDT) 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=d2EanueJM2XSw5YRZCjtUeiiCZijMpX8hJxxqxioM78=; b=Pb2La35wDygarqxiCkXeSo05iWU4CW7Rgv0VQojfZ1ZDhV2LgeE+yijO9R3VDvNmi7 YZFVfEsMdVL8jArUxkiFjtnaIE+A7DKI6xQwekCT2tnJDKY0QKitgGNshY00aS9wVKuz yB0+R37A2THVuzBjXk3FFwonX9CfPdYkFfTmF/4wMc5TCLosP5W5HlzDKMWMjykW/8R8 z4pSqrvpqewBqh1e1pHnXoW/f8RA5woqfsnZ+7pMieyyYXsNUKYxNn74frZ1tfM4C4ec CSL5hmhHEFZ89ou00bK63ldjQ7+l1hgj+ZGPcGuXdLM0agw8cN3kaXK4p3UG6OocYPkI k2GA== 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=d2EanueJM2XSw5YRZCjtUeiiCZijMpX8hJxxqxioM78=; b=mX3/8wg9iCG0XyNn9tHth0o3x7LN9SpjKdyLtUW6eZCOCbtSGXgl6DL47cnyXEs14n Wn92lFEIVkruldq1kdHOubZAuJCBE601f9Hg8tt27rgWKC07T3+mpKlBz6xmInHm/yDS CBlF77Wp5fXMuBhMDcLSMBEzuhuflpealTZ0BzvCF5mswJa9Q3T8pf/eES9RFPI2mNC1 P1dCy5ZOcvMSAnkkMecNKUhPCPSPIH/qnJymzJCODX0j5uDJ4jvigc8CJgfMjAAa0KML Z2QZJtBipG0l/YyBSaM0ZSOBUbiZq2YRWQ3Pv7xOk7qRyw0tYV/5HmS1qqAb9LmsVRYx 7qeg== X-Gm-Message-State: AOAM531Sp7G62se6a7lYTMROd1t50DE2zmpQx6UJAM0jaZWWDp/kSK9V c+Esr1vgdxJrLJq8yA0PkVcbkgVHBhNXYRLCLj8O4Q== X-Received: by 2002:a17:906:19db:: with SMTP id h27mr19177114ejd.154.1598544133876; Thu, 27 Aug 2020 09:02:13 -0700 (PDT) MIME-Version: 1.0 References: <20200827140020.159627-1-warthog618@gmail.com> In-Reply-To: From: Bartosz Golaszewski Date: Thu, 27 Aug 2020 18:02:03 +0200 Message-ID: Subject: Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2 To: Linus Walleij , Andy Shevchenko Cc: Kent Gibson , "linux-kernel@vger.kernel.org" , "open list:GPIO SUBSYSTEM" 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 Thu, Aug 27, 2020 at 5:53 PM Linus Walleij wrote: > > On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > > > This patchset defines and implements a new version of the > > GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add > > support for debounce, event sequence numbers, and allow for requested > > lines with different configurations. > > It provides some future proofing by adding optional configuration fields > > and padding reserved for future use. > > > > The series can be partitioned into three blocks; the first two patches > > are minor fixes that impact later patches, the next eleven contain the > > v2 uAPI definition and implementation, and the final seven port the GPIO > > tools to the v2 uAPI and extend them to use new uAPI features. > > > > The more complicated patches include their own commentary where > > appropriate. > > I'm ready to queue this now. Certainly any remaining snags can be > fixed in-tree. > > It kind of keeps in tradition with proper software projects "plan to > throw one away" which is what we have traditionally done several > times: the first Bluetooh framework was tossed, JFFS was tossed > for JFFS2, Video4Linux was tossed for V4L2. So let's do this. > > Anyone against? I will put it on an immutable branch and then merge > that in for devel. > Hi Linus, please hold it maybe for one more week - I'd love to have some more people take a look at the user facing header at least. Andy is usually very thorough in his reviews so I'm Ccing him here. I'll too skim through the series one more time. Bart