/kvm-unit-tests/s390x/ |
H A D | skrf.c | 24 static void test_facilities(void) in test_facilities() argument 35 static void test_skey(void) in test_skey() argument 49 static void test_pfmf(void) in test_pfmf() argument 64 static void test_psw_key(void) in test_psw_key() argument 73 static void test_mvcos(void) in test_mvcos() argument 91 static void test_spka(void) in test_spka() argument 100 static void test_tprot(void) in test_tprot() argument 109 static void wait_for_flag(void) in wait_for_flag() argument 139 static void ecall_setup(void) in ecall_setup() argument 152 static void test_exception_ext_new(void) in test_exception_ext_new() argument [all …]
|
H A D | smp.c | 60 static void test_invalid(void) in test_invalid() argument 84 static void wait_for_flag(void) in wait_for_flag() argument 97 static void test_func(void) in test_func() argument 102 static void test_start(void) in test_start() argument 110 static void test_restart(void) in test_restart() argument 148 static void test_stop(void) in test_stop() argument 167 static void test_stop_store_status(void) in test_stop_store_status() argument 196 static void test_store_status(void) in test_store_status() argument 231 static void loop(void) in loop() argument 237 static void stpx_and_set_flag(void) in stpx_and_set_flag() argument [all …]
|
H A D | tprot.c | 21 static void test_tprot_rw(void) in test_tprot_rw() argument 33 static void test_tprot_ro(void) in test_tprot_ro() argument 49 static void test_tprot_low_addr_prot(void) in test_tprot_low_addr_prot() argument 63 static void test_tprot_transl_unavail(void) in test_tprot_transl_unavail() argument 79 static void test_tprot_transl_pte_bit52_set(void) in test_tprot_transl_pte_bit52_set() argument 94 int main(void) in main() argument
|
H A D | pfmf.c | 19 static void test_priv(void) in test_priv() argument 29 static void test_4k_key(void) in test_4k_key() argument 51 static void test_1m_key(void) in test_1m_key() argument 82 static void test_4k_clear(void) in test_4k_clear() argument 97 static void test_1m_clear(void) in test_1m_clear() argument 115 static void test_low_addr_prot(void) in test_low_addr_prot() argument 143 int main(void) in main() argument
|
H A D | emulator.c | 38 static void test_spm_ipm(void) in test_spm_ipm() argument 197 static void test_kmac(void) in test_kmac() argument 203 static void test_km(void) in test_km() argument 208 static void test_kmc(void) in test_kmc() argument 214 static void test_kimd(void) in test_kimd() argument 220 static void test_klmd(void) in test_klmd() argument 226 static void test_pckmo(void) in test_pckmo() argument 232 static void test_kmf(void) in test_kmf() argument 238 static void test_kmo(void) in test_kmo() argument 244 static void test_pcc(void) in test_pcc() argument [all …]
|
H A D | uv-host.c | 43 static void cpu_loop(void) in cpu_loop() argument 95 static void test_i3(void) in test_i3() argument 117 static void test_priv(void) in test_priv() argument 136 static void test_uv_uninitialized(void) in test_uv_uninitialized() argument 155 static void test_access(void) in test_access() argument 213 static void test_config_destroy(void) in test_config_destroy() argument 239 static void test_cpu_destroy(void) in test_cpu_destroy() argument 269 static void test_set_se_header(void) in test_set_se_header() argument 316 static void test_cpu_create(void) in test_cpu_create() argument 419 static void test_config_create(void) in test_config_create() argument [all …]
|
H A D | migration.c | 28 static void write_gs_regs(void) in write_gs_regs() argument 40 static void check_gs_regs(void) in check_gs_regs() argument 55 static bool have_vector_facility(void) in have_vector_facility() argument 60 static bool have_guarded_storage_facility(void) in have_guarded_storage_facility() argument 65 static void test_func(void) in test_func() argument 160 int main(void) in main() argument
|
H A D | css.c | 30 static void test_enumerate(void) in test_enumerate() argument 40 static void test_enable(void) in test_enable() argument 60 static void test_sense(void) in test_sense() argument 136 static void sense_id(void) in sense_id() argument 143 static void css_init(void) in css_init() argument 151 static void test_schm(void) in test_schm() argument 216 static void test_schm_fmt0(void) in test_schm_fmt0() argument 288 static void test_schm_fmt1(void) in test_schm_fmt1() argument 334 static void test_msch(void) in test_msch() argument 389 static void check_stcrw_no_crw_available(void) in check_stcrw_no_crw_available() argument [all …]
|
H A D | cpumodel.c | 18 static void test_sclp_missing_sief2_implications(void) in test_sclp_missing_sief2_implications() argument 38 static void test_sclp_features_fmt4(void) in test_sclp_features_fmt4() argument 59 static void test_sclp_features_fmt2(void) in test_sclp_features_fmt2() argument 69 static void test_sclp_features(void) in test_sclp_features() argument 111 int main(void) in main() argument
|
H A D | stsi.c | 21 static void test_specs(void) in test_specs() argument 67 static void test_priv(void) in test_priv() argument 77 static void test_fc(void) in test_fc() argument 85 static void test_3_2_2(void) in test_3_2_2() argument 136 int main(void) in main() argument
|
H A D | cmm.c | 23 static void test_params(void) in test_params() argument 32 static void test_priv(void) in test_priv() argument 42 static void test_reset_no_translate(void) in test_reset_no_translate() argument 71 int main(void) in main() argument
|
H A D | diag308.c | 14 static void test_priv(void) in test_priv() argument 28 static void test_subcode0(void) in test_subcode0() argument 33 static void test_subcode1(void) in test_subcode1() argument 64 static void test_subcode5(void) in test_subcode5() argument 70 static void test_subcode6(void) in test_subcode6() argument 77 static void test_unsupported_subcode(void) in test_unsupported_subcode() argument
|
H A D | diag10.c | 31 static void test_prefix(void) in test_prefix() argument 57 static void test_params(void) in test_params() argument 85 static void test_priv(void) in test_priv() argument 95 int main(void) in main() argument
|
/kvm-unit-tests/x86/ |
H A D | taskswitch2.c | 23 static void nmi_tss(void) in nmi_tss() argument 33 static void de_tss(void) in de_tss() argument 44 static void of_tss(void) in of_tss() argument 54 static void bp_tss(void) in bp_tss() argument 85 static void jmp_tss(void) in jmp_tss() argument 95 static void irq_tss(void) in irq_tss() argument 107 static void user_tss(void) in user_tss() argument 117 static void test_kernel_mode_int(void) in test_kernel_mode_int() argument 195 static void test_gdt_task_gate(void) in test_gdt_task_gate() argument 221 static void test_vm86_switch(void) in test_vm86_switch() argument [all …]
|
H A D | vmexit.c | 26 static void cpuid_test(void) in cpuid_test() argument 32 static void vmcall(void) in vmcall() argument 43 static void mov_from_cr8(void) in mov_from_cr8() argument 50 static void mov_to_cr8(void) in mov_to_cr8() argument 58 static int is_smp(void) in is_smp() argument 94 static void self_ipi_sti_nop(void) in self_ipi_sti_nop() argument 103 static void self_ipi_sti_hlt(void) in self_ipi_sti_hlt() argument 112 static void self_ipi_tpr(void) in self_ipi_tpr() argument 122 static void self_ipi_tpr_sti_nop(void) in self_ipi_tpr_sti_nop() argument 133 static void self_ipi_tpr_sti_hlt(void) in self_ipi_tpr_sti_hlt() argument [all …]
|
H A D | realmode.c | 65 static void serial_init(void) in serial_init() argument 294 static void test_xchg(void) in test_xchg() argument 339 static void test_shld(void) in test_shld() argument 349 static void test_mov_imm(void) in test_mov_imm() argument 377 static void test_sub_imm(void) in test_sub_imm() argument 401 static void test_xor_imm(void) in test_xor_imm() argument 425 static void test_cmp_imm(void) in test_cmp_imm() argument 450 static void test_add_imm(void) in test_add_imm() argument 466 static void test_eflags_insn(void) in test_eflags_insn() argument 496 static void test_io(void) in test_io() argument [all …]
|
H A D | umip.c | 44 static void do_smsw(void) in do_smsw() argument 50 static void do_sldt(void) in do_sldt() argument 56 static void do_str(void) in do_str() argument 62 static void do_sgdt(void) in do_sgdt() argument 69 static void do_sidt(void) in do_sidt() argument 76 static void do_movcr(void) in do_movcr() argument 198 int main(void) in main() argument
|
/kvm-unit-tests/lib/ |
H A D | migrate.c | 14 void migrate(void) in migrate() argument 26 void migrate_quiet(void) in migrate_quiet() argument 36 void migrate_once(void) in migrate_once() argument 52 void migrate_skip(void) in migrate_skip() argument 64 void migrate_begin_continuous(void) in migrate_begin_continuous() argument 70 void migrate_end_continuous(void) in migrate_end_continuous() argument
|
/kvm-unit-tests/lib/s390x/ |
H A D | sclp.c | 50 void sclp_setup_int(void) in sclp_setup_int() argument 56 void sclp_handle_ext(void) in sclp_handle_ext() argument 62 void sclp_wait_busy(void) in sclp_wait_busy() argument 68 void sclp_mark_busy(void) in sclp_mark_busy() argument 86 void sclp_clear_busy(void) in sclp_clear_busy() argument 115 void sclp_read_info(void) in sclp_read_info() argument 122 int sclp_get_cpu_num(void) in sclp_get_cpu_num() argument 135 CPUEntry *sclp_get_cpu_entries(void) in sclp_get_cpu_entries() argument 148 void sclp_facilities_setup(void) in sclp_facilities_setup() argument 204 void sclp_memory_setup(void) in sclp_memory_setup() argument [all …]
|
H A D | hardware.h | 28 static inline uint16_t get_machine_id(void) in get_machine_id() argument 33 static inline bool host_is_tcg(void) in host_is_tcg() argument 38 static inline bool host_is_kvm(void) in host_is_kvm() argument 43 static inline bool host_is_lpar(void) in host_is_lpar() argument 48 static inline bool host_is_qemu(void) in host_is_qemu() argument 53 static inline bool machine_is_z15(void) in machine_is_z15() argument
|
H A D | interrupt.c | 24 void expect_pgm_int(void) in expect_pgm_int() argument 35 void expect_ext_int(void) in expect_ext_int() argument 51 uint16_t clear_pgm_int(void) in clear_pgm_int() argument 210 static void print_storage_exception_information(void) in print_storage_exception_information() argument 347 void handle_mcck_int(void) in handle_mcck_int() argument 355 void handle_io_int(void) in handle_io_int() argument 366 int register_io_int_func(void (*f)(void)) in register_io_int_func() argument 374 int unregister_io_int_func(void (*f)(void)) in unregister_io_int_func() argument 382 void handle_svc_int(void) in handle_svc_int() argument
|
/kvm-unit-tests/lib/riscv/asm/ |
H A D | processor.h | 23 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 28 static inline void local_irq_enable(void) in local_irq_enable() argument 33 static inline void local_irq_disable(void) in local_irq_disable() argument 38 static inline void local_ipi_enable(void) in local_ipi_enable() argument 43 static inline void local_ipi_disable(void) in local_ipi_disable() argument 48 static inline void ipi_ack(void) in ipi_ack() argument 53 static inline void local_dlbtrp_enable(void) in local_dlbtrp_enable() argument 58 static inline void local_dlbtrp_disable(void) in local_dlbtrp_disable() argument
|
/kvm-unit-tests/lib/x86/ |
H A D | amd_sev.c | 18 bool amd_sev_enabled(void) in amd_sev_enabled() argument 34 efi_status_t setup_amd_sev(void) in setup_amd_sev() argument 45 bool amd_sev_es_enabled(void) in amd_sev_es_enabled() argument 61 efi_status_t setup_amd_sev_es(void) in setup_amd_sev_es() argument 127 unsigned long long get_amd_sev_c_bit_mask(void) in get_amd_sev_c_bit_mask() argument 136 unsigned long long get_amd_sev_addr_upperbound(void) in get_amd_sev_addr_upperbound() argument
|
/kvm-unit-tests/lib/arm64/asm/ |
H A D | processor.h | 54 static inline unsigned long current_level(void) in current_level() argument 61 static inline void local_irq_enable(void) in local_irq_enable() argument 66 static inline void local_irq_disable(void) in local_irq_disable() argument 71 static inline uint64_t get_mpidr(void) in get_mpidr() argument 88 static inline u64 get_cntvct(void) in get_cntvct() argument 94 static inline u32 get_cntfrq(void) in get_cntfrq() argument 99 static inline u64 get_ctr(void) in get_ctr() argument 104 static inline unsigned long get_id_aa64mmfr0_el1(void) in get_id_aa64mmfr0_el1() argument 145 static inline unsigned long get_id_aa64pfr0_el1(void) in get_id_aa64pfr0_el1() argument 152 static inline bool system_supports_sve(void) in system_supports_sve() argument [all …]
|
/kvm-unit-tests/lib/powerpc/asm/ |
H A D | processor.h | 41 static inline uint64_t mfmsr(void) in mfmsr() argument 55 static inline void local_irq_enable(void) in local_irq_enable() argument 68 static inline void local_irq_disable(void) in local_irq_disable() argument 85 static inline bool machine_is_powernv(void) in machine_is_powernv() argument 94 static inline bool machine_is_pseries(void) in machine_is_pseries() argument
|