Home
last modified time | relevance | path

Searched refs:diag318_info (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/lib/s390x/ !
Ddiag318_test_handler.c16 uint64_t diag318_info = 0x12345678; in guest_code() local
18 asm volatile ("diag %0,0,0x318\n" : : "d" (diag318_info)); in guest_code()
32 uint64_t diag318_info; in diag318_handler() local
46 diag318_info = run->s.regs.gprs[reg]; in diag318_handler()
48 TEST_ASSERT(diag318_info != 0, "DIAGNOSE 0x0318 info not set"); in diag318_handler()
52 return diag318_info; in diag318_handler()
57 static uint64_t diag318_info; in get_diag318_info() local
77 if (!diag318_info) in get_diag318_info()
78 diag318_info = diag318_handler(); in get_diag318_info()
80 return diag318_info; in get_diag318_info()
/linux-6.1.9/arch/s390/kernel/ !
Dsetup.c915 union diag318_info diag318_info = { in setup_control_program_code() local
924 asm volatile("diag %0,0,0x318\n" : : "d" (diag318_info.val)); in setup_control_program_code()
/linux-6.1.9/arch/s390/include/asm/ !
Ddiag.h299 union diag318_info { union
Dkvm_host.h769 union diag318_info diag318_info; member
/linux-6.1.9/arch/s390/kvm/ !
Dkvm-s390.c4713 vcpu->arch.diag318_info.val = kvm_run->s.regs.diag318; in sync_regs_fmt2()
4714 vcpu->arch.sie_block->cpnc = vcpu->arch.diag318_info.cpnc; in sync_regs_fmt2()
4715 VCPU_EVENT(vcpu, 3, "setting cpnc to %d", vcpu->arch.diag318_info.cpnc); in sync_regs_fmt2()
4822 kvm_run->s.regs.diag318 = vcpu->arch.diag318_info.val; in store_regs_fmt2()