Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp334070lqo; Fri, 10 May 2024 00:54:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6RxKRR5NP2HksMjgEPCs4dlCysIpX9jMWuBjngrBfccYzPgBw1t+fDjZHqijWKHGS1XjqjnaDlyT0GZWzc/Ke47f39/DLcZb5hi/eEA== X-Google-Smtp-Source: AGHT+IFZ5oeoUhOwWOYBf8ea3GORFANTOzbOqEjB/YXP5oMKqfzSzH3+VXpXNMrDIUrfNW1EFWXQ X-Received: by 2002:a05:6830:1d6f:b0:6f0:3e2e:c308 with SMTP id 46e09a7af769-6f0e92d1a7dmr1920721a34.35.1715327690675; Fri, 10 May 2024 00:54:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715327690; cv=pass; d=google.com; s=arc-20160816; b=G3uDQ2szZVZW3X1MArAURdJ+C6Bb00vtOIIrKN9td0LkDc2m4MPPuCAmGLSyllXr+Z UToaWGjFh1IS/lqlM4ffkhjUJRmdcXVjygqZ2Ja2RjdzFQ/x994UyAzfbmKj51P/jDut zQE5khWnAQRe0wpr0spyXwg0zE5WBdae/0fP5Ktzq8ezlPwhR8hG6l+XzxaOQ+QO42eA 6OM/wc6xwuTS3B7yEriKHdm9jn30x1WFw/ut9NKaLpIQp8PgDmiNfycxKw5HnZxZZ2/m Thw1XQZiTb9QFP/AzVtzcXg9yBFRi1uMlDa4TAp2rVg7eO45iiWb4Aa7IEga8VMw57cL O8WA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=GoS44p5Zu/Cx1SabxNiVFz3l/boo5lVN7/b7TKg1gRA=; fh=a1e7h6DQfVkqTeRWNETgaaA4XAnh1TVYucuCLQZtEuQ=; b=EbZ7JMCMZ3VJGN4sWrD/I6qvaZuA/Xabd95JGxXRd6h89XgqxU0oKqK7v/0XoA+hJb YLdZ0ZiVk8lpw/giY0ZYOTzCpAdnWzpqybVBms9HCBAmo1VPnvi/GtyLjuSEwO7mUrZF fiJKpx9OIjS36CvHFWp1IqMNp/uqqOrLJ19LMZxYzq+eFgflpU3n9WjMxGKy6HxEcyyR FxJGFQa0YvJhVIn9c0Tg0SrspTBmnLJsHoA7y7GDhgp4KfnsA2Amh20+RNHBRQvSPf32 7UqILD3jWPlkPgWb1LCyIle5ouOVIQkfsrMDWbaef+3rKhR7SyLGqB8Wvl6+O5uPspQx nTPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4Q5jLkSW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=WiDYPmDe; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175417-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341180e366si3087230a12.582.2024.05.10.00.54.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 00:54:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4Q5jLkSW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=WiDYPmDe; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175417-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7B8DAB216AE for ; Fri, 10 May 2024 07:54:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2DB915FA62; Fri, 10 May 2024 07:54:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4Q5jLkSW"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="WiDYPmDe" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 8AD3215ECFA; Fri, 10 May 2024 07:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715327670; cv=none; b=IU24BXgOQjc5PAsX0kTeN1Ka9SpDrLNTVtfjOGZI0X6Ak/6iir/ZKJSDkIFMYjCRO29hi/7b5D6k+WrzgLKdTfxY4nN+MfjwYCORtMBpzO1aOSvJs86/jD3z3i5LmpzpbBxV7zv3uVTM2Tur2UCu9qaVs+9r8BPRCrZeXECtofE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715327670; c=relaxed/simple; bh=vEC3kcI1ew7rGVRSQhXH7orLT4WGgL0RwJq9L82V8n0=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=sqaX5p9g6+kue3MoNOhy7tEAFi7113r2K9dc6rv1P1yQOUoqz0lMW0LhzMygRTjC/SB6r3uWqEbBF+IWmUmFxFS3EwsrlsZ31fct8SnoCcQxQayTCyh9F2FXKgrfw6FEkDsnBhYVz4R8uGzvW83iW2EdxFWQwB2jd5mKBW3l2NU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=4Q5jLkSW; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=WiDYPmDe; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 10 May 2024 07:54:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715327667; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GoS44p5Zu/Cx1SabxNiVFz3l/boo5lVN7/b7TKg1gRA=; b=4Q5jLkSW4TUhyRv22qaIL2KglvxHAegv6yo2xerd4l69NA9HMwPSqTlKYlSNOvE0gCGBCW IkNaLM4yLc4LhTJdsHm72ZCRVusn0C85xq97nxterCdexyoRTzOxLNwBWxAVToy3hvKbf3 NMrv7PIGJSL3PGPUq2ZYD15E4BAKlc7SYB33Jninj02iRjoB7owMhx8BJAtVwqXLZqHsno VFwLgKoIXTZFcSxYerk7N3c+skyxnA/ibWQtH4BfIBKM0DLcKCxcUYtPwro9l/CIsg9udM qzlLtNO0uDIbJXtALLIIVh+cjK3Urv7KEvnpj2N8Pp7YmxHxceWePCfdnjHGig== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715327667; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GoS44p5Zu/Cx1SabxNiVFz3l/boo5lVN7/b7TKg1gRA=; b=WiDYPmDeMlrhcT3qx+ivYuhxFcgMs6jOxn/isrSCKzJ4K+465znVYlkh5acYMtk/JBxuGn +zxioApegAkodODg== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf/x86/cstate: Remove unused 'struct perf_cstate_msr' Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Peter Zijlstra , Arnaldo Carvalho de Melo , Namhyung Kim , x86@kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171532766734.10875.1641155549159573518.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the perf/core branch of tip: Commit-ID: 9d351132ed706ae24325809afa821cabf6d72568 Gitweb: https://git.kernel.org/tip/9d351132ed706ae24325809afa821cabf6d72568 Author: Ingo Molnar AuthorDate: Wed, 08 May 2024 09:47:46 +02:00 Committer: Ingo Molnar CommitterDate: Wed, 08 May 2024 09:53:23 +02:00 perf/x86/cstate: Remove unused 'struct perf_cstate_msr' Use of this structure was removed in: 8f2a28c5859b ("perf/x86/cstate: Use new probe function") Remove the now stale type as well. Signed-off-by: Ingo Molnar Cc: linux-kernel@vger.kernel.org Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim Signed-off-by: Ingo Molnar --- 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 54eb142..e64eaa8 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;