| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OMAP MPUSS low power code |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 30 | 31 | * |
|---|
| 31 | 32 | * Note: CPU0 is the master core and it is the last CPU to go down |
|---|
| 32 | 33 | * and first to wake-up when MPUSS low power states are excercised |
|---|
| 33 | | - * |
|---|
| 34 | | - * |
|---|
| 35 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 36 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 37 | | - * published by the Free Software Foundation. |
|---|
| 38 | 34 | */ |
|---|
| 39 | 35 | |
|---|
| 40 | 36 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 46 | 42 | #include <asm/cacheflush.h> |
|---|
| 47 | 43 | #include <asm/tlbflush.h> |
|---|
| 48 | 44 | #include <asm/smp_scu.h> |
|---|
| 49 | | -#include <asm/pgalloc.h> |
|---|
| 50 | 45 | #include <asm/suspend.h> |
|---|
| 51 | 46 | #include <asm/virt.h> |
|---|
| 52 | 47 | #include <asm/hardware/cache-l2x0.h> |
|---|
| .. | .. |
|---|
| 231 | 226 | { |
|---|
| 232 | 227 | struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu); |
|---|
| 233 | 228 | unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; |
|---|
| 234 | | - unsigned int wakeup_cpu; |
|---|
| 235 | 229 | |
|---|
| 236 | 230 | if (omap_rev() == OMAP4430_REV_ES1_0) |
|---|
| 237 | 231 | return -ENXIO; |
|---|
| .. | .. |
|---|
| 296 | 290 | * secure devices, CPUx does WFI which can result in |
|---|
| 297 | 291 | * domain transition |
|---|
| 298 | 292 | */ |
|---|
| 299 | | - wakeup_cpu = smp_processor_id(); |
|---|
| 300 | 293 | pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); |
|---|
| 301 | 294 | |
|---|
| 302 | 295 | pwrdm_post_transition(NULL); |
|---|