From patchwork Mon Feb 18 09:47:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 1043846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="s7D0nn2T"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 442zb25M7Wz9sDr for ; Mon, 18 Feb 2019 20:48:46 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729170AbfBRJsJ (ORCPT ); Mon, 18 Feb 2019 04:48:09 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36952 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728899AbfBRJsJ (ORCPT ); Mon, 18 Feb 2019 04:48:09 -0500 Received: by mail-wr1-f67.google.com with SMTP id c8so17568562wrs.4 for ; Mon, 18 Feb 2019 01:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nGqYI1tFUvXzb6Qt6BCRzM/Y80lHTx6YZMCEPujBRZw=; b=s7D0nn2TPxnA7MuvAo84ZoeykWgf+hGbtKqtXYdQowdMf4K/X4yrbUk6Pm92tlKVxb FvQ4uPpKTOe+yDSL8uecpzCe4BlQ1wHrhqETfEK3MYqzLGHRo9/+7eXCKvda6ozDprtQ QT5g8Y103CVA3UYhKdqPsU8o25djxrY8DMaeyUSwOdH+e6wF2OQn2XVDCCbU9mw6IlDO k2iwuGAgFmk7vY6n1FaWs2ER8wneJb5kt9lK+ol1DuPKrNyAdVHGamnhWCgDNpwiNDc2 hfimsovDBJm0GgtzcuWqBQvMmsEJ1AaokcT+9T6c365UNgy/yht2yw6bcr39cZ5JPk/1 ydVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nGqYI1tFUvXzb6Qt6BCRzM/Y80lHTx6YZMCEPujBRZw=; b=fjnp+NE6fmOy3ESQSFo4GhLIJ5VLWjHAUH4me2PB9PYclw9W/23D9+p9yy6/XmIJI9 tRlijvgfM+BYvw/ZfdHIUZf0xQNaeLteZ76t+7/i3uGMCs52D/JB1us8Gd2gHWTbzck5 niktsfLE7vrBfczyO/VZxIymzuQB5AxhRAsZ/3etss4HUbNuEeFETJ3NkuqO65Kwxq9s d1WHpJlnHObXKzxuYhW3brI+xSqe/8Az6DwZ+rinmXFgZcd6JJ834KzKgbs7GI4lX+SY V7N0KYXLG76o3m2oWLu/0cCrs62+HJvNBG3UAMBt0fmSAYPiXWEnYzQM8tEVm29Lqqt4 4Rcw== X-Gm-Message-State: AHQUAuYx+D592di4EHtxTK0+CgyoeYKyj5jEXQoj7nKUe76qBZUyTRPG oY2zOFmp7bNMqLldL+8GHguHxA== X-Google-Smtp-Source: AHgI3IYlU3MR0x1gOughxtZRKN92dZRiuEeVNvD7bwrjLqwFubavwpJW031aJiYw4Pu3AZ4zjXLRXw== X-Received: by 2002:a5d:6810:: with SMTP id w16mr15936783wru.62.1550483287735; Mon, 18 Feb 2019 01:48:07 -0800 (PST) Received: from localhost.localdomain (aputeaux-684-1-7-43.w90-86.abo.wanadoo.fr. [90.86.124.43]) by smtp.gmail.com with ESMTPSA id u15sm17582974wmu.17.2019.02.18.01.48.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 01:48:07 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , =?utf-8?q?Uwe_Kleine-K=C3=B6?= =?utf-8?q?nig?= Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 0/6] gpio: mockup: rework the testing driver - alternative version Date: Mon, 18 Feb 2019 10:47:53 +0100 Message-Id: <20190218094759.14545-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Bartosz Golaszewski It's very late in the release cycle and we cannot seem to get the irq subsystem maintainers' ack on the proposed change in the interrupt simulator. This series contains only the gpio-mockup patches from the previous submission in order to at least partially track the line's state and add a way to verify the results of uAPI calls. The interrupts are fired regardless of their type configuration. This will be fixed once irq_sim supports it. Bartosz Golaszewski (6): gpio: mockup: add locking gpio: mockup: implement get_multiple() gpio: mockup: don't create the debugfs link named after the label gpio: mockup: change the type of 'offset' to unsigned int gpio: mockup: change the signature of unlocked get/set helpers gpio: mockup: rework debugfs interface drivers/gpio/gpio-mockup.c | 188 +++++++++++++++++++++++++++++++------ 1 file changed, 161 insertions(+), 27 deletions(-)