s390x: Print userspace PSW and registers for active tasks
----- Original Message -----
> Hi Dave,
>
> Currently when we find a userspace pt_regs at the beginning of the stack,
> we print nothing. With this patch the userspace PSW and general purpose
> registers are printed.
>
> With this change for the user it is clearer now that the task has
> been interrupted while running in userspace.
>
> Example: External interrupt while in userspace
>
> Before change:
>
> crash> bt -a
> ...
> #1 [176327e08] arch_send_call_function_ipi_mask at 115d80
> #2 [176327e38] do_extint at 10dd82
> #3 [176327eb0] ext_skip at 63e344
>
> After change:
>
> crash> bt -a
> ...
> #1 [176327e08] arch_send_call_function_ipi_mask at 115d80
> #2 [176327e38] do_extint at 10dd82
> #3 [176327eb0] ext_skip at 63e344
> PSW: 0705e00180000000 0000000080000a16 (userspace)
> GPRS: 0000000000000001 000003ff00647213 000003fffd800000 0000000003710001
> 0000000080000afc 000003fffff77e58 0000000080000bb0 000003fffff781c0
> 00000000800007bc 0000000000000000 0000000080000b44 000003fffff77e58
> 000003fffd7c6000 000003fffd777020 0000000080000b02 000003fffff77e58
>
> Michael