xref: /kvm-unit-tests/s390x/snippets/asm/icpt-loop.S (revision 386ed5c2f9e98a2605817748c44c0cefa60dc88e)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Infinite loop snippet which can be used to test manipulated SIE
4 * control block intercepts. E.g. when manipulating the PV handles.
5 *
6 * Copyright (c) 2023 IBM Corp
7 *
8 * Authors:
9 *  Janosch Frank <frankja@linux.ibm.com>
10 */
11.section .text
12xgr	%r0, %r0
13retry:
14diag	0,0,0x44
15j 	retry
16