hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/memory/tegra/tegra210.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2015 NVIDIA CORPORATION. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #include <dt-bindings/memory/tegra210-mc.h>
....@@ -439,7 +436,7 @@
439436 .reg = 0x37c,
440437 .shift = 0,
441438 .mask = 0xff,
442
- .def = 0x39,
439
+ .def = 0x7a,
443440 },
444441 }, {
445442 .id = 0x4b,
....@@ -845,7 +842,7 @@
845842 },
846843 .la = {
847844 .reg = 0x3dc,
848
- .shift = 0,
845
+ .shift = 16,
849846 .mask = 0xff,
850847 .def = 0x80,
851848 },
....@@ -1076,7 +1073,7 @@
10761073 .num_groups = ARRAY_SIZE(tegra210_groups),
10771074 .supports_round_robin_arbitration = true,
10781075 .supports_request_limit = true,
1079
- .num_tlb_lines = 32,
1076
+ .num_tlb_lines = 48,
10801077 .num_asids = 128,
10811078 };
10821079
....@@ -1132,7 +1129,7 @@
11321129 .intmask = MC_INT_DECERR_MTS | MC_INT_SECERR_SEC | MC_INT_DECERR_VPR |
11331130 MC_INT_INVALID_APB_ASID_UPDATE | MC_INT_INVALID_SMMU_PAGE |
11341131 MC_INT_SECURITY_VIOLATION | MC_INT_DECERR_EMEM,
1135
- .reset_ops = &terga_mc_reset_ops_common,
1132
+ .reset_ops = &tegra_mc_reset_ops_common,
11361133 .resets = tegra210_mc_resets,
11371134 .num_resets = ARRAY_SIZE(tegra210_mc_resets),
11381135 };