On Sat, Sep 07, 2024 at 01:46:18AM GMT, Konrad Dybcio wrote: > From: Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx> > > The current way of storing the configuration is very much > unmaintainable. Convert the data to use designated initializers to make > it easier both to understand and add/update the slice configuration > data. > > Signed-off-by: Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx> > --- > I put this as RFC, since this makes the file gia-nor-mous.. However, I > don't think it's feasible to try and update these values based on > available information if the developer needs to count commas in the C89 > notation.. The idea looks good, but I'd suggest dropping default initializations in most of the cases. Setting the bool to false just adds the noise. .res_ways / .bonus_ways / .cache_mode probably should stay as is. > --- > drivers/soc/qcom/llcc-qcom.c | 6451 ++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 6182 insertions(+), 269 deletions(-) > > diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c > index 8fa4ffd3a9b5..3dc486f752ab 100644 > --- a/drivers/soc/qcom/llcc-qcom.c > +++ b/drivers/soc/qcom/llcc-qcom.c > @@ -152,325 +152,6238 @@ enum llcc_reg_offset { > }; > > static const struct llcc_slice_config sa8775p_data[] = { > - {LLCC_CPUSS, 1, 2048, 1, 0, 0x00FF, 0x0, 0, 0, 0, 1, 1, 0, 0}, > - {LLCC_VIDSC0, 2, 512, 3, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_CPUSS1, 3, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_CPUHWT, 5, 512, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_AUDIO, 6, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CMPT, 10, 4096, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_GPUHTW, 11, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_GPU, 12, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 1, 0}, > - {LLCC_MMUHWT, 13, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 0, 1, 0, 0}, > - {LLCC_CMPTDMA, 15, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_DISP, 16, 4096, 2, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_VIDFW, 17, 3072, 1, 0, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_AUDHW, 22, 1024, 1, 1, 0x00FF, 0x0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CVP, 28, 256, 3, 1, 0x00FF, 0x0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0xF0, 1, 0, 0, 1, 0, 0, 0}, > - {LLCC_WRCACHE, 31, 512, 1, 1, 0x00FF, 0x0, 0, 0, 0, 0, 1, 0, 0}, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUSS1, > + .slice_id = 3, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUHWT, > + .slice_id = 5, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 4096, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTDMA, > + .slice_id = 15, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 4096, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDFW, > + .slice_id = 17, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 28, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xF0, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x00FF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sc7180_data[] = { > - { LLCC_CPUSS, 1, 256, 1, 0, 0xf, 0x0, 0, 0, 0, 1, 1 }, > - { LLCC_MDM, 8, 128, 1, 0, 0xf, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW, 11, 128, 1, 0, 0xf, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 128, 1, 0, 0xf, 0x0, 0, 0, 0, 1, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sc7280_data[] = { > - { LLCC_CPUSS, 1, 768, 1, 0, 0x3f, 0x0, 0, 0, 0, 1, 1, 0}, > - { LLCC_MDMHPGRW, 7, 512, 2, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_CMPT, 10, 768, 1, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_GPUHTW, 11, 256, 1, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_GPU, 12, 512, 1, 0, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_MMUHWT, 13, 256, 1, 1, 0x3f, 0x0, 0, 0, 0, 0, 1, 0}, > - { LLCC_MDMPNG, 21, 768, 0, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_WLHW, 24, 256, 1, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > - { LLCC_MODPE, 29, 64, 1, 1, 0x3f, 0x0, 0, 0, 0, 1, 0, 0}, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 768, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WLHW, > + .slice_id = 24, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 64, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3f, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sc8180x_data[] = { > - { LLCC_CPUSS, 1, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 1 }, > - { LLCC_VIDSC0, 2, 512, 2, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_VIDSC1, 3, 512, 2, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDIO, 6, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMHPGRW, 7, 3072, 1, 1, 0x3ff, 0xc00, 0, 0, 0, 1, 0 }, > - { LLCC_MDM, 8, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MODHW, 9, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_CMPT, 10, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW, 11, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 5120, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1 }, > - { LLCC_CMPTDMA, 15, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_DISP, 16, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_VIDFW, 17, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMHPFX, 20, 1024, 2, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMPNG, 21, 1024, 0, 1, 0xc, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDHW, 22, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_NPU, 23, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_WLHW, 24, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MODPE, 29, 512, 1, 1, 0xc, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_APTCM, 30, 512, 3, 1, 0x0, 0x1, 1, 0, 0, 1, 0 }, > - { LLCC_WRCACHE, 31, 128, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC1, > + .slice_id = 3, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3ff, > + .res_ways = 0xc00, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 5120, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTDMA, > + .slice_id = 15, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDFW, > + .slice_id = 17, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPFX, > + .slice_id = 20, > + .max_cap = 1024, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0xc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_NPU, > + .slice_id = 23, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WLHW, > + .slice_id = 24, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x1, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sc8280xp_data[] = { > - { LLCC_CPUSS, 1, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 1, 0 }, > - { LLCC_VIDSC0, 2, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_AUDIO, 6, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 }, > - { LLCC_CMPT, 10, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 }, > - { LLCC_GPUHTW, 11, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_GPU, 12, 4096, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 1 }, > - { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_DISP, 16, 6144, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_AUDHW, 22, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_ECC, 26, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_CVP, 28, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0x1, 1, 0, 0, 1, 0, 0 }, > - { LLCC_WRCACHE, 31, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CVPFW, 17, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_CPUSS1, 3, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_CPUHWT, 5, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 4096, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ECC, > + .slice_id = 26, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 28, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x1, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVPFW, > + .slice_id = 17, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUSS1, > + .slice_id = 3, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUHWT, > + .slice_id = 5, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > -static const struct llcc_slice_config sdm845_data[] = { > - { LLCC_CPUSS, 1, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 1 }, > - { LLCC_VIDSC0, 2, 512, 2, 1, 0x0, 0x0f0, 0, 0, 1, 1, 0 }, > - { LLCC_VIDSC1, 3, 512, 2, 1, 0x0, 0x0f0, 0, 0, 1, 1, 0 }, > - { LLCC_ROTATOR, 4, 563, 2, 1, 0x0, 0x00e, 2, 0, 1, 1, 0 }, > - { LLCC_VOICE, 5, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_AUDIO, 6, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_MDMHPGRW, 7, 1024, 2, 0, 0xfc, 0xf00, 0, 0, 1, 1, 0 }, > - { LLCC_MDM, 8, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_CMPT, 10, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_GPUHTW, 11, 512, 1, 1, 0xc, 0x0, 0, 0, 1, 1, 0 }, > - { LLCC_GPU, 12, 2304, 1, 0, 0xff0, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_MMUHWT, 13, 256, 2, 0, 0x0, 0x1, 0, 0, 1, 0, 1 }, > - { LLCC_CMPTDMA, 15, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_DISP, 16, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_VIDFW, 17, 2816, 1, 0, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > - { LLCC_MDMHPFX, 20, 1024, 2, 1, 0x0, 0xf00, 0, 0, 1, 1, 0 }, > - { LLCC_MDMPNG, 21, 1024, 0, 1, 0x1e, 0x0, 0, 0, 1, 1, 0 }, > - { LLCC_AUDHW, 22, 1024, 1, 1, 0xffc, 0x2, 0, 0, 1, 1, 0 }, > +static const struct llcc_slice_config sdm845_data[] = {{ > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x0f0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC1, > + .slice_id = 3, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x0f0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ROTATOR, > + .slice_id = 4, > + .max_cap = 563, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x00e, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VOICE, > + .slice_id = 5, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 1024, > + .priority = 2, > + .fixed_size = false, > + .bonus_ways = 0xfc, > + .res_ways = 0xf00, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 2304, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xff0, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 256, > + .priority = 2, > + .fixed_size = false, > + .bonus_ways = 0x0, > + .res_ways = 0x1, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTDMA, > + .slice_id = 15, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDFW, > + .slice_id = 17, > + .max_cap = 2816, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPFX, > + .slice_id = 20, > + .max_cap = 1024, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xf00, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x1e, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xffc, > + .res_ways = 0x2, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = true, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm6350_data[] = { > - { LLCC_CPUSS, 1, 768, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 1 }, > - { LLCC_MDM, 8, 512, 2, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW, 11, 256, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 512, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMPNG, 21, 768, 0, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_NPU, 23, 768, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_MODPE, 29, 64, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 768, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_NPU, > + .slice_id = 23, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 64, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm7150_data[] = { > - { LLCC_CPUSS, 1, 512, 1, 0, 0xF, 0x0, 0, 0, 0, 1, 1 }, > - { LLCC_MDM, 8, 128, 2, 0, 0xF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW, 11, 256, 1, 1, 0xF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 256, 1, 1, 0xF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_NPU, 23, 512, 1, 0, 0xF, 0x0, 0, 0, 0, 1, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 128, > + .priority = 2, > + .fixed_size = false, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_NPU, > + .slice_id = 23, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8150_data[] = { > - { LLCC_CPUSS, 1, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 1 }, > - { LLCC_VIDSC0, 2, 512, 2, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_VIDSC1, 3, 512, 2, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDIO, 6, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMHPGRW, 7, 3072, 1, 0, 0xFF, 0xF00, 0, 0, 0, 1, 0 }, > - { LLCC_MDM, 8, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MODHW, 9, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_CMPT, 10, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW , 11, 512, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 2560, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MMUHWT, 13, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1 }, > - { LLCC_CMPTDMA, 15, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_DISP, 16, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMHPFX, 20, 1024, 2, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMHPFX, 21, 1024, 0, 1, 0xF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDHW, 22, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_NPU, 23, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_WLHW, 24, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_MODPE, 29, 256, 1, 1, 0xF, 0x0, 0, 0, 0, 1, 0 }, > - { LLCC_APTCM, 30, 256, 3, 1, 0x0, 0x1, 1, 0, 0, 1, 0 }, > - { LLCC_WRCACHE, 31, 128, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC1, > + .slice_id = 3, > + .max_cap = 512, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFF, > + .res_ways = 0xF00, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDM, > + .slice_id = 8, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = 1, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = 0, > + .retain_on_pc = 1, > + .activate_on_init = 0, > + .write_scid_en = 0, > + .write_scid_cacheable_en = 0, > + .stale_en = 0, > + .stale_cap_en = 0, > + .mru_uncap_en = 0, > + .mru_rollover = 0, > + .alloc_oneway_en = 0, > + .ovcap_en = 0, > + .ovcap_prio = 0, > + .vict_prio = 0, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 2560, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTDMA, > + .slice_id = 15, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPFX, > + .slice_id = 20, > + .max_cap = 1024, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPFX, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_NPU, > + .slice_id = 23, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WLHW, > + .slice_id = 24, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x1, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8250_data[] = { > - { LLCC_CPUSS, 1, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 1, 0 }, > - { LLCC_VIDSC0, 2, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_AUDIO, 6, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 }, > - { LLCC_CMPT, 10, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 }, > - { LLCC_GPUHTW, 11, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_GPU, 12, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 1 }, > - { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CMPTDMA, 15, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_DISP, 16, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_VIDFW, 17, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_AUDHW, 22, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_NPU, 23, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_WLHW, 24, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_CVP, 28, 256, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_APTCM, 30, 128, 3, 0, 0x0, 0x3, 1, 0, 0, 1, 0, 0 }, > - { LLCC_WRCACHE, 31, 256, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTDMA, > + .slice_id = 15, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDFW, > + .slice_id = 17, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_NPU, > + .slice_id = 23, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WLHW, > + .slice_id = 24, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 28, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 128, > + .priority = 3, > + .fixed_size = false, > + .bonus_ways = 0x0, > + .res_ways = 0x3, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8350_data[] = { > - { LLCC_CPUSS, 1, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 1 }, > - { LLCC_VIDSC0, 2, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDIO, 6, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 }, > - { LLCC_MDMHPGRW, 7, 1024, 3, 0, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_MODHW, 9, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CMPT, 10, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_GPUHTW, 11, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_GPU, 12, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 1, 0 }, > - { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 }, > - { LLCC_DISP, 16, 3072, 2, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_MDMPNG, 21, 1024, 0, 1, 0xf, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_AUDHW, 22, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CVP, 28, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_MODPE, 29, 256, 1, 1, 0xf, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0x1, 1, 0, 0, 0, 1, 0 }, > - { LLCC_WRCACHE, 31, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 }, > - { LLCC_CVPFW, 17, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CPUSS1, 3, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, > - { LLCC_CPUHWT, 5, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 3072, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 28, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xf, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x1, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVPFW, > + .slice_id = 17, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUSS1, > + .slice_id = 3, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUHWT, > + .slice_id = 5, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8450_data[] = { > - {LLCC_CPUSS, 1, 3072, 1, 0, 0xFFFF, 0x0, 0, 0, 0, 1, 1, 0, 0 }, > - {LLCC_VIDSC0, 2, 512, 3, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_AUDIO, 6, 1024, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0 }, > - {LLCC_MDMHPGRW, 7, 1024, 3, 0, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_MODHW, 9, 1024, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_CMPT, 10, 4096, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_GPUHTW, 11, 512, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_GPU, 12, 2048, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 1, 0 }, > - {LLCC_MMUHWT, 13, 768, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - {LLCC_DISP, 16, 4096, 2, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_MDMPNG, 21, 1024, 1, 1, 0xF000, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_AUDHW, 22, 1024, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0 }, > - {LLCC_CVP, 28, 256, 3, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_MODPE, 29, 64, 1, 1, 0xF000, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0xF0, 1, 0, 0, 1, 0, 0, 0 }, > - {LLCC_WRCACHE, 31, 512, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - {LLCC_CVPFW, 17, 512, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_CPUSS1, 3, 1024, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_CAMEXP0, 4, 256, 3, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_CPUMTE, 23, 256, 1, 1, 0x0FFF, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - {LLCC_CPUHWT, 5, 512, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 1, 0, 0 }, > - {LLCC_CAMEXP1, 27, 256, 3, 1, 0xFFFF, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - {LLCC_AENPU, 8, 2048, 1, 1, 0xFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0 }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = false, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 4096, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 12, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 13, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 4096, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 28, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 64, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xF0, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVPFW, > + .slice_id = 17, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUSS1, > + .slice_id = 3, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP0, > + .slice_id = 4, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUMTE, > + .slice_id = 23, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x0FFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUHWT, > + .slice_id = 5, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP1, > + .slice_id = 27, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AENPU, > + .slice_id = 8, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8550_data[] = { > - {LLCC_CPUSS, 1, 5120, 1, 0, 0xFFFFFF, 0x0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_VIDSC0, 2, 512, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_AUDIO, 6, 1024, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_MDMHPGRW, 25, 1024, 4, 0, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_MODHW, 26, 1024, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CMPT, 10, 4096, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_GPUHTW, 11, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_GPU, 9, 3096, 1, 0, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_MMUHWT, 18, 768, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_DISP, 16, 6144, 1, 1, 0xFFFFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_MDMPNG, 27, 1024, 0, 1, 0xF00000, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_AUDHW, 22, 1024, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CVP, 8, 256, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_MODPE, 29, 64, 1, 1, 0xF00000, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, }, > - {LLCC_WRCACHE, 31, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CAMEXP0, 4, 256, 4, 1, 0xF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CPUHWT, 5, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CAMEXP1, 7, 3200, 3, 1, 0xFFFFF0, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CMPTHCP, 17, 256, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_LCPDARE, 30, 128, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, }, > - {LLCC_AENPU, 3, 3072, 1, 1, 0xFE01FF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_ISLAND1, 12, 1792, 7, 1, 0xFE00, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_ISLAND4, 15, 256, 7, 1, 0x10000, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CAMEXP2, 19, 3200, 3, 1, 0xFFFFF0, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CAMEXP3, 20, 3200, 2, 1, 0xFFFFF0, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_CAMEXP4, 21, 3200, 2, 1, 0xFFFFF0, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_DISP_WB, 23, 1024, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_DISP_1, 24, 6144, 1, 1, 0xFFFFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > - {LLCC_VIDVSP, 28, 256, 4, 1, 0xFFFFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 5120, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = true, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 25, > + .max_cap = 1024, > + .priority = 4, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 26, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 4096, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 9, > + .max_cap = 3096, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = true, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 18, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 27, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0xF00000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 8, > + .max_cap = 256, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 64, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF00000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = true, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = true, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP0, > + .slice_id = 4, > + .max_cap = 256, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CPUHWT, > + .slice_id = 5, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP1, > + .slice_id = 7, > + .max_cap = 3200, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFF0, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTHCP, > + .slice_id = 17, > + .max_cap = 256, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_LCPDARE, > + .slice_id = 30, > + .max_cap = 128, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = true, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = true, > + }, { > + .usecase_id = LLCC_AENPU, > + .slice_id = 3, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFE01FF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ISLAND1, > + .slice_id = 12, > + .max_cap = 1792, > + .priority = 7, > + .fixed_size = true, > + .bonus_ways = 0xFE00, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ISLAND4, > + .slice_id = 15, > + .max_cap = 256, > + .priority = 7, > + .fixed_size = true, > + .bonus_ways = 0x10000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP2, > + .slice_id = 19, > + .max_cap = 3200, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFF0, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP3, > + .slice_id = 20, > + .max_cap = 3200, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFFFF0, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP4, > + .slice_id = 21, > + .max_cap = 3200, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFFFF0, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP_WB, > + .slice_id = 23, > + .max_cap = 1024, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP_1, > + .slice_id = 24, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDVSP, > + .slice_id = 28, > + .max_cap = 256, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config sm8650_data[] = { > - {LLCC_CPUSS, 1, 5120, 1, 0, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_VIDSC0, 2, 512, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_AUDIO, 6, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MDMHPGRW, 25, 1024, 3, 0, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MODHW, 26, 1024, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CMPT, 10, 4096, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_GPUHTW, 11, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_GPU, 9, 3096, 1, 0, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MMUHWT, 18, 768, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_DISP, 16, 6144, 1, 1, 0xFFFFFF, 0x0, 2, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MDMHPFX, 24, 1024, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MDMPNG, 27, 1024, 0, 1, 0x000000, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_AUDHW, 22, 1024, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CVP, 8, 256, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MODPE, 29, 128, 1, 1, 0xF00000, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_WRCACHE, 31, 512, 1, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP0, 4, 256, 3, 1, 0xF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP1, 7, 3200, 3, 1, 0xFFFFF0, 0x0, 2, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CMPTHCP, 17, 256, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_LCPDARE, 30, 128, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_AENPU, 3, 3072, 1, 1, 0xFFFFFF, 0x0, 2, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_ISLAND1, 12, 5888, 7, 1, 0x0, 0x7FFFFF, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_DISP_WB, 23, 1024, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_VIDVSP, 28, 256, 3, 1, 0xFFFFFF, 0x0, 0, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 5120, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = true, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 25, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 26, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 4096, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 9, > + .max_cap = 3096, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = true, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 18, > + .max_cap = 768, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP, > + .slice_id = 16, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMHPFX, > + .slice_id = 24, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 27, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x000000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 8, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xF00000, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = true, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP0, > + .slice_id = 4, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP1, > + .slice_id = 7, > + .max_cap = 3200, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFF0, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPTHCP, > + .slice_id = 17, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_LCPDARE, > + .slice_id = 30, > + .max_cap = 128, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = true, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AENPU, > + .slice_id = 3, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ISLAND1, > + .slice_id = 12, > + .max_cap = 5888, > + .priority = 7, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0x7FFFFF, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_DISP_WB, > + .slice_id = 23, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDVSP, > + .slice_id = 28, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFFFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0x0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config qdu1000_data_2ch[] = { > - { LLCC_MDMHPGRW, 7, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MODHW, 9, 256, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MDMPNG, 21, 256, 0, 1, 0x3, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_ECC, 26, 512, 3, 1, 0xffc, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_MODPE, 29, 256, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_APTCM, 30, 256, 3, 1, 0x0, 0xc, 1, 0, 0, 1, 0, 0, 0 }, > - { LLCC_WRCACHE, 31, 128, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > + { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 256, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ECC, > + .slice_id = 26, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xffc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 256, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xc, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 128, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config qdu1000_data_4ch[] = { > - { LLCC_MDMHPGRW, 7, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MODHW, 9, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MDMPNG, 21, 512, 0, 1, 0x3, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_ECC, 26, 1024, 3, 1, 0xffc, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_MODPE, 29, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_APTCM, 30, 512, 3, 1, 0x0, 0xc, 1, 0, 0, 1, 0, 0, 0 }, > - { LLCC_WRCACHE, 31, 256, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > + { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 512, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ECC, > + .slice_id = 26, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xffc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xc, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 256, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config qdu1000_data_8ch[] = { > - { LLCC_MDMHPGRW, 7, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MODHW, 9, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_MDMPNG, 21, 1024, 0, 1, 0x3, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_ECC, 26, 2048, 3, 1, 0xffc, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > - { LLCC_MODPE, 29, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0, 0 }, > - { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0xc, 1, 0, 0, 1, 0, 0, 0 }, > - { LLCC_WRCACHE, 31, 512, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 }, > + { > + .usecase_id = LLCC_MDMHPGRW, > + .slice_id = 7, > + .max_cap = 2048, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODHW, > + .slice_id = 9, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MDMPNG, > + .slice_id = 21, > + .max_cap = 1024, > + .priority = 0, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ECC, > + .slice_id = 26, > + .max_cap = 2048, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xffc, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MODPE, > + .slice_id = 29, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xfff, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_APTCM, > + .slice_id = 30, > + .max_cap = 1024, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xc, > + .cache_mode = 1, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = true, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_slice_config x1e80100_data[] = { > - {LLCC_CPUSS, 1, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_VIDSC0, 2, 512, 4, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_AUDIO, 6, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CMPT, 10, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_GPUHTW, 11, 512, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_GPU, 9, 4608, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_MMUHWT, 18, 512, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_AUDHW, 22, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CVP, 8, 512, 4, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_WRCACHE, 31, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP0, 4, 256, 4, 1, 0x3, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP1, 7, 3072, 3, 1, 0xFFC, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_LCPDARE, 30, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0}, > - {LLCC_AENPU, 3, 3072, 1, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_ISLAND1, 12, 2048, 7, 1, 0x0, 0xF, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP2, 19, 3072, 3, 1, 0xFFC, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP3, 20, 3072, 2, 1, 0xFFC, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > - {LLCC_CAMEXP4, 21, 3072, 2, 1, 0xFFC, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, > + { > + .usecase_id = LLCC_CPUSS, > + .slice_id = 1, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_VIDSC0, > + .slice_id = 2, > + .max_cap = 512, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDIO, > + .slice_id = 6, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CMPT, > + .slice_id = 10, > + .max_cap = 6144, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPUHTW, > + .slice_id = 11, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_GPU, > + .slice_id = 9, > + .max_cap = 4608, > + .priority = 1, > + .fixed_size = false, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = true, > + .write_scid_cacheable_en = true, > + .stale_en = true, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_MMUHWT, > + .slice_id = 18, > + .max_cap = 512, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AUDHW, > + .slice_id = 22, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CVP, > + .slice_id = 8, > + .max_cap = 512, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_WRCACHE, > + .slice_id = 31, > + .max_cap = 1024, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP0, > + .slice_id = 4, > + .max_cap = 256, > + .priority = 4, > + .fixed_size = true, > + .bonus_ways = 0x3, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP1, > + .slice_id = 7, > + .max_cap = 3072, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFC, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_LCPDARE, > + .slice_id = 30, > + .max_cap = 512, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = true, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = true, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_AENPU, > + .slice_id = 3, > + .max_cap = 3072, > + .priority = 1, > + .fixed_size = true, > + .bonus_ways = 0xFFF, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_ISLAND1, > + .slice_id = 12, > + .max_cap = 2048, > + .priority = 7, > + .fixed_size = true, > + .bonus_ways = 0x0, > + .res_ways = 0xF, > + .cache_mode = 0, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP2, > + .slice_id = 19, > + .max_cap = 3072, > + .priority = 3, > + .fixed_size = true, > + .bonus_ways = 0xFFC, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP3, > + .slice_id = 20, > + .max_cap = 3072, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFC, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, { > + .usecase_id = LLCC_CAMEXP4, > + .slice_id = 21, > + .max_cap = 3072, > + .priority = 2, > + .fixed_size = true, > + .bonus_ways = 0xFFC, > + .res_ways = 0x0, > + .cache_mode = 2, > + .probe_target_ways = 0, > + .dis_cap_alloc = false, > + .retain_on_pc = false, > + .activate_on_init = false, > + .write_scid_en = false, > + .write_scid_cacheable_en = false, > + .stale_en = false, > + .stale_cap_en = false, > + .mru_uncap_en = false, > + .mru_rollover = false, > + .alloc_oneway_en = false, > + .ovcap_en = false, > + .ovcap_prio = false, > + .vict_prio = false, > + }, > }; > > static const struct llcc_edac_reg_offset llcc_v1_edac_reg_offset = { > > --- > base-commit: 9aaeb87ce1e966169a57f53a02ba05b30880ffb8 > change-id: 20240907-topic-llcc_unwrap-a2786a422403 > > Best regards, > -- > Konrad Dybcio <quic_kdybcio@xxxxxxxxxxx> > -- With best wishes Dmitry