Re: [PATCH v7 05/49] x86/resctrl: Use schema type to determine the schema format string

Fenghua Yu
2025-03-06T21:01:48Z

On 2/28/25 11:58, James Morse wrote:
> Resctrl's architecture code gets to specify a format string that is
> used when printing schema entries. This is expected to be one of two
> values that the filesystem code supports.
>
> Setting this format string allows the architecture code to change
> the ABI resctrl presents to user-space.
>
> Instead, use the schema format enum to choose which format string to
> use.
>
> 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: Reinette Chatre <reinette.chatre@intel.com>
> Reviewed-by: Tony Luck <tony.luck@intel.com>

Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>

Thanks.

-Fenghua