Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1114363lqh; Sun, 5 May 2024 17:40:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOXU01D2Vepbe1PVNw7NEYxWhtuBc1RhyLlYq4ai3Sun0ulFMDo2TI1h/zknFwjannzAYl9N+1n5JjVplxGgzJ4vvWpsQAAgrcoG48zA== X-Google-Smtp-Source: AGHT+IEkSse+3rB6MnFV17HgF29dcb+oNpd3FdxIngc+ciZupsw2mTzHu1wejTmwFPUWmoMY7qz/ X-Received: by 2002:a05:6a20:2d0c:b0:1ac:efbd:dc46 with SMTP id g12-20020a056a202d0c00b001acefbddc46mr9251766pzl.2.1714956042874; Sun, 05 May 2024 17:40:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714956042; cv=pass; d=google.com; s=arc-20160816; b=cVPGIW1lX1UhEjm5yJQUE7T15CU4kRyG7pHa+t5SVIDvNbUilONqs97wt46Il/obKt G6j/EvtlYqx9aLULdlV3jT+hdMuEV+yvaOq9JAFB8S30ISwBDuIL96m9N7UoHEy3CIZ5 JlaAKfUNSvsrbWmWB7FIUVoda0i5kOrCeIrhv//b/HvfWSQukt0sYyHKG5XUTIuMiLpz ykoVpMc2R2fWvEh7xnOzH3whdk/QiRQCUTLEv3DsDXnbaPs6RdvmBszt68sGvLg9RN44 CogQHcJOGMMKkO62IgnsY3Wq5wFTdTjH+gIjS5apLuijVxvm3bSRIRCaWSqD+cbtThqX /RAA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=e0tx6Bela2CqZ7OGR87TCeW+BT6kGw+m9pXjhCP7LkU=; fh=NJqA/QiNcktr3cRrGqBaNrfzpv+YiONQKP95vkD04Go=; b=rYgTABINmJW82jETUR0gqQGszNtZSDdqm1sdoMHbNnl+R3BmU6V/h9SWq0WZtNNY1L sJ1+G1bj2nAk5DrTOskH8XehUdiJTxdelaldzXC5X38RQ7/2gEAwahxTnRvjtyqSd/U5 UbaLZlJSLyo100a3z7T25KyyzuOXNuObz1cmxwhjV81su0FJSAlQpuiC+C0r0NPNNaMr RX95hpHw03QMCXQAF+dMddv934lO3nfYVa8Z0EJlbksKcGlEx/06GajcjPomPo4yqX3O 5usNFVynk69pWjqckuQ177xPX/+Gl5dpTBCdVrNlIwFOP8uYrZBW1rzTP17qEGP6fiX0 i/Mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=qlYKp4u+; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-169210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mu13-20020a17090b388d00b002b2a8cdd39fsi7822305pjb.92.2024.05.05.17.40.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 17:40:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=qlYKp4u+; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-169210-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169210-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7F2E0282139 for ; Mon, 6 May 2024 00:40:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9530E63CB; Mon, 6 May 2024 00:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="qlYKp4u+" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 C3C921FB5; Mon, 6 May 2024 00:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714956034; cv=none; b=YlZhxPkHHfY+OIQSXhHW3xz97920etkGvc7bSxogKqDb3TAaVt1r5S6KQzQiz1pARTCAHBYYA3ZfnqKCKDSLd2NlsQCYLnUvyVY/eStjM2HzZ+ubW5Okx1yYO8ZqI0OUeg3wL2yWDnDdKdV4fY9N6cH2ONKRgustimxMb94pA90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714956034; c=relaxed/simple; bh=Zm6ll3FEAXahkq1OIN9xIIhtasqCrGYzDDOCbIaZh7A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bgKYGT6mfhDNZqqCvaJTbTyiBkXkRcY0tpBVOdCnIgZwpFB/z11ZWDUicb93v5fb99pZ0aYhbDUgzRLG+2HOazEJ7B2x3nH/ER8buR+Fn3NERVGtTlG37dkyg/2Zg0kUxt3DzBklMpy3ktAl1wdjm851QoPuCzvAa35HsB9Plqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=qlYKp4u+; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=e0tx6Bela2CqZ7OGR87TCeW+BT6kGw+m9pXjhCP7LkU=; b=qlYKp4u+sBvV8taZ 7AArr51PjRktN7xJ8xP9WpQ2kp2P+tApXRWgOJP8EIaNp3XHBIf2S6jDQTVu9muUQl/F99NIPl6HP 79ipq37FIamYPQxR2/QhxOlHa5YLh8g0Z7fppXjHBfQ1CpqreboZ+nNOqR/ZBqNdyUQMpcq+rGO6w sfjesmdZ/G3vDzAcs36jGbnkPDveEgwYBqaTSH3WhmEsi3tHRPhBi5zXKazfop0EbSFZpZ+jXk+Vb 20EImGfeS1Y3zUAaqdPReSQwu5LRv5+jLy6d5ds+8u/6QcETNYHUHALmbEXMXKYVFwKHPAKop4IJ0 X6Y7pA1lRfE4+GS5JQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3mOt-004pfV-0c; Mon, 06 May 2024 00:40:15 +0000 From: linux@treblig.org To: jolsa@kernel.org, peterz@infradead.org Cc: linux-perf-users@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] perf/x86/cstate: Remove unused struct 'perf_cstate_msr' Date: Mon, 6 May 2024 01:40:09 +0100 Message-ID: <20240506004009.770451-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 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: "Dr. David Alan Gilbert" This looks like it's unused since Commit 8f2a28c5859b ("perf/x86/cstate: Use new probe function") Signed-off-by: Dr. David Alan Gilbert --- arch/x86/events/intel/cstate.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c index 326c8cd5aa2d2..dcf3f152a2a64 100644 --- a/arch/x86/events/intel/cstate.c +++ b/arch/x86/events/intel/cstate.c @@ -143,12 +143,6 @@ struct cstate_model { #define SLM_PKG_C6_USE_C7_MSR (1UL << 0) #define KNL_CORE_C6_MSR (1UL << 1) -struct perf_cstate_msr { - u64 msr; - struct perf_pmu_events_attr *attr; -}; - - /* cstate_core PMU */ static struct pmu cstate_core_pmu; static bool has_cstate_core; -- 2.45.0