Message ID | 167278351577.34228.12803395505584557101.stgit@bmoger-ubuntu |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4837738wrt; Tue, 3 Jan 2023 14:08:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXti5j4Ph7L9jfdXtgx+uFBY9Iq+P3Tj+Xr1XDsImjEHNhcZC9NsAporyKfA+KVT+52Lo/bT X-Received: by 2002:a05:6a20:a027:b0:b4:9a94:af57 with SMTP id p39-20020a056a20a02700b000b49a94af57mr10544211pzj.0.1672783712622; Tue, 03 Jan 2023 14:08:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672783712; cv=pass; d=google.com; s=arc-20160816; b=OcNgl9AQh4OshLuk4ByqSWQ+oIN5jKiRE/+LtGvotdfO3wyyyNwvo4q85mqlvqvelC +/wtFOEHY4PgkMs0cNbl4x3/3f7ohFVLPkmmuKAYZlsJyLlyvNL6JU/aXlqQqZfB9lWJ YjpJEyoZ8HLK2OujiW9KBRyhytOyRpRLHNsyPB27hH5+MrMZMxbKc2Q7aeqF1V1AJkWj R4jduFzeZaSdSjUE4BIVxl6PxTxk+u4KHtLMSfdW3eRA7mwD//0sMNjqnPP0idqfwYQz wbAnTJ6sIEJaj5ImAVOD8xdJ0tp8uUtnw2IFdWUlfAk523nAuXMjLxyzq6/EjKqD8Wno dV1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=zWC3NKDwJaAlaP+2mtyG2QlcwQ43frYiNsQCyRnZPIc=; b=POItY68hYwpASIWFzXHRiJ8WBEKFjkQuD9UOLIkhFkm2VtHB16m1MLQTGHmuSo4VoD 4P5WPsDAIJ7YqK1qxLACcII0C5+i4i8YihJ0/8Svxi+06Oo5THqRXiKqVm2W3j/5AQ6Z cd1A2PAoR2cjpeOytVSubZMuFVV47sirbH1nOlG8uogovwiUX1cCID60IRkmFxlqDa3k /sEiX4WsLMXUGkCXeIsdDu3xpTi63PpS5s13QFraHAy6rmzE/n/4j+agQqb2chyrULfk u5httsFfriSNv8TpMLAUO0+SeVoJwo2ZDyw5kGnLKc9D5w8m62HOU5T43GJz/yAyJRek 0XPQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ISq+GOWK; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v189-20020a6389c6000000b0043946964302si1480060pgd.173.2023.01.03.14.08.19; Tue, 03 Jan 2023 14:08:32 -0800 (PST) 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=@amd.com header.s=selector1 header.b=ISq+GOWK; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233582AbjACWHe (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Tue, 3 Jan 2023 17:07:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238314AbjACWHD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Jan 2023 17:07:03 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2086.outbound.protection.outlook.com [40.107.92.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34139EE02; Tue, 3 Jan 2023 14:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c1P71il/b3UadYlDI+fDxNyhzfmzXbpmnptIY621OahYdtJAdgUJcaqbmrMBJ3yaWQ3CS5BEH7y6jcjvQu09+mi9oDAfRG2QePLYlgVs+rqJ+0xBpifmT2Fhca1iNsT/S6/TkTM6vHgMftFI/N4/E07JBhhKt21CTlJXyrl7JqSMZXbfOscVrzN1cjEiTANkZWsZD1hfnNIqhob/0FmosEsOd6W/KDrHdLBcdXC5pwoPNLOpVAVY9NkRwdo6ajDZTFYJeV1J0+k1nVvUDjnTUZ5Q1naOZ9LovJfydSr+DVfhlNt4DjfsRC7MhX5Q5Cxw8KFwIxtNLhJd2QWZisxKkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zWC3NKDwJaAlaP+2mtyG2QlcwQ43frYiNsQCyRnZPIc=; b=kNyaQSf8GbppsFXryYt0b3Gt8kANTsyYg1Q6mxZi0iy/xhCCjf9svfgreAFf2lKwT+WOKnVsVbdvxNFxQE7JGBWTeyXqR1TVwZ5FABJbm34TxoFc9kYvZMtqwltlG47nZVxrS/2NRkIUTGEozXRxGeBONfVylxFIeqI/PNOY4DDRYmeX1r012agyHgtofy2aswSriDJZTpEWzapHEwgyEpGhBz31sjB/OCYGdPfxEGEQb4IZnIPF8MuL6mQiVfFnsq5oZ8bhuH+7w/0Vkl22WMmvD7bvhESVYNliZXkvthaNKenrK+vSBjyXwaid8goSDrOKtNkP2RTh78ar6R7CKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linutronix.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWC3NKDwJaAlaP+2mtyG2QlcwQ43frYiNsQCyRnZPIc=; b=ISq+GOWK/yjwLQo3N5OsNZjq4LSCQMgs7RBuYMSQbCcx5+bDzEh484QT8bMjAoVIJh4Ej+zDOfyfdDeBhLBDhWfz5E3/PwBienRxhuESmFB2OqsbjjbcPI4cZUbDq2SefbCl08v9lmSsqTx6gmqf8RLoNQRWKGq+uTlSoe0B1kc= Received: from DM6PR02CA0060.namprd02.prod.outlook.com (2603:10b6:5:177::37) by CY8PR12MB7657.namprd12.prod.outlook.com (2603:10b6:930:9d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 22:06:30 +0000 Received: from DS1PEPF0000E63F.namprd02.prod.outlook.com (2603:10b6:5:177:cafe::6c) by DM6PR02CA0060.outlook.office365.com (2603:10b6:5:177::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5966.19 via Frontend Transport; Tue, 3 Jan 2023 22:06:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000E63F.mail.protection.outlook.com (10.167.17.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.8 via Frontend Transport; Tue, 3 Jan 2023 22:06:30 +0000 Received: from [127.0.1.1] (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 3 Jan 2023 16:06:28 -0600 Subject: [RFC PATCH 0/3] x86/resctrl: Miscellaneous resctrl features From: Babu Moger <babu.moger@amd.com> To: <fenghua.yu@intel.com>, <reinette.chatre@intel.com> CC: <tglx@linutronix.de>, <mingo@redhat.com>, <bp@alien8.de>, <dave.hansen@linux.intel.com>, <x86@kernel.org>, <hpa@zytor.com>, <corbet@lwn.net>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>, <eranian@google.com>, <peternewman@google.com> Date: Tue, 3 Jan 2023 16:06:22 -0600 Message-ID: <167278351577.34228.12803395505584557101.stgit@bmoger-ubuntu> User-Agent: StGit/1.1.dev103+g5369f4c MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E63F:EE_|CY8PR12MB7657:EE_ X-MS-Office365-Filtering-Correlation-Id: 97876402-6471-4d78-9024-08daedd6c4b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gSW6Hn7aXw3lcxYoBCf2KWjwlzyvv/Y/TWEjSK52ey+tRYhsH2zpperncdiIC09F3LpPLmlTVX/pajbmpW+ew+WzAWPTypOst2CyMQxlnw+KTacXfxZllHXKF8Qn/WdWNwVyyc5gT4FhEj99pnahgsOrPUPpEpuZiKheAgoDAmB07VmKSVOPjmDTyTsGLx9mqFDLs81NQq67WyUXU/UhpKvAnn4YLN8A9+PpsL5PZ0+cf9sfhHsrz8r1gZ+uIaqYF2o0W4iO21/K4KhDN1Bfi0Wap9C8Nl0e+YBWD1Pgu5HBD5wJZt8h6rcy/R/bCu+BVAWr2o2NLvKtALhLXxgxBkXT/GhQqErzeombcN9tEzoqPtlRjorhg2zwuvYPx1r8158cV6AAeAQo+SppgFTVePUZ1r8Ixsk2DV6gBdsc7LG17Zf7txp7Qv3FHq73uzvjmLuH2SHPlBscaYMM5omjgL4RE6vbKBJ5OvqtG+A4wxnJfyFXtg0EbHHlxyuIkUyl6r0JAVxadAZCVWeagZwlthaQ0Mb/4SvnixOarKs99AoiSrC+yliDp5VxEeq60jQR8jhadIKHWSivqt1pnio63XRRB78oftAAeTZAl2HAasb9oLiH3AGnONTPCzo30SFieWPhiuzKCT2jZM5c4wuTyn929szam0lFHpCIKuElXAHHngRr69oZ3bzPlbgngRUMWke7Q9k5MDZWyEm5qaz0I06+1+kmk1i7+CcrWGdcbbA3gV/Ka+lZ+j8L7uqPflzAvSBNPMPuDUb+4DZdEnGPzpQP6ReIhr4nG5zHeK1umtY= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(7916004)(39860400002)(376002)(396003)(346002)(136003)(451199015)(46966006)(40470700004)(36840700001)(83380400001)(47076005)(336012)(82310400005)(186003)(9686003)(16526019)(426003)(26005)(33716001)(6666004)(40480700001)(103116003)(40460700003)(86362001)(36860700001)(356005)(81166007)(82740400003)(41300700001)(8676002)(4326008)(7416002)(2906002)(5660300002)(4744005)(44832011)(8936002)(316002)(478600001)(16576012)(70206006)(70586007)(54906003)(110136005)(22166009)(71626007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 22:06:30.4870 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97876402-6471-4d78-9024-08daedd6c4b7 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E63F.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7657 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754040854375386516?= X-GMAIL-MSGID: =?utf-8?q?1754040854375386516?= |
Series |
x86/resctrl: Miscellaneous resctrl features
|
|
Message
Moger, Babu
Jan. 3, 2023, 10:06 p.m. UTC
These series adds support for 3 minor features. 1. Support assigning multiple tasks to control/mon groups 2. Detect and move task's threads automatically to the groups 3. Add RMID and CLOSID in resctrl inteface. These feature requests are coming from our test team. They have been asking me to add these features to QoS for a while. Please review and comment if these changes make sense. Thanks --- Babu Moger (3): x86/resctrl: Add multiple tasks to the resctrl group at once x86/resctrl: Move the task's threads to the group automatically x86/resctrl: Display the RMID and COSID for resctrl groups Documentation/x86/resctrl.rst | 28 ++++++-- arch/x86/kernel/cpu/resctrl/rdtgroup.c | 90 +++++++++++++++++++++++--- 2 files changed, 104 insertions(+), 14 deletions(-) --