Home
last modified time | relevance | path

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

/linux-6.12.1/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
45 diag318_info = run->s.regs.gprs[reg]; in diag318_handler()
47 TEST_ASSERT(diag318_info != 0, "DIAGNOSE 0x0318 info not set"); in diag318_handler()
51 return diag318_info; in diag318_handler()
56 static uint64_t diag318_info; in get_diag318_info() local
76 if (!diag318_info) in get_diag318_info()
77 diag318_info = diag318_handler(); in get_diag318_info()
79 return diag318_info; in get_diag318_info()
/linux-6.12.1/arch/s390/kernel/
Dsetup.c844 union diag318_info diag318_info = { in setup_control_program_code() local
853 asm volatile("diag %0,0,0x318\n" : : "d" (diag318_info.val)); in setup_control_program_code()
/linux-6.12.1/arch/s390/include/asm/
Ddiag.h325 union diag318_info { union
Dkvm_host.h770 union diag318_info diag318_info; member
/linux-6.12.1/arch/s390/kvm/
Dkvm-s390.c4890 vcpu->arch.diag318_info.val = kvm_run->s.regs.diag318; in sync_regs_fmt2()
4891 vcpu->arch.sie_block->cpnc = vcpu->arch.diag318_info.cpnc; in sync_regs_fmt2()
4892 VCPU_EVENT(vcpu, 3, "setting cpnc to %d", vcpu->arch.diag318_info.cpnc); in sync_regs_fmt2()
4988 kvm_run->s.regs.diag318 = vcpu->arch.diag318_info.val; in store_regs_fmt2()