video: tegra: nvmap: Use MSR instruction for cache flush

Doing an entire cache flush by set/ways on Denver using can
take considerably long time because of too many context switches.
On the other hand, on Denver, MSR instruction provides a way to
flush the entire cache and avoid the context switch overhead.
This definitely helps use cases which need to flush the entire cache
frequently.

Bug 200035864

Bug 18775332

Change-Id: I60486d0dedfd337e4c586d9e7118cb26b16cc1c6
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Signed-off-by: Xia Yang <xiay@nvidia.com>
1 file changed