Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1626970rdh; Mon, 25 Sep 2023 20:43:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiNdQGPkgxQZ4F3Zt0jwYS/a+wzg+TVnsBUK0gaYH4thmMZuetGCTWC/xrMPGSHmDItElz X-Received: by 2002:a05:6358:2484:b0:139:9dda:8344 with SMTP id m4-20020a056358248400b001399dda8344mr10509233rwc.19.1695699793284; Mon, 25 Sep 2023 20:43:13 -0700 (PDT) Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id k64-20020a638443000000b00573fc1f288csi11265753pgd.569.2023.09.25.20.43.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 20:43:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QwHdbELg; arc=fail (DNS record missing); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DC23E8063BC4; Mon, 25 Sep 2023 14:21:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229481AbjIYVWA (ORCPT + 99 others); Mon, 25 Sep 2023 17:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232996AbjIYVV6 (ORCPT ); Mon, 25 Sep 2023 17:21:58 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13DDF11D; Mon, 25 Sep 2023 14:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695676912; x=1727212912; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=QWQZL9HX0p/+ZGmqPd3J6dLE3IC58+Vq07vaZso5mak=; b=QwHdbELg3rDqj+WFbqNrloPF1Zj+jHYpM8X0t4uNaWIfCAjsHgXWEXn3 GM34pQHef98yNvbyr3IpWwbBW87gx4T007LTkuS+peLamJe0U8e3IkUY0 fdoyBlR54isFq1c1AMWuV9jlVIllvomjCOm+VkOsUbDaQgOyNXrqjcS9M cpIa2FI4y9VhLtRrzv2fp/RRre9nG94ZZwxkelHQmoP741EEMMgDtz8Et t1BXjCNh2J91dq5sygzFtE8ShZhsrF1p8tvN3lW2MwzClm+LxQM21S4or 6V6C66Vya0WC7D+8RH//lUfXlsza9uDJk/FhGwRLGOMrmuzYN0X8+1dXQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="384169623" X-IronPort-AV: E=Sophos;i="6.03,176,1694761200"; d="scan'208";a="384169623" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 14:21:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="748536276" X-IronPort-AV: E=Sophos;i="6.03,176,1694761200"; d="scan'208";a="748536276" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Sep 2023 14:21:12 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 25 Sep 2023 14:21:12 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Mon, 25 Sep 2023 14:21:12 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 25 Sep 2023 14:21:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bwZ2p4D9Ye7opoS4i+hP/VxnQI2YWkleHKHaqw7iRjW7Ga6Cwrc0IUtzV2SR6yxjk5iS6y4qvonGdusMyZG+I4FteicZqPDrbLHV4OQ+MBPxArAUq2uVpEysuTaarDpfXNTQevKrlgvamNessWn1DsAsONO6rtExPe8o6djoX30XQvfR9aY0sG89bzy8YlwUSTR14lpATEsu8s0uHp6HSiJFhqVUUttuhC4r9+YLOvnjO5D3ew3Lxm6Sb5dEQZaMCZytJelP+90Q+6CXFbfZypw4BSUcju5v2U0PPROy3zy6oVUOUv3dht1bmRBxhnGCUgvu5Tz3w8S13tIjC4ES3A== 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=VagZeEB1O6gc3lV4lFDQfw3fLUSJh7k5lNMQcQ43xrQ=; b=Guy5qI2EbAuE0CSFVOY2zV/g4SvxIRunCoIDvEnZ5X+r3GvG/pBSSuXTidATXCfNizSxOi2nA+/yukzlgMCzcaLBauEIZkPDRujD0MfRHowX8QwRM75ABUSp17+nikHV1Zq/BbDX8EiGHdZeWWQrOXUGsJFLbHTfFpI1wKzT0AdtvRNfi1ivlgepoO/CSB4Il5F/CAQ20FlqyLnqnUHyuqr2QU7jvVUFAyp5QUZb7nj25nQighsI5dVdFIA5u7GpW6euI6GYgQpMO0XGQCKB88B3Vc/QqjTHTojhDm8WUYbrNabaA59BunU/2ZxhKgY5HaW79qcLllg3eIb+h5irog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) by SJ0PR11MB5008.namprd11.prod.outlook.com (2603:10b6:a03:2d5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.21; Mon, 25 Sep 2023 21:21:05 +0000 Received: from IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::cdca:c91f:da79:a1db]) by IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::cdca:c91f:da79:a1db%3]) with mapi id 15.20.6792.024; Mon, 25 Sep 2023 21:21:05 +0000 Message-ID: Date: Mon, 25 Sep 2023 14:21:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH v10 10/10] x86/resctrl: Display RMID of resource group Content-Language: en-US To: Babu Moger , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20230915224227.1336967-1-babu.moger@amd.com> <20230915224227.1336967-11-babu.moger@amd.com> From: Fenghua Yu In-Reply-To: <20230915224227.1336967-11-babu.moger@amd.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR05CA0023.namprd05.prod.outlook.com (2603:10b6:a03:c0::36) To IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB6097:EE_|SJ0PR11MB5008:EE_ X-MS-Office365-Filtering-Correlation-Id: e5c4145f-20b5-4a7f-d271-08dbbe0d5398 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vQjBmUGq9HZ0b13LJ7MdbLLp6NfGNiI8NRTStmmaJjk/hdAyitbNL3LJ09ajW05Hw11u9sGnw/LNRP1DmVnUkUmcZnNlHjZtubmxniBy2kS93ZW7qFWzfv4znrkA4qmbVbNFAvggD9e7PsNI84KQT2wEIcBNtgbQsMSiSNzTJuNjK+CKwetI6X6LwvSkBio1DwUuDNwWreEQ/ENk4W6qhYfrmwEpzGd+hvI5+lqz7of34oo15aH4DylqO4DbrCeOYW4Zwajx2OiYye72JNar7Z9JA8MHDqv9cnZCE9THIfQ131gWo4iMncwM/Ic4L3Y/xZg2Dj4vDkMO0DB6hV0u+5lVDPAwn4qLOU0VCnrYjlMJAMIPAsUHV3BERzdF5g3xOeoGbQvWiovHaHk3D9wrj7YcZ7MYVI7QsqUhzsI45m+wJxLfdOjVzY3qY6GhicNJyekxPpSBvrr6r9XiEL/IkfQWVEJwDChl7tU8zOf6NI4uLGm/RB0iYPVfWChb2VB5b5Jv3PPbaIOnCIN2I8f+fxWgo73kK3FltKG/FUFIJ2h8f3zqOuMEpOeXNn9bEJw3jap5mD37g7eNbE2JFrM3Hjazr/LyKogUPhDQy/m6EoiCg6NUW+3eoTEXe0jp7peiM9tKKgLAdjoqw6VNoOpxZA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB6097.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(346002)(376002)(136003)(366004)(230922051799003)(1800799009)(451199024)(186009)(38100700002)(86362001)(478600001)(44832011)(31686004)(8676002)(36756003)(4326008)(8936002)(31696002)(7416002)(4744005)(2616005)(6486002)(5660300002)(6506007)(6512007)(66556008)(53546011)(66476007)(41300700001)(66946007)(316002)(2906002)(82960400001)(7406005)(26005)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c2M0MFpsNzJCUFpYdVkxdkxaRS9vY3gzVVZGTGRKNlFzN0FCdzQya1JpLzlx?= =?utf-8?B?U2tPN2FFdWc2SnM4R2RUcXdySm9aQWxIU0NGUXJIbk1sajNzZkJ0d2ZzaUs2?= =?utf-8?B?M0J0enBuNUFBSkE1ODNiMURPVUJBU2RTWEF4ZXBYalQ0Rm5ZSFBaY294Y0Z6?= =?utf-8?B?SWY2SVRBVUg0WXlrWGxlYUNPYjZOTUliNXFmKzNURzEzSk05Q2pvbGhmdTdI?= =?utf-8?B?M3dVbXlFNlVRVUF3YWF0ako1NW45Q3RHYjVIL29jTWtvbXpTMjkzaGFzUTBQ?= =?utf-8?B?cmhQS21WSm1vU1JKV2R5dzVqL2NvTHdubXlVbWtOclREdGk2Yk1BR25LR0Rn?= =?utf-8?B?dVYxR2ZWRG1Pdzdac0JRc3orWlUxR1ZkTkdsUzhaR2RlTGI4aVdXUms5bEtv?= =?utf-8?B?UEQ1K0QxazJHb2FGblc1Q0lndlFrMlBnRVZtNHdwQlZmYUMwT01uU29KbVVR?= =?utf-8?B?ZmpWKy9ocWtvNG1uelRFY29JYW9pQUNFWEdJL2R5aTZUTEpFOEo3QWxya05y?= =?utf-8?B?a25MdStiUnlPWkRRT2lDblhTcVdGV0Rl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F0NmkwOGpnUXZxcUVJU1hnZVlmQnBvZUozemlZd25O?= =?utf-8?B?RkNlbjFJbnkxc1FvTGdGb2ozZVVGOS9hS2NvQk9ZbU5jTTkyL2JPVnZOZ1Jn?= =?utf-8?B?b2s0YTIwYXd4OWtYT3dsd1Qxd0tHZG1Vcm9FWmFYR0MvSmVkWDE5ZWkzY3E5?= =?utf-8?B?VGpXcENYUlpDaXp4M3BlbmIwSE5GcjNGaVErOWg5OVZzR3ltd2lTcjY0Y0Rz?= =?utf-8?B?VFlwNnFwWThjZFFPU1dER0RyTzZLRHd0Yjl4UENROFdQVjZya25XSGVBWVNy?= =?utf-8?B?bUk1VnN1VVhORnREdTg3OHd6UDNTQU9BdDRtQy9vNjZVZkZTeUNIWUxvMHZu?= =?utf-8?B?SGxzY09XN3ZkOHo5TVEzT25zVEdlUXpna2xVaUlEdnRFV3hheUJhNlJRbnEv?= =?utf-8?B?L2lLakRuZHFweFh4c2Q4azRDUnovU2d1am4yKzByT0hxRm1yY3BzVFlTdUlX?= =?utf-8?B?bmRmZkFtQm1oMUl4bGZ3QXhtcm0wMVNIMy9CR0tUYjRHZGlyeGRsSG4yWFVU?= =?utf-8?B?YmdhKzRkc25YSFFuQUdNMnRDcWg0NVRiYUdBMzR3YXBRdktwbUEzcEVJQnRF?= =?utf-8?B?cWVtYUJBYlhHblYxMzZPUFFoUU52WVFsUVNFTVpqSVRPOWZHUlQ3RFJKdDNM?= =?utf-8?Q?ceAmIsJnCPSr2daOv3aMJHQkU?= X-MS-Exchange-CrossTenant-Network-Message-Id: e5c4145f-20b5-4a7f-d271-08dbbe0d5398 X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB6097.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2023 21:21:05.1825 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WdgvMY/iBs3oqB7jbSr89iTB6kQB8YUV776wC8pKBktB7stqMGA59yfvsrbMI+Z0whoLqAlREUIkefQJYDslqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5008 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 14:21:59 -0700 (PDT) On 9/15/23 15:42, Babu Moger wrote: > In x86, hardware uses RMID to identify a monitoring group. When a user > creates a monitor group these details are not visible. These details > can help resctrl debugging. > > Add RMID(mon_hw_id) to the monitor groups display in resctrl interface. > Users can see these details when resctrl is mounted with "-o debug" option. > > Other architectures do not use "RMID". Use the name mon_hw_id to refer > to "RMID" in an effort to keep the naming generic. > > For example: > $cat /sys/fs/resctrl/mon_groups/mon_grp1/mon_hw_id > 3 > > Signed-off-by: Babu Moger Reviewed-by: Fenghua Yu Thanks. -Fenghua