Lines Matching +full:psci +full:- +full:1
2 * PSCI tests
16 #include <asm/psci.h>
30 regs->pc += 4;
71 return psci_affinity_info(cpus[1], 0) == PSCI_0_2_AFFINITY_LEVEL_OFF;
87 cpu_on_ret[cpu] = psci_cpu_on(cpus[1], __pa(secondary_entry));
121 cpumask_set_cpu(1, &cpu_on_ready);
126 * Configure CPU 1 after all secondaries are online to avoid
129 psci_cpu_on_prepare_secondary(1, cpu_on_target);
131 cpu_on_start = 1;
134 cpu_on_ret[0] = psci_cpu_on(cpus[1], __pa(secondary_entry));
147 if (cpu == 1)
157 if (cpu == 1)
167 if (ret_success != 1) {
198 cpu_off_start = 1;
240 report_prefix_push("psci");
247 report_info("PSCI version %d.%d", PSCI_VERSION_MAJOR(ver),
249 report(psci_invalid_function(), "invalid-function");
250 report(psci_affinity_info_on(), "affinity-info-on");
251 report(psci_affinity_info_off(), "affinity-info-off");
254 report(psci_cpu_on_test(), "cpu-on");
256 report_skip("Skipping unsafe cpu-on test. Set ERRATA_6c7a5dce22b3=y to enable.");
260 if (!ERRATA(6c7a5dce22b3) || cpumask_weight(&cpu_idle_mask) == nr_cpus - 1)
261 report(psci_cpu_off_test(), "cpu-off");
263 report_skip("Skipping cpu-off test because the cpu-on test failed");
269 report_fail("system-off");
270 return 1; /* only reaches here if system-off fails */