Dino Li
911de4d175
nds32: use INT_MASK instead of GIE
...
When there is an interrupt event, N8 CPU will save PSW register to IPSW
register and clear GIE then jump to interrupt service routine. N8 will
restore PSW from IPSW after "iret" instruction (the above are purely
hardware mechanism).
Nested interrupt will occur if we set GIE again in interrupt context.
symptom:
power button pressed while LID open -> exception or unknown reset.
Signed-off-by: Dino Li <dino.li@ite.com.tw >
BRANCH=none
BUG=none
TEST=1. Manually pressed power button x200.
2. Console "eflash" erase and write eflash OK.
Change-Id: Ic04a23d473ebc6417dffea814a27583cb8d63a1f
Reviewed-on: https://chromium-review.googlesource.com/289437
Reviewed-by: Randall Spangler <rspangler@chromium.org >
Commit-Queue: Dino Li <dino.li@ite.com.tw >
Tested-by: Dino Li <dino.li@ite.com.tw >
2015-08-20 01:37:56 +00:00
..
2015-07-15 03:39:12 +00:00
2013-12-12 18:21:56 +00:00
2015-07-16 05:15:22 +00:00
2015-01-21 05:05:47 +00:00
2013-12-17 21:27:53 +00:00
2015-04-10 22:08:25 +00:00
2014-12-31 00:01:00 +00:00
2015-06-18 19:07:00 +00:00
2014-07-23 02:29:59 +00:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2014-02-08 04:15:39 +00:00
2014-02-08 04:15:39 +00:00
2015-06-18 19:07:00 +00:00
2015-08-19 01:50:21 +00:00
2015-06-18 19:07:00 +00:00
2014-04-11 15:37:38 +00:00
2014-12-15 19:53:46 +00:00
2015-01-15 05:13:14 +00:00
2015-07-22 22:30:00 +00:00
2015-04-10 22:08:25 +00:00
2015-02-10 10:47:07 +00:00
2015-07-01 03:49:14 +00:00
2015-06-18 19:07:00 +00:00
2015-07-17 03:17:50 +00:00
2015-08-12 04:25:14 +00:00
2015-07-25 08:47:31 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-07-27 22:19:16 +00:00
2014-02-08 00:14:48 +00:00
2015-08-01 02:52:28 +00:00
2013-10-25 20:12:49 +00:00
2012-10-26 09:49:38 -07:00
2015-06-10 18:24:05 +00:00
2014-11-06 02:28:22 +00:00
2015-05-15 06:42:30 +00:00
2014-10-29 22:23:43 +00:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-08-11 21:21:28 +00:00
2015-05-27 03:58:16 +00:00
2015-07-13 18:43:56 +00:00
2015-07-28 21:31:38 +00:00
2013-06-26 09:08:23 -07:00
2013-03-20 15:23:29 -07:00
2015-06-17 13:10:58 +00:00
2012-11-04 20:27:57 -08:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-07-17 03:18:03 +00:00
2014-02-07 04:13:18 +00:00
2015-01-24 06:42:02 +00:00
2013-10-30 23:10:13 +00:00
2014-02-07 04:13:14 +00:00
2015-04-10 22:08:25 +00:00
2014-04-11 20:02:30 +00:00
2013-03-22 11:24:29 -07:00
2014-10-08 02:50:54 +00:00
2013-08-07 12:43:48 -07:00
2015-07-17 03:17:57 +00:00
2015-08-10 20:42:18 +00:00
2013-04-02 14:12:57 -07:00
2014-10-08 02:50:54 +00:00
2014-10-15 18:22:37 +00:00
2014-11-21 06:23:16 +00:00
2015-06-17 13:10:58 +00:00
2015-06-25 17:21:50 +00:00
2015-06-18 19:07:00 +00:00
2011-12-07 19:10:02 +00:00
2014-10-24 01:37:58 +00:00
2015-07-30 19:58:09 +00:00
2015-03-06 08:48:39 +00:00
2015-07-30 19:58:01 +00:00
2012-10-25 14:12:11 -07:00
2015-03-14 03:22:37 +00:00
2012-11-01 12:45:22 -07:00
2015-06-18 19:07:00 +00:00
2015-04-27 23:29:30 +00:00
2015-06-04 01:15:55 +00:00
2013-04-24 16:32:58 -07:00
2015-07-14 07:35:27 +00:00
2012-10-25 14:12:10 -07:00
2015-06-18 19:07:00 +00:00
2013-10-30 23:10:10 +00:00
2015-06-18 19:07:00 +00:00
2015-07-15 21:57:36 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2012-08-09 17:40:37 -07:00
2015-06-18 19:07:00 +00:00
2015-02-18 04:53:59 +00:00
2015-06-18 19:07:00 +00:00
2015-03-11 23:18:09 +00:00
2015-07-30 19:57:55 +00:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-07-08 09:25:48 +00:00
2015-06-18 19:07:00 +00:00
2015-08-20 01:37:56 +00:00
2015-06-18 19:07:00 +00:00
2014-02-08 04:21:26 +00:00
2015-06-17 13:10:58 +00:00
2015-01-14 03:15:41 +00:00
2014-08-10 18:39:24 +00:00
2015-08-14 21:04:32 +00:00
2015-08-14 21:04:38 +00:00
2015-04-10 22:08:25 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-08-05 16:50:46 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-08-04 19:22:07 +00:00
2015-06-18 19:07:00 +00:00
2015-06-30 17:18:31 +00:00
2015-08-04 19:22:07 +00:00
2015-06-18 19:07:00 +00:00
2015-01-08 00:38:13 +00:00
2015-07-01 03:49:00 +00:00
2014-08-28 20:12:52 +00:00
2014-06-17 18:34:03 +00:00
2015-01-20 20:56:43 +00:00