Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp70561lqp; Thu, 4 Apr 2024 07:22:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/92d/jLX5cVUkVqipystiCBGCnhTJcB3ImKundgBjAJB1dBJyNbAC9TZ9a6GPaXqHtndIXVAPxmwXNYc3ZNz3Eh7doDUlBmzyhVZo3g== X-Google-Smtp-Source: AGHT+IHX4mWt8FhOp+eglU1hkllMC686yugva9thPkpP3VhepTuklUqwKwb22oKgowsIw15pUWyg X-Received: by 2002:a05:6214:ca1:b0:699:c93:6752 with SMTP id s1-20020a0562140ca100b006990c936752mr3915973qvs.11.1712240549422; Thu, 04 Apr 2024 07:22:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712240549; cv=pass; d=google.com; s=arc-20160816; b=iYTkD5CvDqMJmitKOGa2l2NshV/62ks6AK5O8bU4QfrbeBiosletDGAY/vmrvziKg1 prCE2bfYpsSx8QSpyyUiNoEIAw151k62SZF5hZpbBhmQFhjG1stigblwz/61CvH+wKnr g/cGxQ4FnUTPcWojLrIRXHEokHL53LoF4+bpkzhzT/83yLLiHRdJEDZIA8P1XhHlmeBJ QfkLvXjKKaqX6mz8++GG9Hc6Fcnlrf9JUQPFuZ2seFN9ncLzgaOTgNcMbHTAjniVCwtG C30+hag8qevlj7Qc8E3P25NpBeuTympuo9LAlf1pM+b5tzBiH+helassbErZZ76wQmk4 TiqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zihzrXiZx48vPCobpVKchkAeX0slp34Xs3JCqJVId1Y=; fh=e3t+OYc1EUo7Oz+d4zrGftVdq9fJ4Abf0cAJqb7/Fs8=; b=upbUTN6s8/F1DmGFxEByx5DnIXE+KHMCsZRrnHAYSN7kd4iHV/ukxRdnxku/LV7v1w NcjAQi8bp+nVHUYcsv3c+XU69gZRLQIqucFsFX2Gphn9/W7JbZ0SHIJPeERaU0w9HvAG Ka5ZXr8eTMc7PwuFW4V2LyA+6oKaiia/MAl49SodsurMD4rSgOo/c+cU4WjB65CFLkmO D7/in80SVmx4vod2rQ1yfoJz2DjS61Qaug9Tdj+yqDySlUdp7aj3ZZuclkIPfHxUHabJ 97I8s2MXfJ1t+T+EB4rkQD6XtHT8p1rxF8oqSunGlgflTSkvGFLPpTOGtluFShwqBWqd 09jQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IHrV4L4j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-131589-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dy19-20020ad44e93000000b006993b28a2a1si102766qvb.2.2024.04.04.07.22.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 07:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131589-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IHrV4L4j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-131589-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131589-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E0B041C29817 for ; Thu, 4 Apr 2024 14:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D624912B153; Thu, 4 Apr 2024 14:18:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IHrV4L4j" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 E19C1129E66 for ; Thu, 4 Apr 2024 14:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712240293; cv=none; b=VwMmehCyKChOJMWxSw49fA3WDPkjeMxi70rXM2a6hGxGrFMUPT6KeFMSkc1R6aT7Tfzwmq3+qFb/4Jetn/1TBGlOqudX/zfv33nwEQmbrvQdVh4+6TR94Tfc59T/UgD5WB0Ecz47acdClxRTyyz8tAqTrvOasZeTYCIHDIFI0+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712240293; c=relaxed/simple; bh=UfiWHQntsDELmxpRPZhQhCJyp7xGl/T/JwBE4GvxKho=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Y43KV9XmWw0FdbfqJzmrCqxjWxtkgbo0AYi3oJgNg/hiGI4Q9hEs+aF88kw4LAMTlzzk/GHC+HDSBSwSr5N0/duqOeIZK0fTykIISxkfyzqS4imNJZoZBd5qNrCL9r3r4uHlRqLMiKH7JyI2GzGjZ/YQjVYEVMzglkFmo6Ha/Xw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IHrV4L4j; arc=none smtp.client-ip=198.175.65.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712240292; x=1743776292; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UfiWHQntsDELmxpRPZhQhCJyp7xGl/T/JwBE4GvxKho=; b=IHrV4L4jv7GlcORx6SkSXo+UPtPuARLtk20nUsrXJM+EhpdXonwD7oyu +ENM6iDDZXmMgHzhZHqeSmbH0eVhxCpxvdvNhQRlSS/b2OlfO5LrsY+p0 fcYUCNcBwgmAPfZphNGZ5u5pwb51VY+thTkZIOHkQkBO1m6H/mwSORR2I chr4p2EXGP2frx5wJk+dYLGcb1wKi1Qk2MRxcmM3JSc6dlUoUXOPNC1ah uvOQkW8F5fMIOJ3OX2nf1ceSUnhrF6g5WnhAJdFAmmB+Zn3LNqevXHsds sLkURT4h1qDg0g8AoUgiNaqpVWY4X37Mbtg2FhaXwAhWkAdkPxn+dUhm4 w==; X-CSE-ConnectionGUID: WDJTDwP9TaCJaQQ/eS9cQQ== X-CSE-MsgGUID: tRaMkDiFRfC2c38vtLCGyQ== X-IronPort-AV: E=McAfee;i="6600,9927,11034"; a="7632431" X-IronPort-AV: E=Sophos;i="6.07,179,1708416000"; d="scan'208";a="7632431" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2024 07:18:09 -0700 X-CSE-ConnectionGUID: PY3Ds2H5R7CHjzZfCzU4qg== X-CSE-MsgGUID: EuzSERffSGKMSmCLV2Rc4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,179,1708416000"; d="scan'208";a="23448360" Received: from kanliang-dev.jf.intel.com ([10.165.154.102]) by fmviesa004.fm.intel.com with ESMTP; 04 Apr 2024 07:18:08 -0700 From: kan.liang@linux.intel.com To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org Cc: ak@linux.intel.com, Zhenyu Wang , Kan Liang Subject: [PATCH 3/4] perf/x86/intel/uncore: Add LNL uncore iMC freerunning support Date: Thu, 4 Apr 2024 07:17:05 -0700 Message-Id: <20240404141706.1235531-4-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20240404141706.1235531-1-kan.liang@linux.intel.com> References: <20240404141706.1235531-1-kan.liang@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Zhenyu Wang LNL uncore imc freerunning counters keep same as previous HW. Signed-off-by: Zhenyu Wang Signed-off-by: Kan Liang --- arch/x86/events/intel/uncore_snb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/intel/uncore_snb.c b/arch/x86/events/intel/uncore_snb.c index d1605163f11e..4cab1bf57602 100644 --- a/arch/x86/events/intel/uncore_snb.c +++ b/arch/x86/events/intel/uncore_snb.c @@ -1824,6 +1824,7 @@ static struct intel_uncore_type *lnl_mmio_uncores[] = { &adl_uncore_imc, &lnl_uncore_hbo, &lnl_uncore_sncu, + &adl_uncore_imc_free_running, NULL }; -- 2.35.1