Re: [PATCH v9 12/26] x86/resctrl: Remove MSR reading of event configuration value
From: Reinette Chatre
Date: Fri Nov 15 2024 - 19:24:46 EST
Hi Babu,
On 10/29/24 4:21 PM, Babu Moger wrote:
> --- a/include/linux/resctrl.h
> +++ b/include/linux/resctrl.h
> @@ -354,6 +354,10 @@ void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d,
> */
> void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_mon_domain *d);
>
> +void resctrl_arch_mon_event_config_set(void *info);
An architecture that may want to use this would need to know how to interpret
the info passed. For an API I thus expect the struct it points to to also
be available in this header file.
> +u32 resctrl_arch_mon_event_config_get(struct rdt_mon_domain *d,
> + enum resctrl_event_id eventid);
> +
> extern unsigned int resctrl_rmid_realloc_threshold;
> extern unsigned int resctrl_rmid_realloc_limit;
>
Reinette