Re: [PATCH 1/2] remoteproc: Add remote processor coredump support

2017-07-06 Thread Sarangdhar Joshi
On 6/21/2017 1:54 PM, Suman Anna wrote: Hi Sarang, Hi Sumant, Thanks for reviewing the patch.> >> On 06/14/2017 01:06 PM, Sarangdhar Joshi wrote: The remoteproc framework shuts down and immediately restarts the remote processor after fatal events (such as when remote crashes) d

Re: [PATCH 1/2] remoteproc: Add remote processor coredump support

2017-06-15 Thread Sarangdhar Joshi
On 6/15/2017 11:48 AM, Suman Anna wrote: Hi Sarangdhar, Hi Suman, Thanks for reviewing the patch. On 06/14/2017 01:06 PM, Sarangdhar Joshi wrote: The remoteproc framework shuts down and immediately restarts the remote processor after fatal events (such as when remote crashes) during the

[PATCH 2/2] remoteproc: qcom: Register segments with remoteproc

2017-06-14 Thread Sarangdhar Joshi
Register the firmware segments with remoteproc framework to ensure that the coredumps can be collected in the event of fatal failures. Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc/qcom_adsp_pil.c | 1 + drivers/remoteproc/qcom_wcnss.c| 1 + 2 files changed, 2 insertions(+) diff

[PATCH 1/2] remoteproc: Add remote processor coredump support

2017-06-14 Thread Sarangdhar Joshi
feature could be disabled by writing 1 to the disabled file under /sys/class/devcoredump/. Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc/qcom_common.c | 42 drivers/remoteproc/qcom_common.h | 2 + drivers/remoteproc/remoteproc_core.c | 168

[PATCH] remoteproc: qcom: mdt_loader: Fix rproc_da_to_va

2017-06-06 Thread Sarangdhar Joshi
address in that parameter. Fixes: 7f0dd07a9b29 ("remoteproc: qcom: mdt_loader: Refactor MDT loader") CC: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc/qcom_adsp_pil.c | 3 ++- drivers/remoteproc/qcom_wcnss.c | 3 ++- drivers/soc/qcom/mdt_loader.c | 5

[PATCH v3 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-26 Thread Sarangdhar Joshi
accessible after stopping the remote processor, to be able to extract the memory content for a coredump. This patch factors out the code in rproc_boot() and rproc_shutdown() path and introduces rproc_{start,stop}() in order to avoid resource allocation overhead. Signed-off-by: Sarangdhar Joshi

[PATCH v3 2/2] remoteproc: Modify recovery path to use rproc_{start,stop}()

2017-05-26 Thread Sarangdhar Joshi
Replace rproc_shutdown() by rproc_stop() and rproc_boot() by rproc_start() in the recovery path, in order to avoid remoteproc resources re-allocation overhead and to assist with extracting the coredumps after stopping the remote processor. Signed-off-by: Sarangdhar Joshi --- Changes from v2

[PATCH v2 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-25 Thread Sarangdhar Joshi
accessible after stopping the remote processor, to be able to extract the memory content for a coredump. This patch factors out the code in rproc_boot() and rproc_shutdown() path and introduces rproc_{start,stop}() in order to avoid resource allocation overhead. Signed-off-by: Sarangdhar Joshi

[PATCH v2 2/2] remoteproc: Modify recovery path to use rproc_{start,stop}()

2017-05-25 Thread Sarangdhar Joshi
Replace rproc_shutdown() by rproc_stop() and rproc_boot() by rproc_start() in the recovery path, in order to avoid remoteproc resources re-allocation overhead and to assist with extracting the coredumps after stopping the remote processor. Signed-off-by: Sarangdhar Joshi --- Changes from v1

Re: [PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-02 Thread Sarangdhar Joshi
On 05/02/2017 05:02 PM, Bjorn Andersson wrote: On Tue 02 May 13:59 PDT 2017, Sarangdhar Joshi wrote: In the context of recovering from crash, rproc_trigger_recovery() does rproc_shutdown() followed by rproc_boot(). The remoteproc resources are cleaned up in rproc_shutdown() and immediately

[PATCH 2/2] remoteproc: Rearrange code to avoid duplication

2017-05-02 Thread Sarangdhar Joshi
-off-by: Sarangdhar Joshi --- drivers/remoteproc/remoteproc_core.c | 58 +++- 1 file changed, 4 insertions(+), 54 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 169abb3..a5b72b1 100644 --- a/drivers

[PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-05-02 Thread Sarangdhar Joshi
accessible after stopping the remote processor, to be able to extract the memory content for a coredump. The current patch factors out the code in rproc_boot() and rproc_shutdown() path and introduces rproc_{start,stop}() in order to avoid resource allocation overhead. Signed-off-by: Sarangdhar

Re: [RFC][PATCH 1/2] remoteproc: Reduce asynchronous request_firmware to auto-boot only

2017-02-07 Thread Sarangdhar Joshi
Hi Bjorn, On 02/06/2017 01:08 PM, Bjorn Andersson wrote: On Tue 24 Jan 15:13 PST 2017, Sarangdhar Joshi wrote: The rproc_add_virtio_devices() requests firmware asynchronously and triggers boot if the auto_boot flag is set. However, this asynchronous call seems to be redundant for non auto

[PATCH 1/2] remoteproc: Introduce rproc_{start,stop}() functions

2017-02-06 Thread Sarangdhar Joshi
accessible after stopping the remote processor, to be able to extract the memory content for a coredump. The current patch factors out the code in rproc_boot() and rproc_shutdown() path and introduces rproc_{start,stop}() in order to avoid resource allocation overhead. Signed-off-by: Sarangdhar

[PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe()

2017-02-02 Thread Sarangdhar Joshi
SCM call to check whether Peripheral Authentication Service (PAS) is supported returns false for ADSP. Drop this call from the driver so that the probe() function succeeds for ADSP PIL device. Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc/qcom_adsp_pil.c | 5 - 1 file changed, 5

[RFC][PATCH 1/2] remoteproc: Reduce asynchronous request_firmware to auto-boot only

2017-01-24 Thread Sarangdhar Joshi
that a redundant call to _request_firmware can be avoided for non auto-boot case. Signed-off-by: Sarangdhar Joshi --- I'm requesting RFC on this patch since I'm not aware of any scenario where we might need asynchronous firmware loading for non auto-boot case. drivers/

[PATCH 2/2] remoteproc: Modify the function names

2017-01-24 Thread Sarangdhar Joshi
The functions rproc_add_virtio_devices() and rproc_fw_config_virtio() are reduced to trigger auto-boot only. Modify these function names and related comments to reflect their current state. This patch does not add any functional change. Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc

[PATCH v2 2/2] remoteproc: Drop firmware_loading_complete

2017-01-23 Thread Sarangdhar Joshi
: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- The current patch series is a v2 version of original patch listed at https://lkml.org/lkml/2016/12/16/534 Changes from v1: * Add new RPROC_DELETED state * Use the new state RPROC_DELETED to handle race between rproc_del() and rproc_boot

[PATCH v2 1/2] remoteproc: Add RPROC_DELETED state

2017-01-23 Thread Sarangdhar Joshi
Add new state RPROC_DELETED to handle synchronization between rproc_del() and other operations on rproc. This state represents the rproc device that has been "deleted". CC: Loic Pallardy CC: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- The current patch series is a v2

[PATCH] remoteproc: Move rproc_delete_debug_dir() to rproc_del()

2017-01-23 Thread Sarangdhar Joshi
ned-off-by: Sarangdhar Joshi --- drivers/remoteproc/remoteproc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 953ee29..78200a7 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/

[PATCH] arm64: dts: msm8996: Add ADSP PIL node

2017-01-18 Thread Sarangdhar Joshi
Add ADSP node required for Qualcomm ADSP Peripheral Image Loader. Signed-off-by: Sarangdhar Joshi --- This patch uses "xo_board" clock for now. We would have to move to rpmcc once it is available. arch/arm64/boot/dts/qcom/msm8996.dtsi | 20 1 file changed, 20

Re: [PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread

2017-01-09 Thread Sarangdhar Joshi
On 01/09/2017 11:33 AM, Tony Lindgren wrote: * Sarangdhar Joshi [170105 14:01]: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(), there&#

[PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread

2017-01-05 Thread Sarangdhar Joshi
this. CC: Dave Gerlach CC: Bjorn Andersson Tested-by: Suman Anna Signed-off-by: Sarangdhar Joshi --- This patch seems to be doing an independent clean up now. Hence removing it from the series. Changes from v2: * Updated the subject line as per Suman's comment drivers/soc/ti/wkup_m3

Re: [PATCH v2] soc: ti: Drop wait from wkup_m3_rproc_boot_thread

2017-01-05 Thread Sarangdhar Joshi
On 01/05/2017 01:08 PM, Suman Anna wrote: On 01/03/2017 05:41 PM, Sarangdhar Joshi wrote: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot

Re: [PATCH 1/2] soc: ti: Use remoteproc auto_boot feature

2017-01-03 Thread Sarangdhar Joshi
On 12/23/2016 03:57 PM, Suman Anna wrote: On 12/23/2016 11:05 AM, Suman Anna wrote: Hi Sarang, On 12/15/2016 06:03 PM, Sarangdhar Joshi wrote: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to complete successfully before calling rproc_boot(). The same can be

[PATCH v2] soc: ti: Drop wait from wkup_m3_rproc_boot_thread

2017-01-03 Thread Sarangdhar Joshi
this. CC: Dave Gerlach CC: Suman Anna CC: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- This patch seems to be doing an independent clean up now. Hence removing it from the series. drivers/soc/ti/wkup_m3_ipc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/ti/wkup_m3_ip

Re: [PATCH 1/2] soc: ti: Use remoteproc auto_boot feature

2016-12-22 Thread Sarangdhar Joshi
On 12/22/2016 5:02 AM, Bjorn Andersson wrote: On Wed 21 Dec 19:16 PST 2016, Suman Anna wrote: Hi Sarang, On 12/15/2016 06:03 PM, Sarangdhar Joshi wrote: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to complete successfully before calling rproc_boot(). The

Re: [PATCH 1/2] soc: ti: Use remoteproc auto_boot feature

2016-12-22 Thread Sarangdhar Joshi
Hi Suman, On 12/21/2016 7:16 PM, Suman Anna wrote: Hi Sarang, On 12/15/2016 06:03 PM, Sarangdhar Joshi wrote: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to complete successfully before calling rproc_boot(). The same can be achieved by just setting rproc

Re: [PATCH 2/2] remoteproc: Remove firmware_loading_complete

2016-12-16 Thread Sarangdhar Joshi
On 12/16/2016 11:28 AM, Bjorn Andersson wrote: On Fri 16 Dec 00:26 PST 2016, loic pallardy wrote: On 12/16/2016 01:03 AM, Sarangdhar Joshi wrote: rproc_del() waits on firmware_loading_complete in order to make sure rproc_add() completed successfully before calling rproc_shutdown(). However

[PATCH 1/2] soc: ti: Use remoteproc auto_boot feature

2016-12-15 Thread Sarangdhar Joshi
n Andersson Signed-off-by: Sarangdhar Joshi --- Hi Suman, Unfortunately, I don't have a TI device and couldn't test this change. Is it possible for you to test this change on TI device? Thanks in advance. Regards, Sarang drivers/remoteproc/wkup_m3_rproc.c | 2 +- drivers/soc/ti/wku

[PATCH 2/2] remoteproc: Remove firmware_loading_complete

2016-12-15 Thread Sarangdhar Joshi
altogether. Signed-off-by: Sarangdhar Joshi --- Sending this patch again since I had missed usage of firmware_loading_complete in drivers/soc/ti/wkup_m3_ipc.c drivers/remoteproc/remoteproc_core.c | 12 +--- include/linux/remoteproc.h | 2 -- 2 files changed, 1 insertion(+), 13

[PATCH] remoteproc: Remove firmware_loading_complete

2016-12-13 Thread Sarangdhar Joshi
altogether. Signed-off-by: Sarangdhar Joshi --- This patch depends on e9b4f9efff5021 ("remoteproc: Drop wait in __rproc_boot()") drivers/remoteproc/remoteproc_core.c | 12 +--- include/linux/remoteproc.h | 2 -- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git

Re: [PATCH] arm64: dts: qcom: msm8996: Fixup smp2p node

2016-11-18 Thread Sarangdhar Joshi
and sorry for missing it earlier. Reviewed-by: Sarangdhar Joshi

[PATCH v3 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-15 Thread Sarangdhar Joshi
Core, iface and bus clocks are not required to be voted from SCM driver for some of the Qualcomm chipsets. Remove dependency on these clocks from driver. Suggested-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 49

[PATCH v3 0/3] Remove clocks dependency from SCM driver

2016-11-15 Thread Sarangdhar Joshi
SCM driver. Changes since v2: - Use typecast of 'unsigned long' for pointer (Stephen) Changes since v1: - Added Rob's Acked-by - Removed of_device_is_compatible check from probe (Stephen) - Modified typecast to take care of 32-bit pointer Sarangdhar Joshi (3): dt-bindings: fir

[PATCH v3 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-11-15 Thread Sarangdhar Joshi
-by: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index ddf7c8b..0fbf2ea 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -395,10

[PATCH v3 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-11-15 Thread Sarangdhar Joshi
Add SCM DT bindings for Qualcomm's MSM8996 platform. Acked-by: Rob Herring Signed-off-by: Sarangdhar Joshi --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Document

Re: [PATCH 1/1] dt-binding: remoteproc: Fixup ADSP loader bindings

2016-11-11 Thread Sarangdhar Joshi
On 11/09/2016 04:52 PM, Rob Herring wrote: On Wed, Nov 02, 2016 at 02:38:09PM -0700, Sarangdhar Joshi wrote: Fixup "dt-binding: remoteproc: Introduce ADSP loader binding" patch to include XO clock required for booting up Qualcomm ADSP Processor. I don't think this is accepted

Re: [PATCH v2 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-11 Thread Sarangdhar Joshi
On 11/09/2016 09:55 PM, Bjorn Andersson wrote: On Wed 09 Nov 17:47 PST 2016, Stephen Boyd wrote: On 11/03, Sarangdhar Joshi wrote: diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index d79fecd..844e90d 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware

Re: [PATCH v2 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-11 Thread Sarangdhar Joshi
On 11/09/2016 05:47 PM, Stephen Boyd wrote: On 11/03, Sarangdhar Joshi wrote: diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index d79fecd..844e90d 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -380,32 +384,40 @@ EXPORT_SYMBOL

Re: [PATCH v2 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-11-11 Thread Sarangdhar Joshi
On 11/09/2016 05:49 PM, Stephen Boyd wrote: On 11/03, Sarangdhar Joshi wrote: When devm_clk_get fails for core clock, the failure was ignored and the core_clk was explicitly set to NULL so that other remaining clocks can be queried. However, now that we have a cleaner way of expressing the

[PATCH v2 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-03 Thread Sarangdhar Joshi
Core, iface and bus clocks are not required to be voted from SCM driver for some of the Qualcomm chipsets. Remove dependency on these clocks from driver. Suggested-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 49

[PATCH v2 0/3] Remove clocks dependency from SCM driver

2016-11-03 Thread Sarangdhar Joshi
SCM driver. Changes since v1: - Added Rob's Acked-by - Removed of_device_is_compatible check from probe (Stephen) - Modified typecast to take care of 32-bit pointer Sarangdhar Joshi (3): dt-bindings: firmware: scm: Add MSM8996 DT bindings firmware: qcom: scm: Remove core, iface and bus c

[PATCH v2 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-11-03 Thread Sarangdhar Joshi
-by: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 844e90d..0321a26 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -395,10

[PATCH v2 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-11-03 Thread Sarangdhar Joshi
Add SCM DT bindings for Qualcomm's MSM8996 platform. Acked-by: Rob Herring Signed-off-by: Sarangdhar Joshi --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Document

[PATCH 1/1] dt-binding: remoteproc: Fixup ADSP loader bindings

2016-11-02 Thread Sarangdhar Joshi
Fixup "dt-binding: remoteproc: Introduce ADSP loader binding" patch to include XO clock required for booting up Qualcomm ADSP Processor. Signed-off-by: Sarangdhar Joshi --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt | 13 + 1 file changed, 13 insertion

Re: [PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-02 Thread Sarangdhar Joshi
On 11/01/2016 04:11 PM, Stephen Boyd wrote: On 10/28, Sarangdhar Joshi wrote: @@ -380,33 +384,43 @@ EXPORT_SYMBOL(qcom_scm_is_available); static int qcom_scm_probe(struct platform_device *pdev) { struct qcom_scm *scm; + uint64_t clks; int ret; scm = devm_kzalloc

Re: [PATCH v2 1/1] remoteproc: Add support for xo clock

2016-11-02 Thread Sarangdhar Joshi
On 10/31/2016 05:05 PM, Bjorn Andersson wrote: On Tue 25 Oct 13:57 PDT 2016, Sarangdhar Joshi wrote: Add xo clock support required to boot up Qualcomm ADSP processor. The ADSP remoteproc driver keeps xo clock enabled until the driver receives "handover" irq, in order to allow ADSP pr

[PATCH 1/1] arm64: dts: msm8996: Add SCM DT node

2016-10-28 Thread Sarangdhar Joshi
Add SCM DT node to enable SCM functionality on MSM8996. Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 9e960c1..4927097

[PATCH 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-10-28 Thread Sarangdhar Joshi
Add SCM DT bindings for Qualcomm's MSM8996 platform. Signed-off-by: Sarangdhar Joshi --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bin

[PATCH 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-10-28 Thread Sarangdhar Joshi
Core, iface and bus clocks are not required to be voted from SCM driver for some of the Qualcomm chipsets. Remove dependency on these clocks from driver. Suggested-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 65

[PATCH 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-10-28 Thread Sarangdhar Joshi
: Sarangdhar Joshi --- drivers/firmware/qcom_scm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 010a350..5c472da 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -395,10

[PATCH 0/3] Remove clocks dependency from SCM driver

2016-10-28 Thread Sarangdhar Joshi
SCM driver. Sarangdhar Joshi (3): dt-bindings: firmware: scm: Add MSM8996 DT bindings firmware: qcom: scm: Remove core, iface and bus clocks dependency firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails .../devicetree/bindings/firmware/qcom,scm.txt | 2 + drivers/firmware

Re: [PATCH v2 1/1] remoteproc: Add support for xo clock

2016-10-25 Thread Sarangdhar Joshi
On 10/25/2016 01:57 PM, Sarangdhar Joshi wrote: Add xo clock support required to boot up Qualcomm ADSP processor. The ADSP remoteproc driver keeps xo clock enabled until the driver receives "handover" irq, in order to allow ADSP processor to vote for xo clock with rpm. Signed-off-by:

[PATCH v2 1/1] remoteproc: Add support for xo clock

2016-10-25 Thread Sarangdhar Joshi
Add xo clock support required to boot up Qualcomm ADSP processor. The ADSP remoteproc driver keeps xo clock enabled until the driver receives "handover" irq, in order to allow ADSP processor to vote for xo clock with rpm. Signed-off-by: Sarangdhar Joshi --- drivers/remoteproc/qcom_

[PATCH v3 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-21 Thread Sarangdhar Joshi
From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64

[PATCH v3 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-21 Thread Sarangdhar Joshi
Add reserve-memory nodes required for Qualcomm Peripheral Image Loaders Acked-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b

[PATCH v3 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-21 Thread Sarangdhar Joshi
Add DT node to carveout memory for shared memory region. Reviewed-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom

[PATCH v3 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-21 Thread Sarangdhar Joshi
Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Acked-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v3 0/4] MSM8996 DT Support for ADSP PIL

2016-10-21 Thread Sarangdhar Joshi
smp2p-adsp to adsp-smp2p (Bjorn) - Remove interrupt-parent property from node (Bjorn) Bjorn Andersson (1): arm64: dts: msm8996: Add SMEM DT nodes Sarangdhar Joshi (3): arm64: dts: msm8996: Add SMEM reserve-memory node arm64: dts: msm8996: Add reserve-memory nodes arm64: dts: msm8996: Add

Re: [PATCH] remoteproc: Add support for xo clock

2016-10-21 Thread Sarangdhar Joshi
On 10/20/2016 04:54 PM, Stephen Boyd wrote: On 10/20, Sarangdhar Joshi wrote: Add xo clock support required for Qualcomm ADSP Peripheral Image Loader. Yes but why is xo needed? It is required to boot up the ADSP processor. The remoteproc driver keeps the xo clock enabled until the driver

Re: [PATCH v2 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-21 Thread Sarangdhar Joshi
On 10/20/2016 05:04 PM, Stephen Boyd wrote: On 10/20, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 +++ 1 file changed, 19

[PATCH v2 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64

[PATCH v2 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-20 Thread Sarangdhar Joshi
Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Acked-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v2 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-20 Thread Sarangdhar Joshi
Add reserve-memory nodes required for Qualcomm Peripheral Image Loaders Acked-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b

[PATCH v2 0/4] MSM8996 DT Support for ADSP PIL

2016-10-20 Thread Sarangdhar Joshi
from node (Bjorn) Bjorn Andersson (1): arm64: dts: msm8996: Add SMEM DT nodes Sarangdhar Joshi (3): arm64: dts: msm8996: Add SMEM reserve-memory node arm64: dts: msm8996: Add reserve-memory nodes arm64: dts: msm8996: Add SMP2P and APCS nodes arch/arm64/boot/dts/qcom/msm8996.dtsi

[PATCH v2 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Sarangdhar Joshi
Add DT node to carveout memory for shared memory region. Reviewed-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 02:51 PM, Andy Gross wrote: On Thu, Oct 20, 2016 at 02:18:33PM -0700, Sarangdhar Joshi wrote: On 10/20/2016 12:56 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by

Re: [PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 01:03 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Nice, two (very) small nits below. But other than that Acked-by: Bjorn Andersson Regards, Bjorn Signed

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:56 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19

Re: [PATCH 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:57 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add reserve-memory nodes required for Qualcomm Peripheral Image Loaders Awesome stuff, Acked-by: Bjorn Andersson Thanks for reviewing. Regards, Bjorn Signed-off-by: Sarangdhar Joshi

Re: [PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:57 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add DT node to carveout memory for shared memory region. Reviewed-by: Bjorn Andersson Thanks for reviewing. Regards, Bjorn Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts

[PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64

[PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Sarangdhar Joshi
Add DT node to carveout memory for shared memory region. Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index d6da223

[PATCH 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-20 Thread Sarangdhar Joshi
Add reserve-memory nodes required for Qualcomm Peripheral Image Loaders Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom

[PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-20 Thread Sarangdhar Joshi
Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot

[PATCH] remoteproc: Add support for xo clock

2016-10-20 Thread Sarangdhar Joshi
Add xo clock support required for Qualcomm ADSP Peripheral Image Loader. Signed-off-by: Sarangdhar Joshi --- This patch depends on https://lkml.org/lkml/2016/8/23/50 drivers/remoteproc/qcom_adsp_pil.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 01/17] rpmsg: Enable matching devices with drivers based on DT

2016-09-09 Thread Sarangdhar Joshi
tform_match does)? I'm not sure how this would look in the case of ACPI, so I would prefer if we defer that until such case arise. Makes sense. Regards, Bjorn Adding Reviewed-by tag: Reviewed-by: Sarangdhar Joshi -- The Qualcomm Innovation Center, Inc. is a member of the Code Auror