Skip to content

provide asm-generic spinlock

David Hildenbrand kvm kvm-ppc 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- use __sync_lock_test_and_set() and __sync_lock_release() -- dropped Thomas' R-b due to the change
- move includes into #define section

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3lib: provide generic spinlocklib/asm-generic/spinlock.h+15 -10 replies
2/3ppc64: use asm-generic spinlocklib/ppc64/asm/spinlock.h lib/ppc64/spinlock.c powerpc/Makefile.ppc64+1 -250 replies
3/3x86: use asm-generic spinlocklib/x86/asm/spinlock.h lib/x86/smp.c+1 -220 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchThomas Huth
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/3] provide asm-generic spinlock

Let's introduce a simple generic version that should be sufficient for our purposes.

v1 -> v2:
- use __sync_lock_test_and_set() and __sync_lock_release() -- dropped Thomas' R-b due to the change
- move includes into #define section

David Hildenbrand (3):
lib: provide generic spinlock
ppc64: use asm-generic spinlock
x86: use asm-generic spinlock

 lib/asm-generic/spinlock.h | 16 +++++++++++++++-
 lib/ppc64/asm/spinlock.h   |  7 +------
 lib/ppc64/spinlock.c       | 18 ------------------
 lib/x86/asm/spinlock.h     |  7 +------
 lib/x86/smp.c              | 16 ----------------
 powerpc/Makefile.ppc64     |  1 -
 6 files changed, 17 insertions(+), 48 deletions(-)
 delete mode 100644 lib/ppc64/spinlock.c
Signature · 1 line
2.9.3