]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
pstore: rtrace: support register physical address
authorBo Yan <byan@nvidia.com>
Mon, 15 Dec 2014 18:56:26 +0000 (10:56 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 4 Apr 2015 22:05:45 +0000 (15:05 -0700)
commit47fab87bd7483db29cdf2db965989170ec6386a8
tree7ce5c65aa87b57f7e8152949b660401be4bcea25
parente8f65a23f1b903729d4b1b90159d6fcb4087a640
pstore: rtrace: support register physical address

The virtual addresses are close to impossible to decipher. Save
register physical addresses instead. If virtual to physical
translation is failing, save virtual address instead.

In addition, save the value written to register.

This is done for aarch64 only. A reference implementation is provided
for aarch32, but it has not been verified, so kernel build for ARMv7a
tegra chips still save virtual addresses.

Change-Id: Icca8063a1d89028ffff251f8a0689fef73ac617c
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/663995
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
arch/arm64/include/asm/io.h
fs/pstore/inode.c
fs/pstore/internal.h
fs/pstore/rtrace.c
include/linux/pstore.h