Received: by 10.223.164.200 with SMTP id h8csp643815wrb; Sun, 5 Nov 2017 17:33:32 -0800 (PST) X-Google-Smtp-Source: ABhQp+T5AlW+PQvxUw4ah3BAcYGcVzjf0IED1flsHCnR2OPdv+rX1zo2UGxIGEO0Ly5HlpibyxDk X-Received: by 10.98.82.85 with SMTP id g82mr15232186pfb.31.1509932012653; Sun, 05 Nov 2017 17:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509932012; cv=none; d=google.com; s=arc-20160816; b=FRxjVOrKRO42NlSMsFrPe8sRO7SyVT5zy1pJk25dD8kMihTNuRBkWZ4PPGa+Kkt+Jl L16CSzz+EfQ/MzOJ8gj6myYfFlyeqytZfcSua8EN28AIrjJfY+ssBZCjQ/RH/6n/9SWT +GuTWY6JkmfymM0SgpkK8JMJRl+Qx0hsSfuzcwjZzcXZNuZdWDX1zctRoyMK/BjIIQOY zzyr2DvULdDdu5MZ7soWj9fXjfHYtmwfyyOck2Vws+WB4SPF9YD5IM0d/G9JI0I9nKhG rc+1LERoWDUCiu3jtKHQRTRRdDKep1MMSCAv7C+INbK/6iVCpyvTHmzhBVyJbqec4rIk zb9Q== 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=PiPtkFxSiZD//pvdxK/KgyOzww5AVQUPVQrk5zHkuzk=; b=ZlqfkOdj/PI2c4JEVAZn3He0minwLAh6aCQ9bpNtxuVhGIJAMmTSCDit9cVY7KNrP9 fMlFB4jCvja9UV7HXamNeLcu0WedOKptVIke/g0lAqJTMFOP/GT+bwPkVErImA4+cxbs 0RvltjG0Gzsr8qvEDlc8xS3LpC8cSxZ4z0w9dDc4wdlCc8bG6vsMCVWndJVrggvU4Kn8 xe7zQWwTRzd02K2/Jh3wGy/ExLvB9LxC7xUG5hWMOyaz7R0qX0AtkEGbWULREyxTZvpL Hp4P05C/kMctthUzlGcQ/eU5NrLi02yW9b/3P7qE3PzE8xFd0PgtSVbNQ58OJ3HlY3Rm AjdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=qj525OE+; 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 d125si10202856pgc.444.2017.11.05.17.33.19; Sun, 05 Nov 2017 17:33:32 -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=qj525OE+; 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 S1751588AbdKFBc2 (ORCPT + 96 others); Sun, 5 Nov 2017 20:32:28 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54409 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbdKFBcY (ORCPT ); Sun, 5 Nov 2017 20:32:24 -0500 Received: by mail-wm0-f68.google.com with SMTP id r68so11085061wmr.3 for ; Sun, 05 Nov 2017 17:32:24 -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=PiPtkFxSiZD//pvdxK/KgyOzww5AVQUPVQrk5zHkuzk=; b=qj525OE+8u2L/oCtlK1aCqJD0Qom/QGif8eYn31m084u8UQ9tAj2jvX7ac0pu0C5bC qH1SjvFowqBR3Wsu3uaGUbqF/TuGMV9fdI17hC2EYUgz0WF/OX0OqGckFxM2YKbsXYRp vxUXV1ItgTA9ExKF+mkU6wVQcgpaChXImAXn7+BVOufAbrk7YvTeLNBWZ3ulf0B8As5V LNb06nDE+o+Kcfngn7FViIDjVBFW2642L1JRUVB7plWE/TXbwp7gnyTT0/uZ6NxIF6pP PNAfiePot/7+fersfeRKb2Wd5eX3jTszjViglADpu0yqduCfTw241xBnkxr/tG8mjd+2 Uldw== 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=PiPtkFxSiZD//pvdxK/KgyOzww5AVQUPVQrk5zHkuzk=; b=FAdZy/55kyaGkbAfLxp9LjXEWbU3yCIhB0Rgic8sUbmjIJq5Rs//D86kBmk5+3LqnP elqwjYKv3MPFCCKAbkV5FcRO3qHyLRIVO21Gw4ZfnafHJcCEGjz26BDRpOlFH3al6Ao4 XaElBwywSqCZR+eQsYdnmTgdRcV/Ozbya/mNjYDkM7/Y/Q32qfudIi9HfIRi8/zHwB27 wD4lBEdkbCbc6af0dgqG/W3hAm9T2ovePlTSv+iSZz/vxCfcb06W7rBtP5PbK2JeSwtF OZm2LG/u8IaG+GIDECUcR8sFKZeg9R4PdIUnTUpFNeO8YIuJr8h+LFDgk+7dVvTcioG3 Oo2w== X-Gm-Message-State: AMCzsaUAiMx/YrKCC83t5NLFuTTIi6BK+DMWegDYJhKoHxye/RdGk0tt 3/qQOMg7+LWhp7/cKP7LXlqjjA== X-Received: by 10.80.146.209 with SMTP id l17mr18104591eda.13.1509931943831; Sun, 05 Nov 2017 17:32:23 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id c7sm10603213edc.26.2017.11.05.17.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Nov 2017 17:32:23 -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 v3 0/4] Convert greybus loopback to core async API Date: Mon, 6 Nov 2017 01:32:18 +0000 Message-Id: <1509931942-25712-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 v3: - Patch #1 Cc: linux-kernel@vger.kernel.or -> Cc: 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 1583278111713480545@xxx Mon Nov 06 01:27:50 +0000 2017 X-GM-THRID: 1583278111713480545 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread