On Tue, 9 Feb 2021 19:51:52 +0100 Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> wrote: > In most testcases, we enter problem state (userspace) just to test if a > privileged instruction causes a fault. In some cases, though, we need > to test if an instruction works properly in userspace. This means that > we do not expect a fault, and we need an orderly way to leave problem > state afterwards. > > This patch introduces a simple system based on the SVC instruction. > > Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> > --- > lib/s390x/asm/arch_def.h | 5 +++++ > lib/s390x/interrupt.c | 12 ++++++++++-- > 2 files changed, 15 insertions(+), 2 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>