opnsense-src/sys/dev/hwpmc
Jessica Clarke 28ff96115d hwpmc: Move DMC-620 and CMN-600 events to allow for full Armv8.0 space
The documented encoding space for Armv8 was only 8 bits, but v8.0 has
always had a 10-bit encoding space for its events, and downstream in
CheriBSD we relied on this full space. This worked until the DMC-620 and
CMN-600 events were added, trampling on what should have been reserved
for Armv8.0 right from the start. Thus, renumber the DMC-620 and CMN-600
events to not do this before they make it into a stable release,
allowing for the full Armv8.0 encoding space to be used without having
to split it across two different regions.

Note that Armv8.1 grows the encoding space to 16 bits, which doesn't fit
well with our current approach. No attempt is made to allow for these
events in this change, only the ones that have always been valid (according to
the hardware) from the first commit of Armv8 support to hwpmc.

Reviewed by:	arichardson, tsoome
Differential Revision:	https://reviews.freebsd.org/D36925
2022-10-10 23:30:07 +01:00
..
hwpmc_amd.c hwpmc: Fix amd/arm64/armv7/uncore sampling overflow race 2022-01-10 14:30:05 +00:00
hwpmc_amd.h hwpmc : fix AMD perf counter MSR access 2019-11-07 19:54:24 +00:00
hwpmc_arm.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_arm64.c arm64: Fix hwpmc module for OPT_ACPI isn't selected 2022-08-31 09:25:39 +02:00
hwpmc_arm64.h arm64: Fix finding the pmc event ID 2021-04-08 07:52:21 +00:00
hwpmc_arm64_md.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_armv7.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_armv7.h
hwpmc_cmn600.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_cmn600.h Allocate event for DMC-620 and CMN-600 controllers PMU. Add events supported by DMC-620 and CMN-600 controllers PMU. 2022-06-26 21:52:26 +03:00
hwpmc_core.c hwpmc: Avoid touching MSR_DEBUGCTLMSR inside VMs. 2022-09-01 13:23:11 -04:00
hwpmc_core.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-06-02 13:08:55 -04:00
hwpmc_dmc620.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_dmc620.h pmc: unhide struct pmc_md_dmc620_pmu_op_pmcallocate 2022-06-27 00:37:23 +00:00
hwpmc_e500.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_intel.c hwpmc: Add IDs for few more Intel Atom CPUs. 2022-06-02 22:55:42 -04:00
hwpmc_logging.c hwpmc: purge EOL release compatibility 2022-09-08 16:17:24 +00:00
hwpmc_mod.c Fix unused variable warnings in hwpmc_mod.c 2022-07-21 21:05:51 +02:00
hwpmc_mpc7xxx.c ppc hwpmc: Remove unused variables. 2022-04-12 14:58:58 -07:00
hwpmc_power8.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_powerpc.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-11 14:30:32 +01:00
hwpmc_powerpc.h hwpmc: Make powerpc memory allocation alike to x86. 2022-06-01 14:53:04 -04:00
hwpmc_ppc970.c ppc hwpmc: Remove unused variables. 2022-04-12 14:58:58 -07:00
hwpmc_riscv.h
hwpmc_soft.c AST: rework 2022-08-02 21:11:09 +03: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: purge EOL release compatibility 2022-09-08 16:17:24 +00:00
hwpmc_uncore.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-06-02 13:08:55 -04:00
hwpmc_x86.c hwpmc: purge EOL release compatibility 2022-09-08 16:17:24 +00:00
pmc_events.h hwpmc: Move DMC-620 and CMN-600 events to allow for full Armv8.0 space 2022-10-10 23:30:07 +01:00
pmu_dmc620.c pmu_dmc620: Remove unused devclass from DRIVER_MODULE. 2022-08-23 09:36:12 -07:00
pmu_dmc620_reg.h Allocate event for DMC-620 and CMN-600 controllers PMU. Add events supported by DMC-620 and CMN-600 controllers PMU. 2022-06-26 21:52:26 +03:00