summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSumit Gupta <sumitg@nvidia.com>2020-07-21 15:03:06 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2020-12-14 07:54:09 -0500
commitaf707d09befb567b124be1d440feadfa41149bc5 (patch)
tree195e4b564ccd240683312b445f670481f2dcc930 /include
parent4123a84abb4551e0da922c8412556e79b4e8e569 (diff)
platform: tegra: cbb: mask SError due to CBB error
Mask SError for illegal accesses from CCPLEX master. Interrupts will be generated for access from CCPLEX and error info will be printed within the interrupt handler instead of SError callback. Also, call BUG() to crash the system if illegal access is from CCPLEX master. For illegal accesses from other masters, interrupt is already getting generated instead of SError. Bug 3191922 Change-Id: Ie03f4f0f0ca58fb695a54183456861dd98931855 Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2118672 (cherry picked from commit ef8df45ba078e6d9ab2d648c4c122e38b600c77d) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2458251 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform/tegra/tegra_cbb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/platform/tegra/tegra_cbb.h b/include/linux/platform/tegra/tegra_cbb.h
index 690c99555..767c8ec71 100644
--- a/include/linux/platform/tegra/tegra_cbb.h
+++ b/include/linux/platform/tegra/tegra_cbb.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2020, 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,
@@ -158,6 +158,8 @@ struct tegra_cbb_noc_data {
158 char **tegra_cbb_master_id; 158 char **tegra_cbb_master_id;
159 bool is_ax2apb_bridge_connected; 159 bool is_ax2apb_bridge_connected;
160 bool is_clk_rst; 160 bool is_clk_rst;
161 bool erd_mask_inband_err;
162 u64 off_erd_err_config;
161 int (*is_cluster_probed)(void); 163 int (*is_cluster_probed)(void);
162 int (*is_clk_enabled)(void); 164 int (*is_clk_enabled)(void);
163 int (*tegra_noc_en_clk_rpm)(void); 165 int (*tegra_noc_en_clk_rpm)(void);