Skip to content

Fix queued spinlocks and a bit more

Nicholas Piggin linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Improved comments, changelogs, code style / wrapping.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocksarch/powerpc/include/asm/hvcall.h arch/powerpc/include/asm/paravirt.h arch/powerpc/platforms/pseries/hvCall.S +1 more+33 -50 replies
2/4powerpc/pseries: Don't trace hcall tracing wrapperarch/powerpc/platforms/pseries/lpar.c+2 -20 replies
3/4powerpc/pseries: use notrace hcall variant for H_CEDE idlearch/powerpc/include/asm/plpar_wrappers.h arch/powerpc/platforms/pseries/lpar.c+5 -110 replies
4/4powerpc/pseries: warn if recursing into the hcall tracing codearch/powerpc/platforms/pseries/lpar.c+10 -40 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchNaveen N. Rao
1/4R-b
2/4R-b
3/4R-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Fix queued spinlocks and a bit more

This didn't seem to send properly, apologies if you get a duplicate.

Patch 1 is the important fix. 2 might fix something, although I haven't provoked a crash yet.

Patch 3 is a small cleanup, and patch 4 I think is the right thing to do but these could wait for later.

Since v1:
- Improved comments, changelogs, code style / wrapping.

Thanks,
Nick

Nicholas Piggin (4):
powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks powerpc/pseries: Don't trace hcall tracing wrapper powerpc/pseries: use notrace hcall variant for H_CEDE idle powerpc/pseries: warn if recursing into the hcall tracing code

 arch/powerpc/include/asm/hvcall.h         |  3 +++
 arch/powerpc/include/asm/paravirt.h       | 22 ++++++++++++++---
 arch/powerpc/include/asm/plpar_wrappers.h |  6 ++++-
 arch/powerpc/platforms/pseries/hvCall.S   | 10 ++++++++
 arch/powerpc/platforms/pseries/lpar.c     | 29 ++++++++++-------------
 5 files changed, 49 insertions(+), 21 deletions(-)
Signature · 1 line
2.23.0