/kvm-unit-tests/lib/arm/ |
H A D | psci.c | 77 assert_msg(node >= 0, "PSCI v0.2 compatibility required"); in psci_set_conduit_fdt() 87 assert_msg(false, "Unknown PSCI conduit: %s", method->data); in psci_set_conduit_fdt() 98 assert_msg(fadt, "Unable to find ACPI FADT"); in psci_set_conduit_acpi() 99 assert_msg(fadt->arm_boot_flags & ACPI_FADT_PSCI_COMPLIANT, in psci_set_conduit_acpi() 112 assert_msg(false, "ACPI not available"); in psci_set_conduit_acpi()
|
H A D | io.c | 82 assert_msg(spcr, "Unable to find ACPI SPCR"); in uart0_init_acpi() 89 assert_msg(false, "ACPI not available"); in uart0_init_acpi()
|
H A D | smp.c | 71 assert_msg(!cpu_online(cpu), "CPU%d already boot once", cpu); in smp_boot_secondary()
|
H A D | setup.c | 66 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_fdt() 81 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_acpi() 98 assert_msg(false, "ACPI not available"); in cpu_init_acpi()
|
H A D | timer.c | 81 assert_msg(false, "ACPI not available"); in timer_save_state_acpi()
|
H A D | mmu.c | 73 assert_msg(__virt_to_phys(sp) == sp, in mmu_disable() 216 assert_msg(system_supports_granule(PAGE_SIZE), in setup_mmu()
|
H A D | gic-v3.c | 183 assert_msg(gicv3_data.redist_base[cpu], "Redistributor for cpu%d not initialized. " in gicv3_lpi_alloc_tables()
|
/kvm-unit-tests/lib/riscv/ |
H A D | timer.c | 22 assert_msg(dt_available(), "ACPI not yet supported"); in timer_get_frequency() 49 assert_msg(false, "No timer to start!"); in timer_start() 70 assert_msg(false, "No timer to stop!"); in timer_stop()
|
H A D | smp.c | 71 assert_msg(ret.value == SBI_EXT_HSM_STOPPED, "CPU%d is not stopped", cpu); in smp_boot_secondary() 90 assert_msg(ret.value == SBI_EXT_HSM_START_PENDING || ret.value == SBI_EXT_HSM_STARTED, in smp_boot_secondary_nofail()
|
H A D | isa.c | 88 assert_msg(false, "ACPI not available"); in isa_init_acpi() 122 assert_msg(false, "ACPI not available"); in cpu_has_extension_name()
|
H A D | setup.c | 55 assert_msg(cpu < NR_CPUS, "Number cpus exceeds maximum supported (%d).", NR_CPUS); in cpu_set_fdt() 66 assert_msg(false, "ACPI not available"); in cpu_init_acpi()
|
H A D | io.c | 102 assert_msg(false, "ACPI not available"); in uart0_init_acpi()
|
/kvm-unit-tests/lib/powerpc/ |
H A D | processor.c | 190 assert_msg(!in_usermode(), "enter_usermode called with in_usermode"); in enter_usermode() 192 assert_msg(!(mfmsr() & MSR_PR), "enter_usermode called from user mode"); in enter_usermode() 193 assert_msg(!(mfmsr() & MSR_EE), "enter_usermode called with interrupts enabled"); in enter_usermode() 194 assert_msg((mfmsr() & (MSR_IR|MSR_DR)) == (MSR_IR|MSR_DR), in enter_usermode() 204 assert_msg(in_usermode(), "enter_usermode called with !in_usermode"); in exit_usermode()
|
H A D | rtas.c | 141 assert_msg(!in_usermode(), "May not make RTAS call from user mode\n"); in rtas_call()
|
/kvm-unit-tests/lib/ |
H A D | report.c | 38 assert_msg(len < sizeof(prefixes), "%d >= %zu", len, sizeof(prefixes)); in report_prefix_pushf() 45 assert_msg(len < sizeof(prefixes), "%d >= %zu", len, sizeof(prefixes)); in report_prefix_pushf() 47 assert_msg(!strstr(&prefixes[start], PREFIX_DELIMITER), in report_prefix_pushf() 53 assert_msg(len < sizeof(prefixes), "%d >= %zu", len, sizeof(prefixes)); in report_prefix_pushf()
|
H A D | on-cpus.c | 93 assert_msg(cpu != 0 || cpu0_calls_idle, "Waiting on CPU0, which is unlikely to idle. " in on_cpu_async()
|
H A D | libcflat.h | 141 #define assert_msg(cond, fmt, args...) \ macro
|
H A D | vmalloc.c | 218 …assert_msg(vm_available(), "Virtual memory not available. Must check vm_available() before calling… in __setup_vm()
|
/kvm-unit-tests/lib/arm/asm/ |
H A D | gic-v3-its.h | 24 assert_msg(false, "not supported on 32-bit"); in its_init()
|
/kvm-unit-tests/lib/s390x/ |
H A D | sie-icpt.c | 42 assert_msg(false, "unknown diag 0x%x", diag); in sie_is_diag_icpt()
|
/kvm-unit-tests/arm/ |
H A D | micro-bench.c | 167 …assert_msg(irq_received, "failed to receive IPI in time, but received %d successfully\n", nr_ipi_r… in ipi_exec() 209 …assert_msg(irq_received, "failed to receive LPI in time, but received %d successfully\n", received… in lpi_exec() 247 …assert_msg(irq_received, "failed to receive PPI in time, but received %d successfully\n", received… in timer_exec()
|
/kvm-unit-tests/lib/ppc64/ |
H A D | mmu.c | 177 assert_msg(cpu_has_radix, "MMU support requires radix MMU."); in setup_mmu() 201 assert_msg(!ret, "H_REGISTER_PROCESS_TABLE failed! err=%d\n", ret); in setup_mmu()
|
/kvm-unit-tests/lib/x86/ |
H A D | processor.h | 519 assert_msg(!vector, "Unexpected %s on RDPMC(%" PRId32 ")", in rdpmc() 543 assert_msg(!vector, "Unexpected fault '%d' writing CR0 = %lx", in write_cr0() 575 assert_msg(!vector, "Unexpected fault '%d' writing CR3 = %lx", in write_cr3() 600 assert_msg(!vector, "Unexpected fault '%d' writing CR4 = %lx", in write_cr4()
|
/kvm-unit-tests/riscv/ |
H A D | sbi.c | 90 assert_msg(0, "cpu%d (hartid = %lx) failed to stop with sbiret.error %ld", in stop_cpu() 178 assert_msg(!(expected & BIT(31)), "SBI spec version bit 31 must be zero"); in check_base() 179 …assert_msg(__riscv_xlen == 32 || !(expected >> 32), "SBI spec version bits greater than 31 must be… in check_base() 1340 assert_msg(!ret.error && ret.value == SBI_EXT_HSM_STARTED, in susp_basic_prep() 1343 assert_msg(!ret.error && ret.value == SBI_EXT_HSM_STOPPED, in susp_basic_prep() 1434 assert_msg(!ret.error, "HSM get status failed for cpu%d", cpu); in susp_one_prep()
|
/kvm-unit-tests/s390x/ |
H A D | spec_ex.c | 35 assert_msg(invalid_psw_expected, in fixup_invalid_psw()
|