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
: 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
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
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
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
: 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
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
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
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
- 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
:
- 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
: 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
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
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
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
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
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:
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
: 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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
70 matches
Mail list logo