[PATCH v4 09/18] coresight replicator: Expose replicator management registers

2017-07-18 Thread Suzuki K Poulose
Expose the idfilter* registers of the programmable replicator. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- .../coresight/coresight-dynamic-replicator.c| 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-dynamic-rep

[PATCH v4 06/18] coresight: Add support for reading 64bit registers

2017-07-18 Thread Suzuki K Poulose
Add support for reading a lower and upper 32bits of a register as a single 64bit register. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-priv.h | 27 ++- drivers/hwtracing/coresight/coresight-tmc.c | 4 ++-- 2 files chang

[PATCH v4 08/18] coresight tmc: Expose DBA and AXICTL

2017-07-18 Thread Suzuki K Poulose
Expose DBALO,DBAHI and AXICTL registers Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c index cc

Re: [PATCH v2 2/5] ACPI / boot: Correct address space of __acpi_map_table()

2017-07-18 Thread Hanjun Guo
On 2017/7/18 17:23, Andy Shevchenko wrote: > On Tue, 2017-07-18 at 11:03 +0200, Geert Uytterhoeven wrote: >> Hi Andy, >> >> On Mon, Jul 17, 2017 at 12:24 PM, Andy Shevchenko >> wrote: >>> Sparse complains about wrong address space used in >>> __acpi_map_table() >>> and in __acpi_unmap_table(). >>>

[PATCH v4 05/18] coresight: Extend the PIDR mask to cover relevant bits in PIDR2

2017-07-18 Thread Suzuki K Poulose
As per coresight standards, PIDR2 register has the following format : [2-0] - JEP106_bits6to4 [3]- JEDEC, designer ID is specified by JEDEC. However some of the drivers only use mask of 0x3 for the PIDR2 leaving bits [3-2] unchecked, which could potentially match the component for a differ

[PATCH v4 03/18] arm: qcom-msm8974: dts: Update coresight replicator

2017-07-18 Thread Suzuki K Poulose
Replace the obsolete compatible string for Coresight programmable replicator with the new one. Cc: Andy Gross Cc: David Brown Cc: linux-arm-...@vger.kernel.org Cc: Mathieu Poirier Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 1 f

[PATCH v4 07/18] coresight tmc: Add helpers for accessing 64bit registers

2017-07-18 Thread Suzuki K Poulose
Coresight TMC splits 64bit registers into a pair of 32bit registers (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-priv.h| 8 drivers/hwtracing/coresight/coresight

[PATCH v4 04/18] arm64: qcom-msm8916: dts: Update coresight replicator

2017-07-18 Thread Suzuki K Poulose
Replace the obsolete compatible string for Coresight programmable replicator with the new one. Cc: Andy Gross Cc: David Brown Cc: linux-arm-...@vger.kernel.org Cc: Mathieu Poirier Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1

Re: [RFC PATCH v2] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-18 Thread jeffy
Hi Oliver, On 07/18/2017 05:41 PM, Oliver Neukum wrote: Am Dienstag, den 18.07.2017, 17:36 +0800 schrieb jeffy: Hi Oliver, On 07/18/2017 04:41 PM, Oliver Neukum wrote: Am Dienstag, den 18.07.2017, 16:08 +0800 schrieb jeffy: I am afraid not. We cannot silently drop one part of a transmiss

New ACPI errors since 4.11.11 on thinkpad T550

2017-07-18 Thread Laurent Bigonville
Hi, I just upgraded to 4.11.11 (debian unstable) to day and now I see some new ACPI errors in dmesg: [...] [0.326369] PM: Registering ACPI NVS region [mem 0xccbff000-0xccd7efff] (1572864 bytes) [0.326806] Error parsing PCC subspaces from PCCT [0.326839] ACPI FADT declares the syst

Re: [PATCH v4] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-18 Thread Marcel Holtmann
Hi Oliver, > Currently we are calling usb_submit_urb directly to submit deferred tx > urbs after unanchor them. > > So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb > and cause memory leak: > unreferenced object 0xffc0ce0fa400 (size 256): > ... > backtrace: >[] __s

[PATCH v4 00/18] coresight: Support for ARM Coresight SoC-600

2017-07-18 Thread Suzuki K Poulose
This series adds support for ARM Coresight SoC-600 IP, which implements Coresight V3 architecture. It also does some clean up of the replicator driver namings used in the driver to prevent confusions to the user. The SoC-600 comes with an improved TMC which supports new features, including Save-Re

Re: [PATCH 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout

2017-07-18 Thread Ludovic Desroches
On Tue, Jul 18, 2017 at 10:37:13AM +0100, Lee Jones wrote: > On Tue, 18 Jul 2017, Nicolas Ferre wrote: > > > On 18/07/2017 at 11:12, Lee Jones wrote: > > > On Tue, 18 Jul 2017, Lee Jones wrote: > > > > > >> On Tue, 11 Jul 2017, Ludovic Desroches wrote: > > >> > > >>> For HSMC controller, the regi

Re: [PATCH 7/7] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-07-18 Thread Varadarajan Narayanan
On Mon, Jul 17, 2017 at 03:07:18PM -0700, Bjorn Andersson wrote: > On Mon 17 Jul 05:04 PDT 2017, Varadarajan Narayanan wrote: > > > Add support for the IPQ8074 PCIe controller. IPQ8074 supports > > Gen 1/2, one lane, two PCIe root complex with support for MSI and > > legacy interrupts, and it conf

[PATCH v4 02/18] arm64: juno: dts: Use the new coresight replicator string

2017-07-18 Thread Suzuki K Poulose
Use the new compatible for ATB programmable replicator in Juno. Cc: Sudeep Holla Cc: Mike Leach Cc: Mathieu Poirier Cc: Liviu Dudau Reviewed-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- arch/arm64/boot/dts/arm/juno-base.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 01/18] coresight replicator: Cleanup programmable replicator naming

2017-07-18 Thread Suzuki K Poulose
The Linux coresight drivers define the programmable ATB replicator as Qualcomm replicator, while this is designed by ARM. This can cause confusion to a user selecting the driver. Cleanup all references to make it explicitly clear. This patch : 1) Replace the compatible string for the replicator :

Re: [PATCH 3/3] Staging: iio: adc: ad7280a.c: Fixed Macro argument reuse

2017-07-18 Thread Dan Carpenter
On Tue, Jul 18, 2017 at 03:17:52PM +0530, Jaya Durga wrote: > diff --git a/drivers/staging/iio/adc/ad7280a.c > b/drivers/staging/iio/adc/ad7280a.c > index d5ab83f..cb94b7f 100644 > --- a/drivers/staging/iio/adc/ad7280a.c > +++ b/drivers/staging/iio/adc/ad7280a.c > @@ -99,9 +99,12 @@ > #define AD7

Re: [RFC 11/13] gpio-switch is for some reason neccessary for camera to work.

2017-07-18 Thread Pavel Machek
On Tue 2017-07-18 11:27:53, Pavel Machek wrote: > Hi! > > > On Tue, Feb 14, 2017 at 02:40:19PM +0100, Pavel Machek wrote: > > > Probably something fun happening in userspace. > > > > What's the status of this one? > > > > I don't think it has a chance to be merged in the foreseeable future. Why

[PATCH 4/4] ARM64: dts: rockchip: rk3399 add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add VPU/VDEC/IEP/VOPL/VOPB/ISP0/ISP1 iommu nodes Signed-off-by: Simon --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 63 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.d

[PATCH] devfreq: simple_ondemand: Update devfreq stats when governor started

2017-07-18 Thread Jeffy Chen
If governor suspends soon after started, it may not have the chance to update devfreq stats, which leaves devfreq stats' current frequence be zero. So when the thermal core tries to throttle the power, it would failed to get the correct static power of current frequence and print these warnings: [

[PATCH] serial: sprd: clear timeout interrupt only rather than all interrupts

2017-07-18 Thread Chunyan Zhang
From: Lanqing Liu On Spreadtrum's serial device, nearly all of interrupts would be cleared by hardware except timeout interrupt. This patch removed the operation of clearing all interrupt in irq handler, instead added an if statement to check if the timeout interrupt is supposed to be cleared.

[PATCH 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add H265e/VEPU/VPU/VDEC/VOP iommu nodes Signed-off-by: Simon --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index

[PATCH 3/4] ARM64: dts: rockchip: rk3368 add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add IEP/ISP/VOP/HEVC/VPU iommu nodes Signed-off-by: Simon --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 6d

[PATCH 2/4] ARM: dts: rockchip: rk322x add iommu nodes

2017-07-18 Thread Simon Xue
From: Simon Add VPU/VDEC/VOP/IEP iommu nodes Signed-off-by: Simon --- arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index f3e4ffd..36f7c4b 100644 --- a/arch/a

Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK

2017-07-18 Thread Quentin Schulz
Hi Lee, On 18/07/2017 11:49, Lee Jones wrote: > On Tue, 18 Jul 2017, Quentin Schulz wrote: > >> Hi Lee, >> >> On 18/07/2017 09:19, Lee Jones wrote: >>> On Mon, 17 Jul 2017, Quentin Schulz wrote: >>> According to their datasheets, the AXP221, AXP223, AXP288, AXP803, AXP809 and AXP813 PEK

Re: [PATCH 2/2] Revert "ASoC: ux500: drop platform DAI assignments"

2017-07-18 Thread Mark Brown
On Tue, Jul 18, 2017 at 10:21:18AM +0200, Johan Hovold wrote: > On Mon, Jul 17, 2017 at 03:51:27PM +0100, Mark Brown wrote: > > Please submit patches using subject lines reflecting the style for the > > subsystem. This makes it easier for people to identify relevant > > patches. Look at what exi

[PATCH V3 5/5] spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capability

2017-07-18 Thread Kiran Gunda
Currently the driver sets the pmic arbiter core interrupt as wakeup capable irrespective of the child irqs which causes the system to wakeup unnecessarily. To fix this, set the core interrupt as wakeup capable only if any of the child irqs request for it. Do this by marking it as wakeup capable in

[PATCH V3 2/5] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other code cleanup

2017-07-18 Thread Kiran Gunda
This patch cleans up the following. - Rename the "pa" to "pmic_arb". - Rename the spmi_pmic_arb *dev to spmi_pmic_arb *pmic_arb. - Rename the pa_{read,write}_data() functions to pmic_arb_{read,write}_data(). - Rename channel to APID. - Rename the HWIRQ_*() macros to hwirq_to_*(). - Clean up qpnp

[PATCH V3 0/5]: spmi: pmic-arb: Fixup patches

2017-07-18 Thread Kiran Gunda
v3: * spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other code cleanup replaced "i" with "apid" in pmic_arb_find_apid finction. * spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capability Added Stephen's reviewed-by tag. v2: * spmi: pmic-arb: remove the rea

[PATCH V3 4/5] spmi: pmic-arb: return the value instead of passing by pointer

2017-07-18 Thread Kiran Gunda
Returning the output value from a function, when it is possible, is the better and cleaner way than passing it by the pointer. Hence, modify the ppid_to_apid mapping function to return apid instead of passing it by a pointer. While at it, pass the ppid as function parameter to ppid_to_apid mapping

[PATCH V3 3/5] spmi: pmic-arb: replace the writel_relaxed with __raw_writel

2017-07-18 Thread Kiran Gunda
Replace the writel_relaxed with __raw_writel to avoid byte swapping in pmic_arb_write_data() function. That way the code is independent of the CPU endianness. Signed-off-by: Kiran Gunda Reviewed-by: Stephen Boyd --- drivers/spmi/spmi-pmic-arb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH V3 1/5] spmi: pmic-arb: remove the read/write access checks

2017-07-18 Thread Kiran Gunda
The access mode checks for peripheral ownership for read/write permissions should not be required. Every peripheral enabled for this master is expected to have a read/write permissions. If there is any such invalid access due to wrong configuration in boot loader or device tree files, then it shoul

Re: [PATCH 1/4] drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

2017-07-18 Thread Laurent Pinchart
Hi Maxime, On Tuesday 18 Jul 2017 09:05:22 Maxime Ripard wrote: > On Fri, Jul 14, 2017 at 02:43:12AM +0300, Laurent Pinchart wrote: > > On Thursday 13 Jul 2017 16:41:13 Maxime Ripard wrote: > >> The current drm_atomic_helper_commit_tail helper works only if the CRTC > >> is accessible, and documen

Re: [PATCH v2 5/5] ACPI / boot: Don't handle SCI on HW reduced platforms

2017-07-18 Thread Andy Shevchenko
On Tue, 2017-07-18 at 17:49 +0800, Hanjun Guo wrote: > On 2017/7/17 21:29, Andy Shevchenko wrote: > > WIP > > Does it mean not ready for upstream yet? Yep, this patch is subject to discussion. I will update it in v3, though it would be nice to discuss anyway (and test on some hardware reduced pla

[PATCH 4/9] m68k: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: facdf0ed4f59 ("m68knommu: introduce basic clk infrastructure") Cc: Greg Ungerer Cc: Geert Uytterhoeven Cc

[PATCH 9/9] unicore32: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 64909882862e ("unicore32 additional architecture files: pm related files") Cc: Guan Xuetao Cc: linux-kern

[PATCH 7/9] MIPS: Loongson 2F: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter, as some device drivers rely on this. Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on t

Re: [PATCH 11/18] dt-bindings: display: Add Allwinner MIPI-DSI bindings

2017-07-18 Thread Laurent Pinchart
On Monday 17 Jul 2017 13:41:49 Rob Herring wrote: > On Thu, Jul 13, 2017 at 04:13:06PM +0200, Maxime Ripard wrote: > > The Allwinner SoCs usually come with a DSI encoder. Add a binding for it. > > > > Signed-off-by: Maxime Ripard > > --- > > > > Documentation/devicetree/bindings/display/sunxi/s

[PATCH 8/9] MIPS: ralink: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 3f0a06b0368d ("MIPS: ralink: adds clkdev code") Cc: John Crispin Cc: Ralf Baechle Cc: linux-m...@linux-mi

[PATCH 3/9] blackfin: bf609: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 969003152aa9 ("blackfin: bf60x: add clock support") Cc: Steven Miao Cc: Masahiro Yamada Cc: Andrew Morton

[PATCH 5/9] MIPS: AR7: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 780019ddf02f ("MIPS: AR7: Implement clock API") Cc: Ralf Baechle Cc: Paul Gortmaker Cc: James Hogan Cc:

[PATCH 1/9] ARM: ep93xx: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 1d81eedb8f6c ("[ARM] 3634/1: ep93xx: initial implementation of the clk_* API") Cc: Hartley Sweeten Cc: Al

[PATCH 6/9] MIPS: BCM63XX: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: e7300d04bd08 ("MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.") Cc: Ralf Baechle Cc:

[PATCH 0/9] make clk_get_rate implementations behavior more consistent

2017-07-18 Thread Jonas Gorski
The common clock and several other clock API implementations allow calling clk_get_rate with a NULL pointer. While not specified as expected behavior of the API, device drivers have come to rely on that, causing them to OOPS when run on a platform with a different clock API implementation. Fix thi

[PATCH 2/9] ARM: mmp: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 49cbe78637eb ("[ARM] pxa: add base support for Marvell's PXA168 processor line") Cc: Eric Miao Cc: Haojia

[PATCH v1 0/7] drm/stm: Various cleanups

2017-07-18 Thread Philippe CORNU
Version 1: - Initial commit The purpose of this set of patches is to clean up the drm stm driver. Philippe CORNU (7): drm/stm: drv: Rename platform driver name drm/stm: ltdc: Cleanup signal polarity defines drm/stm: ltdc: Lindent and minor cleanups drm/stm: ltdc: Constify funcs structures

[PATCH v1 1/7] drm/stm: drv: Rename platform driver name

2017-07-18 Thread Philippe CORNU
Rename the platform driver name from "stm" to "stm32-display" for a better readability in /sys/bus/platform/drivers entries. Note: We keep "stm" as drm_driver.name because it is better when using "modetest -M stm ..." (even if recent modetest patch avoids using -M). Signed-off-by: Philippe CORNU

[PATCH v1 6/7] drm/stm: ltdc: Cleanup rename returned value

2017-07-18 Thread Philippe CORNU
Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/ltdc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index f4ed21a..8cd1b9b 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -7

[PATCH V4 0/4]: spmi: pmic-arb: support for V5 HW and bug fixes

2017-07-18 Thread Kiran Gunda
v4: * spmi: pmic-arb: add support for HW version 5 Clean-up as per Stephen's comments v3: * spmi: pmic-arb: add support for HW version 5 Modified #define INVALID (-1) to #define INVALID_EE0xFF. v2: * spmi: pmic-arb: return __iomem pointer instead of offset

[PATCH v1 5/7] drm/stm: ltdc: add devm_reset_control & platform_get_ressource

2017-07-18 Thread Philippe CORNU
Use devm_reset_control_get to avoid resource leakage. Also use platform_get_resource, which is more usual and consistent with platform_get_irq called later. Signed-off-by: Fabien Dessenne Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/ltdc.c | 9 + 1 file changed, 5 insertions(+)

[PATCH V4 2/4] spmi: pmic-arb: fix a possible null pointer dereference

2017-07-18 Thread Kiran Gunda
If "core" memory resource is not specified, then the driver could end up dereferencing a null pointer. Fix this issue. Signed-off-by: Kiran Gunda Reviewed-by: Stephen Boyd --- drivers/spmi/spmi-pmic-arb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spmi/spmi-

[PATCH V4 1/4] spmi: pmic-arb: return __iomem pointer instead of offset

2017-07-18 Thread Kiran Gunda
Modify the pmic_arb version ops to return an __iomem pointer to the address instead of an offset. That way we do not need to care about the base address changes in the new HW version. Signed-off-by: Kiran Gunda Reviewed-by: Stephen Boyd --- drivers/spmi/spmi-pmic-arb.c | 87

[PATCH V4 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-18 Thread Kiran Gunda
From: David Collins Add support for version 5 of the SPMI PMIC arbiter. It utilizes different offsets for registers than those found on version 3. Also, the procedure to determine if writing and IRQ access is allowed for a given PPID changes for version 5. Signed-off-by: David Collins Signed-o

[PATCH v1 7/7] drm/stm: dsi: Constify phy ops structure

2017-07-18 Thread Philippe CORNU
Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c index 16ae00e..568c5d0 100644 --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c +++

Re: [PATCH 1/2] ARM: OMAP2+: hsmmc.c: Remove dead code

2017-07-18 Thread Faiz Abbas
Hi Ulfe, I just wanted to make sure that no regressions happen on pandora board. I have tested this on dra71x-evm. Regards, Faiz On Monday 17 July 2017 06:38 PM, Ulf Hansson wrote: > On 14 July 2017 at 14:46, Faiz Abbas wrote: >> Most platforms using OMAP hsmmc driver have switched to device tr

[PATCH v1 4/7] drm/stm: ltdc: Constify funcs structures

2017-07-18 Thread Philippe CORNU
Constify drm funcs structures. Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/ltdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 628825b..92e58ba 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drive

[PATCH V4 4/4] spmi: pmic-arb: Remove checking opc value not less than 0

2017-07-18 Thread Kiran Gunda
From: Fenglin Wu The opc parameter in pmic_arb_write_cmd() function is defined with type u8 and it's always greater than or equal to 0. Checking that it's not less than 0 is redundant and it can cause a forbidden warning during compilation. Remove the check. Signed-off-by: Fenglin Wu Signed-off

[PATCH v1 2/7] drm/stm: ltdc: Cleanup signal polarity defines

2017-07-18 Thread Philippe CORNU
The GCR_PCPOL/DEPOL/VSPOL/HSPOL defines are sufficient to describe the HS, VS, DE & PC signal polarities. Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/ltdc.c | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/d

[PATCH v1 3/7] drm/stm: ltdc: Lindent and minor cleanups

2017-07-18 Thread Philippe CORNU
Lindent then checkpatch --strict cleanups Signed-off-by: Philippe CORNU --- drivers/gpu/drm/stm/ltdc.c | 172 ++--- 1 file changed, 85 insertions(+), 87 deletions(-) diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 50e8a89..62882

Re: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation

2017-07-18 Thread Jonathan Cameron
On Mon, 17 Jul 2017 21:44:19 + "Brüns, Stefan" wrote: > On Montag, 17. Juli 2017 22:53:57 CEST Jonathan Cameron wrote: > > On Mon, 17 Jul 2017 01:34:10 +0200 > > > > Stefan Brüns wrote: > > > The ina2xx driver appeared in the Linux kernel version 4.5, but provided > > > no documentation.

[PATCH v3 1/4] i2c: add helpers to ease DMA handling

2017-07-18 Thread Wolfram Sang
One helper checks if DMA is suitable and optionally creates a bounce buffer, if not. The other function returns the bounce buffer and makes sure the data is properly copied back to the message. Signed-off-by: Wolfram Sang --- Changes since v2: * rebased to v4.13-rc1 * helper functions are not in

[PATCH v3 0/4] i2c: document DMA handling and add helpers for it

2017-07-18 Thread Wolfram Sang
So, after revisiting old mail threads and taking part in a similar discussion on the USB list, here is what I cooked up to document and ease DMA handling for I2C within Linux. Please have a look at the documentation introduced in patch 2 for further details. All patches have been tested with a Ren

[PATCH v3 2/4] i2c: add docs to clarify DMA handling

2017-07-18 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- Changes since v2: * documentation updates. Hopefully better wording now Documentation/i2c/DMA-considerations | 38 1 file changed, 38 insertions(+) create mode 100644 Documentation/i2c/DMA-considerations diff --git a/Documen

[PATCH v3 4/4] i2c: rcar: check for DMA-capable buffers

2017-07-18 Thread Wolfram Sang
Handling this is special for this driver. Because the hardware needs to initialize the next message in interrupt context, we cannot use the i2c_check_msg_for_dma() directly. This helper only works reliably in process context. So, we need to check during initial preparation of the whole transfer and

[PATCH v3 3/4] i2c: sh_mobile: use helper to decide if DMA is useful

2017-07-18 Thread Wolfram Sang
This ensures that we fall back to PIO if the buffer is too small for DMA being useful. Otherwise, we use DMA. A bounce buffer might be applied if the original message buffer is not DMA safe Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-sh_mobile.c | 8 ++-- 1 file changed, 6 inserti

Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK

2017-07-18 Thread Lee Jones
On Tue, 18 Jul 2017, Quentin Schulz wrote: > Hi Lee, > > On 18/07/2017 11:49, Lee Jones wrote: > > On Tue, 18 Jul 2017, Quentin Schulz wrote: > > > >> Hi Lee, > >> > >> On 18/07/2017 09:19, Lee Jones wrote: > >>> On Mon, 17 Jul 2017, Quentin Schulz wrote: > >>> > According to their datashee

Re: [PATCH v2 3/7] [media] ov9650: add device tree support

2017-07-18 Thread Hugues FRUCHET
Hi Sakari, thks for review. On 07/09/2017 01:06 AM, Sakari Ailus wrote: > Hi Hugues, > > On Mon, Jul 03, 2017 at 11:16:04AM +0200, Hugues Fruchet wrote: >> Allows use of device tree configuration data. >> If no device tree data is there, configuration is taken from platform data. >> In order to k

Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK

2017-07-18 Thread Lee Jones
On Mon, 17 Jul 2017, Quentin Schulz wrote: > According to their datasheets, the AXP221, AXP223, AXP288, AXP803, > AXP809 and AXP813 PEK have different values for startup time bits from > the AXP20X, let's use the platform device id with the correct values. > > Signed-off-by: Quentin Schulz > ---

Re: [PATCH][crypto-next] crypto: cavium/nitrox - Change in firmware path.

2017-07-18 Thread Herbert Xu
Srikanth Jampala wrote: > Moved the firmware to "cavium" subdirectory as suggested by > Kyle McMartin. > > Signed-off-by: Srikanth Jampala Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH v1] crypto: brcm - Fix SHA3-512 algorithm failure

2017-07-18 Thread Herbert Xu
Raveendra Padasalagi wrote: > In Broadcom SPU driver, due to missing break statement > in spu2_hash_xlate() while mapping SPU2 equivalent > SHA3-512 value, -EINVAL is chosen and hence leading to > failure of SHA3-512 algorithm. This patch fixes the same. > > Fixes: 9d12ba86f818 ("crypto: brcm - A

RE: [PATCH] devfreq: simple_ondemand: Update devfreq stats when governor started

2017-07-18 Thread MyungJoo Ham
> If governor suspends soon after started, it may not have the chance to > update devfreq stats, which leaves devfreq stats' current frequence be > zero. > > So when the thermal core tries to throttle the power, it would failed > to get the correct static power of current frequence and print these

Re: [PATCH] crypto: sahara : make of_device_ids const.

2017-07-18 Thread Herbert Xu
On Tue, Jun 27, 2017 at 05:11:23PM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data bs

Re: [PATCH] crypto: qat: fix spelling mistake: "runing" -> "running"

2017-07-18 Thread Herbert Xu
On Mon, Jun 26, 2017 at 08:41:03PM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_info message > > Signed-off-by: Colin Ian King Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apa

[PATCH 03/15] sched: convert user_struct.__count to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 04/15] sched: convert numa_group.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: ccp-platform: print error message on platform_get_irq failure

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 12:59:52AM -0500, Gustavo A. R. Silva wrote: > Print error message on platform_get_irq failure before return. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana

[PATCH 05/15] sched/task_struct: convert task_struct.usage to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 10/15] uprobes: convert uprobe.ref to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 00/15] v4 kernel core pieces refcount conversions

2017-07-18 Thread Elena Reshetova
Changes in v4: * commit messages adjusted * subsystem prefixes corrected Changes in v3: * SoB chain corrected * minor corrections based on v2 feedback * rebase on linux-next/master as of today Changes in v2: * dropped already merged patches * rebase on top of linux-next/master * Now by de

Re: [PATCH 2/2] Revert "ASoC: ux500: drop platform DAI assignments"

2017-07-18 Thread Johan Hovold
On Tue, Jul 18, 2017 at 11:06:55AM +0100, Mark Brown wrote: > On Tue, Jul 18, 2017 at 10:21:18AM +0200, Johan Hovold wrote: > > On Mon, Jul 17, 2017 at 03:51:27PM +0100, Mark Brown wrote: > > > > Please submit patches using subject lines reflecting the style for the > > > subsystem. This makes it

[PATCH 12/15] groups: convert group_info.usage to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 11/15] nsproxy: convert nsproxy.count to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: mxs-dcp: print error message on platform_get_irq failure

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 01:54:16AM -0500, Gustavo A. R. Silva wrote: > Print error message on platform_get_irq failure before return. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana

[PATCH 15/15] kcov: convert kcov.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: omap-aes: fix error return code in omap_aes_probe()

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 02:00:54AM -0500, Gustavo A. R. Silva wrote: > Propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org

Re: [PATCH v5] crypto: sun4i-ss: support the Security System PRNG

2017-07-18 Thread Herbert Xu
On Mon, Jul 03, 2017 at 08:48:48PM +0200, Corentin Labbe wrote: > The Security System has a PRNG, this patch adds support for it via > crypto_rng. > > Signed-off-by: Corentin Labbe Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gond

Re: [PATCH] crypto: omap-des: fix error return code in omap_des_probe()

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 02:07:04AM -0500, Gustavo A. R. Silva wrote: > Print and propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor

Re: [PATCH] drivers: crypto: geode-aes: fixed coding style warnings and error

2017-07-18 Thread Herbert Xu
On Thu, Jul 06, 2017 at 02:44:56PM -0400, Chris Gorman wrote: > fixed WARNING: Block comments should align the * on each line > fixed WARNINGs: Missing a blank line after declarations > fixed ERROR: space prohibited before that ',' (ctx:WxE) > > Signed-off-by: Chris Gorman Patch applied. Thanks

[PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: brcm: add NULL check on of_match_device() return value

2017-07-18 Thread Herbert Xu
On Fri, Jul 07, 2017 at 01:33:33AM -0500, Gustavo A. R. Silva wrote: > Check return value from call to of_match_device() > in order to prevent a NULL pointer dereference. > > In case of NULL print error message and return -ENODEV > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. --

[PATCH 13/15] creds: convert cred.usage to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: brcm - remove BCM_PDC_MBOX dependency in Kconfig

2017-07-18 Thread Herbert Xu
On Tue, Jul 11, 2017 at 03:50:06PM +0530, Raveendra Padasalagi wrote: > SPU driver is dependent on generic MAILBOX API's to > communicate with underlying DMA engine driver. > > So this patch removes BCM_PDC_MBOX "depends on" for SPU driver > in Kconfig and adds MAILBOX as dependent module. > > Fi

Re: [PATCH] crypto: mediatek: fix error return code in mtk_crypto_probe()

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 01:24:54AM -0500, Gustavo A. R. Silva wrote: > Propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org

[PATCH 09/15] perf/ring_buffer: convert ring_buffer.aux_refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH] crypto: mxc-scc: fix error code in mxc_scc_probe()

2017-07-18 Thread Herbert Xu
On Fri, Jun 30, 2017 at 01:42:12AM -0500, Gustavo A. R. Silva wrote: > Print and propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor

[PATCH 08/15] perf/ring_buffer: convert ring_buffer.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 06/15] sched/task_struct: convert task_struct.stack_refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 07/15] perf: convert perf_event_context.refcount to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 01/15] sched: convert sighand_struct.count to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 02/15] sched: convert signal_struct.sigcnt to refcount_t

2017-07-18 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

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