Hi, all
Can anyone pick up this patch set, it has been tested and
suspend/resume is an important feature many people want, thanks!
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner
> Sent: Wednesday, August 8, 2018 8:09 PM
> To: Anson Huan
Hi, Stefan
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner [mailto:ste...@agner.ch]
> Sent: Wednesday, August 8, 2018 5:03 PM
> To: Anson Huang
> Cc: sba...@denx.de; Fabio Estevam ;
> albert.u.b...@aribaud.net; bryan.odonog...@linar
Hi, Stefan
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner [mailto:ste...@agner.ch]
> Sent: Wednesday, August 8, 2018 1:54 PM
> To: Anson Huang
> Cc: sba...@denx.de; Fabio Estevam ;
> albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan
pointer before calling
C code, otherwise there will be an external abort occur, in additional,
invalidate L1 cache must be done in secure section as well, so this
patch also adds assembly code back and keep it as simple as possible.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/Makefile
;
- Configure wakeup source mechanism;
- Disable DSM/RBC related settings.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/soc.c | 103
1 file changed, 103 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c
number
of ~0 as handshake for killing a offline CPU,
when the online CPU checks the psci_affinity_info,
it will help kill the offline CPU according to
the magic number stored in SRC parameter register.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 23 +--
1
Hi, Stefan
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner [mailto:ste...@agner.ch]
> Sent: Tuesday, August 7, 2018 7:59 PM
> To: Anson Huang
> Cc: sba...@denx.de; Fabio Estevam ;
> albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan
Hi, Stefan
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner [mailto:ste...@agner.ch]
> Sent: Tuesday, August 7, 2018 6:56 PM
> To: Anson Huang
> Cc: sba...@denx.de; Fabio Estevam ;
> albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan
Hi, Stefan
Anson Huang
Best Regards!
> -Original Message-
> From: Stefan Agner [mailto:ste...@agner.ch]
> Sent: Tuesday, August 7, 2018 6:48 PM
> To: Anson Huang
> Cc: sba...@denx.de; Fabio Estevam ;
> albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan
pointer before calling
C code, otherwise there will be an external abort occur, in additional,
invalidate L1 cache must be done in secure section as well, so this
patch also adds assembly code back and keep it as simple as possible.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/Makefile | 2
;
- Configure wakeup source mechanism;
- Disable DSM/RBC related settings.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/soc.c | 101
1 file changed, 101 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c
magic number
of ~0 as handshake for killing a offline CPU,
when the online CPU checks the psci_affinity_info,
it will help kill the offline CPU according to
the magic number stored in SRC parameter register.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 23
psci_features,
otherwise, s2idle will be entered instead.
Signed-off-by: Anson Huang
---
no change since V1.
arch/arm/mach-imx/mx7/psci.S | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/psci.S b/arch/arm/mach-imx/mx7/psci.S
index cbe6781
tuple 0x80 (7 bytes)
[ 339.284158] mmc1: queuing unknown CIS tuple 0x80 (6 bytes)
[ 339.385065] PM: resume devices took 0.400 seconds
[ 339.389836] OOM killer enabled.
[ 339.392986] Restarting tasks ... done.
[ 339.398990] PM: suspend exit
Signed-off-by: Anson Huang
---
no change since V1
;
- Configure wakeup source mechanism;
- Disable DSM/RBC related settings.
Signed-off-by: Anson Huang
---
no change since V1.
arch/arm/mach-imx/mx7/soc.c | 101
1 file changed, 101 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm
magic number
of ~0 as handshake for killing a offline CPU,
when the online CPU checks the psci_affinity_info,
it will help kill the offline CPU according to
the magic number stored in SRC parameter register.
Signed-off-by: Anson Huang
---
changes since V1:
Defining magic number for CPU
Hi, Bryan
Anson Huang
Best Regards!
> -Original Message-
> From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org]
> Sent: Monday, May 28, 2018 4:59 PM
> To: Anson Huang ; sba...@denx.de; Fabio Estevam
> ; albert.u.b...@aribaud.net;
> christian.gmei
gpc initialization for low power mode
Sent [PATCH 3/4] imx: mx7: add system suspend/resume support
Sent [PATCH 4/4] imx: mx7: add psci_features support
Anson Huang
Best Regards!
> -Original Message-
> From: Anson Huang
> Sent: Friday, May 25, 2018 2:11 PM
> To: sba...@de
tuple 0x80 (7 bytes)
[ 339.284158] mmc1: queuing unknown CIS tuple 0x80 (6 bytes)
[ 339.385065] PM: resume devices took 0.400 seconds
[ 339.389836] OOM killer enabled.
[ 339.392986] Restarting tasks ... done.
[ 339.398990] PM: suspend exit
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7
psci_features,
otherwise, s2idle will be entered instead.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci.S | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/psci.S b/arch/arm/mach-imx/mx7/psci.S
index cbe6781..694cef7 100644
--- a
;
- Configure wakeup source mechanism;
- Disable DSM/RBC related settings.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/soc.c | 101
1 file changed, 101 insertions(+)
diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c
magic number
of ~0 as handshake for killing a offline CPU,
when the online CPU checks the psci_affinity_info,
it will help kill the offline CPU according to
the magic number stored in SRC parameter register.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 31
magic number
of ~0 as handshake for killing a offline CPU,
when the online CPU checks the psci_affinity_info,
it will help kill the offline CPU according to
the magic number stored in SRC parameter register.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 31
Add i.MX7 PSCI system reset support, linux
kernel can use "reboot" command to reset
system even wdog driver is disabled in kernel.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 15 ++-
arch/arm/mach-imx/mx7/psci.S | 7 +++
2 files changed, 21
Add i.MX7 PSCI system power off support, linux
kernel can use "poweroff" command to power off
system via SNVS, PMIC power will be disabled.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 18 ++
arch/arm/mach-imx/mx7/psci.S | 7 +++
2 files c
Use PSCI 1.0 instead of 0.1 to support more power
management feature like system reset, power off etc..
Signed-off-by: Anson Huang
---
include/configs/mx7_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 16e4d95
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2018-01-07 6:48 AM
> To: Anson Huang
> Cc: Stefano Babic ; Fabio Estevam
> ; Albert ARIBAUD ;
> Christian Gmeiner ; Peng Fan
> ; U-Boot-Denx
> Subject:
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2018-01-07 12:05 AM
> To: Anson Huang
> Cc: Stefano Babic ; Fabio Estevam
> ; Albert ARIBAUD ;
> Troy Kisky ; Christian Gmeiner
> ; Peng Fan ; U-Boot-
&
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2018-01-07 6:48 AM
> To: Anson Huang
> Cc: Stefano Babic ; Fabio Estevam
> ; Albert ARIBAUD ;
> Christian Gmeiner ; Peng Fan
> ; U-Boot-Denx
> Subject:
Use PSCI 1.0 instead of 0.1 to support more power
management feature like system reset, power off etc..
Signed-off-by: Anson Huang
---
no changes since v1.
include/configs/mx7_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mx7_common.h b/include/configs
Best Regards!
Anson Huang
> -Original Message-
> From: Troy Kisky [mailto:troy.ki...@boundarydevices.com]
> Sent: 2018-01-06 2:49 AM
> To: Anson Huang ; sba...@denx.de; Fabio Estevam
> ; albert.u.b...@aribaud.net;
> christian.gmei...@gmail.com; Peng Fan ; u-
&g
Add i.MX7 PSCI system power off support, linux
kernel can use "poweroff" command to power off
system via SNVS, PMIC power will be disabled.
Signed-off-by: Anson Huang
---
changes since v1:
use "bl" instead of "b" as we need the call to return back.
arch/ar
Add i.MX7 PSCI system reset support, linux
kernel can use "reboot" command to reset
system even wdog driver is disabled in kernel.
Signed-off-by: Anson Huang
---
changes since v1:
use "bl" instead of "b" as we need the call to return back.
arch/a
Hi, Fabio
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2018-01-04 8:57 PM
> To: Anson Huang
> Cc: Stefano Babic ; Fabio Estevam
> ; Albert ARIBAUD ;
> Christian Gmeiner ; Peng Fan
> ; U-Boot-Denx
Add i.MX7 PSCI system power off support, linux
kernel can use "poweroff" command to power off
system via SNVS, PMIC power will be disabled.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 18 ++
arch/arm/mach-imx/mx7/psci.S | 7 +++
2 files c
Use PSCI 1.0 instead of 0.1 to support more power
management feature like system reset, power off etc..
Signed-off-by: Anson Huang
---
include/configs/mx7_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index 16e4d95
Add i.MX7 PSCI system reset support, linux
kernel can use "reboot" command to reset
system even wdog driver is disabled in kernel.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 5 +
arch/arm/mach-imx/mx7/psci.S | 7 +++
2 files changed, 12 insertion
Hi, Peng
Best Regards!
Anson Huang
> -Original Message-
> From: Peng Fan
> Sent: 2018-01-04 5:48 PM
> To: Anson Huang ; sba...@denx.de; Fabio Estevam
> ; albert.u.b...@aribaud.net;
> christian.gmei...@gmail.com; u-boot@lists.denx.de
> Subject: RE: [PATCH V2] imx:
Add i.MX7 PSCI system reset support, linux
kernel now can use "reboot" command to reset
system.
Signed-off-by: Anson Huang
---
arch/arm/mach-imx/mx7/psci-mx7.c | 5 +
arch/arm/mach-imx/mx7/psci.S | 7 +++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/mach-imx/mx
Add i.MX7 PSCI system reset support, linux
kernel now can use "reboot" command to reset
system.
Signed-off-by: Anson Huang
---
changes since V1:
write WDOG register directly instead of calling reset_cpu
which is NOT safe since it is NOT in secure section.
arch/arm/ma
i.MX6SL EVK board.
Reviewed-by: Fabio Estevam
Signed-off-by: Anson Huang
---
arch/arm/cpu/armv7/mx6/soc.c | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 0208cba..33a2939 100644
--- a/arch/arm/cpu/armv7/mx6
ned-off-by: Anson Huang
---
arch/arm/cpu/armv7/mx6/soc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 33a2939..2b162c2 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -189,
i.MX6SL EVK board.
Signed-off-by: Anson Huang
---
arch/arm/cpu/armv7/mx6/soc.c | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index a390296..edf3139 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu
i.MX6SL EVK board.
Signed-off-by: Anson Huang
---
arch/arm/cpu/armv7/mx6/soc.c | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index a390296..edf3139 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu
44 matches
Mail list logo