From patchwork Wed Jun 7 10:52:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 104406 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp166271vqr; Wed, 7 Jun 2023 03:58:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WLUtWRnHdDg0oEbnNsMBsyjCPaWaAkefN8fSjY8kXWJ0BgU5fu+F8bMuj2sJ/9vwjX+da X-Received: by 2002:a05:6808:690:b0:398:465e:ec62 with SMTP id k16-20020a056808069000b00398465eec62mr4752707oig.10.1686135528536; Wed, 07 Jun 2023 03:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686135528; cv=none; d=google.com; s=arc-20160816; b=Z3KAbcUkYZpESBdl9MVVvP2p9X7OkJai3R1clgWMT5n0lAPG/oOSNH+Ityyp2HHU0M Vx7S5HKPIFQFQIbZqJ2pKmHxWWsbBxz0M+HIkxg1YZ6L2syAFQGxiLlK05WNlp7iG+3d qQgDjOeQ7KQdQxYwS3PuXt2BIb0ok/mQSxWGRNiRdHk8R9ltMv2QNgbTRnJT/oJhAN0m RDWvRQ1pBFY0FpnPqxzjL2UPa1g/UsUnoGu9dFP5pGMh1ePHyYDytAVLHU6Hxj5mZPiG jCS9CM1S9X/iKPLIGoE6DBPsgtO+ClLHhzml6vr/N6CtspvyMRulBryVOaop0ighYII5 S1nw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a170902d30300b001a1deff6062si8501132plc.281.2023.06.07.03.58.36; Wed, 07 Jun 2023 03:58:48 -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 S239690AbjFGKwt (ORCPT + 99 others); Wed, 7 Jun 2023 06:52:49 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763609920205103995?= X-GMAIL-MSGID: =?utf-8?q?1768041247962752546?= 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":