Loading Documentation/devicetree/bindings/platform/msm/ipa.txt +10 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,16 @@ memory allocation over a PCIe bridge over pcie bus or not. - qcom,ipa-wdi2_over_gsi: Boolean context flag to indicate WDI2 offload over GSI supported or not. - qcom,register-collection-on-crash: Boolean that controls IPA/GSI register collection upon system crash (i.e. SSR). - qcom,testbus-collection-on-crash: Boolean that controls testbus register collection upon system crash. - qcom,non-tn-collection-on-crash: Boolean to control a certain subset of IPA/GSI register collection relative to an SSR. Accessing these registers can cause stalling, hence this control. - qcom,entire-ipa-block-size: Complete size of the ipa block in which all registers, collected upon crash, reside. IPA pipe sub nodes (A2 static pipes configurations): Loading arch/arm64/boot/dts/qcom/sm8150-sdxprairie.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,10 @@ &soc { ipa_hw: qcom,ipa@1e00000 { qcom,platform-type = <2>; /* APQ platform */ qcom,entire-ipa-block-size = <0x100000>; qcom,register-collection-on-crash; qcom,testbus-collection-on-crash; qcom,non-tn-collection-on-crash; }; }; Loading arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -512,6 +512,7 @@ CONFIG_IPA3_MHI_PROXY=y CONFIG_IPA_UT=y CONFIG_MSM_11AD=m CONFIG_SEEMP_CORE=y CONFIG_IPA3_REGDUMP=y CONFIG_QCOM_MDSS_PLL=y CONFIG_SPMI_PMIC_CLKDIV=y CONFIG_MSM_CLK_AOP_QMP=y Loading arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -535,6 +535,7 @@ CONFIG_IPA3_MHI_PROXY=y CONFIG_IPA_UT=y CONFIG_MSM_11AD=m CONFIG_SEEMP_CORE=y CONFIG_IPA3_REGDUMP=y CONFIG_QCOM_MDSS_PLL=y CONFIG_SPMI_PMIC_CLKDIV=y CONFIG_MSM_CLK_AOP_QMP=y Loading drivers/platform/msm/Kconfig +28 −0 Original line number Diff line number Diff line Loading @@ -212,4 +212,32 @@ config IPA_EMULATION help This option is used only when building the X86 version of the IPA/GSI driver. Never set this when building for ARM. config IPA3_REGDUMP bool "Dump or collect IPA/GSI register values on Linux crash" depends on IPA3 help This option is to be used when the saving of IPA/GSI register state is desired upon system crash. choice prompt "Platform whose registers are to be dumped/collected" depends on IPA3_REGDUMP config IPA3_REGDUMP_SM8150 bool "The sm8150 platform" depends on IPA3_REGDUMP depends on ARCH_SM8150 help The sm8150 platform's registers will be dumped/collected. endchoice config IPA3_REGDUMP_NUM_EXTRA_ENDP_REGS int "The number of extra endp registers for remaining pipes" depends on IPA3_REGDUMP default 0 help If the platform has extra endpoint registers for remaining pipes, please express how many here. endmenu Loading
Documentation/devicetree/bindings/platform/msm/ipa.txt +10 −0 Original line number Diff line number Diff line Loading @@ -94,6 +94,16 @@ memory allocation over a PCIe bridge over pcie bus or not. - qcom,ipa-wdi2_over_gsi: Boolean context flag to indicate WDI2 offload over GSI supported or not. - qcom,register-collection-on-crash: Boolean that controls IPA/GSI register collection upon system crash (i.e. SSR). - qcom,testbus-collection-on-crash: Boolean that controls testbus register collection upon system crash. - qcom,non-tn-collection-on-crash: Boolean to control a certain subset of IPA/GSI register collection relative to an SSR. Accessing these registers can cause stalling, hence this control. - qcom,entire-ipa-block-size: Complete size of the ipa block in which all registers, collected upon crash, reside. IPA pipe sub nodes (A2 static pipes configurations): Loading
arch/arm64/boot/dts/qcom/sm8150-sdxprairie.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,10 @@ &soc { ipa_hw: qcom,ipa@1e00000 { qcom,platform-type = <2>; /* APQ platform */ qcom,entire-ipa-block-size = <0x100000>; qcom,register-collection-on-crash; qcom,testbus-collection-on-crash; qcom,non-tn-collection-on-crash; }; }; Loading
arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -512,6 +512,7 @@ CONFIG_IPA3_MHI_PROXY=y CONFIG_IPA_UT=y CONFIG_MSM_11AD=m CONFIG_SEEMP_CORE=y CONFIG_IPA3_REGDUMP=y CONFIG_QCOM_MDSS_PLL=y CONFIG_SPMI_PMIC_CLKDIV=y CONFIG_MSM_CLK_AOP_QMP=y Loading
arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -535,6 +535,7 @@ CONFIG_IPA3_MHI_PROXY=y CONFIG_IPA_UT=y CONFIG_MSM_11AD=m CONFIG_SEEMP_CORE=y CONFIG_IPA3_REGDUMP=y CONFIG_QCOM_MDSS_PLL=y CONFIG_SPMI_PMIC_CLKDIV=y CONFIG_MSM_CLK_AOP_QMP=y Loading
drivers/platform/msm/Kconfig +28 −0 Original line number Diff line number Diff line Loading @@ -212,4 +212,32 @@ config IPA_EMULATION help This option is used only when building the X86 version of the IPA/GSI driver. Never set this when building for ARM. config IPA3_REGDUMP bool "Dump or collect IPA/GSI register values on Linux crash" depends on IPA3 help This option is to be used when the saving of IPA/GSI register state is desired upon system crash. choice prompt "Platform whose registers are to be dumped/collected" depends on IPA3_REGDUMP config IPA3_REGDUMP_SM8150 bool "The sm8150 platform" depends on IPA3_REGDUMP depends on ARCH_SM8150 help The sm8150 platform's registers will be dumped/collected. endchoice config IPA3_REGDUMP_NUM_EXTRA_ENDP_REGS int "The number of extra endp registers for remaining pipes" depends on IPA3_REGDUMP default 0 help If the platform has extra endpoint registers for remaining pipes, please express how many here. endmenu