From patchwork Wed Jan 31 14:23:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Rui" X-Patchwork-Id: 194779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1923213dyb; Wed, 31 Jan 2024 06:24:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6a4rbCXjABHgoXWVlDceba6iu48U49VA0WdsPy2UAC/9HYLV5d0m3+pXGYEEjUS4771xC X-Received: by 2002:a05:6a20:254:b0:19c:9774:d791 with SMTP id o20-20020a056a20025400b0019c9774d791mr4221388pzo.38.1706711093557; Wed, 31 Jan 2024 06:24:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706711093; cv=pass; d=google.com; s=arc-20160816; b=RzUbOAf05cEpinvNyxjlaDj0fTbgxVwV9Q5ry3Bhzceku9NoRRG6kPhV7Gx/m8sKut eUUuqS5LyP0OhDhnTWq8aFtrkyU5UBnuSLTv9Myt0aktwu9n3PLv7bkSbaZyv5qrwzkH QStt8LCCXkspt/GyZVy9KLtt2iECxkGJQMdbdHmcLnP0WDBpAaYujd3KYAyYD8fbLiTW 0LqidkHLtoUU0J9nQIIPEHlH+ZyuqsGfMa9HBMurEV5r9DptfmensM8PRsahh2VjkE3M CY+xUGAhxmMGnpB6yhgY1cuIrddCgoYmXFy+zXQ0QneXpYOFIHn+8bz3BFY52jkjGv3m 7ilQ== 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=UUc+JiJckdYDSQzHNmNR/y/NLzHRxQydtsocyg/AHzU=; fh=+eHItvEAUZsgcPr6VAPxXyvo4QgBU8QcjnFTAphPhWw=; b=RyS6f0zwR/BP3E9cr5hFbf4JWYmgJZHqZPD8srG6tUHmJQHBNvcCPDbWaGxvUy9NDA QUp8SvjgggITg5ifHiEUp/AW+PjY0apG+uc/j7cWlOmogU7UC/YdCrWKJOiHUluUTdiP 2MF3NMJitjGk9aHAQPDvMF52SF/ippS0wT0+uxPuEbVfxhK2G6EDCDRe3UlYZaKvwhCd UkqUQID8oUedNx0XoEe5svQQklOeoD0zlGlONMn9Odt5ZYdL5+hwOHuSN93J561Jv3c1 5QW7T2DEbPqSWzxztOZk/pB6OCqWlGqty42Z5c12Nal4afm/m+Q2soyhkCis3xVmojzj fNAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ou0OvIwy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-46592-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46592-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCX2WfUbygex4JVCV5XpAbJFd7KRTGmysfPlAGMBcX1KU33UHWhLrl+uHADfs79IJGBhRPfdyndlqQ1I+4H4EalaFftAhQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r198-20020a632bcf000000b005cfbd4920cfsi9359867pgr.596.2024.01.31.06.24.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 06:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46592-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ou0OvIwy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-46592-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46592-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D4B6B28BCB9 for ; Wed, 31 Jan 2024 14:24:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3184183CA3; Wed, 31 Jan 2024 14:23:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ou0OvIwy" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 C8D328287A; Wed, 31 Jan 2024 14:23:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706711033; cv=none; b=TpLseAR6GJDVKgvzordYkaqU2mLSm4FtWsyZApQe/5uX9GpswspBS5PvDpT8OMk0MFy/LuTMZ29ApuKPrCwgVoBbVGQBEF3l0S0dMQ8aciJYkgk7GvRV0aMmc7UE8ONdrHJ/xtAyvjBB683UtBUKfO01IGk0NxkB1MRDseTbjes= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706711033; c=relaxed/simple; bh=ExThFueBF01BuVDK0GX8VUsqgRBQ4Ib5Eh3cgKUlZ7A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ajEqjAc6/ZeDj1/d7TuArsfeRA+uuZTht4wTRL03A43kB1/dyddh5YBUYI5ywZGLJw9oaZkupj1x7EwwnK5IZp/s/yhEtckLyRrZzNA+30HFwkshxpgJOMsP6lNwLsJRumiCExYNINZmEqtTY0ysjRg0cQprvsTl6zG647AVDlE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Ou0OvIwy; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706711032; x=1738247032; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ExThFueBF01BuVDK0GX8VUsqgRBQ4Ib5Eh3cgKUlZ7A=; b=Ou0OvIwyxtbk4ZJsRFz3z91toRLMryB7vvAgpKwHr3LfQahWIZwRqb1m 4VtwyvcN/wGViUv2jMt/MSamaswPXCNDH6ygOevL2903PIP7g7lawOLXQ Y4gep2OfqUzKf4OsVLFnOazoFyhZ5/x6bZ7koIecoRbxEY80Cy4ZkgO9r 1xzDCjAgAZRT7SwhtU3oZDcoqARVmhOp21JHo+6MQE5BWhg9YweiVt90k E6fWXrLfKmetRUobg+Inx2shsDMMpbTve4bUsHukz4E/VgP9nvQhzEEMI k7OguPLdwR7nfxeGr6xvj2vetQ4ZFrGq1X1Qwi926SRJqD4vY6kHJf+EW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="10995802" X-IronPort-AV: E=Sophos;i="6.05,231,1701158400"; d="scan'208";a="10995802" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 06:23:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,231,1701158400"; d="scan'208";a="4068683" Received: from puhongt-mobl2.ccr.corp.intel.com (HELO rzhang1-mobl7.ccr.corp.intel.com) ([10.255.29.147]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 06:23:48 -0800 From: Zhang Rui To: rafael.j.wysocki@intel.com, peterz@infradead.org Cc: mingo@redhat.com, kan.liang@linux.intel.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, x86@kernel.org Subject: [PATCH 1/5] powercap: intel_rapl: Sort header files Date: Wed, 31 Jan 2024 22:23:31 +0800 Message-Id: <20240131142335.84218-2-rui.zhang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240131142335.84218-1-rui.zhang@intel.com> References: <20240131142335.84218-1-rui.zhang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789616291463935901 X-GMAIL-MSGID: 1789616291463935901 Sort header files alphabetically. Signed-off-by: Zhang Rui --- drivers/powercap/intel_rapl_common.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c index aa627a6b12a4..315e304219e2 100644 --- a/drivers/powercap/intel_rapl_common.c +++ b/drivers/powercap/intel_rapl_common.c @@ -5,27 +5,27 @@ */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include +#include +#include +#include +#include #include -#include #include -#include -#include -#include #include -#include -#include -#include -#include +#include +#include #include -#include -#include #include -#include +#include +#include +#include +#include -#include #include #include +#include /* bitmasks for RAPL MSRs, used by primitive access functions */ #define ENERGY_STATUS_MASK 0xffffffff