Searched +full:0 +full:x500 (Results 1 – 10 of 10) sorted by relevance
/kvm-unit-tests/s390x/snippets/asm/ |
H A D | pv-diag-500.S | 3 * Diagnose 0x500 snippet used for PV interception tests 28 diag 0, 0, 0x500 31 diag 0, 0, 0x44 36 diag %r1, 0, 0x9c 39 diag 0, 0, 0x500 42 diag 0, 0, 0x44 46 diag %r1, 0, 0x9c
|
H A D | pv-diag-308.S | 3 * Diagnose 0x308 snippet used for PV IPL and reset testing 17 diag 0, 0, 0x500 21 * of SIE and therefore effectively loop forever. 0 is a valid PSW 26 * For subcode 0/1 there are no PGMs to consider. 31 /* Set up the reset psw at 0x0 */ 35 stg %r5, 0 38 diag %r0, %r2, 0x308 41 diag 0, 0, 0x44 46 diag %r1, 0, 0x9c 51 .quad 0x0008000180000000
|
/kvm-unit-tests/s390x/ |
H A D | pv-ipl.c | 36 /* First exit is a diag 0x500 */ in test_diag_308() 38 assert(sie_is_diag_icpt(&vm, 0x500)); in test_diag_308() 47 /* Continue after diag 0x500, next icpt should be the 0x308 */ in test_diag_308() 49 assert(sie_is_diag_icpt(&vm, 0x308)); in test_diag_308() 54 * 0/1. Failing to do that should result in a validity. in test_diag_308() 77 report(cc == 0 && rc == 1, "Unshare all"); in test_diag_308() 86 report(cc == 0 && rc == 1, "Prepare reset call"); in test_diag_308() 95 * Reset clear for subcode 0 in test_diag_308() 98 if (subcode == 0) { in test_diag_308() 101 report(cc == 0 && rc == 1, "Clear reset cpu"); in test_diag_308() [all …]
|
H A D | pv-diags.c | 28 report_prefix_push("diag 0x500"); in test_diag_500() 35 report(sie_is_diag_icpt(&vm, 0x500), "intercept values"); in test_diag_500() 47 report(sie_is_diag_icpt(&vm, 0x9c) && in test_diag_500() 48 vm.save_area.guest.grs[0] == PGM_INT_CODE_OPERAND, in test_diag_500() 59 report(sie_is_diag_icpt(&vm, 0x9c) && in test_diag_500() 60 vm.save_area.guest.grs[0] == PGM_INT_CODE_SPECIFICATION, in test_diag_500() 79 report_prefix_push("diag 0x288"); in test_diag_288() 86 report(vm.sblk->icptcode == ICPT_PV_INSTR && vm.sblk->ipa == 0x8302 && in test_diag_288() 87 vm.sblk->ipb == 0x50000000 && vm.save_area.guest.grs[5] == 0x288, in test_diag_288() 89 report(vm.save_area.guest.grs[0] == 1 && in test_diag_288() [all …]
|
/kvm-unit-tests/lib/s390x/ |
H A D | snippet-exit.h | 17 return sie_is_diag_icpt(vm, 0x44); in snippet_is_force_exit() 22 return sie_is_diag_icpt(vm, 0x500); in snippet_is_force_exit_value() 38 report(value == value_exp, "guest forced exit with value (0x%lx == 0x%lx)", in snippet_check_force_exit_value()
|
H A D | sie-icpt.c | 31 case 0x44: in sie_is_diag_icpt() 32 case 0x9c: in sie_is_diag_icpt() 33 case 0x288: in sie_is_diag_icpt() 34 case 0x308: in sie_is_diag_icpt() 37 case 0x500: in sie_is_diag_icpt() 42 assert_msg(false, "unknown diag 0x%x", diag); in sie_is_diag_icpt() 46 if (instr.r_1 != 0 || instr.r_2 != 2 || instr.r_base != 5) in sie_is_diag_icpt() 55 if (instr.opcode != 0x83 || instr.zero) in sie_is_diag_icpt() 57 code = instr.r_base ? vm->save_area.guest.grs[instr.r_base] : 0; in sie_is_diag_icpt() 58 code = (code + instr.displace) & 0xffff; in sie_is_diag_icpt()
|
/kvm-unit-tests/lib/powerpc/ |
H A D | smp.c | 30 if (opal_call(OPAL_RETURN_CPU, 0, 0, 0) != OPAL_SUCCESS) { in stop_self() 38 assert(0); in stop_self() 62 OPAL_THREAD_INACTIVE = 0x0, 63 OPAL_THREAD_STARTED = 0x1, 64 OPAL_THREAD_UNAVAILABLE = 0x2 /* opal-v3 */ 67 #define H_EOI 0x64 68 #define H_CPPR 0x68 69 #define H_IPI 0x6c 70 #define H_XIRR 0x74 86 asm volatile("mr r3,%1 ; sc 1 ; mr %0,r4" : "=r"(xirr) : "r"(H_XIRR)); in extint_handler() [all …]
|
/kvm-unit-tests/lib/x86/ |
H A D | apic-defs.h | 10 #define IO_APIC_DEFAULT_PHYS_BASE 0xfec00000 11 #define APIC_DEFAULT_PHYS_BASE 0xfee00000 17 #define APIC_ID 0x20 19 #define APIC_LVR 0x30 20 #define APIC_LVR_MASK 0xFF00FF 21 #define GET_APIC_VERSION(x) ((x) & 0xFFu) 22 #define GET_APIC_MAXLVT(x) (((x) >> 16) & 0xFFu) 24 # define APIC_INTEGRATED(x) ((x) & 0xF0u) 28 #define APIC_XAPIC(x) ((x) >= 0x14) 29 #define APIC_TASKPRI 0x80 [all …]
|
/kvm-unit-tests/powerpc/ |
H A D | cstart64.S | 15 #define P_HANDLER 0x2ff8 39 bl 0f 40 0: mflr r31 41 subi r31, r31, 0b - start /* QEMU's kernel load address */ 49 li r0,0 50 std r0,0(r1) 69 std r4, P_HANDLER(0) 71 /* relocate vector table to base address 0x0 (MSR_IP = 0) */ 78 li r6,0x100 88 stdx r0,0,r6 [all …]
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | arch_def.h | 18 /* FPRs 0, 2, 4, 6 */ 31 /* GRs 0 and 1 */ 88 AS_PRIM = 0, 94 #define PSW_MASK_DAT 0x0400000000000000UL 95 #define PSW_MASK_HOME 0x0000C00000000000UL 96 #define PSW_MASK_IO 0x0200000000000000UL 97 #define PSW_MASK_EXT 0x0100000000000000UL 98 #define PSW_MASK_KEY 0x00F0000000000000UL 99 #define PSW_MASK_WAIT 0x0002000000000000UL 100 #define PSW_MASK_PSTATE 0x0001000000000000UL [all …]
|