K 10 svn:author V 6 mhorne K 8 svn:date V 27 2021-11-15T15:23:13.752238Z K 7 svn:log V 641 hwpmc: initialize arm64 counter/interrupt state Performance counters and overflow interrupts are assumed to be disabled by default, but this is not guaranteed. Ensure we disable both during per-cpu initialization, before enabling the PMU. Otherwise, some systems (such as the Ampere eMAG) would experience an interrupt storm upon loading the hwpmc module. Reviewed by: br MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D32854 (cherry picked from commit b826cc3caf6abc6a5d1926bd478b464938d45697) Git Hash: c8a4404da737ea7e859287094de38953a84bdd68 Git Author: mhorne@FreeBSD.org END