Re: [PATCH v7 35/49] x86/resctrl: Move is_mba_sc() out of core.c

Fenghua Yu
2025-03-06T22:31:27Z

On 2/28/25 11:58, James Morse wrote:
> is_mba_sc() is defined in core.c, but has no callers there. It does
> not access any architecture private structures.
>
> Move this to rdtgroup.c where the majority of callers are. This makes
> the move of the filesystem code to /fs/ cleaner.
>
> Signed-off-by: James Morse <james.morse@arm.com>
> Tested-by: Carl Worth <carl@os.amperecomputing.com> # arm64
> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
> Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>

Thanks.

-Fenghua