Skip to content
Commit 4518b5e2 authored by Dave Martin's avatar Dave Martin
Browse files

fs/resctrl: Add arch hook to set up the default CLOSID



Currently, the resctrl core code assumes that CLOSID 0 requires no
special initialisation before use.

This is true on x86, but may not be true on other architectures
(including Arm MPAM, in certain configurations).

Since the allocation of CLOSIDs can depend on parameters such as
resctrl filesystem mount options that are not available at arch driver
init time, an arch hook is needed to set up the default CLOSID when
the resctrl filesystem is mounted.

Add a suitable arch hook resctrl_arch_init_domains().

Wire it up to arch stubs that do nothing, for now.
(This is also the right thing for x86.)

No functional change.

Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
parent a621325e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment