xref: /kvm-unit-tests/s390x/snippets/asm/icpt-loop.S (revision 90cacd85c6ad50f032a3fe95586fab4f2335b93d)
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