Skip to content

better smp interrupt checks

Claudio Imbrenda kvm linux-s390 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches8 repliesSuperseded

Changes in v4 from the cover letter

* re-introduce ext_cleanup_func
* re-introduce psw_mask_set_and_clear_bits
* cleanup functions now take a pointer to the stack frame

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: s390x: add functions to set and clear PSW bitslib/s390x/asm/arch_def.h lib/s390x/asm/pgtable.h lib/s390x/mmu.c +5 more+63 -580 replies
2/3s390x: skey.c: rework the interrupt handlers390x/skey.c+8 -150 replies
3/3lib: s390x: better smp interrupt checkslib/s390x/asm/arch_def.h lib/s390x/asm/interrupt.h lib/s390x/interrupt.c +3 more+92 -261 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJanosch Frank
1/3R-b
2/3A-b
3/3R-b

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

Read the v4 thread

Cover letter [kvm-unit-tests PATCH v4 0/3] better smp interrupt checks

Use per-CPU flags and callbacks for Program and External interrupts instead of global variables.

This allows for more accurate error handling; a CPU waiting for an interrupt will not have it "stolen" by a different CPU that was not supposed to wait for one, and now two CPUs can wait for interrupts at the same time.

Also fix skey.c to be compatible with the new interrupt handling.

Add some utility functions to manipulate bits in the PSW mask, to improve readability.

v3->v4
* re-introduce ext_cleanup_func
* re-introduce psw_mask_set_and_clear_bits
* cleanup functions now take a pointer to the stack frame

v2->v3
* improve commit messages and fix some comments
* remove unused psw_mask_set_clear_bits
* remove ext_cleanup_func from struct cpu
* minor code style changes

Claudio Imbrenda (3):
lib: s390x: add functions to set and clear PSW bits
s390x: skey.c: rework the interrupt handler
lib: s390x: better smp interrupt checks

 lib/s390x/asm/arch_def.h  | 75 ++++++++++++++++++++++++++++++++++----
 lib/s390x/asm/interrupt.h |  3 +-
 lib/s390x/asm/pgtable.h   |  2 -
 lib/s390x/smp.h           |  8 +---
 lib/s390x/interrupt.c     | 77 +++++++++++++++++++++++++++++++--------
 lib/s390x/mmu.c           | 14 +------
 lib/s390x/sclp.c          |  7 +---
 lib/s390x/smp.c           | 11 ++++++
 s390x/diag288.c           |  6 +--
 s390x/selftest.c          |  4 +-
 s390x/skey.c              | 23 ++++--------
 s390x/skrf.c              | 14 ++-----
 s390x/smp.c               | 18 ++-------
 13 files changed, 163 insertions(+), 99 deletions(-)
Signature · 1 line
2.36.1