mbox series

[v2,0/2] lib: s390x: add PSW and PSW_CUR_MASK macros

Message ID 20221129094142.10141-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series lib: s390x: add PSW and PSW_CUR_MASK macros | expand

Message

Claudio Imbrenda Nov. 29, 2022, 9:41 a.m. UTC
Since a lot of code starts new CPUs using the current PSW mask, add two
macros to streamline the creation of generic PSWs and PSWs with the
current program mask.

Update the existing code to use the newly introduced macros.


Claudio Imbrenda (2):
  lib: s390x: add PSW and PSW_CUR_MASK macros
  s390x: use the new PSW and PSW_CUR_MASK macros

 lib/s390x/asm/arch_def.h |  4 +++
 s390x/adtl-status.c      | 24 +++---------------
 s390x/firq.c             |  5 +---
 s390x/migration.c        |  6 +----
 s390x/skrf.c             |  7 +-----
 s390x/smp.c              | 53 +++++++++-------------------------------
 s390x/uv-host.c          |  5 +---
 7 files changed, 23 insertions(+), 81 deletions(-)