From patchwork Wed Apr 19 02:44:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Rui" X-Patchwork-Id: 85147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp59773vqo; Tue, 18 Apr 2023 20:04:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Z/B1SG+iQ+iu5OJf9+v3gDJIkFzBliV+jWJn+9UuqBRPuiqEUgLZf5LuZ8Z7KqUQ+9DDF4 X-Received: by 2002:a05:6a20:9145:b0:d6:7264:f44e with SMTP id x5-20020a056a20914500b000d67264f44emr1987960pzc.3.1681873479868; Tue, 18 Apr 2023 20:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681873479; cv=none; d=google.com; s=arc-20160816; b=K0TuE13hXKp8652RbElTCoxle2CwKpZ+NCyABSTyjgKVHvPCB4OaKe1qYXgb2HWNVn CFBvKt7Ibi1VPAhTcK3jcNOqpWoFRyfOHMp0SxvbWAIR036q9ooHIogwCfj4rA5z6P27 ztNBCTSXFLHzwfoPem8LPkZe3gL3KZPQiG0b6ezFvYyzR70ptdMcCHj0Zn87yptFQO3i 3Xs8DOtMygudQ9GIo+bfr+Z7PiC4WFVfsUiylMQBGMtFV3lNifNCnjvBjC3EzdWORYby LVqpivTKA41ZG6EELuV9R1r4FQLTSXP9sZazdilVgoNB9yoVZTQwqzbeYuBofryx26sp uFGQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020aa79e01000000b0063aece048c5si14760752pfq.30.2023.04.18.20.04.27; Tue, 18 Apr 2023 20:04:39 -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 S231577AbjDSCoi (ORCPT + 99 others); Tue, 18 Apr 2023 22:44:38 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763572166003044319?= X-GMAIL-MSGID: =?utf-8?q?1763572166003044319?= 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];