diff options
| author | Chetan Kumar <chetankumarn@nvidia.com> | 2018-01-15 13:40:58 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-19 19:19:55 -0500 |
| commit | 0c54e2afbd06aec00b57773686bb288195249d24 (patch) | |
| tree | b758e211707c9cbac24cf64020925989b7bf97d5 /include/linux | |
| parent | 5d0cb23f0a946c630e0de73ccf01fc3b1027920d (diff) | |
tegra: mce: add scf dda register interface
Add interface to access DDA control registers through NVG protocol,
which is used by the LA/PTSA driver.
Bug 1755290
JIRA: TMM-104
Change-Id: I3c76bfd65b34496289044fc29f66f553e620add3
Signed-off-by: Chetan Kumar <chetankumarn@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1640625
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tegra-mce.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/tegra-mce.h b/include/linux/tegra-mce.h index 4017b6e78..78c6ae88d 100644 --- a/include/linux/tegra-mce.h +++ b/include/linux/tegra-mce.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
| 3 | * | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
| 5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
| @@ -114,6 +114,8 @@ int tegra_mce_write_uncore_mca(mca_cmd_t cmd, u64 data, u32 *error); | |||
| 114 | int tegra_mce_read_uncore_perfmon(u32 req, u32 *data); | 114 | int tegra_mce_read_uncore_perfmon(u32 req, u32 *data); |
| 115 | int tegra_mce_write_uncore_perfmon(u32 req, u32 data); | 115 | int tegra_mce_write_uncore_perfmon(u32 req, u32 data); |
| 116 | int tegra_mce_enable_latic(void); | 116 | int tegra_mce_enable_latic(void); |
| 117 | int tegra_mce_write_dda_ctrl(u32 index, u64 value); | ||
| 118 | int tegra_mce_read_dda_ctrl(u32 index, u64 *value); | ||
| 117 | 119 | ||
| 118 | /* Tegra cache functions */ | 120 | /* Tegra cache functions */ |
| 119 | int tegra_flush_cache_all(void); | 121 | int tegra_flush_cache_all(void); |
