]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(plat/tc): enable MPAM functionality of L3 DSU cache
authorDavidson K <davidson.kumaresan@arm.com>
Fri, 13 Jan 2023 08:32:13 +0000 (14:02 +0530)
committerdavidson kumaresan <davidson.kumaresan@arm.com>
Fri, 27 Jan 2023 07:01:02 +0000 (08:01 +0100)
The L3 cache in the DSU supports the Memory System Resources
Partitioning and Monitoring (MPAM). The MPAM specific registers in the
DSU are accessed through utility bus of DSU that are memory mapped from
0x1_0000_1000.

Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I2798181d599228e96dd4c0043a2ccd94668c7e20

fdts/tc.dts

index 192f407c3284f305bddd24efdce0f3a727ee3b19..c10b7f8014bffd3542981fb9170f1585dae5d0c4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2023, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
                };
        };
 
+       /*
+        * L3 cache in the DSU is the Memory System Component (MSC)
+        * The MPAM registers are accessed through utility bus in the DSU
+        */
+       msc0 {
+               compatible = "arm,mpam-msc";
+               reg = <0x1 0x00010000 0x0 0x2000>;
+       };
+
        ete0 {
                compatible = "arm,embedded-trace-extension";
                cpu = <&CPU0>;