On Wed, Oct 08, 2025 at 09:13:23AM +0200, Mikhail Zaslonko wrote:
Translate the IEP (Instruction Execution Protection) flag for
Region-Third-Table entries and Segment-Table entries of Format
Control 1 and also for Page-Table entries. Display the flags in
s390x 'vtop' command output like shown below:
STE: 0000000033be8ac0 => 0000000015803503 (flags = 03503)
flags in binary : AV=0; ACC=0011; F=0; FC=1; P=0; IEP=1; I=0; CS=0; TT=0
or
PTE: 00000000031c6fd8 => 000000000842e13d (flags = 13d)
flags in binary : I=0; P=0; IEP=1
Suggested-by: Heiko Carstens <hca(a)linux.ibm.com>
Signed-off-by: Mikhail Zaslonko <zaslonko(a)linux.ibm.com>
---
v1->v2:
- Also translate IEP flag for Page-Table entries
s390x.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Looks good to me. Thank you!
Reviewed-by: Heiko Carstens <hca(a)linux.ibm.com>