public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Convert greybus loopback to core async API
@ 2017-11-06  1:32 Bryan O'Donoghue
  2017-11-06  1:32 ` [PATCH v3 1/4] staging: greybus: loopback: Hold per-connection mutex across operations Bryan O'Donoghue
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2017-11-06  1:32 UTC (permalink / raw)
  To: johan, elder, gregkh, devel, keescook, linux-kernel; +Cc: Bryan O'Donoghue

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-11-06  9:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06  1:32 [PATCH v3 0/4] Convert greybus loopback to core async API Bryan O'Donoghue
2017-11-06  1:32 ` [PATCH v3 1/4] staging: greybus: loopback: Hold per-connection mutex across operations Bryan O'Donoghue
2017-11-06  9:17   ` Johan Hovold
2017-11-06  1:32 ` [PATCH v3 2/4] staging: greybus: loopback: Fix iteration count on async path Bryan O'Donoghue
2017-11-06  9:18   ` Johan Hovold
2017-11-06  1:32 ` [PATCH v3 3/4] staging: greybus: operation: add private data with get/set accessors Bryan O'Donoghue
2017-11-06  1:32 ` [PATCH v3 4/4] staging: greybus: loopback: convert loopback to use generic async operations Bryan O'Donoghue
2017-11-06  9:19   ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox