Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp43145lqg; Fri, 26 Apr 2024 08:18:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWr1Yd1pl2yIblGkKoMKV9i+1MpCWDjrQS0PAUTWl7AtmSzkbpT8yjiXKj6mbiVIbCoC86oAjH+MYnkhO7mCozFqy/imxNCBX20MzjXCg== X-Google-Smtp-Source: AGHT+IFwATgCKWzk/HjTB71k6cSV+n4tuILPbRqrI1Si4O3Wzl5t9MaKO1r7WtjOEIiMNwewK1n7 X-Received: by 2002:a05:6102:3a0e:b0:47b:9417:1528 with SMTP id b14-20020a0561023a0e00b0047b94171528mr182462vsu.0.1714144694508; Fri, 26 Apr 2024 08:18:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714144694; cv=pass; d=google.com; s=arc-20160816; b=CQ3vVKauI61Go1t/MMDGBggu6dU5ij9YEDiR6yql8MbCFIqQa9eOoy//aPCbWA5mr+ erHgNb5FFsdcMc59P1QAKGVmM9QRtRaqdIlGmkdeYnn0Hk5CzDtvFz6653UNbOLZNnTM 19GS7bX1bJIqmyoO/cPkxRXE5PNhpGo/9ADCqAxQjK42GZQWPQAf6ZlzXU2tFrCw7I1y 0IkvYoUHc5HTkdLrvKg606jhvQ0c8LrFz3SyNuPr0CIWmPg+Kr9NHe9idp4xda2oCwOH 4H4MYjKq/kF8Ca+nYLmcVMJP+ZaF8D6kS1u2uKZuPzrGfdFs466vlrnxjFoqZUyUT1zf DC1A== 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; bh=SWSdUsk2VJEE+Ea+wrryYYk+y4TAZWE0XsWy7dZ4qVA=; fh=Vo4MxA0u7CmSKYL/GjcyKHwusyvU+nKR43bqJem+vcY=; b=Isn9NPTcLGYDfaeHGekdlyz3WYQk+t5ARlgiDAxoqO1DAvH+CEje3d4z0t+UAtOUqO 9gQQ1JMrZej0euobgNmxnbxVcsBzH0Cb4vih1eMr2vSNs+1vWie7QUSpaQChwUk5lcEW eRdz3b6TjBT3kUE47eq33wywjopDZEC2SMHNVArcG6NW1rT/GyvN4aFuMbUeFpYCmEiK H+BunWNXbYttTk74XGrsr4aGcRbmAMV7JWN8ke9huNWXIM9W3oh4YGJIfzHYx75BDWjz PUt4sFoI8dg7ySHUX5QQc4SWXHsW2JOgcx+HUxMjgeFGbBgWW6v8z6Y2b6MGdzNUq/fK KvEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-160253-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id du13-20020a056130280d00b007d6a9d2e891si3640604uab.146.2024.04.26.08.18.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:18:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160253-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-160253-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 854AF1C24BB2 for ; Fri, 26 Apr 2024 15:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D925C14885A; Fri, 26 Apr 2024 15:11:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2884314900A for ; Fri, 26 Apr 2024 15:11:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144266; cv=none; b=s+P+ZtsPV0zV5a/mts+THdViKlM2iHkSSW7nemidFNXQHbI8wQ4hOeIGucmpIxq4HHzTvGuhSAUQM0S30rCNaw1vIIZ0+yf8IaJeTGyMvfM282iUOcxFuhbTHVcqHrUvTHNlv3GTVmm+/MCHlI5zjpDxgXj0UjuSynDTv1CTne4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144266; c=relaxed/simple; bh=XzwbygXB1XLTnLy5KTDvuQn0QpU/+Zp/WcuJJpMI2YE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Fa7I3YatNPL7YYu2164/MIzQY5JGvWwFi2459+O729xxn6LXukGmUoVSjohDVKPI8MCCoZEAdbJsS3YwJJnNrvBRCDwjbAGdxE/mbdDKdnd5UTqwyyQKbiXQafF754o3IhWiTdRujNbK2/u9BO5m7gqxXFGbZT5N1EBo8H0VMIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8DFF51007; Fri, 26 Apr 2024 08:11:32 -0700 (PDT) Received: from e133380.cambridge.arm.com (e133380.arm.com [10.1.197.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9EF8A3F73F; Fri, 26 Apr 2024 08:11:01 -0700 (PDT) From: Dave Martin To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: James Morse , Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, "Shaopeng Tan (Fujitsu)" , baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , Peter Newman , dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie Subject: [PATCH v2 35/35] [SQUASHME] x86/resctrl: Move the resctrl filesystem code to /fs/resctrl Date: Fri, 26 Apr 2024 16:09:04 +0100 Message-Id: <20240426150904.8854-35-Dave.Martin@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240426150904.8854-1-Dave.Martin@arm.com> References: <20240426150537.8094-1-Dave.Martin@arm.com> <20240426150904.8854-1-Dave.Martin@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Relax asm #includes identified by checkpatch.pl as satisfiable by a include in the destination files of this code move. Signed-off-by: Dave Martin --- FYI: James Morse (et al.): * This patch is kept separate for now so that these changes do not get lost when rebuilding the previous code-movement patch. It should be folded into the previous patch or dropped once the series is final. Changes in v2: * New patch. --- fs/resctrl/internal.h | 2 -- fs/resctrl/pseudo_lock.c | 4 ++-- fs/resctrl/rdtgroup.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/resctrl/internal.h b/fs/resctrl/internal.h index f73267762a87..0e0c70d62c40 100644 --- a/fs/resctrl/internal.h +++ b/fs/resctrl/internal.h @@ -9,8 +9,6 @@ #include #include -#include - /** * cpumask_any_housekeeping() - Choose any CPU in @mask, preferring those that * aren't marked nohz_full diff --git a/fs/resctrl/pseudo_lock.c b/fs/resctrl/pseudo_lock.c index 077c2abb6edd..2a36a2efbd49 100644 --- a/fs/resctrl/pseudo_lock.c +++ b/fs/resctrl/pseudo_lock.c @@ -11,6 +11,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include @@ -19,11 +20,10 @@ #include #include #include +#include #include #include -#include -#include #include #include "internal.h" diff --git a/fs/resctrl/rdtgroup.c b/fs/resctrl/rdtgroup.c index 8b18224eda35..09f120772c48 100644 --- a/fs/resctrl/rdtgroup.c +++ b/fs/resctrl/rdtgroup.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -29,7 +30,6 @@ #include -#include #include "internal.h" /* Mutex to protect rdtgroup access. */ -- 2.34.1