Re: [PATCH v6 11/42] x86/resctrl: Expose resctrl fs's init function to the rest of the kernel
From: Reinette Chatre
Date: Wed Feb 19 2025 - 18:16:45 EST
Hi James,
On 2/7/25 10:17 AM, James Morse wrote:
> rdtgroup_init() needs exposing to the rest of the kernel so that arch
> code can call it once it lives in core code. As this is one of the few
> functions exposed, rename it to have "resctrl" in the name. The same
> goes for the exit call.
>
> Rename x86's arch code init functions for RDT to have an arch
> prefix to make it clear these are part of the architecture code.
>
> Co-developed-by: Dave Martin <Dave.Martin@xxxxxxx>
> Signed-off-by: Dave Martin <Dave.Martin@xxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Tested-by: Carl Worth <carl@xxxxxxxxxxxxxxxxxxxxxx> # arm64
> Tested-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>
> Reviewed-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>
> Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
Reinette