diff options
| author | Leandro Lupori <luporl@FreeBSD.org> | 2020-11-05 16:36:39 +0000 |
|---|---|---|
| committer | Leandro Lupori <luporl@FreeBSD.org> | 2020-11-05 16:36:39 +0000 |
| commit | 68dd71825601b91365ff0c01e5ea064fe25b51a7 (patch) | |
| tree | 8af262abb23902ae3094d153e902753fcb40936e /sys/modules/hwpmc/Makefile | |
| parent | 16b971ed6dcef9a0b0903a686ed882d506708ee7 (diff) | |
[PowerPC] hwpmc: add support for POWER8/9 PMCs
This change adds support for POWER8 and POWER9 PMCs (bare metal and
pseries).
All PowerISA 2.07B non-random events are supported.
Implementation was based on that of PPC970.
Reviewed by: jhibbits
Sponsored by: Eldorado Research Institute (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D26110
Notes
svn path=/head/; revision=367390
Diffstat (limited to 'sys/modules/hwpmc/Makefile')
| -rw-r--r-- | sys/modules/hwpmc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index c4500fb4a174..7a0244f36106 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -32,7 +32,8 @@ SRCS+= hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c .endif .if ${MACHINE_CPUARCH} == "powerpc" -SRCS+= hwpmc_powerpc.c hwpmc_e500.c hwpmc_mpc7xxx.c hwpmc_ppc970.c +SRCS+= hwpmc_powerpc.c hwpmc_e500.c hwpmc_mpc7xxx.c hwpmc_ppc970.c \ + hwpmc_power8.c .endif .include <bsd.kmod.mk> |
