msm: smem: Add ramdump support for SSR
msm: smem: Add ramdump support for SSR

When a subsystem restart occurs, the contents of SMEM may be critical to
determine the state of the failed system.  This is currently handled by
the individual subsystem modules, but the memory addresses are hard
coded creating extra system dependencies.

Add support for dumping shared memory into a ramdump for systems that
use Device Tree for SMEM configuration.

Change-Id: I18e173579335b66c4bfbada66b89addc680bce96
Signed-off-by: Eric Holmberg <5000aa55685d659e1f7f26ece526f9c7021ab484@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas