“3bb48060d12876fa851c2624653010ad91ce1148”上不存在“test/sun/util/git@gitcode.net:openanolis/dragonwell8_jdk.git”
!527 i2c: hisi: Only use the completion interrupt to finish the transfer and...
!527 i2c: hisi: Only use the completion interrupt to finish the transfer and i2c: hisi: Avoid redundant interrupts Merge Pull Request from: @lujunhuaHW i2c: hisi: Only use the completion interrupt to finish the transfer: The controller will always generate a completion interrupt when the transfer is finished normally or not. Currently we use either error or completion interrupt to finish, this may result the completion interrupt unhandled and corrupt the next transfer, especially at low speed mode. Since on error case, the error interrupt will come first then is the completion interrupt. So only use the completion interrupt to finish the whole transfer process. i2c: hisi: Avoid redundant interrupts After issuing all the messages we can disable the TX_EMPTY interrupts to avoid handling redundant interrupts. For doing a sinlge bus detection (i2cdetect -y -r 0) we can reduce ~97% interrupts (before ~12000 after ~400). Test dependencies:i2c-dev.ko i2c-hisi.ko Test methodology:See the bugzilla link Link:https://gitee.com/openeuler/kernel/pulls/527 Reviewed-by: Jialin Zhang <zhangjialin11@huawei.com> Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
Showing
想要评论请 注册 或 登录