OSDN Git Service

iommu/arm-smmu: Reduce TLB sync timeout
authorMitchel Humpherys <mitchelh@codeaurora.org>
Mon, 9 Nov 2015 19:50:58 +0000 (11:50 -0800)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:32 +0000 (11:14 -0700)
commitfa8f99c506b31cd32cd9da8627bd1b3b1e813351
tree26f22d0e455e8fbc70a307361073bc238742c88f
parent8ed2896540c4389a9e9b4f528e30d34c4f35b0ca
iommu/arm-smmu: Reduce TLB sync timeout

We're currently waiting for up to 1 second for the TLB sync command to
finish.  Unfortunately, this is long enough to trigger a watchdog bark
since the time between the watchdog pet timer interrupt and the bark
interrupt is only 1 second.  Fix this by reducing the timeout to 500
milliseconds, which is still more than enough time for the TLB sync
command to complete.

CRs-Fixed: 929880
Change-Id: I467cd5fd9caa24b4f120a7fe8c8f57c73687006b
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/arm-smmu.c