Received: by 10.223.164.200 with SMTP id h8csp640391wrb; Sun, 5 Nov 2017 17:27:51 -0800 (PST) X-Google-Smtp-Source: ABhQp+QI3fkLaJZNsgdlLxvVGW3/NpuFr1+ide0VFVzSo5QRUNBFzOfL2j4jbHNpPxJFuDUoP9wD X-Received: by 10.159.211.65 with SMTP id g1mr13507371plp.312.1509931670912; Sun, 05 Nov 2017 17:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509931670; cv=none; d=google.com; s=arc-20160816; b=kK+WYGvcdsakk8N4rVmfaZyZing/Y8hhC/lwPbIQkKVhusIynapQT6VJAs3tLSjrbX L7cqWyiF0gAzHQPXbu4W6NJJKQn2cfjJPfPq/6i6+jwBAlWt6zBhgbNka+0V0bdRK2iU Il4NF0Dgh5jQs0DjDhgFAAPv5WGH4SH6XFy7XqqcBywCK4N8PeCYJ9wPwB8dSjFpG6L+ crAgHOrUPBiFFeQLr/sKulrmUHgNoS3lLA3CycMAv3ShZLyNAfoQgcLstOBtoJKw1iWH X/h4AXXv5w0ti3vGRBlv3St9IgCv29T6z0MO3DSG5qdd7dJ6VxGzRdoaKiTcIsymePGo yLrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=cfEdJT94Pi8B57sIhQkiMeNDarXVq3edT7liJAk8bYw=; b=GB1Qhg/o31UW4i1AnDnCI/6bB5LKfxgyNvtA1Ws22wH/PPvZ5gEDrRe2Vxk0IpYClz CIjQN7wwV2GRGtkJ/r9UqpE83WY5THhFg6HfYJBMyYIm4qZ1b1N9pdTVC6pUh2/Nm+Lc S8zkD2mL1w7aMYwHhA6Ddwvys4ATMv4tAdiS9c3+M4R+04+33ddC1t44pG8iQE5SxEIX z3jq/OIq6NNq0SHwczYJy2bicPWFrsPQJU9BOLSHNHdye0HAkqgIAGJiP3VrjG4jOJjW jdQBlI8+Z9IYWrS3TeqKXucuR+lHkEoWRPgfZxwDPY9/DV+OmYc5CGMZJWVIiOC5asj9 jxlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=Kfzv+nEz; 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 l197si10947117pga.371.2017.11.05.17.27.37; Sun, 05 Nov 2017 17:27: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=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=Kfzv+nEz; 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 S1751478AbdKFB0O (ORCPT + 96 others); Sun, 5 Nov 2017 20:26:14 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:46682 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbdKFB0N (ORCPT ); Sun, 5 Nov 2017 20:26:13 -0500 Received: by mail-wm0-f68.google.com with SMTP id r68so10765186wmr.1 for ; Sun, 05 Nov 2017 17:26:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=cfEdJT94Pi8B57sIhQkiMeNDarXVq3edT7liJAk8bYw=; b=Kfzv+nEz/aXddMX/El2e5Yt/eMEi73p8vJaO9BkKHQ+BNBJZnymHzjzO+ADGHpMjsR jg89GtjvO2p1NvpAoPJg+3en6TpYLRCBv5uP4/gWXiZu+pr0ZopFEQnQ2qoNUDz7OXM8 z/b7rytqy9qDgmlsSnVdE0YihjCqV+kYFsG4ht8B/qAfaT1GtOrVeTBpYURjK8kT/0xr rgTeqr8fs5ce36j/qHQCSSq9FgK9jQiZXwsugGngf4aRx/6/Wv/HuItRaqAXCXmz+DOl 0qszlBAGp/TKbLbbVX1fh5mRG+6snJpSdDEl5is9A69ThHxWtew6P6F4snbvaRsmUHH5 SnDw== 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; bh=cfEdJT94Pi8B57sIhQkiMeNDarXVq3edT7liJAk8bYw=; b=evWTxyJTcFw+kihaAoJc80CEOfhrluHfFLK5prHf5+kvHceVORUPQBCSTfrbR8GAF/ IAKFLBV8lZnxHPIFQO+nR58Yd/qXf/fINOJOLE8rUlha6VTPKaY1m8saeYcN3EC9H/n9 zQ8EEJq+9/nW/jP9NZlbVXuHY77mesQbmBwsSBTMxycY4d5IVED6dNQKypRTnoVcXk1L vOcoCTeOjS255DnWTMarmdfCW/0vMlWvI6zhD7WxbQEb+ODLjPnlXE7iLgrGgWDoaXZP EQv/5ASANHRlx4vijuUYAdyhe7StMzf0RxPGDlbEEcbwXD06ZWeYje3ChStXQPGuZB09 hhbQ== X-Gm-Message-State: AMCzsaUO5n658JQl4jUumS/KHDhrqQySX+GibrMab8d+yEdSTxF+plg6 H3VCBCKmubomH4DAJGUpijiaGA== X-Received: by 10.80.163.101 with SMTP id 92mr17989337edn.100.1509931571957; Sun, 05 Nov 2017 17:26:11 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id c32sm10258015eda.57.2017.11.05.17.26.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Nov 2017 17:26:11 -0800 (PST) From: Bryan O'Donoghue To: johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, keescook@chromium.org, linux-kernel@vger.kernel.org Cc: Bryan O'Donoghue Subject: [PATCH v2 0/4] Convert greybus loopback to core async API Date: Mon, 6 Nov 2017 01:26:07 +0000 Message-Id: <1509931571-24621-1-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: - Added Reviewed-by Johan for patch #3 - Added fix for mutex hold duration. Johan mentioned the holding of this across a gb_operation_send() call. Looking at this it shows a bug that crept in between two commits detailed in patch#1 here. - Split a separate bugfix from Mitch which had been squashed into an old patch from nearly a year ago - Added Mitch to the cc list - Depends on Arnd Bermann's patch "staging: greybus/loopback: use ktime_get() for time intervals" v1: dbec27298b0d ('staging: greybus: operation: add generic timeout support') gives the ability to remove lots of the asynchronous operation code in loopback. Kees is also doing a cleanup of timer code which for loopback will go away when converting to the core API. These two patches kill two birds with err, two stones (no aggression to birds intended) namely: - Converting over to the core asynchronous API - Getting rid of the timer code in loopback which will unblock what Kees is doing. Bryan O'Donoghue (4): staging: greybus: loopback: Hold per-connection mutex across operations staging: greybus: loopback: Fix iteration count on async path staging: greybus: operation: add private data with get/set accessors staging: greybus: loopback: convert loopback to use generic async operations drivers/staging/greybus/loopback.c | 176 +++++++----------------------------- drivers/staging/greybus/operation.h | 13 +++ 2 files changed, 46 insertions(+), 143 deletions(-) -- 2.7.4 From 1583123998844324674@xxx Sat Nov 04 08:38:17 +0000 2017 X-GM-THRID: 1583123998844324674 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread