1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/perf/marvel 4 $id: http://devicetree.org/schemas/perf/marvell-cn10k-tad.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Marvell CN10K LLC-TAD performance monit 7 title: Marvell CN10K LLC-TAD performance monitor 8 8 9 maintainers: 9 maintainers: 10 - Bhaskara Budiredla <bbudiredla@marvell.com> 10 - Bhaskara Budiredla <bbudiredla@marvell.com> 11 11 12 description: | 12 description: | 13 The Tag-and-Data units (TADs) maintain coher 13 The Tag-and-Data units (TADs) maintain coherence and contain CN10K 14 shared on-chip last level cache (LLC). The t 14 shared on-chip last level cache (LLC). The tad pmu measures the 15 performance of last-level cache. Each tad pm 15 performance of last-level cache. Each tad pmu supports up to eight 16 counters. 16 counters. 17 17 18 The DT setup comprises of number of tad bloc 18 The DT setup comprises of number of tad blocks, the sizes of pmu 19 regions, tad blocks and overall base address 19 regions, tad blocks and overall base address of the HW. 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 const: marvell,cn10k-tad-pmu 23 const: marvell,cn10k-tad-pmu 24 24 25 reg: 25 reg: 26 maxItems: 1 26 maxItems: 1 27 27 28 marvell,tad-cnt: 28 marvell,tad-cnt: 29 description: specifies the number of tads 29 description: specifies the number of tads on the soc 30 $ref: /schemas/types.yaml#/definitions/uin 30 $ref: /schemas/types.yaml#/definitions/uint32 31 31 32 marvell,tad-page-size: 32 marvell,tad-page-size: 33 description: specifies the size of each ta 33 description: specifies the size of each tad page 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32 35 35 36 marvell,tad-pmu-page-size: 36 marvell,tad-pmu-page-size: 37 description: specifies the size of page th 37 description: specifies the size of page that the pmu uses 38 $ref: /schemas/types.yaml#/definitions/uin 38 $ref: /schemas/types.yaml#/definitions/uint32 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - marvell,tad-cnt 43 - marvell,tad-cnt 44 - marvell,tad-page-size 44 - marvell,tad-page-size 45 - marvell,tad-pmu-page-size 45 - marvell,tad-pmu-page-size 46 46 47 additionalProperties: false 47 additionalProperties: false 48 48 49 examples: 49 examples: 50 - | 50 - | 51 51 52 tad { 52 tad { 53 #address-cells = <2>; 53 #address-cells = <2>; 54 #size-cells = <2>; 54 #size-cells = <2>; 55 55 56 tad_pmu@80000000 { 56 tad_pmu@80000000 { 57 compatible = "marvell,cn10k-tad-pm 57 compatible = "marvell,cn10k-tad-pmu"; 58 reg = <0x87e2 0x80000000 0x0 0x100 58 reg = <0x87e2 0x80000000 0x0 0x1000>; 59 marvell,tad-cnt = <1>; 59 marvell,tad-cnt = <1>; 60 marvell,tad-page-size = <0x1000>; 60 marvell,tad-page-size = <0x1000>; 61 marvell,tad-pmu-page-size = <0x100 61 marvell,tad-pmu-page-size = <0x1000>; 62 }; 62 }; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.