RE: [PATCH Resend] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-18 Thread Wang, Yalin
This patch extends the start and end address of initrd to be page aligned, so that we can free all memory including the un-page aligned head or tail page of initrd, if the start or end address of initrd are not page aligned, the page can't be freed by free_initrd_mem() function. Signed-off-by:

[PATCH 3/3] dt/bindings: dmaengine: qcom_bam_dma: Add compatible string for BAM v1.3.0

2014-09-18 Thread Archit Taneja
Add compatible string for BAM v1.3.0 in the DT bindings documentation. Mentioned a few more SoCs which have BAM v1.4.0 in them. Cc: devicet...@vger.kernel.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- Documentation/devicetree/bindings/dma/qcom_bam_dma.txt | 4 +++- 1 file changed,

[PATCH 2/3] dmaengine: qcom_bam_dma: Add BAM v1.3.0 support

2014-09-18 Thread Archit Taneja
We currently have register offset information only for BAM IPs with revision 1.4.0. We add register offset table entries for the legacy (v1.3.0) version of BAM IPs found on SoCs like APQ8064 and MSM8960. The register offset table pointers are stored in DT data corresponding to the BAM IP version

Re: [PATCH V3 10/16] scsi: ufs: add UFS power management support

2014-09-18 Thread Kiran Padwal
Hi Dolev, On Wednesday 10 September 2014 05:24 PM, Dolev Raviv wrote: From: Subhash Jadavani subha...@codeaurora.org This patch adds support for UFS device and UniPro link power management during runtime/system PM. snip +vccq_lpm: + ufshcd_config_vreg_lpm(hba, hba-vreg_info.vccq);

Re: [PATCH V3 12/16] scsi: ufs: Add support for clock gating

2014-09-18 Thread Kiran Padwal
On Wednesday 10 September 2014 05:24 PM, Dolev Raviv wrote: From: Sahitya Tummala stumm...@codeaurora.org The UFS controller clocks can be gated after certain period of inactivity, which is typically less than runtime suspend timeout. In addition to clocks the link will also be put into

[PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-18 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

Re: [PATCH] ARM: DT: ifc6410: Add board memory range.

2014-09-18 Thread Srinivas Kandagatla
On 18/09/14 05:37, Bjorn Andersson wrote: On Wed, Sep 17, 2014 at 2:49 PM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: On 17/09/14 20:18, Josh Cartwright wrote: On Wed, Sep 17, 2014 at 12:03:37PM -0700, Kumar Gala wrote: [..] Hmm, this doesn?t seem to work for me. I

Re: [PATCH Resend] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-18 Thread Catalin Marinas
On Thu, Sep 18, 2014 at 07:53:57AM +0100, Wang, Yalin wrote: This patch extends the start and end address of initrd to be page aligned, so that we can free all memory including the un-page aligned head or tail page of initrd, if the start or end address of initrd are not page aligned, the page

RE: [PATCH V3 01/16] scsi: support well known logical units

2014-09-18 Thread Subhash Jadavani
If those are the only LUs you specificly need I'd suggest you just manually call scsi_add_device from your driver for those instead of listing them in REPORT_LUNS and making them part of the normal LUN scan. Yes, we can do that but not sure what would be advantage of making the LLDs to add

Re: [PATCH] ARM: dts: Add initial DTS file for Sony Xperia Z1 phone

2014-09-18 Thread Bjorn Andersson
On Tue 16 Sep 16:14 PDT 2014, Tim Bird wrote: On 09/16/2014 04:08 PM, Kumar Gala wrote: On Sep 16, 2014, at 4:03 PM, Tim Bird tim.b...@sonymobile.com wrote: [..] + qcom,msm-id = 126 8 0, 185 8 0, 186 8 0; We don’t have qcom,msm-id upstream at this time. Do I just leave this

RE: [PATCH V3 01/16] scsi: support well known logical units

2014-09-18 Thread Subhash Jadavani
Hi Chris, While testing with another vendor's UFS devices, I realized that SELECT REPORT need not to be set to 0x02 for making the device report the W-LUs. Even when SELECT REPORT is set 0x00, this particular UFS device reports the W-LUs so I looked at the SCSI specification in details and it

[PATCH 0/3] Krait VFP fixes

2014-09-18 Thread Stephen Boyd
These changes allow us to support VFP correctly on Krait processors. They also fix short vector emulation for Cortex-A15 and Krait. Stepan Moskovchenko (1): arm: vfp: Bounce undefined instructions in vectored mode Stephen Boyd (2): ARM: vfp: Workaround bad MVFR1 register on some Kraits

[PATCH 1/3] ARM: vfp: Workaround bad MVFR1 register on some Kraits

2014-09-18 Thread Stephen Boyd
Certain versions of the Krait processor don't report that they support the fused multiply accumulate instruction via the MVFR1 register despite the fact that they actually do. Unfortunately we use this register to identify support for VFPv4. Override the hwcap on all Krait processors to indicate

[PATCH 3/3] arm: vfp: Bounce undefined instructions in vectored mode

2014-09-18 Thread Stephen Boyd
From: Stepan Moskovchenko step...@codeaurora.org Certain ARM CPU implementations (e.g. Cortex-A15) may not raise a floating- point exception whenever deprecated short-vector VFP instructions are executed. Instead these instructions are treated as UNALLOCATED. Change the VFP exception handling

[PATCH 2/3] ARM: vfp: fix VFPv3 hwcap detection on non-ARM vfp implementations

2014-09-18 Thread Stephen Boyd
The subarchitecture field in the fpsid register is 7 bits wide. The topmost bit is used to designate that the subarchitecture designer is not ARM. We use this field to determine which VFP version is supported by the CPU. Since the topmost bit is ignored with the current mask we detect non-ARM

Re: [PATCH 0/3] Krait VFP fixes

2014-09-18 Thread Russell King - ARM Linux
It would be nice to be copied on these patches, as the VFP code is entirely my creation... I'll review these patches shortly. On Thu, Sep 18, 2014 at 02:43:09PM -0700, Stephen Boyd wrote: These changes allow us to support VFP correctly on Krait processors. They also fix short vector emulation

[PATCH 0/3] watchdog: add support for QCOM WDT

2014-09-18 Thread Josh Cartwright
This patchset provides support for the Watchdog Timer (WDT) found in the Krait Processor Sub-system (KPSS) of the MSM8960, APQ8064, and IPQ8064 chips. This driver is implemented ontop of WATCHDOG_CORE, and therefore its primary interface is through userspace. The implemantion is currently very

[PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Josh Cartwright
Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright jo...@codeaurora.org --- drivers/watchdog/Kconfig| 10 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/qcom-wdt.c | 145

[PATCH 2/3] watchdog: qcom: document device tree bindings

2014-09-18 Thread Josh Cartwright
The Qualcomm Krait Processor Sub-system (KPSS) contains one or more instances of the WDT. Provide documentation on how to describe these in the device tree. Signed-off-by: Josh Cartwright jo...@codeaurora.org --- .../devicetree/bindings/watchdog/qcom-wdt.txt | 21 + 1

[PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Josh Cartwright
The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart methods (such as PS_HOLD) are preferrable for issuing a more complete reset of the chip. As such, keep the priority of the watchdog notifier low. Signed-off-by:

Re: [PATCH 2/3] ARM: vfp: fix VFPv3 hwcap detection on non-ARM vfp implementations

2014-09-18 Thread Russell King - ARM Linux
On Thu, Sep 18, 2014 at 02:43:11PM -0700, Stephen Boyd wrote: diff --git a/arch/arm/include/asm/vfp.h b/arch/arm/include/asm/vfp.h index f4ab34fd4f72..76d3f6907cce 100644 --- a/arch/arm/include/asm/vfp.h +++ b/arch/arm/include/asm/vfp.h @@ -21,7 +21,7 @@ #define FPSID_FORMAT_MASK(0x3

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Kumar Gala
On Sep 18, 2014, at 3:32 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Choose priority 128, as

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 03:47:20PM -0700, Kumar Gala wrote: On Sep 18, 2014, at 3:32 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Kumar Gala
On Sep 18, 2014, at 3:49 PM, Josh Cartwright jo...@codeaurora.org wrote: On Thu, Sep 18, 2014 at 03:47:20PM -0700, Kumar Gala wrote: On Sep 18, 2014, at 3:32 PM, Josh Cartwright jo...@codeaurora.org wrote: By converting to the restart_notifier mechanism for restart, we allow for other

Re: [PATCH 1/3] dmaengine: qcom_bam_dma: Generalize BAM register offset calculations

2014-09-18 Thread Srinivas Kandagatla
Hi Andy, Does this patchset supersede dmaengine: qcom_bam_dma: Add v1.3.0 ... https://lkml.org/lkml/2014/4/16/660 --srini On 18/09/14 11:52, Archit Taneja wrote: The BAM DMA IP comes in different versions. The register offset layout varies among these versions. The layouts depend on which

Re: [PATCH 3/3] arm: vfp: Bounce undefined instructions in vectored mode

2014-09-18 Thread Will Deacon
On Thu, Sep 18, 2014 at 11:55:31PM +0100, Russell King - ARM Linux wrote: On Thu, Sep 18, 2014 at 02:43:12PM -0700, Stephen Boyd wrote: From: Stepan Moskovchenko step...@codeaurora.org Certain ARM CPU implementations (e.g. Cortex-A15) may not raise a floating- point exception whenever

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:27 PM, Josh Cartwright wrote: The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart methods (such as PS_HOLD) are preferrable for issuing a more complete reset of the chip. As such, keep the

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:32 PM, Josh Cartwright wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Choose priority 128, as according to documentation, this

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: On 09/18/2014 03:26 PM, Josh Cartwright wrote: Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright jo...@codeaurora.org

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Guenter Roeck
On 09/18/2014 07:54 PM, Guenter Roeck wrote: On 09/18/2014 03:32 PM, Josh Cartwright wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Choose

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: On 09/18/2014 03:27 PM, Josh Cartwright wrote: The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart methods (such as PS_HOLD) are preferrable for

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Guenter Roeck
On 09/18/2014 08:24 PM, Josh Cartwright wrote: On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: On 09/18/2014 03:26 PM, Josh Cartwright wrote: Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064.

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Guenter Roeck
On 09/18/2014 08:32 PM, Josh Cartwright wrote: On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: On 09/18/2014 03:27 PM, Josh Cartwright wrote: The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:26 PM, Josh Cartwright wrote: Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright jo...@codeaurora.org Hi Josh, comments inline. Thanks, Guenter ---