Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf/cxlpmu: Fix typos in cxl_pmu.c comments and documentation

Fix several minor typo errors in comments:
- Remove duplicated word "a" in "a a VID / GroupID".
- Correct "Opcopdes" to "Opcodes" in CXL spec reference.
- Fix spelling of "implemnted" to "implemented".

Improves code readability and documentation consistency.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://lore.kernel.org/r/20250624194350.109790-4-alok.a.tiwari@oracle.com
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Alok Tiwari and committed by
Will Deacon
0259de63 3e870815

+3 -3
+3 -3
drivers/perf/cxl_pmu.c
··· 113 113 114 114 /* 115 115 * All CPMU counters are discoverable via the Event Capabilities Registers. 116 - * Each Event Capability register contains a a VID / GroupID. 116 + * Each Event Capability register contains a VID / GroupID. 117 117 * A counter may then count any combination (by summing) of events in 118 118 * that group which are in the Supported Events Bitmask. 119 119 * However, there are some complexities to the scheme. ··· 406 406 CXL_PMU_EVENT_CXL_ATTR(s2m_bisnp_curblk, CXL_PMU_GID_S2M_BISNP, BIT(4)), 407 407 CXL_PMU_EVENT_CXL_ATTR(s2m_bisnp_datblk, CXL_PMU_GID_S2M_BISNP, BIT(5)), 408 408 CXL_PMU_EVENT_CXL_ATTR(s2m_bisnp_invblk, CXL_PMU_GID_S2M_BISNP, BIT(6)), 409 - /* CXL rev 3.1 Table 3-50 S2M NDR Opcopdes */ 409 + /* CXL rev 3.1 Table 3-50 S2M NDR Opcodes */ 410 410 CXL_PMU_EVENT_CXL_ATTR(s2m_ndr_cmp, CXL_PMU_GID_S2M_NDR, BIT(0)), 411 411 CXL_PMU_EVENT_CXL_ATTR(s2m_ndr_cmps, CXL_PMU_GID_S2M_NDR, BIT(1)), 412 412 CXL_PMU_EVENT_CXL_ATTR(s2m_ndr_cmpe, CXL_PMU_GID_S2M_NDR, BIT(2)), ··· 627 627 hwc->state = 0; 628 628 629 629 /* 630 - * Currently only hdm filter control is implemnted, this code will 630 + * Currently only hdm filter control is implemented, this code will 631 631 * want generalizing when more filters are added. 632 632 */ 633 633 if (info->filter_hdm) {