From 6f9a001551a125cb208bc686df40d19e2f8925de Mon Sep 17 00:00:00 2001 From: Prasad Arepall Date: Fri, 14 Apr 2023 14:29:25 +0530 Subject: [PATCH] ARM: dts: msm: add gfp no retry flag for order-3 tmp alloc Adding a change to clear __GFP_RETRY_MAY_FAIL flag for order-3 tmp_alloc rather use __GFP_NORETRY flag to retry only once whenever there is an order-2 fallback option available. So, that it may help in replenishing the buffers on time. Change-Id: Ic03f8cd0303d3b2e890eed10e04594cb51c52228 --- bindings/platform/msm/ipa.txt | 2 ++ qcom/ravelin.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/bindings/platform/msm/ipa.txt b/bindings/platform/msm/ipa.txt index e35b641e..ec57fd33 100644 --- a/bindings/platform/msm/ipa.txt +++ b/bindings/platform/msm/ipa.txt @@ -33,6 +33,8 @@ Optional: if set to zero then the feature is disabled. - qcom,tx-napi: Enable usage of NAPI in the TX data path. - qcom,lan-rx-napi: Enable NAPI in the LAN RX data path. +- qcom,gfp-no-retry: Enable this flag in case to not retry for + the order-3 temp allocations except once. - qcom,ipa-uc-holb-monitor: Enable uC HOLB monitor feature. - qcom,ipa-holb-monitor-poll-period: Poll period for HOLB monitor feature. - qcom,holb-monitor-max-cnt-wlan: Max stuck count for HOLB on WLAN channel. diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index a8deb687..5a194980 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -2411,6 +2411,7 @@ qcom,tx-poll; qcom,wan-use-skb-page; qcom,rmnet-ctl-enable; + qcom,gfp-no-retry; qcom,ipa-holb-monitor-poll-period = <5>; qcom,ipa-holb-monitor-max-cnt-wlan = <10>; qcom,ipa-holb-monitor-max-cnt-usb = <10>;