git: 36d68e55b2f7 - stable/13 - hwpmc: drop vestigial IAP event definitions

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 19:57:58 UTC
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=36d68e55b2f79983ebdc38fdb8445fa43887cb1f

commit 36d68e55b2f79983ebdc38fdb8445fa43887cb1f
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-05-05 21:55:54 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-06-09 18:14:58 +0000

    hwpmc: drop vestigial IAP event definitions
    
    These are maintained elsewhere. No functional change.
    
    Reviewed by:    jkoshy
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D39900
    
    (cherry picked from commit 1be8ef26794dcf93e2f4851474808dc3b34dbcbd)
---
 sys/dev/hwpmc/pmc_events.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/sys/dev/hwpmc/pmc_events.h b/sys/dev/hwpmc/pmc_events.h
index 6a727c6e7f25..355c206ed610 100644
--- a/sys/dev/hwpmc/pmc_events.h
+++ b/sys/dev/hwpmc/pmc_events.h
@@ -204,22 +204,6 @@ __PMC_EV_ALIAS("instruction-retired",	IAF_INSTR_RETIRED_ANY)		\
 __PMC_EV_ALIAS("unhalted-core-cycles",	IAF_CPU_CLK_UNHALTED_CORE)	\
 __PMC_EV_ALIAS("unhalted-reference-cycles", IAF_CPU_CLK_UNHALTED_REF)
 
-
-#define	PMC_EV_IAP_FIRST	PMC_EV_IAP_ARCH_BR_INS_RET
-#define	PMC_EV_IAP_LAST		PMC_EV_IAP_EVENT_FDH_40H
-
-/*
- * Map "architectural" event names to event ids.
- */
-#define	__PMC_EV_ALIAS_INTEL_ARCHITECTURAL()				\
-__PMC_EV_ALIAS("branch-instruction-retired",	IAP_ARCH_BR_INS_RET)	\
-__PMC_EV_ALIAS("branch-misses-retired",		IAP_ARCH_BR_MIS_RET)	\
-__PMC_EV_ALIAS("instruction-retired",		IAP_ARCH_INS_RET)	\
-__PMC_EV_ALIAS("llc-misses",			IAP_ARCH_LLC_MIS)	\
-__PMC_EV_ALIAS("llc-reference",			IAP_ARCH_LLC_REF)	\
-__PMC_EV_ALIAS("unhalted-reference-cycles",	IAP_ARCH_UNH_REF_CYC)	\
-__PMC_EV_ALIAS("unhalted-core-cycles",		IAP_ARCH_UNH_COR_CYC)
-
 #define        __PMC_EV_UCP()                          \
 	__PMC_EV(UCP, EVENT_0CH_04H_E)					   \
 	__PMC_EV(UCP, EVENT_0CH_04H_F)					   \