Loading kernel/sched/energy.c +4 −1 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ static int sched_energy_probe(struct platform_device *pdev) int cpu; unsigned long *max_frequencies = NULL; int ret; bool is_sge_valid = false; if (!sched_is_energy_aware()) return 0; Loading Loading @@ -248,6 +249,7 @@ static int sched_energy_probe(struct platform_device *pdev) sge_l0->cap_states[i].power); } is_sge_valid = true; dev_info(&pdev->dev, "cpu=%d eff=%d [freq=%ld cap=%ld power_d0=%ld] -> [freq=%ld cap=%ld power_d0=%ld]\n", cpu, efficiency, Loading @@ -271,6 +273,7 @@ static int sched_energy_probe(struct platform_device *pdev) kfree(max_frequencies); if (is_sge_valid) walt_sched_energy_populated_callback(); dev_info(&pdev->dev, "Sched-energy-costs capacity updated\n"); return 0; Loading Loading
kernel/sched/energy.c +4 −1 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ static int sched_energy_probe(struct platform_device *pdev) int cpu; unsigned long *max_frequencies = NULL; int ret; bool is_sge_valid = false; if (!sched_is_energy_aware()) return 0; Loading Loading @@ -248,6 +249,7 @@ static int sched_energy_probe(struct platform_device *pdev) sge_l0->cap_states[i].power); } is_sge_valid = true; dev_info(&pdev->dev, "cpu=%d eff=%d [freq=%ld cap=%ld power_d0=%ld] -> [freq=%ld cap=%ld power_d0=%ld]\n", cpu, efficiency, Loading @@ -271,6 +273,7 @@ static int sched_energy_probe(struct platform_device *pdev) kfree(max_frequencies); if (is_sge_valid) walt_sched_energy_populated_callback(); dev_info(&pdev->dev, "Sched-energy-costs capacity updated\n"); return 0; Loading