[PATCH 0/2] Support ARM SMCC SoC vendor quirks

2016-11-28 Thread Andy Gross
to accomodate the new API parameter. The second patch adds the Qualcomm quirk and also implements the Qualcomm firmware changes required to handle the restarting of the interrupted SMC call. The original patch set for the SMCCC session ID is located at: https://lkml.org/lkml/2016/8/20/7 Andy Gross

[PATCH 1/2] arm: kernel: Add SMC structure parameter

2016-11-28 Thread Andy Gross
. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- arch/arm/kernel/smccc-call.S | 3 ++- arch/arm/mach-artpec/board-artpec6.c | 2 +- arch/arm64/kernel/asm-offsets.c | 7 +-- arch/arm64/kernel/smccc-call.S | 3 ++- drivers/clk/rockchip/clk-ddr.c

[PATCH 0/2] Support ARM SMCC SoC vendor quirks

2016-11-28 Thread Andy Gross
to accomodate the new API parameter. The second patch adds the Qualcomm quirk and also implements the Qualcomm firmware changes required to handle the restarting of the interrupted SMC call. The original patch set for the SMCCC session ID is located at: https://lkml.org/lkml/2016/8/20/7 Andy Gross

[PATCH 1/2] arm: kernel: Add SMC structure parameter

2016-11-28 Thread Andy Gross
. Signed-off-by: Andy Gross --- arch/arm/kernel/smccc-call.S | 3 ++- arch/arm/mach-artpec/board-artpec6.c | 2 +- arch/arm64/kernel/asm-offsets.c | 7 +-- arch/arm64/kernel/smccc-call.S | 3 ++- drivers/clk/rockchip/clk-ddr.c | 6 +++--- drivers/devfreq

Re: [PATCH v2] drivers: cpuidle: assign enter_freeze to same as enter callback function

2016-11-10 Thread Andy Gross
as enter callback function which > helps to save power without any intermittent spurious wakeups from > suspend-to-idle. > > Cc: "Rafael J. Wysocki" <r...@rjwysocki.net> > Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com> Tested this on a Qualcomm 410c dragonboard. Worked great. Thanks for the patch! Tested-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH v2] drivers: cpuidle: assign enter_freeze to same as enter callback function

2016-11-10 Thread Andy Gross
ion which > helps to save power without any intermittent spurious wakeups from > suspend-to-idle. > > Cc: "Rafael J. Wysocki" > Signed-off-by: Sudeep Holla Tested this on a Qualcomm 410c dragonboard. Worked great. Thanks for the patch! Tested-by: Andy Gross

Re: [PATCH 2/2] soc: qcom: smem_state: Fix include for ERR_PTR()

2016-11-09 Thread Andy Gross
include/linux/soc/qcom/smem_state.h > +++ b/include/linux/soc/qcom/smem_state.h > @@ -1,7 +1,7 @@ > #ifndef __QCOM_SMEM_STATE__ > #define __QCOM_SMEM_STATE__ > > -#include > +#include > > struct device_node; > struct qcom_smem_state; > -- > 2.5.0 > This time with less html. Acked-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH 2/2] soc: qcom: smem_state: Fix include for ERR_PTR()

2016-11-09 Thread Andy Gross
em_state.h > @@ -1,7 +1,7 @@ > #ifndef __QCOM_SMEM_STATE__ > #define __QCOM_SMEM_STATE__ > > -#include > +#include > > struct device_node; > struct qcom_smem_state; > -- > 2.5.0 > This time with less html. Acked-by: Andy Gross

Re: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell

2016-10-24 Thread Andy Gross
o that probe keeps working if we > change the DT in the future. > > Cc: Ivan T. Ivanov <iivanov...@gmail.com> > Signed-off-by: Stephen Boyd <sb...@codeaurora.org> Reviewed-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell

2016-10-24 Thread Andy Gross
o that probe keeps working if we > change the DT in the future. > > Cc: Ivan T. Ivanov > Signed-off-by: Stephen Boyd Reviewed-by: Andy Gross

Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-10-21 Thread Andy Gross
On Sun, Sep 18, 2016 at 01:38:30PM +0200, Linus Walleij wrote: > On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla > wrote: > > > This patch adds defines for internal voltage regulators used > > to switch voltage levels on gpio/mpp pads. > > > > Signed-off-by:

Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-10-21 Thread Andy Gross
On Sun, Sep 18, 2016 at 01:38:30PM +0200, Linus Walleij wrote: > On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla > wrote: > > > This patch adds defines for internal voltage regulators used > > to switch voltage levels on gpio/mpp pads. > > > > Signed-off-by: Srinivas Kandagatla > >

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

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 02:16:41PM -0700, Sarangdhar Joshi wrote: > 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

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

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 02:16:41PM -0700, Sarangdhar Joshi wrote: > 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

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

2016-10-20 Thread Andy Gross
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. > >> >

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

2016-10-20 Thread Andy Gross
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: Bjorn Andersson >

Re: [PATCH] soc: qcom: Add SoC info driver

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 07:36:22PM +0530, Imran Khan wrote: > The SoC info driver provides information such as Chip ID, > Chip family, serial number and other such details about > Qualcomm SoCs. > > Signed-off-by: Imran Khan > --- >

Re: [PATCH] soc: qcom: Add SoC info driver

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 07:36:22PM +0530, Imran Khan wrote: > The SoC info driver provides information such as Chip ID, > Chip family, serial number and other such details about > Qualcomm SoCs. > > Signed-off-by: Imran Khan > --- > .../devicetree/bindings/soc/qcom/qcom,socinfo.txt | 18 + >

Re: [PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-09-16 Thread Andy Gross
On Fri, Sep 16, 2016 at 08:38:01PM +0300, Iaroslav Gridin wrote: > On Thu, Sep 15, 2016 at 04:18:42PM -0500, Andy Gross wrote: > > > Actually, on thinking about this more, the bam block itself only requires > > the > > single clock. The peripheral it is attached t

Re: [PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-09-16 Thread Andy Gross
On Fri, Sep 16, 2016 at 08:38:01PM +0300, Iaroslav Gridin wrote: > On Thu, Sep 15, 2016 at 04:18:42PM -0500, Andy Gross wrote: > > > Actually, on thinking about this more, the bam block itself only requires > > the > > single clock. The peripheral it is attached t

Re: [PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-09-15 Thread Andy Gross
On Tue, Aug 30, 2016 at 06:37:40PM +0300, Iaroslav Gridin wrote: > From: Voker57 > > Add device tree definitions for Qualcomm Cryptography engine and its BAM > Signed-off-by: Iaroslav Gridin > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 42 >

Re: [PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-09-15 Thread Andy Gross
On Tue, Aug 30, 2016 at 06:37:40PM +0300, Iaroslav Gridin wrote: > From: Voker57 > > Add device tree definitions for Qualcomm Cryptography engine and its BAM > Signed-off-by: Iaroslav Gridin > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 42 > + > 1 file

Re: [PATCH] i2c: qup: skip qup_i2c_suspend if the device is already runtime suspended

2016-09-14 Thread Andy Gross
issue by executing qup_i2c_pm_suspend_runtime > conditionally in qup_i2c_suspend. > > Cc: Andy Gross <andy.gr...@linaro.org> > Cc: David Brown <david.br...@linaro.org> > Cc: Wolfram Sang <w...@the-dreams.de> > Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com> Reviewed-by: Andy Gross <andy.gr...@linro.org>

Re: [PATCH] i2c: qup: skip qup_i2c_suspend if the device is already runtime suspended

2016-09-14 Thread Andy Gross
issue by executing qup_i2c_pm_suspend_runtime > conditionally in qup_i2c_suspend. > > Cc: Andy Gross > Cc: David Brown > Cc: Wolfram Sang > Signed-off-by: Sudeep Holla Reviewed-by: Andy Gross

Re: [PATCH v4 2/4] wcn36xx: Transition driver to SMD client

2016-09-08 Thread Andy Gross
On Thu, Sep 08, 2016 at 09:21:59PM -0700, Bjorn Andersson wrote: > On Thu 08 Sep 10:35 PDT 2016, Kalle Valo wrote: > > > Bjorn Andersson writes: > > > > > On Thu, Sep 8, 2016 at 5:16 AM, Kalle Valo wrote: > > >> Bjorn Andersson

Re: [PATCH v4 2/4] wcn36xx: Transition driver to SMD client

2016-09-08 Thread Andy Gross
On Thu, Sep 08, 2016 at 09:21:59PM -0700, Bjorn Andersson wrote: > On Thu 08 Sep 10:35 PDT 2016, Kalle Valo wrote: > > > Bjorn Andersson writes: > > > > > On Thu, Sep 8, 2016 at 5:16 AM, Kalle Valo wrote: > > >> Bjorn Andersson writes: > > >> > > >>> The wcn36xx wifi driver follows the life

Re: [PATCH v4 1/4] soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API

2016-09-06 Thread Andy Gross
; Changes since v3: > - Added this patch to allow compile testing without SMD support after patch 2 > > include/linux/soc/qcom/wcnss_ctrl.h | 13 + > 1 file changed, 13 insertions(+) > This is fine. Acked-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH v4 1/4] soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API

2016-09-06 Thread Andy Gross
ompile testing without SMD support after patch 2 > > include/linux/soc/qcom/wcnss_ctrl.h | 13 + > 1 file changed, 13 insertions(+) > This is fine. Acked-by: Andy Gross

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-09-01 Thread Andy Gross
On Thu, Sep 01, 2016 at 05:58:17PM +0300, Stanimir Varbanov wrote: > Hi, > > Cc: Marek > > On 08/30/2016 08:17 PM, Bjorn Andersson wrote: > > On Mon 29 Aug 04:48 PDT 2016, Stanimir Varbanov wrote: > > > > [..] > >>> Trying to wrap my head around how the iommu part works here. The > >>>

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-09-01 Thread Andy Gross
On Thu, Sep 01, 2016 at 05:58:17PM +0300, Stanimir Varbanov wrote: > Hi, > > Cc: Marek > > On 08/30/2016 08:17 PM, Bjorn Andersson wrote: > > On Mon 29 Aug 04:48 PDT 2016, Stanimir Varbanov wrote: > > > > [..] > >>> Trying to wrap my head around how the iommu part works here. The > >>>

Re: [PATCH 2/4] firmware: qcom: scm: add iommu scm calls for pg table

2016-08-30 Thread Andy Gross
On Wed, Aug 24, 2016 at 11:35:29AM -0700, Gupta, Puja wrote: > On 8/19/2016 8:53 AM, Stanimir Varbanov wrote: > >Those two scm calls are used to get the size of secure iommu > >page table and to pass physical memory address for this page > >table. The calls are used by remoteproc venus driver to

Re: [PATCH 2/4] firmware: qcom: scm: add iommu scm calls for pg table

2016-08-30 Thread Andy Gross
On Wed, Aug 24, 2016 at 11:35:29AM -0700, Gupta, Puja wrote: > On 8/19/2016 8:53 AM, Stanimir Varbanov wrote: > >Those two scm calls are used to get the size of secure iommu > >page table and to pass physical memory address for this page > >table. The calls are used by remoteproc venus driver to

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-30 Thread Andy Gross
On Tue, Aug 23, 2016 at 11:38:41AM +0100, Lorenzo Pieralisi wrote: > On Mon, Aug 22, 2016 at 05:38:31PM -0700, Stephen Boyd wrote: > > [...] > > > This all comes about because the firmware generates a session id > > for the SMC call and jams it in x6. The assembly on the > > non-secure side is

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-30 Thread Andy Gross
On Tue, Aug 23, 2016 at 11:38:41AM +0100, Lorenzo Pieralisi wrote: > On Mon, Aug 22, 2016 at 05:38:31PM -0700, Stephen Boyd wrote: > > [...] > > > This all comes about because the firmware generates a session id > > for the SMC call and jams it in x6. The assembly on the > > non-secure side is

Re: [PATCH] spi: qup: skip clk_disable_unprepare if the device is already runtime suspended

2016-08-25 Thread Andy Gross
s/clk/clk.c:476 > clk_core_unprepare+0x80/0x90 > Modules linked in: > Thanks for fixing this. I had noticed this yesterday when I was testing your freeze patch but hadn't had time to dig in. Tested-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH] spi: qup: skip clk_disable_unprepare if the device is already runtime suspended

2016-08-25 Thread Andy Gross
s/clk/clk.c:476 > clk_core_unprepare+0x80/0x90 > Modules linked in: > Thanks for fixing this. I had noticed this yesterday when I was testing your freeze patch but hadn't had time to dig in. Tested-by: Andy Gross

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Andy Gross
On 24 August 2016 at 22:13, Bjorn Andersson <bjorn.anders...@linaro.org> wrote: > On Wed 24 Aug 03:22 PDT 2016, Paolo Pisati wrote: > >> On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: >> > On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra N

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Andy Gross
On 24 August 2016 at 22:13, Bjorn Andersson wrote: > On Wed 24 Aug 03:22 PDT 2016, Paolo Pisati wrote: > >> On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: >> > On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: >> > > Hey Andy, >

Re: [PATCH] tty: serial: msm: Add runtime PM and system sleep support

2016-08-24 Thread Andy Gross
On 17 June 2016 at 05:16, Pramod Gurav wrote: > @@ -1635,6 +1732,7 @@ static int msm_serial_remove(struct platform_device > *pdev) > struct uart_port *port = platform_get_drvdata(pdev); > > uart_remove_one_port(_uart_driver, port); > +

Re: [PATCH] tty: serial: msm: Add runtime PM and system sleep support

2016-08-24 Thread Andy Gross
On 17 June 2016 at 05:16, Pramod Gurav wrote: > @@ -1635,6 +1732,7 @@ static int msm_serial_remove(struct platform_device > *pdev) > struct uart_port *port = platform_get_drvdata(pdev); > > uart_remove_one_port(_uart_driver, port); > + pm_runtime_disable(>dev); > >

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Andy Gross
On 24 August 2016 at 07:18, Nayak, Rajendra <rna...@codeaurora.org> wrote: > > On 8/24/2016 3:52 PM, Paolo Pisati wrote: >> >> On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: >>> >>> On Wed, Aug 17, 2016 at 10:48:43AM +0530

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Andy Gross
On 24 August 2016 at 07:18, Nayak, Rajendra wrote: > > On 8/24/2016 3:52 PM, Paolo Pisati wrote: >> >> On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: >>> >>> On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: >>>> >>&

Re: [PATCH v3] PM / sleep: enable suspend-to-idle even without registered suspend_ops

2016-08-23 Thread Andy Gross
ot;Rafael J. Wysocki" <r...@rjwysocki.net> > Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com> I tested this patch on the Qualcomm 410c platform. It worked like a charm. Thanks for working on this! Tested-by: Andy Gross <andy.gr...@linaro.org>

Re: [PATCH v3] PM / sleep: enable suspend-to-idle even without registered suspend_ops

2016-08-23 Thread Andy Gross
ysocki" > Signed-off-by: Sudeep Holla I tested this patch on the Qualcomm 410c platform. It worked like a charm. Thanks for working on this! Tested-by: Andy Gross

Re: [PATCH] arm64: defconfig: Enable QDF2432 config options

2016-08-23 Thread Andy Gross
On Fri, Jul 01, 2016 at 10:11:00AM -0500, Timur Tabi wrote: > Christopher Covington wrote: > >Due to distribution differences [1][2], I see =y built-in as the default > >on mobile platforms and =m modular as the default on server platforms. > > I don't think we should mix "server" defconfing

Re: [PATCH] arm64: defconfig: Enable QDF2432 config options

2016-08-23 Thread Andy Gross
On Fri, Jul 01, 2016 at 10:11:00AM -0500, Timur Tabi wrote: > Christopher Covington wrote: > >Due to distribution differences [1][2], I see =y built-in as the default > >on mobile platforms and =m modular as the default on server platforms. > > I don't think we should mix "server" defconfing

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-23 Thread Andy Gross
On Mon, Aug 22, 2016 at 10:16:40AM -0500, Andy Gross wrote: > On Mon, Aug 22, 2016 at 03:53:26PM +0100, Will Deacon wrote: > > On Mon, Aug 22, 2016 at 09:02:46AM -0500, Andy Gross wrote: > > > On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > > > > On S

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-23 Thread Andy Gross
On Mon, Aug 22, 2016 at 10:16:40AM -0500, Andy Gross wrote: > On Mon, Aug 22, 2016 at 03:53:26PM +0100, Will Deacon wrote: > > On Mon, Aug 22, 2016 at 09:02:46AM -0500, Andy Gross wrote: > > > On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > > > > On S

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-23 Thread Andy Gross
On Tue, Aug 23, 2016 at 11:38:41AM +0100, Lorenzo Pieralisi wrote: > On Mon, Aug 22, 2016 at 05:38:31PM -0700, Stephen Boyd wrote: > > [...] > > > This all comes about because the firmware generates a session id > > for the SMC call and jams it in x6. The assembly on the > > non-secure side is

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-23 Thread Andy Gross
On Tue, Aug 23, 2016 at 11:38:41AM +0100, Lorenzo Pieralisi wrote: > On Mon, Aug 22, 2016 at 05:38:31PM -0700, Stephen Boyd wrote: > > [...] > > > This all comes about because the firmware generates a session id > > for the SMC call and jams it in x6. The assembly on the > > non-secure side is

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-22 Thread Andy Gross
On Mon, Aug 22, 2016 at 03:53:26PM +0100, Will Deacon wrote: > On Mon, Aug 22, 2016 at 09:02:46AM -0500, Andy Gross wrote: > > On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > > > On Sat, Aug 20, 2016 at 12:51:13AM -0500, Andy Gross wrote: > > > > This

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-22 Thread Andy Gross
On Mon, Aug 22, 2016 at 03:53:26PM +0100, Will Deacon wrote: > On Mon, Aug 22, 2016 at 09:02:46AM -0500, Andy Gross wrote: > > On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > > > On Sat, Aug 20, 2016 at 12:51:13AM -0500, Andy Gross wrote: > > > > This

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-22 Thread Andy Gross
On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > On Sat, Aug 20, 2016 at 12:51:13AM -0500, Andy Gross wrote: > > This patch adds the SMC Session ID to the results passed back from SMC > > calls. The Qualcomm SMC implementation provides for interrupted SMC >

Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-22 Thread Andy Gross
On Mon, Aug 22, 2016 at 02:43:14PM +0100, Will Deacon wrote: > On Sat, Aug 20, 2016 at 12:51:13AM -0500, Andy Gross wrote: > > This patch adds the SMC Session ID to the results passed back from SMC > > calls. The Qualcomm SMC implementation provides for interrupted SMC >

[PATCH] ARM: cacheflush: Remove unused secure_flush_area API

2016-08-20 Thread Andy Gross
This patch removes the unused secure_flush_area function. The only consumer of this function has moved to using the streaming DMA APIs. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- arch/arm/include/asm/cacheflush.h | 17 - 1 file changed, 17 deletions(-) diff

[PATCH] ARM: cacheflush: Remove unused secure_flush_area API

2016-08-20 Thread Andy Gross
This patch removes the unused secure_flush_area function. The only consumer of this function has moved to using the streaming DMA APIs. Signed-off-by: Andy Gross --- arch/arm/include/asm/cacheflush.h | 17 - 1 file changed, 17 deletions(-) diff --git a/arch/arm/include/asm

[PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-19 Thread Andy Gross
This patch adds the SMC Session ID to the results passed back from SMC calls. The Qualcomm SMC implementation provides for interrupted SMC functions. When this occurs, the SMC call will return a session ID that is required to be used when resuming the interrupted SMC call. Signed-off-by: Andy

[PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-08-19 Thread Andy Gross
This patch fixes an issue with the SCM64 calls. Sometimes SCM calls can be interrupted and return early. When this happens, the contents of register 6 will contain a session ID that is required when resuming the SCM call. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- drivers/fi

[PATCH 0/2] Qualcomm SMCCC Session ID Support

2016-08-19 Thread Andy Gross
is resumed. The first patch extends the arm_smccc_res structure to contain the additional a6 result field and modifies the SMCCC ASM macro to store register 6 in the additional field. The second patch modifies the Qualcomm SCM code to use the new result field. Andy Gross (2): arm64: kernel: Add SMC

[PATCH 1/2] arm64: kernel: Add SMC Session ID to results

2016-08-19 Thread Andy Gross
This patch adds the SMC Session ID to the results passed back from SMC calls. The Qualcomm SMC implementation provides for interrupted SMC functions. When this occurs, the SMC call will return a session ID that is required to be used when resuming the interrupted SMC call. Signed-off-by: Andy

[PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-08-19 Thread Andy Gross
This patch fixes an issue with the SCM64 calls. Sometimes SCM calls can be interrupted and return early. When this happens, the contents of register 6 will contain a session ID that is required when resuming the SCM call. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm-64.c | 6

[PATCH 0/2] Qualcomm SMCCC Session ID Support

2016-08-19 Thread Andy Gross
is resumed. The first patch extends the arm_smccc_res structure to contain the additional a6 result field and modifies the SMCCC ASM macro to store register 6 in the additional field. The second patch modifies the Qualcomm SCM code to use the new result field. Andy Gross (2): arm64: kernel: Add SMC

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-17 Thread Andy Gross
On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: > Hey Andy, > > This is a respin of v2 with some minor fixes pointed out by Rob. > Please pull these in for 4.9 > > Thanks, > Rajendra I pulled these in. Andy

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-17 Thread Andy Gross
On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: > Hey Andy, > > This is a respin of v2 with some minor fixes pointed out by Rob. > Please pull these in for 4.9 > > Thanks, > Rajendra I pulled these in. Andy

[PATCH] ARM: qcom: Cleanup/Remove unnecessary board file

2016-08-16 Thread Andy Gross
This patch removes the unnecessary board file. The generic machine definition is sufficient for the Qualcomm platforms. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/board.c | 31 --- 2 files chang

[PATCH] ARM: qcom: Cleanup/Remove unnecessary board file

2016-08-16 Thread Andy Gross
This patch removes the unnecessary board file. The generic machine definition is sufficient for the Qualcomm platforms. Signed-off-by: Andy Gross --- arch/arm/mach-qcom/Makefile | 1 - arch/arm/mach-qcom/board.c | 31 --- 2 files changed, 32 deletions(-) delete

Re: [PATCH] soc: qcom: smd: Correct compile stub prototypes

2016-08-10 Thread Andy Gross
On Tue, Aug 09, 2016 at 05:36:02PM -0700, Bjorn Andersson wrote: > The prototypes for the compile stubs was not properly marked as static > inline, this patch corrects this. > > Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") > Signed-off-by: Bjorn Andersson

Re: [PATCH] soc: qcom: smd: Correct compile stub prototypes

2016-08-10 Thread Andy Gross
On Tue, Aug 09, 2016 at 05:36:02PM -0700, Bjorn Andersson wrote: > The prototypes for the compile stubs was not properly marked as static > inline, this patch corrects this. > > Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") > Signed-off-by: Bjorn Andersson > --- Ok.

Re: [PATCH v2 0/5] dts patches for qcom tsens support

2016-08-10 Thread Andy Gross
On Wed, Aug 10, 2016 at 12:13:54PM +0530, Rajendra Nayak wrote: > Hey Andy, > > Tsens driver patches are pulled in by Eduardo [1] > but looks like they missed the 4.8 merge window. > Nevertheless, these are dts changes for the various platforms > supported by the driver, which are acked by

Re: [PATCH v2 0/5] dts patches for qcom tsens support

2016-08-10 Thread Andy Gross
On Wed, Aug 10, 2016 at 12:13:54PM +0530, Rajendra Nayak wrote: > Hey Andy, > > Tsens driver patches are pulled in by Eduardo [1] > but looks like they missed the 4.8 merge window. > Nevertheless, these are dts changes for the various platforms > supported by the driver, which are acked by

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:57:48PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:08PM -0700, Stephen Boyd wrote: > > > The voltage ranges listed here are wrong. The pma8084 pldo > > > supports three different

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:58:26PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:07PM -0700, Stephen Boyd wrote: > > > > > static const struct regulator_desc pm8941_pldo = { > > > .linear_ranges

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:57:48PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:08PM -0700, Stephen Boyd wrote: > > > The voltage ranges listed here are wrong. The pma8084 pldo > > > supports three different

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:58:26PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:07PM -0700, Stephen Boyd wrote: > > > > > static const struct regulator_desc pm8941_pldo = { > > > .linear_ranges

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Andy Gross
On Wed, Jul 20, 2016 at 06:16:06AM -0700, Sören Brinkmann wrote: > Hi Marc, > > On Wed, 2016-07-20 at 09:17:16 +0100, Marc Zyngier wrote: > > On 20/07/16 00:34, Sören Brinkmann wrote: > > > Hi Andy, > > > > > > On Tue, 2016-07-19 at 17:47:13 -0500, And

Re: SOC-specific action for irq_set_wake

2016-07-20 Thread Andy Gross
On Wed, Jul 20, 2016 at 06:16:06AM -0700, Sören Brinkmann wrote: > Hi Marc, > > On Wed, 2016-07-20 at 09:17:16 +0100, Marc Zyngier wrote: > > On 20/07/16 00:34, Sören Brinkmann wrote: > > > Hi Andy, > > > > > > On Tue, 2016-07-19 at 17:47:13 -0500, And

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Andy Gross
her suggestions for approaching the problem? Any preferred > solution? I think we have the same problem. Can you provide more detail on the hardware implementation of your wake irq controller? I presume you have some set of registers, an irq maybe, and some other stuff? And how does it fit into the overall architecture from a hardware perspective? Regards, Andy Gross

Re: SOC-specific action for irq_set_wake

2016-07-19 Thread Andy Gross
her suggestions for approaching the problem? Any preferred > solution? I think we have the same problem. Can you provide more detail on the hardware implementation of your wake irq controller? I presume you have some set of registers, an irq maybe, and some other stuff? And how does it fit into the overall architecture from a hardware perspective? Regards, Andy Gross

Re: [PATCH 3/4] qcom: ipq4019: ASoC tlmm/pinctrl support

2016-07-15 Thread Andy Gross
On Fri, Jul 15, 2016 at 12:37:05PM +0530, njaig...@codeaurora.org wrote: > From: Jaiganesh Narayanan > > This patch adds the tlmm/pinctrl support for IPQ4019 ASoC. > > Signed-off-by: Jaiganesh Narayanan > --- >

Re: [PATCH 3/4] qcom: ipq4019: ASoC tlmm/pinctrl support

2016-07-15 Thread Andy Gross
On Fri, Jul 15, 2016 at 12:37:05PM +0530, njaig...@codeaurora.org wrote: > From: Jaiganesh Narayanan > > This patch adds the tlmm/pinctrl support for IPQ4019 ASoC. > > Signed-off-by: Jaiganesh Narayanan > --- > drivers/pinctrl/qcom/pinctrl-ipq4019.c | 116 > +

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-07-11 Thread Andy Gross
ftsmps, and boost type regulators. > Port these ranges over to the RPM SMD regulator driver so that we > list the appropriate set of supported voltages on pldos. > > Doing this allows us to specify a voltage like 3075000 for l24, > whereas before that wasn't a supported voltage. >

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-07-11 Thread Andy Gross
ftsmps, and boost type regulators. > Port these ranges over to the RPM SMD regulator driver so that we > list the appropriate set of supported voltages on pldos. > > Doing this allows us to specify a voltage like 3075000 for l24, > whereas before that wasn't a supported voltage. >

Re: [PATCH 3/3] regulator: qcom_smd: Avoid overlapping linear voltage ranges

2016-07-11 Thread Andy Gross
rrect value when it's set to be the > appropriate start value, 1575000: > > 1575000 + ((158 - 96) * 25000) == 3125000 > > Cc: Andy Gross <andy.gr...@linaro.org> > Cc: Bjorn Andersson <bjorn.anders...@linaro.org> > Fixes: da65e367b67e ("regulator: Regulator driv

Re: [PATCH 3/3] regulator: qcom_smd: Avoid overlapping linear voltage ranges

2016-07-11 Thread Andy Gross
rrect value when it's set to be the > appropriate start value, 1575000: > > 1575000 + ((158 - 96) * 25000) == 3125000 > > Cc: Andy Gross > Cc: Bjorn Andersson > Fixes: da65e367b67e ("regulator: Regulator driver for the Qualcomm RPM") > Signed-off-by: Stephen Boyd > --- Reviewed-by: Andy Gross

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-07-11 Thread Andy Gross
quot;native" spmi regulator driver > (qcom_spmi-regulator.c) at pldo_ranges[] and ftsmps_ranges[] > respectively. Port these ranges over to the RPM SMD regulator > driver so that we list the appropriate set of supported voltages > on these types of regulators. > > Cc: Andy Gross <a

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-07-11 Thread Andy Gross
quot;native" spmi regulator driver > (qcom_spmi-regulator.c) at pldo_ranges[] and ftsmps_ranges[] > respectively. Port these ranges over to the RPM SMD regulator > driver so that we list the appropriate set of supported voltages > on these types of regulators. > > Cc: Andy Gross >

[PATCH] firmware: qcom: scm: Change initcall to subsys

2016-07-01 Thread Andy Gross
to the changes to use arch_initcall_sync for of_platform_default_populate_init(). Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- drivers/firmware/qcom_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 8

[PATCH] firmware: qcom: scm: Change initcall to subsys

2016-07-01 Thread Andy Gross
to the changes to use arch_initcall_sync for of_platform_default_populate_init(). Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 89c3775..e64a501 100644 --- a/drivers

Re: [PATCH] soc: qcom: smem: Silence probe defer error

2016-07-01 Thread Andy Gross
On Fri, Jul 01, 2016 at 02:18:59PM -0700, Stephen Boyd wrote: > If we fail to get the hwspinlock due to probe defer, we shouldn't > print an error message. Just be silent in this case. > > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Looks

Re: [PATCH] soc: qcom: smem: Silence probe defer error

2016-07-01 Thread Andy Gross
On Fri, Jul 01, 2016 at 02:18:59PM -0700, Stephen Boyd wrote: > If we fail to get the hwspinlock due to probe defer, we shouldn't > print an error message. Just be silent in this case. > > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Looks good to me. This has needed to be fixed for a

[PATCH] firmware: qcom_scm: Add missing is_available API

2016-06-29 Thread Andy Gross
Add back function that was dropped when reworking the SCM code. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- drivers/firmware/qcom_scm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 84330c5..89c3775

[PATCH] firmware: qcom_scm: Add missing is_available API

2016-06-29 Thread Andy Gross
Add back function that was dropped when reworking the SCM code. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 84330c5..89c3775 100644 --- a/drivers/firmware

Re: [PATCH 15/16] arm64: dts: msm8996: add sdc2 pinctrl

2016-06-21 Thread Andy Gross
On Fri, Jun 17, 2016 at 04:14:12PM +0100, Srinivas Kandagatla wrote: > This patch adds pinctrl required for sdhci for external sd card > controller. > > Signed-off-by: Srinivas Kandagatla > --- I presume this is the right patch 15? As it matches the subject in

Re: [PATCH 15/16] arm64: dts: msm8996: add sdc2 pinctrl

2016-06-21 Thread Andy Gross
On Fri, Jun 17, 2016 at 04:14:12PM +0100, Srinivas Kandagatla wrote: > This patch adds pinctrl required for sdhci for external sd card > controller. > > Signed-off-by: Srinivas Kandagatla > --- I presume this is the right patch 15? As it matches the subject in your cover letter? Andy

Re: [PATCH v2 16/16] arm64: dts: msm8996: add sdc2 support

2016-06-21 Thread Andy Gross
On Tue, Jun 21, 2016 at 06:39:53PM +0100, Srinivas Kandagatla wrote: > This patch adds support to sdc2 sdhci controller, which is used on some > of the boards. > > Signed-off-by: Srinivas Kandagatla > --- > Hi Andy, > > Am resending just this one patch, as It

Re: [PATCH v2 16/16] arm64: dts: msm8996: add sdc2 support

2016-06-21 Thread Andy Gross
On Tue, Jun 21, 2016 at 06:39:53PM +0100, Srinivas Kandagatla wrote: > This patch adds support to sdc2 sdhci controller, which is used on some > of the boards. > > Signed-off-by: Srinivas Kandagatla > --- > Hi Andy, > > Am resending just this one patch, as It does not make sense > to resend

Re: [PATCH] arm64: defconfig: Enable qcom msm8996 clk drivers

2016-06-16 Thread Andy Gross
On Wed, Jun 15, 2016 at 06:07:51PM -0700, Stephen Boyd wrote: > Enable the clk drivers on msm8996. This allows us to boot and > test most device drivers on this SoC. > > Signed-off-by: Stephen Boyd Looks good to me. I'll queue it up. Thanks, Andy

Re: [PATCH] arm64: defconfig: Enable qcom msm8996 clk drivers

2016-06-16 Thread Andy Gross
On Wed, Jun 15, 2016 at 06:07:51PM -0700, Stephen Boyd wrote: > Enable the clk drivers on msm8996. This allows us to boot and > test most device drivers on this SoC. > > Signed-off-by: Stephen Boyd Looks good to me. I'll queue it up. Thanks, Andy

[PATCH] arm: dts: qcom: Update smem state cells usage

2016-06-12 Thread Andy Gross
This patch updates the qcom,state-cells to qcom,smem-state-cells to match recent changes to the binding. Signed-off-by: Andy Gross <andy.gr...@linaro.org> --- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 6 +++--- 2 files changed, 4 insertions(+), 4 del

[PATCH] arm: dts: qcom: Update smem state cells usage

2016-06-12 Thread Andy Gross
This patch updates the qcom,state-cells to qcom,smem-state-cells to match recent changes to the binding. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch

<    1   2   3   4   5   6   7   8   9   10   >