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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fix from Will Deacon:

- Fix event counting regression in Arm CMN PMU driver due to broken
optimisation

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
Partially revert "perf/arm-cmn: Optimise DTC counter accesses"

+6 -1
+6 -1
drivers/perf/arm-cmn.c
··· 1576 1576 hw->dn++; 1577 1577 continue; 1578 1578 } 1579 - hw->dtcs_used |= arm_cmn_node_to_xp(cmn, dn)->dtc; 1580 1579 hw->num_dns++; 1581 1580 if (bynodeid) 1582 1581 break; ··· 1588 1589 nodeid, nid.x, nid.y, nid.port, nid.dev, type); 1589 1590 return -EINVAL; 1590 1591 } 1592 + /* 1593 + * Keep assuming non-cycles events count in all DTC domains; turns out 1594 + * it's hard to make a worthwhile optimisation around this, short of 1595 + * going all-in with domain-local counter allocation as well. 1596 + */ 1597 + hw->dtcs_used = (1U << cmn->num_dtcs) - 1; 1591 1598 1592 1599 return arm_cmn_validate_group(cmn, event); 1593 1600 }