freebsd-dev/sys/dev/hwpmc
Mitchell Horne b826cc3caf 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
2021-11-08 15:33:25 -04:00
..
hwpmc_amd.c hwpmc: don't validate capabilities in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_amd.h
hwpmc_arm64_md.c
hwpmc_arm64.c hwpmc: initialize arm64 counter/interrupt state 2021-11-08 15:33:25 -04:00
hwpmc_arm64.h arm64: Fix finding the pmc event ID 2021-04-08 07:52:21 +00:00
hwpmc_arm.c
hwpmc_armv7.c hwpmc: don't validate capabilities in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_armv7.h
hwpmc_beri.c
hwpmc_beri.h
hwpmc_core.c hwpmc: don't validate capabilities in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_core.h
hwpmc_e500.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_intel.c hwpmc_intel: assert for correct nclasses value 2021-08-04 15:23:22 -03:00
hwpmc_logging.c Update a sysctl name to nbuffers_pcpu in hwpmc.4 and pmcstat.c 2021-08-29 21:24:50 +02:00
hwpmc_mips24k.c
hwpmc_mips74k.c
hwpmc_mips.c
hwpmc_mod.c hwpmc: mostly clean up cc --analyze 2021-07-15 15:15:55 +00:00
hwpmc_mpc7xxx.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_octeon.c
hwpmc_power8.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_powerpc.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_powerpc.h hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_ppc970.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_riscv.h
hwpmc_soft.c hwpmc: mostly clean up cc --analyze 2021-07-15 15:15:55 +00:00
hwpmc_soft.h
hwpmc_tsc.c hwpmc: don't validate capabilities in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_tsc.h
hwpmc_uncore.c hwpmc: don't validate capabilities in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_uncore.h
hwpmc_x86.c Annotate amd64 stack unwinders with __nomemorysanitize 2021-07-23 10:47:13 -04:00
pmc_events.h libpmc: fix the 'cycles' event alias on x86 2021-09-30 11:15:26 -03:00