Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp552126rwd; Wed, 7 Jun 2023 03:57:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XlOtQ/kEiPspgV6LYvr4TAKwqp45BUORsZP4L16YvQMxS0JAdCyteZsO7/V7KGay1Kdzi X-Received: by 2002:a05:6a00:23d3:b0:662:1126:90c2 with SMTP id g19-20020a056a0023d300b00662112690c2mr112366pfc.5.1686135469021; Wed, 07 Jun 2023 03:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686135469; cv=none; d=google.com; s=arc-20160816; b=Hep1HkqNwAESrdO+qb9l6ZJ0G4+IYu0LIM9Z1cCVWMmyZg4bE+DLT/D6DD+cPcXlq6 JwtcBUcF7WQrNfuKCx/WpguOQtkRR0ZqnEEX7URzupsttpcafuLCSkmgVUrUGXe3yE+c 9cA1VuL9M1N4c/8OJwSsLAn/Fs4VKlQltq3OvkBiHx1R3eqvKeT7njpK98uNe9t0exCq JX3z/ypEUurI1ZzQU691x2IgbI+igACxWHfrZQ8eUVesEfmvuzmMUfvXo9kjynW3Y2Yr VMZJTGXWHbjSPvqRAOZGInebz0mqfyTSN9UT0W7iE27p6FBBT9h7l1uLIPGFwQkieWvQ ngPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=H6HYOm/5r4qtLnMuHCxa7nXtynzN3N5U+Whb5yp1Uys=; b=keKUkafL+UmHMaIKNmFR4Qx/LWO7lJAcKEP/0HckPvHllKqQMcYIoswG5s6NRcdfk0 Y/ZLvAYtTXVKbec4tR7N/eOGx60KOyHukIRfgxVx5ZM/JTYzlCDaX/QPIHDJhb6Nl0AX yi7foKM4B7fJuz059htq94Wfa/0HhpBkCtdasix0qFqLT/P6kLn5CtrTc4+BIhQ49m3p g8aONOC1ig1jBNOMoobD8REBcdSlx5NNEv+u4DuhE7iZiw5h6lcd5BdzcJDVbMhYNK15 qW9gAhsVRQkIbQkXrdGLrE1aUPxc+yLmYUtGzzVmZZomA6soymux3PX3GNWL7WPxyvhG 0+5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=jMqFIdPl; dkim=neutral (no key) header.i=@linutronix.de header.b=eDhaQtlH; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020aa79dc5000000b0064f7eb606f4si8557436pfq.369.2023.06.07.03.57.32; Wed, 07 Jun 2023 03:57:49 -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=@linutronix.de header.s=2020 header.b=jMqFIdPl; dkim=neutral (no key) header.i=@linutronix.de header.b=eDhaQtlH; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239651AbjFGKws (ORCPT + 99 others); Wed, 7 Jun 2023 06:52:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234992AbjFGKwp (ORCPT ); Wed, 7 Jun 2023 06:52:45 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1E31BF7; Wed, 7 Jun 2023 03:52:13 -0700 (PDT) Date: Wed, 07 Jun 2023 10:52:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686135127; 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: in-reply-to:in-reply-to:references:references; bh=H6HYOm/5r4qtLnMuHCxa7nXtynzN3N5U+Whb5yp1Uys=; b=jMqFIdPldV1QOyFTyvgOEx49TmdZrxoCSPxYoBe/Gznx/ZXWBExzHWg4oOOAuuleqfuF/J 202b4G+aCTRIwL8JbRLR/OGc/3/gNVjPHqR7w3ApZwS2J+Nh3szCAZaDwxNsJzfZCf37dl TKLTmGWD8QoePWoTos4NOQ4wlwSVTYr/dRlOxsYxmFgyllM4adBvOTMBmMSCrjXYbTxX6a IXgQVNwflp2/lcloK2TxdsOtwk2p29hcxTXikCKK1+nPcMbaI7tWQmqHsJqUaYM2Q0DUbW sike3YsQJRd4IPnY0VkJGaxjDzspf+Nsm+43DrFs4MuLMZ+SeGk4Wg5UyPmTXA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686135127; 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: in-reply-to:in-reply-to:references:references; bh=H6HYOm/5r4qtLnMuHCxa7nXtynzN3N5U+Whb5yp1Uys=; b=eDhaQtlHcTxQLsoq/XDsaqqQDeZbkeMNTd33eqHgs6GL+ExBL0qSVB/tEs/TGB3nBtZMSX pSO1ErVPN6CmuoBg== From: "tip-bot2 for Peter Newman" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cache] Documentation/x86: Documentation for MON group move feature Cc: Peter Newman , "Borislav Petkov (AMD)" , Reinette Chatre , Babu Moger , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230419125015.693566-4-peternewman@google.com> References: <20230419125015.693566-4-peternewman@google.com> MIME-Version: 1.0 Message-ID: <168613512697.404.616009463445838312.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 The following commit has been merged into the x86/cache branch of tip: Commit-ID: e0a6ede2dd884adb73a7dde80444185b655f7c79 Gitweb: https://git.kernel.org/tip/e0a6ede2dd884adb73a7dde80444185b655f7c79 Author: Peter Newman AuthorDate: Wed, 19 Apr 2023 14:50:15 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 07 Jun 2023 12:42:12 +02:00 Documentation/x86: Documentation for MON group move feature Describe new support for moving MON groups to a new parent CTRL_MON group and its restrictions. Signed-off-by: Peter Newman Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Reinette Chatre Tested-by: Babu Moger Link: https://lore.kernel.org/r/20230419125015.693566-4-peternewman@google.com --- Documentation/arch/x86/resctrl.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/arch/x86/resctrl.rst b/Documentation/arch/x86/resctrl.rst index 387ccbc..cb05d90 100644 --- a/Documentation/arch/x86/resctrl.rst +++ b/Documentation/arch/x86/resctrl.rst @@ -287,6 +287,13 @@ Removing a directory will move all tasks and cpus owned by the group it represents to the parent. Removing one of the created CTRL_MON groups will automatically remove all MON groups below it. +Moving MON group directories to a new parent CTRL_MON group is supported +for the purpose of changing the resource allocations of a MON group +without impacting its monitoring data or assigned tasks. This operation +is not allowed for MON groups which monitor CPUs. No other move +operation is currently allowed other than simply renaming a CTRL_MON or +MON group. + All groups contain the following files: "tasks":