xref: /kvm-unit-tests/s390x/snippets/asm/pv-icpt-vir-timing.S (revision 90cacd85c6ad50f032a3fe95586fab4f2335b93d)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Sets a cpu timer which the host can manipulate to check if it will
4 * receive a validity
5 *
6 * Copyright (c) 2023 IBM Corp
7 *
8 * Authors:
9 *  Janosch Frank <frankja@linux.ibm.com>
10 */
11.section .text
12larl	%r1, time_val
13spt	0 (%r1)
14diag    0, 0, 0x44
15lghi	%r1, 42
16diag	1, 0, 0x9c
17
18
19.align 8
20time_val:
21	.quad 0x280de80000
22