OSDN Git Service

iommu/iommu-debug: Set DOMAIN_ATTR_ATOMIC during profiling
authorMitchel Humpherys <mitchelh@codeaurora.org>
Fri, 28 Aug 2015 17:51:24 +0000 (10:51 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:05 +0000 (11:14 -0700)
commit31cff0aa7f187d580cf6af267c50b0ffc0e64738
treea314702f67c5e0acaf82adc572490ac7a2dcd103
parentc85a9eeb3fc9c04eaaca2a836728991dc5f2a364
iommu/iommu-debug: Set DOMAIN_ATTR_ATOMIC during profiling

There's some non-deterministic latency incurred by enabling clocks and
regulators.  Clocks and regulators are left on for atomic domains, which
makes them a good choice for profiling the page table management code.
Use an atomic domain for map/unmap profiling to make things more
deterministic.

Change-Id: Ib9fa48699c9d6009dd3f3b322002e2fb0f2ff99c
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/iommu-debug.c