2e961102c1
If the host sends Port80 postcodes frequently while EC is busy handling other tasks, the Port80 FIFO (16-byte depth) might overflow easily, especially when the host sends the postcode with the 4-byte format. This change defers the handling and sending (to the upper layer) postcodes to the system workqueue thread. It can reduce a lot of (but not all) the overflow case. Also in practice, we usually care about the latest postcodes. The older codes are not significant to the developer. This commit also lowers the printing of the overflow warning to LOG_DEBUG. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.espi_emul | ||
Kconfig.it8xxx2 | ||
Kconfig.npcx | ||
Kconfig.xec | ||
espi_emul.c | ||
espi_handlers.c | ||
espi_it8xxx2.c | ||
espi_mchp_xec.c | ||
espi_mchp_xec_host_v2.c | ||
espi_mchp_xec_v2.c | ||
espi_mchp_xec_v2.h | ||
espi_npcx.c | ||
espi_saf_mchp_xec.c | ||
espi_saf_mchp_xec_v2.c | ||
espi_utils.h | ||
host_subs_npcx.c |