]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/resctrl: Move enum resctrl_event_id to resctrl.h
authorJames Morse <james.morse@arm.com>
Thu, 15 May 2025 16:58:47 +0000 (16:58 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 16 May 2025 10:10:20 +0000 (12:10 +0200)
commit7bdb619c7f9f0a7264b2d69ad0472bf2c785e52a
tree225d40973b4cd5947fd48ea0fe4959d18bfc41f3
parent3d95a49b365e06d1b4c4e5a426fdc70449a334f3
x86/resctrl: Move enum resctrl_event_id to resctrl.h

resctrl_types.h contains common types and constants to enable architectures
to use these types in their definitions within asm/resctrl.h.

enum resctrl_event_id was placed in resctrl_types.h for
resctrl_arch_get_cdp_enabled() and resctrl_arch_set_cdp_enabled(), but
these two functions are no longer inlined by any architecture.

Move enum resctrl_event_id to resctrl.h.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/20250515165855.31452-18-james.morse@arm.com
include/linux/resctrl.h
include/linux/resctrl_types.h