Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp161271rwe; Tue, 18 Apr 2023 19:45:38 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9JUkBW/O4H9zIS1MLV3ff1cMLSMxz5MzyltbQCYAH8hDAMSHByPQOBXzYEeX77SIBN0yi X-Received: by 2002:a05:6a00:23c5:b0:63b:59a7:eafa with SMTP id g5-20020a056a0023c500b0063b59a7eafamr2157773pfc.25.1681872338351; Tue, 18 Apr 2023 19:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681872338; cv=none; d=google.com; s=arc-20160816; b=najYy8vroXrhVeC7YYu0hfD/pt40XAH8XonvDjTNwJT7EvSFXwNb0Kgp5toHe0hu5+ gk9HhkmRThUOaHW/poNp5AYkH3dio2nl5XoPUQrlavpmS+YIq9c6wGJhG8ttqUPMXdnV Kba+IyIwv/sVqtlLlGEe1IafuE0c5sLYD2PL8TgMkVKRLj2Trw3YSKevHO+LX6FQmo95 Q4MGrj+yTWdjnoZyQOxDqI2/Y6neBgbqj6R0Hs6KZxNOVk8M8rO+vD0LZirr6VaaHgzL LGWnU8p5qauyyZr6C8xAWOES2N0YuQqBCcY17MLbIU9AU97R+uoDUSEWFkvWMMTKonBn p1pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9yd0vNkkmH4lA+l627vstreuLyfMN+mM98KE9nP8Khc=; b=q+16OvReXwaar2QwmtrvVm+gdzMh4smUYrBSGPbu5DgNdVopewWmDfT5RkSZySNzQL Nby7F9jlslnGYxX4kX/iQFYI9Ka0O5pRapayBjEmcLPEKDgEDzfcuzIB9K5quDu1nezl nnKCOdYuvPQcctRPjN3GmOuoaGgQxmdKnxPdQpc/Nq9qBAHtyHuQPSF/dz+YgSsWoHk+ lkeEPvzy+tma1z+kqFiTPWtrIaKkUKrC7zK/CMRZ1JocYgdTXlQMfF7h28zLumytuGCj 6JYrWqeYeTrVxVMQi6eb9ESiBjxeFPtTa1xf/kulnSqmQTiL0n9fVTNfyS1x08eY6UfB vB0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="G18V/KdW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020aa79491000000b0063b886a1786si7884217pfk.22.2023.04.18.19.45.27; Tue, 18 Apr 2023 19:45:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="G18V/KdW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231483AbjDSCoh (ORCPT + 99 others); Tue, 18 Apr 2023 22:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjDSCog (ORCPT ); Tue, 18 Apr 2023 22:44:36 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E76D659E; Tue, 18 Apr 2023 19:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681872275; x=1713408275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QY7c2Zv6zQ2m+oD/+P9BhbgqEJw+zh4mpyaE0d49/qM=; b=G18V/KdW+HqqUQUzHq3kO60WCf5dojNnPvGb+A0PTbVE7v1+ELa/5w5i zF6Wtk/LIaHW9zt0umjeElcPKnPyNvE+OWq6MlEQxoyV0FlTGz6a+LeHT SQ7iifhTXmRNHgRl7SV14orBp6UQURhaWHY7p1wJLxxko5Lim0MPg4uVP ejamlIQqXxUBUiQKXFzWbA0GEXW8ICZV2akkYa8tyBiZGnrmkPUw/1n7d 28GSo73QDZRZia38+FlmdcH+TjgZSiQo1+8rmFVRqJCAmF9naRzCXCF3Y +/RnabIiv1X8+f/V8SRiYSZmVvwfSztOIXksDW4lI8GMs0D/s/MrJH18I A==; X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="373215268" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="373215268" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2023 19:44:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="937478005" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="937478005" Received: from hanboyu-mobl.ccr.corp.intel.com (HELO rzhang1-DESK.intel.com) ([10.255.29.76]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2023 19:44:33 -0700 From: Zhang Rui To: linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, daniel.lezcano@linaro.org Cc: linux-kernel@vger.kernel.org, srinivas.pandruvada@intel.com Subject: [PATCH v2 01/15] powercap/intel_rapl: Remove unused field in struct rapl_if_priv Date: Wed, 19 Apr 2023 10:44:05 +0800 Message-Id: <20230419024419.324436-2-rui.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419024419.324436-1-rui.zhang@intel.com> References: <20230419024419.324436-1-rui.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After commit f1e8d7560d30 ("powercap/intel_rapl: enumerate Psys RAPL domain together with package RAPL domain"), the platform_rapl_domain field is not used anymore. Remove it from rapl_if_priv structure. Fixes: f1e8d7560d30 ("powercap/intel_rapl: enumerate Psys RAPL domain together with package RAPL domain") Signed-off-by: Zhang Rui --- include/linux/intel_rapl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h index 9f4b6f5b822f..828557645770 100644 --- a/include/linux/intel_rapl.h +++ b/include/linux/intel_rapl.h @@ -124,7 +124,6 @@ struct reg_action { */ struct rapl_if_priv { struct powercap_control_type *control_type; - struct rapl_domain *platform_rapl_domain; enum cpuhp_state pcap_rapl_online; u64 reg_unit; u64 regs[RAPL_DOMAIN_MAX][RAPL_DOMAIN_REG_MAX]; -- 2.25.1