From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFB652F39 for ; Tue, 7 Feb 2023 13:11:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C699C433D2; Tue, 7 Feb 2023 13:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1675775477; bh=dHeEzQdsDYYXTRjY97n0tBZjFexV7OWUjTAiMwD/jTY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dCiEyH/QfltTfvCNNnagr/cySXsyKnYNn/DEPvQFtCYsAHQHG9MEAM8NKdkwOOb9x fSOylT2s/vzqyg9huD1OC6I8XFD9drta5vzQMySJeoSQSv5Qr/DwOir5zhEH6KjhWG w92rPPXH/saGz77PjLvd94f/Oj7fuDJCDQoFxwQw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Kan Liang , Ingo Molnar , Sasha Levin Subject: [PATCH 5.15 054/120] perf/x86/intel: Add Emerald Rapids Date: Tue, 7 Feb 2023 13:57:05 +0100 Message-Id: <20230207125621.068150246@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207125618.699726054@linuxfoundation.org> References: <20230207125618.699726054@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kan Liang [ Upstream commit 6795e558e9cc6123c24e2100a2ebe88e58a792bc ] >>From core PMU's perspective, Emerald Rapids is the same as the Sapphire Rapids. The only difference is the event list, which will be supported in the perf tool later. Signed-off-by: Kan Liang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20230106160449.3566477-1-kan.liang@linux.intel.com Signed-off-by: Sasha Levin --- arch/x86/events/intel/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index f36fda2672e0..b70e1522a27a 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -6109,6 +6109,7 @@ __init int intel_pmu_init(void) break; case INTEL_FAM6_SAPPHIRERAPIDS_X: + case INTEL_FAM6_EMERALDRAPIDS_X: pmem = true; x86_pmu.late_ack = true; memcpy(hw_cache_event_ids, spr_hw_cache_event_ids, sizeof(hw_cache_event_ids)); -- 2.39.0