STRUCT LLCC_SLICE_CONFIG(9)
π NAME π
Hiii bestie π«Ά welcome to struct llcc_slice_config(9) from the Kernel API Manual. This is literally the data associated with the LLCC slice β the struct that carries all the slice config vibes β¨.
β¨ SYNOPSIS β¨
struct llcc_slice_config {
u32 usecase_id;
u32 slice_id;
u32 max_cap;
u32 priority;
bool fixed_size;
u32 bonus_ways;
u32 res_ways;
u32 cache_mode;
u32 probe_target_ways;
bool dis_cap_alloc;
bool retain_on_pc;
bool activate_on_init;
bool write_scid_en;
bool write_scid_cacheable_en;
bool stale_en;
bool stale_cap_en;
bool mru_uncap_en;
bool mru_rollover;
bool alloc_oneway_en;
bool ovcap_en;
bool ovcap_prio;
bool vict_prio;
u32 parent_slice_id;
};
πΈ Members πΈ
Okay so here's the member-by-member tea, and every single field is staying exactly where it is π :
usecase_idβ unique id for the client's use case.slice_idβ LLCC slice id for each client.max_capβ the maximum capacity of the cache slice, provided in KB.priorityβ priority of the client, used to select the victim line for replacement.fixed_sizeβ boolean indicating if the slice has a fixed capacity.bonus_waysβ bonus ways are additional ways to be used for any slice if the client ends up using more than the reserved cache ways. Bonus ways are allocated only if they are not reserved for some other client.res_waysβ reserved ways for the cache slice; the reserved ways cannot be used by any other client than the one they're assigned to.cache_modeβ each slice operates as a cache, and this controls the mode of the slice: normal or TCM(Tightly Coupled Memory).probe_target_waysβ determines what ways to probe for access hit. When configured to1, only bonus and reserved ways are probed. When configured to0, all ways in LLCC are probed.dis_cap_allocβ disable capacity based allocation for a client.retain_on_pcβ if this bit is set and the client has maintained active vote, then the ways assigned to this client are not flushed on power collapse.activate_on_initβ activate the slice immediately after it is programmed.write_scid_enβ bit enables write cache support for a given scid.write_scid_cacheable_enβ enables write cache cacheable support for a given scid (not supported on v2 or older hardware).stale_enβ bit enables stale.stale_cap_enβ bit enables stale only if current scid is over-cap.mru_uncap_enβ roll-over on reserved cache ways if current scid is under-cap.mru_rolloverβ roll-over on reserved cache ways.alloc_oneway_enβ always allocate one way on over-cap even if there's no same-scid lines for replacement.ovcap_enβ once current scid is over-capacity, allocate other over-cap SCID.ovcap_prioβ once current scid is over-capacity, allocate other low priority over-cap scid. Depends on corresponding bit being set inovcap_en.vict_prioβ when current scid is under-capacity, allocate over other lower-than victim priority-line threshold scid.parent_slice_idβ for grouped slices, specifies the slice id of the parent.
π¦ SEE ALSO π¦
- Kernel file
./drivers/soc/qcom/llcc-qcom.c llcc_slice_getd(9)llcc_slice_putd(9)llcc_slice_activate(9)llcc_slice_deactivate(9)llcc_get_slice_id(9)llcc_get_slice_size(9)
That's the whole page, bestie π source/version vibes: ./drivers/soc/qcom and struct llcc_slice_config(9); date: October 2026 β cute lil footer sign-off complete, byeee π¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms