]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/mediatek: Reduce the tlb flush timeout value
authorYong Wu <yong.wu@mediatek.com>
Mon, 4 Nov 2019 07:01:08 +0000 (15:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 11 Nov 2019 14:02:34 +0000 (15:02 +0100)
commit27e0e17958a63d1b67b10742150ce04fe9240a35
tree00c3a5ba023d112d730c5f0e5be3e6702cf9d829
parentbd5969fa07a7dd3c71eb30b82f183bfef1e3429d
iommu/mediatek: Reduce the tlb flush timeout value

Reduce the tlb timeout value from 100000us to 1000us. The original value
would make the kernel stuck for 100 ms with interrupts disabled, which
could have other side effects. The flush is expected to always take much
less than 1 ms, so use that instead.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c