summaryrefslogtreecommitdiff
path: root/chip/it83xx/build.mk
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2021-09-02 15:21:46 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-02 12:41:40 +0000
commit7999cc115b95dc918ec6a89d4e0f4b55728557d7 (patch)
treecd4161f5f3d900801ef8b99a2ccd9494fa657fc5 /chip/it83xx/build.mk
parent4259d21065b281d8acc58e041d92d64c4db24205 (diff)
downloadchrome-ec-7999cc115b95dc918ec6a89d4e0f4b55728557d7.tar.gz
it83xx/riscv: Ensure IER has been disabled before enabling CPU interrupt
This CL read EC's IER one time after configured. The load operation will ensure chip-level's interrupt has been disabled before enabling CPU interrupt. BRANCH=asurada, icarus BUG=b:179206540 TEST=create stress test on it8xxx2 evb: - Loop calling task_disable_irq() and task_enable_irq() to enable and disable IRQ 13 (keyboard KSI interrupt). - Toggle KSI continuously. Without the patch, EC will hit IRQ 0 issue in two seconds. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I56bad182bd101d45b00368083b60aabbd9fb8bdb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139652 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'chip/it83xx/build.mk')
0 files changed, 0 insertions, 0 deletions