Home
last modified time | relevance | path

Searched +full:tad +full:- +full:pmu +full:- +full:page +full:- +full:size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/perf/
Dmarvell-cn10k-tad.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/perf/marvell-cn10k-tad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell CN10K LLC-TAD performance monitor
10 - Bhaskara Budiredla <bbudiredla@marvell.com>
13 The Tag-and-Data units (TADs) maintain coherence and contain CN10K
14 shared on-chip last level cache (LLC). The tad pmu measures the
15 performance of last-level cache. Each tad pmu supports up to eight
18 The DT setup comprises of number of tad blocks, the sizes of pmu
[all …]
/linux-6.12.1/drivers/perf/
Dmarvell_cn10k_tad_pmu.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Marvell CN10K LLC-TAD perf driver
24 #define to_tad_pmu(p) (container_of(p, struct tad_pmu, pmu))
31 struct pmu pmu; member
44 struct tad_pmu *tad_pmu = to_tad_pmu(event->pmu); in tad_pmu_event_counter_read()
45 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_read()
46 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_read()
51 prev = local64_read(&hwc->prev_count); in tad_pmu_event_counter_read()
52 for (i = 0, new = 0; i < tad_pmu->region_cnt; i++) in tad_pmu_event_counter_read()
53 new += readq(tad_pmu->regions[i].base + in tad_pmu_event_counter_read()
[all …]