mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
msm: ipa: update mem_part table for IPA SRAM
mem_partition table update for IPA SRAM. Change-Id: I1cabeeca7eef8f82792d30f5a62c06bc3e08b049 Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
parent
54f5b081c1
commit
e2df375d79
1 changed files with 100 additions and 1 deletions
|
|
@ -3439,6 +3439,103 @@ static struct ipa3_mem_partition ipa_4_7_mem_part = {
|
|||
.end_ofst = 0x3000,
|
||||
};
|
||||
|
||||
static struct ipa3_mem_partition ipa_4_9_mem_part = {
|
||||
.uc_info_ofst = 0x80,
|
||||
.uc_info_size = 0x200,
|
||||
.ofst_start = 0x280,
|
||||
.v4_flt_hash_ofst = 0x288,
|
||||
.v4_flt_hash_size = 0x78,
|
||||
.v4_flt_hash_size_ddr = 0x4000,
|
||||
.v4_flt_nhash_ofst = 0x308,
|
||||
.v4_flt_nhash_size = 0x78,
|
||||
.v4_flt_nhash_size_ddr = 0x4000,
|
||||
.v6_flt_hash_ofst = 0x388,
|
||||
.v6_flt_hash_size = 0x78,
|
||||
.v6_flt_hash_size_ddr = 0x4000,
|
||||
.v6_flt_nhash_ofst = 0x408,
|
||||
.v6_flt_nhash_size = 0x78,
|
||||
.v6_flt_nhash_size_ddr = 0x4000,
|
||||
.v4_rt_num_index = 0xf,
|
||||
.v4_modem_rt_index_lo = 0x0,
|
||||
.v4_modem_rt_index_hi = 0x7,
|
||||
.v4_apps_rt_index_lo = 0x8,
|
||||
.v4_apps_rt_index_hi = 0xe,
|
||||
.v4_rt_hash_ofst = 0x488,
|
||||
.v4_rt_hash_size = 0x78,
|
||||
.v4_rt_hash_size_ddr = 0x4000,
|
||||
.v4_rt_nhash_ofst = 0x508,
|
||||
.v4_rt_nhash_size = 0x78,
|
||||
.v4_rt_nhash_size_ddr = 0x4000,
|
||||
.v6_rt_num_index = 0xf,
|
||||
.v6_modem_rt_index_lo = 0x0,
|
||||
.v6_modem_rt_index_hi = 0x7,
|
||||
.v6_apps_rt_index_lo = 0x8,
|
||||
.v6_apps_rt_index_hi = 0xe,
|
||||
.v6_rt_hash_ofst = 0x588,
|
||||
.v6_rt_hash_size = 0x78,
|
||||
.v6_rt_hash_size_ddr = 0x4000,
|
||||
.v6_rt_nhash_ofst = 0x608,
|
||||
.v6_rt_nhash_size = 0x78,
|
||||
.v6_rt_nhash_size_ddr = 0x4000,
|
||||
.modem_hdr_ofst = 0x688,
|
||||
.modem_hdr_size = 0x240,
|
||||
.apps_hdr_ofst = 0x8c8,
|
||||
.apps_hdr_size = 0x200,
|
||||
.apps_hdr_size_ddr = 0x800,
|
||||
.modem_hdr_proc_ctx_ofst = 0xad0,
|
||||
.modem_hdr_proc_ctx_size = 0xb20,
|
||||
.apps_hdr_proc_ctx_ofst = 0x15f0,
|
||||
.apps_hdr_proc_ctx_size = 0x200,
|
||||
.apps_hdr_proc_ctx_size_ddr = 0x0,
|
||||
.nat_tbl_ofst = 0x1800,
|
||||
.nat_tbl_size = 0x800,
|
||||
.nat_index_tbl_ofst = 0x2000,
|
||||
.nat_index_tbl_size = 0x100,
|
||||
.nat_exp_tbl_ofst = 0x2100,
|
||||
.nat_exp_tbl_size = 0x400,
|
||||
.stats_quota_ofst = 0x2510,
|
||||
.stats_quota_size = 0x78,
|
||||
.stats_tethering_ofst = 0x2588,
|
||||
.stats_tethering_size = 0x238,
|
||||
.stats_flt_v4_ofst = 0,
|
||||
.stats_flt_v4_size = 0,
|
||||
.stats_flt_v6_ofst = 0,
|
||||
.stats_flt_v6_size = 0,
|
||||
.stats_rt_v4_ofst = 0,
|
||||
.stats_rt_v4_size = 0,
|
||||
.stats_rt_v6_ofst = 0,
|
||||
.stats_rt_v6_size = 0,
|
||||
.stats_fnr_ofst = 0x27c0,
|
||||
.stats_fnr_size = 0x800,
|
||||
.stats_drop_ofst = 0x2fc0,
|
||||
.stats_drop_size = 0x20,
|
||||
.modem_comp_decomp_ofst = 0x0,
|
||||
.modem_comp_decomp_size = 0x0,
|
||||
.modem_ofst = 0x2fe8,
|
||||
.modem_size = 0x800,
|
||||
.apps_v4_flt_hash_ofst = 0x2718,
|
||||
.apps_v4_flt_hash_size = 0x0,
|
||||
.apps_v4_flt_nhash_ofst = 0x2718,
|
||||
.apps_v4_flt_nhash_size = 0x0,
|
||||
.apps_v6_flt_hash_ofst = 0x2718,
|
||||
.apps_v6_flt_hash_size = 0x0,
|
||||
.apps_v6_flt_nhash_ofst = 0x2718,
|
||||
.apps_v6_flt_nhash_size = 0x0,
|
||||
.apps_v4_rt_hash_ofst = 0x2718,
|
||||
.apps_v4_rt_hash_size = 0x0,
|
||||
.apps_v4_rt_nhash_ofst = 0x2718,
|
||||
.apps_v4_rt_nhash_size = 0x0,
|
||||
.apps_v6_rt_hash_ofst = 0x2718,
|
||||
.apps_v6_rt_hash_size = 0x0,
|
||||
.apps_v6_rt_nhash_ofst = 0x2718,
|
||||
.apps_v6_rt_nhash_size = 0x0,
|
||||
.uc_descriptor_ram_ofst = 0x3800,
|
||||
.uc_descriptor_ram_size = 0x1000,
|
||||
.pdn_config_ofst = 0x4800,
|
||||
.pdn_config_size = 0x50,
|
||||
.end_ofst = 0x4850,
|
||||
};
|
||||
|
||||
/**
|
||||
* ipa3_get_clients_from_rm_resource() - get IPA clients which are related to an
|
||||
* IPA_RM resource
|
||||
|
|
@ -5796,9 +5893,11 @@ int ipa3_init_mem_partition(enum ipa_hw_type type)
|
|||
ipa3_ctx->ctrl->mem_partition = &ipa_4_5_mem_part;
|
||||
break;
|
||||
case IPA_HW_v4_7:
|
||||
case IPA_HW_v4_9:
|
||||
ipa3_ctx->ctrl->mem_partition = &ipa_4_7_mem_part;
|
||||
break;
|
||||
case IPA_HW_v4_9:
|
||||
ipa3_ctx->ctrl->mem_partition = &ipa_4_9_mem_part;
|
||||
break;
|
||||
case IPA_HW_None:
|
||||
case IPA_HW_v1_0:
|
||||
case IPA_HW_v1_1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue