Home
last modified time | relevance | path

Searched hist:f07210607d4da37b907bffe6b1286f6ff3e07487 (Results 1 – 2 of 2) sorted by relevance

/kvm-unit-tests/s390x/
H A Dselftest.cf07210607d4da37b907bffe6b1286f6ff3e07487 Mon Nov 06 16:37:23 UTC 2023 Nico Boehr <nrb@linux.ibm.com> lib: s390x: introduce bitfield for PSW mask

Changing the PSW mask is currently little clumsy, since there is only the
PSW_MASK_* defines. This makes it hard to change e.g. only the address
space in the current PSW without a lot of bit fiddling.

Introduce a bitfield for the PSW mask. This makes this kind of
modifications much simpler and easier to read.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20231106163738.1116942-2-nrb@linux.ibm.com
Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
/kvm-unit-tests/lib/s390x/asm/
H A Darch_def.hf07210607d4da37b907bffe6b1286f6ff3e07487 Mon Nov 06 16:37:23 UTC 2023 Nico Boehr <nrb@linux.ibm.com> lib: s390x: introduce bitfield for PSW mask

Changing the PSW mask is currently little clumsy, since there is only the
PSW_MASK_* defines. This makes it hard to change e.g. only the address
space in the current PSW without a lot of bit fiddling.

Introduce a bitfield for the PSW mask. This makes this kind of
modifications much simpler and easier to read.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20231106163738.1116942-2-nrb@linux.ibm.com
Signed-off-by: Nico Boehr <nrb@linux.ibm.com>