|
@@ -1191,6 +1191,26 @@ static ssize_t ipa3_read_flt(struct file *file, char __user *ubuf, size_t count,
|
|
|
|
|
|
mutex_lock(&ipa3_ctx->lock);
|
|
|
|
|
|
+ if (ip == IPA_IP_v6) {
|
|
|
+ if (ipa3_ctx->ip6_flt_tbl_hash_lcl)
|
|
|
+ pr_err("Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Hashable table resides on system (ddr) memory\n");
|
|
|
+ if (ipa3_ctx->ip6_flt_tbl_nhash_lcl)
|
|
|
+ pr_err("Non-Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Non-Hashable table resides on system (ddr) memory\n");
|
|
|
+ } else if (ip == IPA_IP_v4) {
|
|
|
+ if (ipa3_ctx->ip4_flt_tbl_hash_lcl)
|
|
|
+ pr_err("Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Hashable table resides on system (ddr) memory\n");
|
|
|
+ if (ipa3_ctx->ip4_flt_tbl_nhash_lcl)
|
|
|
+ pr_err("Non-Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Non-Hashable table resides on system (ddr) memory\n");
|
|
|
+ }
|
|
|
+
|
|
|
for (j = 0; j < ipa3_ctx->ipa_num_pipes; j++) {
|
|
|
if (!ipa_is_ep_support_flt(j))
|
|
|
continue;
|
|
@@ -1270,6 +1290,27 @@ static ssize_t ipa3_read_flt_hw(struct file *file, char __user *ubuf,
|
|
|
|
|
|
IPA_ACTIVE_CLIENTS_INC_SIMPLE();
|
|
|
mutex_lock(&ipa3_ctx->lock);
|
|
|
+
|
|
|
+ if (ip == IPA_IP_v6) {
|
|
|
+ if (ipa3_ctx->ip6_flt_tbl_hash_lcl)
|
|
|
+ pr_err("Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Hashable table resides on system (ddr) memory\n");
|
|
|
+ if (ipa3_ctx->ip6_flt_tbl_nhash_lcl)
|
|
|
+ pr_err("Non-Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Non-Hashable table resides on system (ddr) memory\n");
|
|
|
+ } else if (ip == IPA_IP_v4) {
|
|
|
+ if (ipa3_ctx->ip4_flt_tbl_hash_lcl)
|
|
|
+ pr_err("Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Hashable table resides on system (ddr) memory\n");
|
|
|
+ if (ipa3_ctx->ip4_flt_tbl_nhash_lcl)
|
|
|
+ pr_err("Non-Hashable table resides on local memory\n");
|
|
|
+ else
|
|
|
+ pr_err("Non-Hashable table resides on system (ddr) memory\n");
|
|
|
+ }
|
|
|
+
|
|
|
for (pipe = 0; pipe < ipa3_ctx->ipa_num_pipes; pipe++) {
|
|
|
if (!ipa_is_ep_support_flt(pipe))
|
|
|
continue;
|