[RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
DRM_IMX_FB_HELPER config is currently used to enable/disable fbdev emulation for the imx kms driver. Remove this local config option and use the top level DRM_FBDEV_EMULATION config option where applicable. Using this config lets us also prevent wrapping around drm_fb_helper_* calls with #ifdefs

[RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
DRM_I915_FBDEV config is currently used to enable/disable fbdev emulation for the i915 kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config lets us also prevent wrapping around drm_fb_helper_* calls with #ifdefs in certain places. The #ifdef in

[RFC 6/6] drm/sti: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
DRM_STI_FBDEV config is currently used to enable/disable fbdev emulation for the sti kms driver. Remove this local config option and use the top level DRM_FBDEV_EMULATION config option instead where applicable. We replace the #ifdef in sti_drm_load with CONFIG_DRM_FBDEV_EMULATION. It's probably

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide a separate Kconfig option for the user to enable or disbale fbdev emulation. Enabling fbdev emulation is finally

[RFC 2/6] drm/msm: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
DRM_MSM_FBDEV config is used to enable/disable fbdev emulation for the msm kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option where applicable. This also prevents build breaks caused by undefined drm_fb_helper_* functions when legacy fbdev support was disabled.

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

Re: [RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:11:30PM +0530, Archit Taneja wrote: DRM_I915_FBDEV config is currently used to enable/disable fbdev emulation for the i915 kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config lets us also prevent wrapping around

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide a separate Kconfig option for the user to

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide

Re: [RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:31 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:30PM +0530, Archit Taneja wrote: DRM_I915_FBDEV config is currently used to enable/disable fbdev emulation for the i915 kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config

Re: [RFC PATCH v15 01/11] ARM: cpuidle: Register per cpuidle device

2015-03-10 Thread Russell King - ARM Linux
On Mon, Mar 09, 2015 at 09:16:36AM -0600, Lina Iyer wrote: @@ -105,18 +109,46 @@ static int __init arm_idle_init(void) if (ret = 0) return ret ? : -ENODEV; + A bit better formatting would be nice - you don't need the extra blank line here. + ret =

Re: [PATCH v4 4/4] scsi: ufs: inject errors to verify error handling

2015-03-10 Thread Gilad Broner
+static bool inject_cmd_hang_tr(struct ufs_hba *hba) +{ + int tag; + + tag = find_first_bit(hba-outstanding_reqs, hba-nutrs); + if (tag == hba-nutrs) + return 0; + + __clear_bit(tag, hba-outstanding_reqs); + hba-lrb[tag].cmd = NULL; +

[PATCH v5 0/3] Add ioctl and debug utilities to UFS driver

2015-03-10 Thread Gilad Broner
Changes from V4: Dropped error injection change titled: scsi: ufs: inject errors to verify error handling Dolev Raviv (1): scsi: ufs: add ioctl interface for query request Gilad Broner (1): scsi: ufs: add trace events and dump prints for debug Lee Susman (1): scsi: ufs: add debugfs for

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: diff --git

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide a separate Kconfig option for the user to

Re: [PATCH 2/2] spi: qup: Request CS GPIO's during probe

2015-03-10 Thread Mark Brown
On Tue, Mar 10, 2015 at 10:10:56AM +0200, Ivan T. Ivanov wrote: On Mon, 2015-03-09 at 18:28 +, Mark Brown wrote: About the API usage, point taken. GPIO requesting part is more important in this case. pinctrl core did not request pins and wrong DT configuration could lead to

[RFC 4/6] drm/tegra: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
DRM_TEGRA_FBDEV config is currently used to enable/disable fbdev emulation for the tegra kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config lets us also prevent wrapping around drm_fb_helper_* calls with #ifdefs in certain places. The #ifdef in

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB

[RFC 0/6] drm: Add DRM_FBDEV_EMULATION Kconfig option

2015-03-10 Thread Archit Taneja
This provides a uniform interface to enable/disable legacy fbdev support for modesetting drivers, based on the discussion here: http://lists.freedesktop.org/archives/dri-devel/2015-March/078729.html This has only been build-tested for a few devices. Mainly looking for comments for now. The

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:16 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

Re: [PATCH V4 2/2] spmi: pmic_arb: add support for hw version 2

2015-03-10 Thread Ivan T. Ivanov
Ping. On Mon, 2015-02-23 at 11:59 +0200, Ivan T. Ivanov wrote: Hi Gilad, On Thu, 2015-02-19 at 15:54 -0700, Gilad Avidov wrote: Qualcomm PMIC Arbiter version-2 changes from version-1 are: - Some different register offsets. - New channel register space, one per PMIC peripheral

Re: [RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Philipp Zabel
Hi Archit, thanks for the cleanup! Am Dienstag, den 10.03.2015, 15:11 +0530 schrieb Archit Taneja: DRM_IMX_FB_HELPER config is currently used to enable/disable fbdev emulation for the imx kms driver. Remove this local config option and use the top level DRM_FBDEV_EMULATION config

[PATCH v5 2/3] scsi: ufs: add debugfs for ufs

2015-03-10 Thread Gilad Broner
From: Lee Susman lsus...@codeaurora.org Adding debugfs capability for ufshcd. debugfs attributes introduced in this patch: - View driver/controller runtime data - Command tag statistics for performance analisis - Dump device descriptor info - Track recoverable errors statistics during

[PATCH v5 3/3] scsi: ufs: add trace events and dump prints for debug

2015-03-10 Thread Gilad Broner
Add trace events to driver to allow monitoring and profilig of activities such as PM suspend/resume, hibernate enter/exit, clock gating and clock scaling up/down. In addition, add UFS host controller register dumps to provide detailed information in case of errors to assist in analysis of issues.

Re: [PATCH v4 4/4] scsi: ufs: inject errors to verify error handling

2015-03-10 Thread Akinobu Mita
2015-03-10 19:20 GMT+09:00 Gilad Broner gbro...@codeaurora.org: +static bool inject_cmd_hang_tr(struct ufs_hba *hba) +{ + int tag; + + tag = find_first_bit(hba-outstanding_reqs, hba-nutrs); + if (tag == hba-nutrs) + return 0; + + __clear_bit(tag,

Re: [PATCH 2/2] spi: qup: Request CS GPIO's during probe

2015-03-10 Thread Ivan T. Ivanov
On Tue, 2015-03-10 at 11:06 +, Mark Brown wrote: On Tue, Mar 10, 2015 at 10:10:56AM +0200, Ivan T. Ivanov wrote: On Mon, 2015-03-09 at 18:28 +, Mark Brown wrote: About the API usage, point taken. GPIO requesting part is more important in this case. pinctrl core did not

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 09:03 PM, Jani Nikula wrote: On Tue, 10 Mar 2015, Archit Taneja arch...@codeaurora.org wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at

Re: [RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 04:24 PM, Philipp Zabel wrote: Hi Archit, thanks for the cleanup! Am Dienstag, den 10.03.2015, 15:11 +0530 schrieb Archit Taneja: DRM_IMX_FB_HELPER config is currently used to enable/disable fbdev emulation for the imx kms driver. Remove this local config option and use the

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Olof Johansson
On Tue, Mar 10, 2015 at 10:13 AM, Kumar Gala ga...@codeaurora.org wrote: On Mar 9, 2015, at 7:11 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 06 March 2015 14:37:52 Kumar Gala wrote: On Mar 6, 2015, at 1:15 PM, Olof Johansson o...@lixom.net wrote: On Fri, Mar 6, 2015 at 8:08 AM, Kumar

Re: [RFC PATCH v15 02/11] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-10 Thread Kumar Gala
On Mar 9, 2015, at 10:16 AM, Lina Iyer lina.i...@linaro.org wrote: SPM is a hardware block that controls the peripheral logic surrounding the application cores (cpu/l$). When the core executes WFI instruction, the SPM takes over the putting the core in low power state as configured. The wake

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc: devicet...@vger.kernel.org Signed-off-by: Kumar Gala ga...@codeaurora.org Is this the special magic that

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
On Mar 9, 2015, at 7:11 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 06 March 2015 14:37:52 Kumar Gala wrote: On Mar 6, 2015, at 1:15 PM, Olof Johansson o...@lixom.net wrote: On Fri, Mar 6, 2015 at 8:08 AM, Kumar Gala ga...@codeaurora.org wrote: On Mar 5, 2015, at 7:59 PM, Olof

Re: [RFC PATCH v15 01/11] ARM: cpuidle: Register per cpuidle device

2015-03-10 Thread Lina Iyer
On Tue, Mar 10 2015 at 04:37 -0600, Russell King - ARM Linux wrote: On Mon, Mar 09, 2015 at 09:16:36AM -0600, Lina Iyer wrote: @@ -105,18 +109,46 @@ static int __init arm_idle_init(void) if (ret = 0) return ret ? : -ENODEV; + A bit better formatting would be nice -

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Jani Nikula
On Tue, 10 Mar 2015, Archit Taneja arch...@codeaurora.org wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote:

Re: [PATCH 2/2] spi: qup: Request CS GPIO's during probe

2015-03-10 Thread Mark Brown
On Tue, Mar 10, 2015 at 02:53:17PM +0200, Ivan T. Ivanov wrote: On Tue, 2015-03-10 at 11:06 +, Mark Brown wrote: I'm sorry but I can't parse the above. What does they could issue setup method mean and why is it a problem? Client drivers could execute spi_setup() in probe(), so we

Re: [RFC PATCH v15 02/11] ARM: qcom: Add Subsystem Power Manager (SPM) driver

2015-03-10 Thread Lina Iyer
On Tue, Mar 10 2015 at 11:26 -0600, Kumar Gala wrote: On Mar 9, 2015, at 10:16 AM, Lina Iyer lina.i...@linaro.org wrote: SPM is a hardware block that controls the peripheral logic surrounding the application cores (cpu/l$). When the core executes WFI instruction, the SPM takes over the

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Arnd Bergmann
On Tuesday 10 March 2015 13:10:08 Kumar Gala wrote: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel. Cc: devicet...@vger.kernel.org Signed-off-by: Kumar Gala

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Kumar Gala
On Mar 10, 2015, at 2:52 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 10 March 2015 13:10:08 Kumar Gala wrote: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the kernel.

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-10 Thread Rob Clark
On Tue, Mar 10, 2015 at 3:52 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 10 March 2015 13:10:08 Kumar Gala wrote: The top level qcom,msm-id and qcom,board-id are utilized by bootloaders on Qualcomm MSM platforms to determine which device tree should be utilized and passed to the

Re: [PATCH 2/2] spi: qup: Request CS GPIO's during probe

2015-03-10 Thread Ivan T. Ivanov
On Mon, 2015-03-09 at 18:28 +, Mark Brown wrote: On Mon, Mar 09, 2015 at 10:23:35AM +0200, Ivan T. Ivanov wrote: Hi, Don't reply off list unless there's a good reason... Sorry, it was not intentional. Wrong button. Any new GPIO users should really be using the gpiod API, however