From nobody Fri Jun 09 19:57:58 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QdBhR1xvRz4cKBY; Fri, 9 Jun 2023 19:57:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QdBhR0DMLz4J3v; Fri, 9 Jun 2023 19:57:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686340679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W3IOK5rY7oODbW+IFHORQdaVcUjYg8CedtYxZa6I3UQ=; b=T7NRXzU0dj9fvNlfIUqtdGJbqoc+hxFRwWUrGhFAMU6wq8VRQOIEr6hgIpisld2YenIzp2 O+mYJuF7vpzBJ1B1Mu6Pi8a+vgCjDsED/MLULPtSpBk4W0alBpe0WjcfLxc/r5nHXOED4P rMLFgVC4brEzWhWCfFl4uKGyW648NfDhFlG8b2W4FDAQ8QZqybpMU8C2RjtkTU5jaGRW9G JmkSzyjja4+cAoTgmKIqlVIuj4zEAKidSRuDyYe3+PaBMJnySM7lrmWvpgDN2fnMpVqsfO 7vKQEwH2Bt8iIQ8MbRtCT7KzH2xKOKetEg4MWsBEhS/u/ZBUooJHPEeTSfKa9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686340679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W3IOK5rY7oODbW+IFHORQdaVcUjYg8CedtYxZa6I3UQ=; b=qk3xMU2Rpxz9ffZBiMCBvETkp+5YiRRWIjSCkylwg9di8C76fPCIP/QH2LYdAQiN7eLhO8 j8ZFD0dlI2A6LTRd5PYCbd86Mi/dN/plEmoHW6M/PRK0R38TkYlt+MyCUuP4T7v6elrjvb hqtkXbh+Pue016lVMfXWvYupCWUDanAL7FRTEXFOa4UAlKa2s5tDXut/E6cTQTg46hh3k3 QXZuZkXzRfdKt/be3sw5eObnLkY4DsEA7digrd3NamwZ4zzpVRZaGN2Rx43wcjq5zjwXvz DohspNJ2QxQ07j2pYVk0YcOvfgc0LroAnlX7TunbAWwnHmk4R+Vm5oD50XoYhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686340679; a=rsa-sha256; cv=none; b=PAnxYrrRvjzzIo6w/Yh02fm/MK/u4Dx5khdz6dkFqheZ9USlYJkJQ0QlMDga3WZjqTO2pA 0Kra5mDdAslcMRbgkoAoOabsqiyUJr8h9a7I7+riOx5DE9URQLAnUC3PZwy4fCNGIDiaVa 8UIuF297vbBbhEbMvIAN7HihzPsdrKYRRoIHVCT4aC5DQbaY+Qwedam5RtDqiU8Y3Xp9mx Jy2oQVtlP8QSTlvWMoVfZS3r66u35lYkNxlc8vqW2y84xUCvPglwRcDxfo6kcGK5AjEQXS rMvd9Cvdc45Bh2DfagKSXiBidADNFI9X88++e6fgoUzR/tl28UCxBgNOuSkAYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QdBhQ6Ddgzndx; Fri, 9 Jun 2023 19:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 359JvwAK071979; Fri, 9 Jun 2023 19:57:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359JvwKI071978; Fri, 9 Jun 2023 19:57:58 GMT (envelope-from git) Date: Fri, 9 Jun 2023 19:57:58 GMT Message-Id: <202306091957.359JvwKI071978@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 36d68e55b2f7 - stable/13 - hwpmc: drop vestigial IAP event definitions List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 36d68e55b2f79983ebdc38fdb8445fa43887cb1f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=36d68e55b2f79983ebdc38fdb8445fa43887cb1f commit 36d68e55b2f79983ebdc38fdb8445fa43887cb1f Author: Mitchell Horne AuthorDate: 2023-05-05 21:55:54 +0000 Commit: Mitchell Horne 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) \