From patchwork Tue Sep 24 09:24:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1988825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XCZFt1KD7z1xst for ; Tue, 24 Sep 2024 19:25:06 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1st1mx-0006A1-A8; Tue, 24 Sep 2024 09:24:55 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1st1mv-00069m-Po for kernel-team@lists.ubuntu.com; Tue, 24 Sep 2024 09:24:53 +0000 Received: from localhost.localdomain (unknown [222.129.37.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 7EC3E3F776 for ; Tue, 24 Sep 2024 09:24:52 +0000 (UTC) From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][O][PATCH 0/5] uncore: Add ARL and LNL support on 6.11 Date: Tue, 24 Sep 2024 17:24:41 +0800 Message-ID: <20240924092446.26884-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2081810 [Impact] perf/uncore is not supported on Oracular and OEM-6.11 kernel. [Fix] Add LNL and ARL support, the commits are just landed in upstream. [Test] Tested on hardware, the sysfs show: On ARL: $ cat /sys/devices/uncore_*/type 30 31 16 26 27 17 18 19 20 21 22 23 24 25 34 28 29 32 33 36 37 38 39 35 On LNL: $ cat /sys/devices/uncore_*/type 21 22 17 18 19 20 25 26 23 24 28 29 27 [Where problems could occur] It may break uncore support on LNL and ARL. Kan Liang (3): perf/x86/intel/uncore: Add Arrow Lake support perf/x86/intel/uncore: Factor out common MMIO init and ops functions perf/x86/intel/uncore: Add Lunar Lake support Zhenyu Wang (2): perf/x86/intel/uncore: Add LNL uncore iMC freerunning support perf/x86/intel/uncore: Use D0:F0 as a default device arch/x86/events/intel/uncore.c | 9 ++ arch/x86/events/intel/uncore.h | 2 + arch/x86/events/intel/uncore_snb.c | 185 ++++++++++++++++++++++++++--- 3 files changed, 179 insertions(+), 17 deletions(-)