linux/Documentation/arch
Babu Moger 4cee14bcb1 x86/resctrl: Display RMID of resource group
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 the resctrl interface.
Users can see these details when resctrl is mounted with "-o debug" option.

Add RFTYPE_MON_BASE that complements existing RFTYPE_CTRL_BASE and
represents files belonging to monitoring groups.

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 <babu.moger@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Peter Newman <peternewman@google.com>
Reviewed-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tested-by: Peter Newman <peternewman@google.com>
Tested-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com>
Link: https://lore.kernel.org/r/20231017002308.134480-10-babu.moger@amd.com
2023-10-17 14:05:40 +02:00
..
arc docs: Move arc architecture docs under Documentation/arch/ 2023-04-10 16:45:36 -06:00
arm Documentation: Fix typos 2023-08-18 11:29:03 -06:00
arm64 arm64: errata: Add Cortex-A520 speculative unprivileged load workaround 2023-09-29 16:31:33 +01:00
ia64 docs: move ia64 architecture docs under Documentation/arch/ 2023-04-10 16:45:52 -06:00
loongarch docs/LoongArch: Update the links of ABI 2023-09-20 14:26:29 +08:00
m68k docs: move m68k architecture documentation under Documentation/arch/ 2023-04-10 16:46:11 -06:00
mips docs: move mips under arch 2023-08-18 11:03:52 -06:00
nios2 docs: move nios2 documentation under Documentation/arch/ 2023-03-30 13:00:55 -06:00
openrisc Documentation: Fix typos 2023-08-18 11:29:03 -06:00
parisc docs: move parisc documentation under Documentation/arch/ 2023-04-10 16:45:52 -06:00
s390 Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00
sh docs: move superh documentation under Documentation/arch/ 2023-03-30 13:00:35 -06:00
sparc docs: move sparc documentation under Documentation/arch/ 2023-03-30 13:00:34 -06:00
x86 x86/resctrl: Display RMID of resource group 2023-10-17 14:05:40 +02:00
xtensa Documentation: Fix typos 2023-08-18 11:29:03 -06:00
index.rst Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00