Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af5f6103 authored by Mohammed Nayeem Ur Rahman's avatar Mohammed Nayeem Ur Rahman
Browse files

msm: adsprpc: Fix virtual address for already mapped buffers



Virtual address was being set incorrectly for already mapped buffers 
which was leading to invalid access in DSP. Fix is to set proper
virtual address.

Change-Id: I51407f20bb44f8fa1dd1f4c1951db3c34d153252
Acked-by: default avatarTadakamalla Krishnaiah <ktadakam@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Nayeem Ur Rahman <mohara@codeaurora.org>
parents 80f45dc6 e2410303
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ dtb-$(CONFIG_ARCH_SDXPOORWILLS) += sdxpoorwills-rumi.dtb \
	sa415m-ccard.dtb \
	sa415m-ccard-pcie-ep.dtb \
	sa415m-ccard-usb-ep.dtb \
	sa415m-ttp-pcie-ep.dtb \
	sa415m-ttp-usb-ep.dtb \
	sa415m-mtp-256.dtb \
	sa415m-cdp.dtb \
+4 −0
Original line number Diff line number Diff line
@@ -30,3 +30,7 @@
&mss_mem {
	reg = <0x86400000 0x9300000>;
};

&smb138x {
	status = "disabled";
};
+4 −0
Original line number Diff line number Diff line
@@ -28,3 +28,7 @@
&mss_mem {
	reg = <0x86400000 0x9300000>;
};

&smb138x {
	status = "disabled";
};
+65 −0
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/dts-v1/;

#include "sa415m-ttp.dtsi"
#include "sdxpoorwills-v2.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SA415M TTP PCIE-EP";
	compatible = "qcom,sa415m-ttp",
			"qcom,sdxpoorwills", "qcom,ttp";
	qcom,board-id = <30 0x101>;
};

&mss_mem {
	reg = <0x86400000 0x9300000>;
};

&usb {
	/delete-property/ iommus;
};

&pcie_ep {
	status = "okay";
};

&ipa_hw {
	qcom,use-ipa-in-mhi-mode;
	qcom,ipa-config-is-auto;
	qcom,mhi-event-ring-id-limits = <7 11>; /* start and end */
};

&cnss_pcie {
	status = "disabled";
};

&pcie0 {
	status = "disabled";
};

&mhi_device {
	status = "okay";
};

&restart_pshold {
	qcom,force-warm-reboot;
};

&ipc_router_mhi_dev_xprt {
	status = "okay";
};

&mhi_net_device {
	status = "okay";
};
+6 −2
Original line number Diff line number Diff line
@@ -53,8 +53,8 @@
	};
	cnss_pcie: qcom,cnss {
		compatible = "qcom,cnss";
		reg = <0x10000000 0x10000000>,
		      <0x20000000 0x10000>;
		reg = <0xa0000000 0x10000000>,
		      <0xb0000000 0x10000>;
		reg-names = "smmu_iova_base", "smmu_iova_ipa";

		wlan-en-gpio = <&tlmm 52 0>;
@@ -91,6 +91,10 @@
	};
};

&smb138x {
	status = "disabled";
};

&i2c_4 {
	status = "okay";

Loading