OSDN Git Service

ARM: dts: msm: Make allocation for diag as guaranteed on msm8998
authorManoj Prabhu B <bmanoj@codeaurora.org>
Mon, 11 Dec 2017 09:19:35 +0000 (14:49 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 29 Jan 2018 06:35:18 +0000 (22:35 -0800)
Currently, memshare allocates 5MB memory to diag client on
receiving requests from modem. With the patch diag client
will be considered guaranteed on msm8998 to avoid memory
allocation failure on modem SSRs. Marking diag guaranteed
client allocated memory will never be freed.

Change-Id: I93fa8ae34d2268f6a18c7311b6833ed7e33ab30b
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
arch/arm/boot/dts/qcom/msm8998.dtsi

index 132f3e7..6990099 100644 (file)
                        compatible = "qcom,memshare-peripheral";
                        qcom,peripheral-size = <0x0>;
                        qcom,client-id = <1>;
+                       qcom,allocate-boot-time;
                        label = "modem";
                };
        };