Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6283326imu; Sun, 2 Dec 2018 14:21:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/U7NIEsOSsSjME4lOORvM/lQX6/RMt/0X2J7y0pgIWoAnfiuv4cpDv62/4ULmITZnsn5IA+ X-Received: by 2002:a62:7f94:: with SMTP id a142mr13736364pfd.96.1543789293995; Sun, 02 Dec 2018 14:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543789293; cv=none; d=google.com; s=arc-20160816; b=HUFErFdm7xu8MF9DvePIKXV/PElM9m9T2xuVEeil8+xVaypMVXeFfjrZza02tYWGmA WZdf72FUVZY5pPGnZviYlKZ+54oxevtX/GszrhXgKXZDkBgBQGRYtHBTbjjqo5GnsL3b niSuC2miABKJOlINfPouG71XK/KLVJ7macmcI6anALIuHKLPwNTo6lwLV5AotgEJ6pcs TVtXXP3HfvJT08pzby/gEyXzeTb166XTaYIGlFR2p1Y6zS26E2EvVeELniAJeudjkrby JVfnFxcE+SAJtALHfFzwcqwxFJuoP4OlD3kYDLXnwrX1XKmkMzj6WTfSRNuVRgs46Tm+ K5lQ== 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=7kz8kaWF7Kv2T4TuI2aZ/QGeznkKe29o+BBM4Y9DnWg=; b=OOKoZKaDbacH+OgVmYZN1B9Y/FoUttv50MB/i3ZYGJzNcZbpWkDbo9QVsoC7XbK3Rx RUWxMVyb02EnFluopfaRh8+m+tuCNbnPoiuqIV5JOFtStq7R14gWzdjgkE3Sh+LSP5xE FwN2xlzAgE0eowHnDfljZOmKD6KGdH/dVNSVGU0FTTdMGFrTH+txyofBv7lEg5+eudMR F8bTJFrX315C8hx7wOzRHN8grBDSQ0VxC38C40Z9JDo/hFq3qENfoooPes2FbEGjAepB ei2urkTuYTAcnz7sODEldpFKq3hyJ1onOWHXsa+Lec165CTvc3mTlLvNDJpKnkFB7DGq oWrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=bAIw4L5M; 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 h5si9984064pgk.249.2018.12.02.14.21.16; Sun, 02 Dec 2018 14:21:33 -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=bAIw4L5M; 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 S1725792AbeLBWUm (ORCPT + 99 others); Sun, 2 Dec 2018 17:20:42 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:44651 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725781AbeLBWUl (ORCPT ); Sun, 2 Dec 2018 17:20:41 -0500 Received: by mail-io1-f68.google.com with SMTP id r200so8817003iod.11 for ; Sun, 02 Dec 2018 14:20:38 -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=7kz8kaWF7Kv2T4TuI2aZ/QGeznkKe29o+BBM4Y9DnWg=; b=bAIw4L5MLHG7hQ5iqgylg8DJXIOAXvPk28nvxTTeFkkAOifRkK3LzAS/RWdNhWZqDe nr51uLE3r++rQID/JT7olYOcLEobIeygyLPl/905kGR7VHHZGQzGDVEevPg0r02kXG43 3I7OntwDhN1wdowTKzKmBdlPFkt9/z13nws1ikbxjYEUK33UwPbVxs2EKBuo1ha+eEze 0jf57i9oG1J9DdeJ0UNJnOYjvE6oOTs5G2YO7OpY/rK3uT3MFWrKzctf2B8DGmmHM6YP JG5RgEvh8P4l3YA3Y/9t2emUuHQ0dtg9woTlGzq7xvj6Lf4U9WbBn63pM/JCBhgMC7yO EVgA== 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=7kz8kaWF7Kv2T4TuI2aZ/QGeznkKe29o+BBM4Y9DnWg=; b=JGMZZ7eBfEgbIBHNQaMRY2rTJBpOogOxeJr3WzamtjXQzREh387DMmXWXh7wzG4ySJ yJC8g1Dy2a2IxsnmIRGDH8PEFAERSfQueC3H4jLpCe69dcrTcxw6Sa+rbasjQ/G7H610 OP6mJT4/Jth8UtAqUOBRNor4GMB7bHAwaF7p3xHmw8+zL0hofinfK7H7PwgO8hs4AxXP DluurWSPUIiUE4OYXN5oI1o+tbhaJAxSsKQXbc7vmZNVCRTH7s0VDuGJgptal2fABVVl G+R1WWjmpfSWX7mF0z0PGv21v5aUxPnGOkNU+rJzo0EdpCQmWIKEWcdIB8o51ryeZ3CQ uJag== X-Gm-Message-State: AA+aEWbDKhWyr9eR9rZgWcZh5VgnxvJRgHD6lqIbXkJETzmu63LkXpGB LP1AHVxRVbJM3w0XaBwpk3upOogh4RuS6Vues25sIg== X-Received: by 2002:a5d:8c89:: with SMTP id g9mr12699670ion.111.1543789237868; Sun, 02 Dec 2018 14:20:37 -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: <20181202215613.jcfrxwl4taiqgsql@pengutronix.de> From: Bartosz Golaszewski Date: Sun, 2 Dec 2018 23:20:27 +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 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 can > > no longer depend on reading the value of a dummy GPIO after detecting > > an interrupt to know the edge of the interrupt. While these interrupts > > 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