linux_dsm_epyc7002/arch/arm/mach-imx
Kohji Okuno 91740fc824 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
In the current cpuidle implementation for i.MX6q, the CPU that sets
'WAIT_UNCLOCKED' and the CPU that returns to 'WAIT_CLOCKED' are always
the same. While the CPU that sets 'WAIT_UNCLOCKED' is in IDLE state of
"WAIT", if the other CPU wakes up and enters IDLE state of "WFI"
istead of "WAIT", this CPU can not wake up at expired time.
 Because, in the case of "WFI", the CPU must be waked up by the local
timer interrupt. But, while 'WAIT_UNCLOCKED' is set, the local timer
is stopped, when all CPUs execute "wfi" instruction. As a result, the
local timer interrupt is not fired.
 In this situation, this CPU will wake up by IRQ different from local
timer. (e.g. broacast timer)

So, this fix changes CPU to return to 'WAIT_CLOCKED'.

Signed-off-by: Kohji Okuno <okuno.kohji@jp.panasonic.com>
Fixes: e5f9dec8ff ("ARM: imx6q: support WAIT mode using cpuidle")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-03-19 16:48:00 +08:00
..
devices
3ds_debugboard.c
3ds_debugboard.h
anatop.c ARM: imx: add i.mx6ulz msl support 2018-09-30 15:31:40 +08:00
avic.c
board-mx31lilly.h
board-mx31lite.h
board-mx31moboard.h
common.h ARM: imx: add i.MX7ULP cpuidle support 2019-01-15 23:03:40 +08:00
cpu-imx5.c ARM: mx5: Set the DBGEN bit in ARM_GPC register 2018-07-12 09:52:20 +08:00
cpu-imx25.c
cpu-imx27.c
cpu-imx31.c
cpu-imx35.c
cpu.c ARM: imx: add initial support for imx7ulp 2018-12-10 08:56:30 +08:00
cpuidle-imx5.c
cpuidle-imx6q.c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time 2019-03-19 16:48:00 +08:00
cpuidle-imx6sl.c ARM: imx: remove i.MX6SLL support in i.MX6SL cpu idle driver 2018-06-19 09:07:34 +08:00
cpuidle-imx6sx.c ARM: imx: update the cpu power up timing setting on i.mx6sx 2018-12-06 09:55:13 +08:00
cpuidle-imx7ulp.c ARM: imx: add i.MX7ULP cpuidle support 2019-01-15 23:03:40 +08:00
cpuidle.h ARM: imx: add i.MX7ULP cpuidle support 2019-01-15 23:03:40 +08:00
crmregs-imx3.h
devices-imx21.h
devices-imx27.h
devices-imx31.h
devices-imx35.h
ehci-imx27.c
ehci-imx31.c
ehci-imx35.c
ehci.h
gpc.c ARM: imx: add L2 page power control for GPC 2018-06-19 09:06:48 +08:00
hardware.h
headsmp.S
hotplug.c
iim.h
imx27-dt.c
imx31-dt.c ARM: i.MX31: remove rnga registration as a platform device 2018-07-11 20:23:18 +08:00
imx35-dt.c
iomux-imx31.c
iomux-mx2x.h
iomux-mx3.h
iomux-mx21.h
iomux-mx27.h
iomux-mx35.h
iomux-v1.c
iomux-v1.h
iomux-v3.c
iomux-v3.h
irq-common.c
irq-common.h
Kconfig ARM: imx: fix dependencies on imx7ulp 2018-12-11 10:41:20 +08:00
mach-armadillo5x0.c
mach-bug.c
mach-imx1.c
mach-imx6q.c
mach-imx6sl.c ARM: imx: call imx6sx_cpuidle_init() conditionally for 6sll 2018-07-11 21:05:20 +08:00
mach-imx6sx.c
mach-imx6ul.c
mach-imx7d-cm4.c ARM: imx: Provide support for NXP i.MX7D Cortex-M4 2018-07-03 15:17:57 +08:00
mach-imx7d.c
mach-imx7ulp.c ARM: imx: add i.MX7ULP SoC revision support 2019-01-16 09:36:07 +08:00
mach-imx25.c
mach-imx27_visstrim_m10.c dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flag 2019-02-20 07:27:00 -07:00
mach-imx50.c
mach-imx51.c ARM: imx51: fix a leaked reference by adding missing of_node_put 2019-03-19 16:48:00 +08:00
mach-imx53.c ARM: mx5: Set the DBGEN bit in ARM_GPC register 2018-07-12 09:52:20 +08:00
mach-kzm_arm11_01.c
mach-ls1021a.c
mach-mx21ads.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
mach-mx27_3ds.c
mach-mx27ads.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
mach-mx31_3ds.c
mach-mx31ads.c
mach-mx31lilly.c
mach-mx31lite.c
mach-mx31moboard.c dma-mapping: remove the DMA_MEMORY_EXCLUSIVE flag 2019-02-20 07:27:00 -07:00
mach-mx35_3ds.c
mach-pca100.c ARM: imx: pca100: use device properties for at24 eeprom 2018-04-18 11:18:27 +08:00
mach-pcm037_eet.c
mach-pcm037.c ARM: imx: pcm037: use device properties for at24 eeprom 2018-04-18 11:18:30 +08:00
mach-pcm043.c mmc: sdhci: imx: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-qong.c mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h 2018-10-03 11:12:25 +02:00
mach-vf610.c
mach-vpr200.c ARM: imx: vpr200: drop at24_platform_data 2018-04-18 11:18:07 +08:00
Makefile ARM: imx: add i.MX7ULP cpuidle support 2019-01-15 23:03:40 +08:00
Makefile.boot
mm-imx3.c
mm-imx21.c
mm-imx27.c
mmdc.c perf/core, arch/arm: Use PERF_PMU_CAP_NO_EXCLUDE for exclusion incapable PMUs 2019-01-21 11:01:23 +01:00
mx2x.h
mx3x.h
mx21.h
mx27.h
mx31.h
mx31lilly-db.c
mx31lite-db.c
mx31moboard-devboard.c
mx31moboard-marxbot.c
mx31moboard-smartbot.c
mx35.h
mxc.h ARM: imx: add initial support for imx7ulp 2018-12-10 08:56:30 +08:00
pcm037.h
platsmp.c
pm-imx5.c
pm-imx6.c ARM: imx: add i.mx6ulz msl support 2018-09-30 15:31:40 +08:00
pm-imx7ulp.c ARM: imx: add i.MX7ULP cpuidle support 2019-01-15 23:03:40 +08:00
pm-imx25.c
pm-imx27.c
src.c
ssi-fiq-ksym.c
ssi-fiq.S
suspend-imx6.S
suspend-imx53.S
system.c
tzic.c
ulpi.h