Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6052534imu; Sun, 2 Dec 2018 09:02:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/V/gRFCYgURdCdtGfYgXzQIZgltD5XOFraf/oksUZ3LuLeb6k1IHut/3AAitxrCYhJP4xk6 X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr12860151plo.130.1543770179915; Sun, 02 Dec 2018 09:02:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543770179; cv=none; d=google.com; s=arc-20160816; b=D5oBT/NNNidilaeLbHx0qmplF8OBzqJSotdGGpCymkNftUAMEuYWUjK11TysWISiDS Cu+UPpq1aZYjT8AFULwhhkGFV+U+uBJbqgGXhGb+Uq0kaV+KZ0qLvGhnWfROgSJqFLyM +RK6W36M5M10ryfMbcvL/B4i1k8rGVolHcDgv/rosS/THGMEW429QRX9l4ci/rsrg877 6kda2SW1j6MBo+OXc9B0umgj83xKuhMFjxm5T2pxUdMJKT4ECPALSiWWZaFB7rqaEYrU sYSo9aT0+xOJN0oz4szZaLjLDATYwHvaMFRDVVTsGeOe6scXCWTEDVonW4kqsv75OuOP WATg== 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=Oisxvrn8vwMyiwpK5R9JK86kA7nCnXCgxvtMALgRayo=; b=gXUrPRJtyBoayeQ4mLWUK0f/gws6Vnc3nPX/tlxCob0UE2lROKVhfBBs40QFaM0/hs h/PtCJy4GAimKeAu33l8bl7omx23ZGY6yVpKH57Eef+5IhC5EapQrmmQ2LjJa8yiHdl+ ajobnC5ZzD+Mp1EJ/AKteoPLNizofmvF2VnjFiwaNtNX2GMQkFHoCL5feF9fO/rqj70I A+Qfccgtzqm8lgXFU05VX8OtX0F7cHZqWCHYK4U4yiuw3Kih4hB7VVG0U6yjWMBnSj37 6l2oA1WQ+xPRRGUy47+VKImYGKa1EhZ6ltNaUQckvTeU5Q0WJW7jat7YFJFjT6PYDAH4 YCwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=IVUOOiZM; 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 s9si9619402pgv.397.2018.12.02.09.02.45; Sun, 02 Dec 2018 09:02:59 -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=IVUOOiZM; 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 S1725765AbeLBRAg (ORCPT + 99 others); Sun, 2 Dec 2018 12:00:36 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:42988 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbeLBRAg (ORCPT ); Sun, 2 Dec 2018 12:00:36 -0500 Received: by mail-io1-f66.google.com with SMTP id x6so8484412ioa.9 for ; Sun, 02 Dec 2018 09:00:34 -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=Oisxvrn8vwMyiwpK5R9JK86kA7nCnXCgxvtMALgRayo=; b=IVUOOiZMsqKBhkdeKRpuWF9XfJtF9U43/ou7tPPYEhF3r13D72lyjHyiyOicvBQb52 ZcHvPiaT2/TMHZJidhbWdCge8WRfBb75tL0slbNL8m80qnrCqgsYmZ0mJsnVKx+lhoz0 sdF28+zyY6dpGS25EJU++8r/gzVOtdtk384Q5Y01kVDCI5UWK7dvE5Ni55QHWlMKcAfP 74GiwqEsUg2P/NdhKRThdF25QF3cE0+775T1kSuSsc+Idg9JH+grGfq0yUUyx22KndhF Os14sc5CvTbTzZfs2y7QFACvIqtd9atugHEaMsqaZLdDm4Ym69Ndk/hKxNikv657UAOU eAlA== 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=Oisxvrn8vwMyiwpK5R9JK86kA7nCnXCgxvtMALgRayo=; b=ju3NIbAD79/l/GMMuyN357OZB7wN+/y+8Y14CbPUFuP4NOFBlh4pgt0w2MEncxZGut MmxK9BR9xzbDCSWasudx1G0pl+QD71feQcehs3qsvjqObYGWK9eUNSj3M6YHwa9zbc+Y 0/IG+F1Z0ftorVrZNxzeCP+ERzYlem8euRGa7I9NG2Wzw97us8O8yf7CTE/rCNYlXUbn jAwFY/SotWNiG2XnCbC150BwwCGrqhxXocbsBBv+8dljAguIefKxfNY2NF45d+n4iTeX FgSs1s055J7/FI88sTLREo/rZP1oW9cy1uV21UqtBU+0V8HeN+9fuFScfrnHD2UYKnC9 71Vw== X-Gm-Message-State: AA+aEWa54ItCCBeRM+oQoGqYkF1GoTp7wZFkAh62GaJA2FO8IvGSQcQj MCbNmjRvDTArr0uEENjdA3nrXIbLNfkOokdofYtAUA== X-Received: by 2002:a5e:aa06:: with SMTP id s6mr11385852ioe.187.1543770033491; Sun, 02 Dec 2018 09:00:33 -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> <20181202122900.79922c91@why.wild-wind.fr.eu.org> In-Reply-To: <20181202122900.79922c91@why.wild-wind.fr.eu.org> From: Bartosz Golaszewski Date: Sun, 2 Dec 2018 18:00:22 +0100 Message-ID: Subject: Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge() To: Marc Zyngier Cc: Linus Walleij , Thomas Gleixner , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , 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 13:29 Marc Zyngier napisa=C5=82= (a): > > On Fri, 30 Nov 2018 23:26:25 +0100 > Linus Walleij wrote: > > > On Thu, Nov 29, 2018 at 7:14 PM Bartosz Golaszewski wro= te: > > > > > 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? > > > > I'm fine with applying them if I can just get an ACK from one of the IR= Q > > maintainers (Thomas, Marc). > > I'm fine with that patch, with the provision that (nitpick) the edge > field is turned into a bool instead of an int. > > With that, > > Acked-by: Marc Zyngier > I wanted to reuse the already existing IRQ_TYPE_EDGE_RISING/FALLING defines which I think makes more sense here than a boolean. Bart