diff options
| author | Pravin <pt@nvidia.com> | 2016-01-15 14:08:33 -0500 |
|---|---|---|
| committer | Sumeet Gupta <sumeetg@nvidia.com> | 2016-02-09 00:05:03 -0500 |
| commit | 78f242360a86444cfa0aeb8cb5ea3b97fc3aa50e (patch) | |
| tree | 3b1dd9bfcc1c1095e425daa77542aae4cf394455 /include/linux/platform/tegra | |
| parent | 99d163063a6fc37b7647a4eb96a2389f08c15f48 (diff) | |
platform: tegra: mcerr: Linear addr conversion
Add changes to convert from D.X.R.B.C.S.L
to Linear addr.This patch also adds routines
for Demand Scrubbing and debugfs interface
for dumping ecc error status,ecc cfg.
Bug 200166180
Change-Id: I8a88ac45a4949d3d72824b8870a5bceef22e4556
Signed-off-by: Pravin <pt@nvidia.com>
Reviewed-on: http://git-master/r/933286
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Diffstat (limited to 'include/linux/platform/tegra')
| -rw-r--r-- | include/linux/platform/tegra/mcerr_ecc_t18x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform/tegra/mcerr_ecc_t18x.h b/include/linux/platform/tegra/mcerr_ecc_t18x.h index a4e5c14ea..bca2a3bed 100644 --- a/include/linux/platform/tegra/mcerr_ecc_t18x.h +++ b/include/linux/platform/tegra/mcerr_ecc_t18x.h | |||
| @@ -65,4 +65,10 @@ struct mc_ecc_err_log { | |||
| 65 | #define DT_REG_INDEX_EMC_BROADCAST 5 | 65 | #define DT_REG_INDEX_EMC_BROADCAST 5 |
| 66 | 66 | ||
| 67 | 67 | ||
| 68 | void mc_ecc_config_read(void); | ||
| 69 | int mc_ecc_config_dump(struct seq_file *s, void *v); | ||
| 70 | |||
| 71 | u64 mc_addr_translate(u32 device, u32 ch, u32 row, u32 bank, u32 col, u32 subp, | ||
| 72 | u32 lsb); | ||
| 73 | |||
| 68 | #endif | 74 | #endif |
