Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6767200imu; Mon, 3 Dec 2018 02:25:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/XERIE5AowQtsVvcMTEMD7Vo6ea9I50bnC/0xHEWOG0rux4WY6K6lK95AiqDB460HNv0E4p X-Received: by 2002:a62:5716:: with SMTP id l22mr15723116pfb.16.1543832750754; Mon, 03 Dec 2018 02:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543832750; cv=none; d=google.com; s=arc-20160816; b=zKeWW2uIVTo8QYShOXcHsaYRQ4I74M1EyeeagR0FpIM7QdTPqa/x3/2B3LJkzZSCkp TBkgx6rFfIoBMdUJy2mC72vIeuJ2pEf/beVN3vzLIOM76RS30fiajCKa8BhBhR7k/H37 p2x/y39CznIcXJ5eEfpduSQPo1fDQwXgr7bBQgQOjgykMIb4esYhRP3s9IbeeACi+7Oc +tHe5Z3WoMpzVFXawS0pJmf8fqAOEy87TrJ5KpxKy43BFddzwa35qobVQnAVTWj4uocq KhfKqTS2B5tdPgQOJ0AW8WhFOnZvPV351eE7abZS0cuvZKXPzUjgBbeOsPA/JVPXTc9y Xmnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=UmrYYrcVEUMHJZpCsWazmOrYV9XEY5TV2nNkfIM6gOc=; b=cywoLftRRDEL8r1X7E4K/Jp+ohUXe+l0/BO2cO5ynIYJFcnOluWl4N7kifQIKA3Uyi /c+XNPKmdjnkbB9slXauK5ezbetfZccnwN5VO7KbYF2quf6u9VWQshG2dalltrEqC//p W3quPxK0tVY8uODqoS3gcgrf5QKCQCxltk9Pn7akmHXuslBqXvlFZQe4DZztPqUSfJe0 +hRivVKTO2OGCXqbQzRG8xUYSW+DlR2EPp++5QiRt8nSuN7q/g1Zk15AICjck090Jyra 4xw1nss8dFk8Z725/o9t0iTR74YeDbw6Ztfr15YNbtFy7xPCURhtIwKCV01qtLevVa9t si/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=yd+hbmMM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si12195542plr.382.2018.12.03.02.25.36; Mon, 03 Dec 2018 02:25:50 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=yd+hbmMM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbeLCKYR (ORCPT + 99 others); Mon, 3 Dec 2018 05:24:17 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:54661 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbeLCKYR (ORCPT ); Mon, 3 Dec 2018 05:24:17 -0500 Received: by mail-it1-f196.google.com with SMTP id i145so8366975ita.4 for ; Mon, 03 Dec 2018 02:23:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=UmrYYrcVEUMHJZpCsWazmOrYV9XEY5TV2nNkfIM6gOc=; b=yd+hbmMMaG7RMKwrL6s0sKwFugqB72Gue1slI2zd6kTImha4wPnkSR23X5WIpoCiwr 81ER70O5/5MKjoewFGh/7vAL8xT/Kb14RZ0SnDoD0e4MHQxyQpz9JxlYUx6KrQ6XMxHZ 6Sd2ysG54i2NmZ5TlXUD4rvBm900XCLCWGIrimq2IVjcl21xu0F2m3c55MLPsCjNPLME tIFqIT+Nur+H5QPDMVZF0Hyx6+agJamh4QfaNNAeoDodoJfvw0kcbSqv7HYlYZXYlhm7 ykA8XzJRnqLWE5u7vWV/M0+CMICBAHevosjjwSk8SOMzIZd6ccXwsbmBi1HthnX1uzEt QuEw== 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:content-transfer-encoding; bh=UmrYYrcVEUMHJZpCsWazmOrYV9XEY5TV2nNkfIM6gOc=; b=VlWpOVEAysA3y9EiX82Bz1Bji8NyVAzXcrggiao08KlGbCPdHBMJdeVtjZara0wVRM x+utBznWVS2SkQTFRa76q7WQTkg1Eu1uQQtMQRr8krUj0BpKx+6dAYcoOjYnYWzTwKNx FnBeSLthGDr6Nzk6vteNrIWrP9HjmCY5XVFeIsnDvtu3Oh0YYHzAAROfsYq5xRIOZqT/ vTY+60/Y82naSBiofQwiZYkoEvAURY5ppdWs0L62sgivsVzZCmLzSUnMnNA9mQ0HMXng ER8RhEnS9/7wMHTbm1jvsim120Ezwjfcs2IKOeL7NBmvHf51gqlskCeeV8dZPNM8t4FY xCpg== X-Gm-Message-State: AA+aEWbOVhS14OjMQqV2g5OWHPSB0tgdm3Ml6xnpjgLCupKaFiMLvFd8 UDOvBfd0e0Zn5w5Dbt+AL2lULdhIgbMDQ2PFUfHbaQ== X-Received: by 2002:a24:7284:: with SMTP id x126mr7822259itc.96.1543832631030; Mon, 03 Dec 2018 02:23:51 -0800 (PST) MIME-Version: 1.0 References: <20181120134032.31645-1-brgl@bgdev.pl> <20181120134032.31645-2-brgl@bgdev.pl> <20181120171742.gkwb4s4qbcqvnefj@pengutronix.de> <20181121191509.ia2vcklvx4q2rh56@pengutronix.de> <20181125211854.idnqxz4pco3r7ydr@pengutronix.de> <20181202215613.jcfrxwl4taiqgsql@pengutronix.de> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 3 Dec 2018 11:23:38 +0100 Message-ID: Subject: Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge() To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Thomas Gleixner , Linus Walleij , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org niedz., 2 gru 2018 o 23:20 Bartosz Golaszewski napisa=C5=82= (a): > > niedz., 2 gru 2018 o 22:56 Uwe Kleine-K=C3=B6nig > napisa=C5=82(a): > > > > Hello, > > > > On Thu, Nov 29, 2018 at 07:14:45PM +0100, Bartosz Golaszewski wrote: > > > We're getting too much into details of how to handle simulated > > > interrupts and we can continue discussing it, but meanwhile I'd like > > > to address a different thing: > > > > > > Thomas, Linus: after commit fa38869b0161 ("gpiolib: Don't support irq > > > sharing for userspace") some libgpiod tests are failing because we ca= n > > > no longer depend on reading the value of a dummy GPIO after detecting > > > an interrupt to know the edge of the interrupt. While these interrupt= s > > > are triggered from debugfs and debugfs is not required to maintain > > > compatibility, I thing having a working test suite for the GPIO > > > subsystem and uAPI is worth applying these two patches and also the > > > previous one[1]. > > > > > > Can we have them applied for 4.20 or are there any objections? > > > > Just for the record: I objected the patch, Bartosz agrees to discuss > > further and but because this is too much detail the patch should now be > > applied anyhow to fix the test suite of an external project. This seems > > wrong to me. > > > > Just to look at it from a different perspective: we have a project > whose tests rely on a behavior that was changed by Uwe's patch. While > the patch is fine, we need to find a correct way of testing the GPIO > user API. This may take a long time. In order to not break the tests > of an external project in 4.20 I propose to patch the interrupt > simulator (a component only used for testing) for now and to revisit > it later without time pressure. > > Best regards, > Bartosz In fact after re-reading this conversation I'm still not sure what your objection is exactly. You're proposing a solution that may well be nicely engineered but it's specific to your gpio-simulator. Meanwhile I'm trying to provide a more generalized API for more testing modules to use. Why exactly would you not merge this fix? Bart