[PATCH v8 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-10-24 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[PATCH v8 1/4] firmware: scm: Add new SCM call API for switching memory ownership

2017-10-24 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-32.c | 7 +++ drivers/firmware/qcom_scm-64.c | 27 drivers/firmware/qcom_scm.c| 98 ++ drivers/firmware/qcom_scm.h| 5 +++ include/linux/qcom_scm.h | 16 +++ 5 files

[PATCH v8 0/4] Add memory ownership switch support and enable mss rproc on msm8996

2017-10-24 Thread Avaneesh Kumar Dwivedi
blank line, using "true" in place of "1", renaming certain local variables for better clarity and modifying code to look more uniform as per comment on last patch etc. Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call API for switching memor

[PATCH v8 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-10-24 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Tested-and-acked-by: Bjorn Andersson Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 19 --- 1 file changed, 8 insertions(+), 11

[PATCH v8 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-10-24 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Tested-and-acked-by: Bjorn Andersson Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5

[PATCH v7 1/4] firmware: scm: Add new SCM call API for switching memory ownership

2017-07-21 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-32.c | 7 drivers/firmware/qcom_scm-64.c | 27 drivers/firmware/qcom_scm.c| 94 ++ drivers/firmware/qcom_scm.h| 5 +++ include/linux/qcom_scm.h | 16 +++ 5 files

[PATCH v7 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-07-21 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v7 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-07-21 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc

[PATCH v7 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-07-21 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[PATCH v7 0/4] Add memory ownership switch support and enable mss rproc on msm8996

2017-07-21 Thread Avaneesh Kumar Dwivedi
- Uses dma_alloc_coherent() that dma_alloc_attrs() 2- Fixes warning from checkpatch with --strict option 3- Fixes other minor comments Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call API for switching memory ownership remoteproc: qcom: refactor mss fw image loading

[PATCH v6 0/4] Add memory ownership switch support and enable mss rproc on msm8996

2017-06-22 Thread Avaneesh Kumar Dwivedi
: - Reorganization of q6v5_xfer_mem_ownership function. - Other indentation and small errors. Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call API for switching memory ownership remoteproc: qcom: refactor mss fw image loading sequence remoteproc: qcom: Make secure world call

[PATCH v6 1/4] firmware: scm: Add new SCM call API for switching memory ownership

2017-06-22 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-32.c | 6 +++ drivers/firmware/qcom_scm-64.c | 27 + drivers/firmware/qcom_scm.c| 92 ++ drivers/firmware/qcom_scm.h| 5 +++ include/linux/qcom_scm.h | 16 5 files

[PATCH v6 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-06-22 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc

[PATCH v6 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-06-22 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v6 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-22 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[PATCH v5 0/4] Add memory ownership switch support and enable mss rproc on msm8996

2017-06-01 Thread Avaneesh Kumar Dwivedi
f the SCM API has been changed as per comment. 5- logging of fail cases during memory ownership swiitch has been readjusted. 5- Other indentation and small errors. Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call API for switching memory ownership remoteproc:

[PATCH v5 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-06-01 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v5 1/4] firmware: scm: Add new SCM call API for switching memory ownership

2017-06-01 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-32.c | 6 +++ drivers/firmware/qcom_scm-64.c | 27 + drivers/firmware/qcom_scm.c| 92 ++ drivers/firmware/qcom_scm.h| 5 +++ include/linux/qcom_scm.h | 16 5 files

[PATCH v5 4/4] remoteproc: qcom: Add support for mss remoteproc on msm8996

2017-06-01 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc

[RESEND: PATCH v4 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-05-16 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Also make a trivial change in a error log. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 25 - 1 file changed, 12 insertions

[RESEND: PATCH v4 4/4] remoteproc: qcom: Add support for mss boot on msm8996

2017-05-16 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include initializing mss rproc for msm8996, making appropriate change for executing mss reset sequence etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 +- drivers/remoteproc

[RESEND: PATCH v4 0/4] Add memory ownership switch support and enable mss rproc on msm8996

2017-05-16 Thread Avaneesh Kumar Dwivedi
transfer ownership of memory region to MSS for authentication and boot etc. 7- Other Minor changes 8- kbuild robot gave error so added dummy definition of __qcom_scm_assign_mem() in qcom_scm-32.c as well Avaneesh Kumar Dwivedi (4): firmware: scm: Add new SCM call for

[RESEND: PATCH v4 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-05-16 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[RESEND: PATCH v4 1/4] firmware: scm: Add new SCM call for switching memory ownership

2017-05-16 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-32.c | 6 drivers/firmware/qcom_scm-64.c | 27 +++ drivers/firmware/qcom_scm.c| 75 ++ drivers/firmware/qcom_scm.h| 4 +++ include/linux/qcom_scm.h | 14 5 files

[PATCH v4 2/4] remoteproc: qcom: refactor mss fw image loading sequence

2017-05-15 Thread Avaneesh Kumar Dwivedi
This patch refactor code to first load all firmware blobs and then update modem proc to authenticate and boot fw. Also make a trivial change in a error log. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 25 - 1 file changed, 12 insertions

[PATCH v4 4/4] remoteproc: qcom: Add support for mss boot on msm8996

2017-05-15 Thread Avaneesh Kumar Dwivedi
This patch add support for mss boot on msm8996. Major changes include making appropriate change for executing mss reset sequence, adding private data initialization etc. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 +- drivers/remoteproc

[PATCH v4 0/4] Add new SCM call for stage two mem translation and enable mss rproc on msm8996

2017-05-15 Thread Avaneesh Kumar Dwivedi
Kumar Dwivedi (4): firmware: scm: Add support for shared access of a memory remoteproc: qcom: refactor mss fw image loading sequence remoteproc: qcom: Add new secure monitor call for access remoteproc: qcom: Add support for mss boot on msm8996 .../devicetree/bindings/remoteproc/qcom,q6v5

[PATCH v4 3/4] remoteproc: qcom: Add new secure monitor call for access

2017-05-15 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch to enable mss boot on msm8996 add these secure monitor calls to switch ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers

[PATCH v4 1/4] firmware: scm: Add support for shared access of a memory

2017-05-15 Thread Avaneesh Kumar Dwivedi
two subsystems. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-64.c | 27 +++ drivers/firmware/qcom_scm.c| 75 ++ drivers/firmware/qcom_scm.h| 4 +++ include/linux/qcom_scm.h | 14 4 files changed

[PATCH v3 0/2] Enable mss rproc support on msm8996

2017-03-08 Thread Avaneesh Kumar Dwivedi
repository at: git://github.com/andersson/remoteproc tags/rproc-v4.11 or to say this patchset is based on top of commit id 01625cc5e65f420dbea57f7de6b9552a0f807a84 in Bjorn's git repo. Avaneesh Kumar Dwivedi (2): soc: qcom: Add support of scm call for mss rproc to share access of

[PATCH v3 2/2] remoteproc: qcom: Enable mss rproc support on msm8996

2017-03-08 Thread Avaneesh Kumar Dwivedi
This patch add msm8996 mss reset sequence and other minor changes for enabling mss rproc support. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 161 ++--- 2 files changed

[PATCH v3 1/2] soc: qcom: Add support of scm call for mss rproc to share access of ddr

2017-03-08 Thread Avaneesh Kumar Dwivedi
This patch add scm call support to make hypervisor call to enable access of fw regions in ddr to mss subsystem on arm-v8 arch soc's. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-64.c | 25 +++ drivers/firmware/qcom_scm.c

[PATCH v3 4/4] arm64: dts: msm8996: Add SLPI SMP2P dt node.

2017-01-30 Thread Avaneesh Kumar Dwivedi
Add smp2p support to communicate with slpi processor. Signed-off-by: Avaneesh Kumar Dwivedi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi

[PATCH v3 1/4] remoteproc: qcom: Compatible string based resource initialization.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch initialize certain driver related data based on compatible string. This enable driver to handle more than one similar device in by differentiating in probe their private data. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_adsp_pil.c | 47

[PATCH v3 3/4] remoteproc: qcom: Add SLPI rproc support to load and boot slpi proc.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add slpi remoteproc support in existing adsp rproc driver. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,adsp.txt | 28 ++ drivers/remoteproc/qcom_adsp_pil.c | 10 +++- 2 files changed, 37 insertions(+), 1

[PATCH v3 0/4]remoteproc: qcom: Add support for Qualcomm low pass sensor peripheral loader.

2017-01-30 Thread Avaneesh Kumar Dwivedi
comments on patchset 2. Avaneesh Kumar Dwivedi (4): remoteproc: qcom: Compatible string based resource initialization. remoteproc: qcom: Add additional agree2_clk and px regulator resource. remoteproc: qcom: Add SLPI rproc support to load and boot slpi proc. arm64: dts: msm8996: Add SLPI

[PATCH v3 2/4] remoteproc: qcom: Add additional agree2_clk and px regulator resource.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add additional clock and regulator resource which are initialized based on compatible and has no impact on existing driver working. This resourse addition enable the existing driver to handle. low pass sensor processor device also. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers

[PATCH v2 1/3] soc: qcom: Add scm call to protect modem mem in qcom scm driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
ff-by: Avaneesh Kumar Dwivedi --- drivers/firmware/qcom_scm-64.c | 17 + drivers/firmware/qcom_scm.c| 14 ++ drivers/firmware/qcom_scm.h| 3 +++ include/linux/qcom_scm.h | 1 + 4 files changed, 35 insertions(+) diff --git a/drivers/firmware/qcom_scm-6

[PATCH v2 3/3] remoteproc: qcom: Add msm8996 specific changes in mss rproc driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add msm8996 support in existing mss rproc driver. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c | 178 ++--- 2 files changed, 154 insertions(+), 25 deletions

[PATCH v2 2/3] remoteproc: qcom: Add scm call to protect modem mem in mss rproc drv.

2017-01-30 Thread Avaneesh Kumar Dwivedi
This patch add hypervisor call support for second stage translation from mss remoteproc driver, this is required so that modem on msm8996 which is based on armv8 architecture can access DDR region where modem firmware are loaded. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc

[PATCH v2 0/3] Enable msm8996 support in mss rproc driver.

2017-01-30 Thread Avaneesh Kumar Dwivedi
call one additional function is added in rproc driver itself. 2- Address other comments by sboyd on RFC patch. This patch series is dependednt on https://patchwork.kernel.org/patch/9492177/ Avaneesh Kumar Dwivedi (3): soc: qcom: Add scm call to protect modem mem in qcom scm driver

[RFC ADD HYPERVISOR CALL SUPPORT 0/2]: Add hypervisor call support to enable mss rproc on msm8996

2017-01-09 Thread Avaneesh Kumar Dwivedi
This Patch series consist two patches. 1- Add hypervisor call support to enable stage two translation applicable for armv8 and above. 2- Add and enable mss remoteproc support for msm8996 This patchseries is dependednt on https://patchwork.kernel.org/patch/9492177/ Avaneesh Kumar

[RFC ADD HYPERVISOR CALL SUPPORT 1/2] soc: qcom: Add hypervisor stage two translation request support.

2017-01-09 Thread Avaneesh Kumar Dwivedi
This patch add hypervisor support for mss bring up on msm8996. MSS rproc driver make hypervisor request to add certain region in IPA table owned by hepervisor and assign access permission to modem. These regions are used to load MBA, MDT, FW into DDR. Signed-off-by: Avaneesh Kumar Dwivedi

[RFC ADD HYPERVISOR CALL SUPPORT 2/2] remoteproc: qcom: Add mss rproc support for msm8996.

2017-01-09 Thread Avaneesh Kumar Dwivedi
This patch add msm8996 specific code piece to take mss out of reset. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 2 +- drivers/remoteproc/qcom_q6v5_pil.c | 179 ++--- 2 files changed, 155 insertions(+), 26

[PATCH v6 1/3] remoteproc: qcom: Compatible string based private resource initialization.

2016-12-30 Thread Avaneesh Kumar Dwivedi
load and boot modem fw and which may differ from chip to chip. This patch also add new compatible string for msm8916, msm8974 platform. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 +++- drivers/remoteproc/qcom_q6v5_pil.c | 24

[PATCH v6 3/3] remoteproc: qcom: Initialize and enable proxy and active regulators.

2016-12-30 Thread Avaneesh Kumar Dwivedi
and active regulators separately. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 226 - 1 file changed, 172 insertions(+), 54 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c index

[PATCH v6 2/3] remoteproc: qcom: Initialize and enable proxy and active clocks.

2016-12-30 Thread Avaneesh Kumar Dwivedi
separately. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 152 +++-- 1 file changed, 111 insertions(+), 41 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c index d875448..1e5e27b

[PATCH v6 0/3]remoteproc: qcom: Modification of MSS rproc driver for future platform support.

2016-12-30 Thread Avaneesh Kumar Dwivedi
- Skipping MSS RESET Support patch as that is merged on linux-next. Avaneesh Kumar Dwivedi (3): remoteproc: qcom: Compatible string based private resource initialization. remoteproc: qcom: Initialize and enable proxy and active clocks. remoteproc: qcom: Initialize and enable proxy and active

[PATCH v5 5/7] remoteproc: qcom: Modify clock enable and disable interface.

2016-12-15 Thread Avaneesh Kumar Dwivedi
Clock enable/disable routine will get additional input parameter of pointer of array of clock struct's and clock count, it will use these pre initialized values to turn them up/down. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v5 3/7] remoteproc: qcom: Add and initialize proxy and active regulators.

2016-12-15 Thread Avaneesh Kumar Dwivedi
supplying proxy and active regulator string name. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 118 +++-- 1 file changed, 100 insertions(+), 18 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc

[PATCH v5 6/7] remoteproc: qcom: Implement Hexagon core specific changes.

2016-12-15 Thread Avaneesh Kumar Dwivedi
This change introduces appropriate additional steps in reset sequence and stop routine corresponding to hexagon v56 1.5.0 on mss for msm8996. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v5 4/7] remoteproc: qcom: Modify regulator enable and disable interface.

2016-12-15 Thread Avaneesh Kumar Dwivedi
Regulator enable/disable routine will get additional input parameter of regulator info and count, It will read regulator info and will do appropriate voltage and load configuration before turning them up/down. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 100

[PATCH v5 2/7] remoteproc: qcom: Add and initialize proxy and active clocks.

2016-12-15 Thread Avaneesh Kumar Dwivedi
supplying proxy and active clock name string. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 65 +++--- 1 file changed, 47 insertions(+), 18 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v5 7/7] clk: qcom: Add GCC_MSS_RESET support

2016-12-15 Thread Avaneesh Kumar Dwivedi
Add support to use reset control framework for resetting MSS with hexagon v56 1.5.0. Signed-off-by: Avaneesh Kumar Dwivedi Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8996.c | 1 + include/dt-bindings/clock/qcom,gcc-msm8996.h | 1 + 2 files changed, 2 insertions

[PATCH v5 0/7] remoteproc: qcom: Add support of mss rproc for msm8996.

2016-12-15 Thread Avaneesh Kumar Dwivedi
. 4- Regulator and clock disable interface and implementation change. 5- Reorganization of reset sequence. 6- Other Minor comments related changes. Avaneesh Kumar Dwivedi (7): remoteproc: qcom: Add private resource struct and new compatible. remoteproc: qcom: Add and

[PATCH v5 1/7] remoteproc: qcom: Add private resource struct and new compatible.

2016-12-15 Thread Avaneesh Kumar Dwivedi
Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 4 +++- drivers/remoteproc/qcom_q6v5_pil.c | 24 +++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation

Re: [PATCH v3 2/3] remoteproc: qcom: Hexagon resource handling

2016-11-21 Thread Avaneesh Kumar Dwivedi
On 11/19/2016 1:00 AM, Bjorn Andersson wrote: On Wed 16 Nov 07:17 PST 2016, Avaneesh Kumar Dwivedi wrote: On 11/8/2016 12:19 PM, Bjorn Andersson wrote: On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: Handling of clock and regulator resources as well as reset register

Re: [PATCH v3 1/3] remoteproc: qcom: Embed private data structure for hexagon dsp.

2016-11-21 Thread Avaneesh Kumar Dwivedi
On 11/19/2016 12:27 AM, Bjorn Andersson wrote: On Wed 16 Nov 06:41 PST 2016, Avaneesh Kumar Dwivedi wrote: i have been a little delayed for posting replies to patch comments, hopefully onward it should be quick and fast. I would greatly appreciate if you allow for a discussion before

Re: [PATCH v3 3/3] remoteproc: qcom: Adding q6v56 reset sequence.

2016-11-16 Thread Avaneesh Kumar Dwivedi
On 11/8/2016 12:25 PM, Bjorn Andersson wrote: On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: Adding additional reset sequence steps required specific to q6v56 based on version check, along with some trivial changes in name of local functions. Please don't change readl/w

Re: [PATCH v3 2/3] remoteproc: qcom: Hexagon resource handling

2016-11-16 Thread Avaneesh Kumar Dwivedi
On 11/8/2016 12:19 PM, Bjorn Andersson wrote: On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: Handling of clock and regulator resources as well as reset register programing differ according to version of hexagon dsp hardware. Different version require different resources and

Re: [PATCH v3 1/3] remoteproc: qcom: Embed private data structure for hexagon dsp.

2016-11-16 Thread Avaneesh Kumar Dwivedi
i have been a little delayed for posting replies to patch comments, hopefully onward it should be quick and fast. On 11/8/2016 12:38 PM, Bjorn Andersson wrote: On Mon 07 Nov 04:37 PST 2016, Avaneesh Kumar Dwivedi wrote: Embed resources specific to version of hexagon chip in device structure

Re: [PATCH v2 1/3] remoteproc: qcom: Encapsulate pvt data structure for q6v56 hexagon.

2016-11-16 Thread Avaneesh Kumar Dwivedi
On 11/11/2016 2:00 AM, Rob Herring wrote: On Fri, Nov 04, 2016 at 07:30:54PM +0530, Avaneesh Kumar Dwivedi wrote: Encapsulate resources specific to each version of hexagon chip to device node to avoid conditional check for manipulation of those resources in driver code. Signed-off-by

[PATCH v3 2/3] remoteproc: qcom: Hexagon resource handling

2016-11-07 Thread Avaneesh Kumar Dwivedi
hexagon dsp version. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 471 +++-- 1 file changed, 344 insertions(+), 127 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c index b60dff3

[PATCH v3 3/3] remoteproc: qcom: Adding q6v56 reset sequence.

2016-11-07 Thread Avaneesh Kumar Dwivedi
Adding additional reset sequence steps required specific to q6v56 based on version check, along with some trivial changes in name of local functions. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 132 +++-- 1 file changed, 98

[PATCH v3 0/3] reproc: qcom: Add support to hexagon q6v56 in qcom hexagon rproc driver

2016-11-07 Thread Avaneesh Kumar Dwivedi
m,mss is now up Avaneesh Kumar Dwivedi (3): remoteproc: qcom: Embed private data structure for hexagon dsp. remoteproc: qcom: Hexagon resource handling remoteproc: qcom: Adding q6v56 reset sequence. .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v3 1/3] remoteproc: qcom: Embed private data structure for hexagon dsp.

2016-11-07 Thread Avaneesh Kumar Dwivedi
Embed resources specific to version of hexagon chip in device structure to avoid conditional check for manipulation of those resources in driver code. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v2 3/3] remoteproc: qcom: Adding q6v56 reset sequence in existing reset sequence

2016-11-04 Thread Avaneesh Kumar Dwivedi
Adding additional steps required specific to q6v56 based on version check along with some trivial changes in name of local functions. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 137 ++--- 1 file changed, 98 insertions(+), 39

[PATCH v2 1/3] remoteproc: qcom: Encapsulate pvt data structure for q6v56 hexagon.

2016-11-04 Thread Avaneesh Kumar Dwivedi
Encapsulate resources specific to each version of hexagon chip to device node to avoid conditional check for manipulation of those resources in driver code. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v2 2/3] remoteproc: qcom: Hexagon version independent resource handling

2016-11-04 Thread Avaneesh Kumar Dwivedi
: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 475 +++-- 1 file changed, 348 insertions(+), 127 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c index 3d26199..9db1d4b 100644 --- a/drivers/remoteproc