Home
last modified time | relevance | path

Searched refs:new_psw (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Ddebug_test.c20 size_t new_psw_off, uint64_t *new_psw) in test_step_int_1() argument
29 new_psw[0] = (*vcpu)->run->psw_mask; in test_step_int_1()
30 new_psw[1] = (uint64_t)int_handler; in test_step_int_1()
31 memcpy(lowcore + new_psw_off, new_psw, 16); in test_step_int_1()
45 uint64_t new_psw[2]; in test_step_int() local
48 vm = test_step_int_1(&vcpu, guest_code, new_psw_off, new_psw); in test_step_int()
50 TEST_ASSERT_EQ(vcpu->run->psw_mask, new_psw[0]); in test_step_int()
51 TEST_ASSERT_EQ(vcpu->run->psw_addr, new_psw[1]); in test_step_int()
82 uint64_t new_psw[2]; in test_step_pgm_diag() local
86 __LC_PGM_NEW_PSW, new_psw); in test_step_pgm_diag()
[all …]
/linux-6.12.1/arch/s390/include/asm/
Dprocessor.h237 #define start_thread(regs, new_psw, new_stackp) do { \ argument
239 regs->psw.addr = new_psw; \
244 #define start_thread31(regs, new_psw, new_stackp) do { \ argument
246 regs->psw.addr = new_psw; \
/linux-6.12.1/arch/s390/kvm/
Dpriv.c749 psw_compat_t new_psw; in kvm_s390_handle_lpsw() local
763 rc = read_guest(vcpu, addr, ar, &new_psw, sizeof(new_psw)); in kvm_s390_handle_lpsw()
766 if (!(new_psw.mask & PSW32_MASK_BASE)) in kvm_s390_handle_lpsw()
768 gpsw->mask = (new_psw.mask & ~PSW32_MASK_BASE) << 32; in kvm_s390_handle_lpsw()
769 gpsw->mask |= new_psw.addr & PSW32_ADDR_AMODE; in kvm_s390_handle_lpsw()
770 gpsw->addr = new_psw.addr & ~PSW32_ADDR_AMODE; in kvm_s390_handle_lpsw()
778 psw_t new_psw; in handle_lpswe() local
791 rc = read_guest(vcpu, addr, ar, &new_psw, sizeof(new_psw)); in handle_lpswe()
794 vcpu->arch.sie_block->gpsw = new_psw; in handle_lpswe()
802 psw_t new_psw; in handle_lpswey() local
[all …]