summaryrefslogtreecommitdiff
path: root/docs/sitemap.md
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2019-06-21 11:05:22 +0800
committerCommit Bot <commit-bot@chromium.org>2019-07-02 04:51:44 +0000
commit1fc8bb63ec847d7e36633624e50658578b5e93f4 (patch)
tree2760c02f8fae39c8f9fe6e1aecb28ba3c98070cd /docs/sitemap.md
parent0e662b07aae39979e65637e80f5baecbf0a92a0f (diff)
downloadchrome-ec-1fc8bb63ec847d7e36633624e50658578b5e93f4.tar.gz
mt_scp/ipi: Add ref-counted API ipi_{en,dis}able_irq()
Unify IPC IRQ accessing to prevent a wrong IRQ enabling status. An IPC IRQ could be shared across many IPI handlers. Those handlers would usually operate on disabling or enabling the IPC IRQ. This may disorder the actual timing to on/off the IRQ when there are many tasks try to operate on it. As a result, any access to the SCP_IRQ_* should go through ipi_{en,dis}able_irq(), which support a counter to enable/disable the IRQ at correct timeing. TEST=Boot scp. BUG=b:117917141 BRANCH=master Change-Id: I792849279dfeb5231f27fa7a9cf260e2059bbf4b Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1670650 Tested-by: Yilun Lin <yllin@chromium.org> Auto-Submit: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'docs/sitemap.md')
0 files changed, 0 insertions, 0 deletions