Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Dan Carpenter
Doing One Err style error handling is often a mistake but it's ok here. Just choose a better label name, though. "unlock". I have seen several bugs caused because people used the label name "err" instead of "unlock". Compare these two examples. spin_unlock(); err: return ret; D

Re: [RFC PATCH 8/9] drm: bridge/dw_hdmi: Covert to support atomic API

2015-12-01 Thread Mark yao
On 2015年12月01日 15:21, Daniel Vetter wrote: On Tue, Dec 01, 2015 at 11:35:53AM +0800, Mark Yao wrote: Fill atomic needed funcs with default atomic helper library. Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api, we need dw_hdmi support atomic funcs. Signed-off-by: Mark Yao Ar

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Dan Carpenter
Also, the main point of course is that you should choose meaningful names for labels every time just like you would for functions. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [RFC v02 03/15] dmaengine: core: Introduce new, universal API to request a channel

2015-12-01 Thread Peter Ujfalusi
On 11/30/2015 05:51 PM, Tony Lindgren wrote: > Hi, > > * Peter Ujfalusi [151130 05:49]: >> >> For each dmaengine driver an array of DMA device, slave and the parameter >> for the filter function needs to be added: >> >> static struct dma_filter_map da830_edma_map[] = { >> DMA_FILTER_ENTRY("d

Re: [PATCH v3 2/2] zram: try vmalloc() after kmalloc()

2015-12-01 Thread Minchan Kim
On Tue, Dec 01, 2015 at 04:15:42PM +0900, Sergey Senozhatsky wrote: > On (12/01/15 15:35), Kyeongdon Kim wrote: > [..] > > @test #4 > > kmalloc(f) > > __vmalloc(f) > > // cannot find failure both until now > > > > log message (test #4) : > > <4>[ 641.440468][7] KDKIM: zcomp_lz4_create: 24: ret =

Re: [RFC PATCH 3/9] drm/rockchip: Convert to support atomic API

2015-12-01 Thread Daniel Stone
Hi Mark, On 1 December 2015 at 03:26, Mark Yao wrote: > +static void rockchip_atomic_wait_for_complete(struct drm_atomic_state *state) > +{ > + struct drm_crtc_state *crtc_state; > + struct drm_crtc *crtc; > + int i; > + > + for_each_crtc_in_state(state, crtc, crtc_state,

[PATCH v4 1/4] iio: adc: add IMX7D ADC driver support

2015-12-01 Thread Haibo Chen
Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC driver support, and the driver only support ADC software trigger. Signed-off-by: Haibo Chen --- drivers/iio/adc/Kconfig | 9 + drivers/iio/adc/Makefile| 1 + drivers/iio/adc/imx7d_adc.c | 588

[PATCH] drm: bridge/dw_hdmi: add atomic API support

2015-12-01 Thread Mark Yao
Fill atomic needed funcs with default atomic helper library. Rockchip use dw_hdmi, and drm/rockchip will covert to atomic api, we need dw_hdmi support atomic funcs. Now another drm driver use dw_hdmi is imx, not yet atomic, so check DRIVER_ATOMIC at runtime to spilt atomic and not atomic. Signed

[PATCH v4 2/4] Documentation: add the binding file for Freescale imx7d ADC driver

2015-12-01 Thread Haibo Chen
The patch adds the binding file for Freescale imx7d ADC driver. Signed-off-by: Haibo Chen Acked-by: Rob Herring --- .../devicetree/bindings/iio/adc/imx7d-adc.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/imx7

[TESTPATCH v2] xhci: fix usb2 resume timing and races.

2015-12-01 Thread Mathias Nyman
usb2 ports need to signal resume for 20ms before moving to U0 state. Both device and host can initiate resume. On host initated resume port is set to resume state, sleep 20ms, and finally set port to U0 state. On device initated resume a port status interrupt with a port in resume state in issued

[GIT PULL] remoteproc fixes for 4.4

2015-12-01 Thread Ohad Ben-Cohen
The following changes since commit 1ec218373b8ebda821aec00bb156a9c94fad9cd4: Linux 4.4-rc2 (2015-11-22 16:45:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git tags/remoteproc-4.4-fixes for you to fetch changes up to f42f79af1

[patch] regulator: pv88060: fix error handling in probe

2015-12-01 Thread Dan Carpenter
There were some missing "ret = " assignments here. Signed-off-by: Dan Carpenter diff --git a/drivers/regulator/pv88060-regulator.c b/drivers/regulator/pv88060-regulator.c index 69893f2..094376c 100644 --- a/drivers/regulator/pv88060-regulator.c +++ b/drivers/regulator/pv88060-regulator.c @@ -35

ARC stable backport request

2015-12-01 Thread Vineet Gupta
Hi, Please add upstream commit 30b9dbee895ff ("ARC: Fix silly typo in MAINTAINERS file") to stable releases. This depends on 9acdc911b55569145 ("MAINTAINERS: Add public mailing list for ARC") which was already marked for stable inclusion and is hitting the stable trees ATM. Thx, -Vineet -- To

Re: [PATCH 18/28] ptp: pch: allow build on MIPS platforms

2015-12-01 Thread Richard Cochran
On Mon, Nov 30, 2015 at 04:21:43PM +, Paul Burton wrote: > Allow the ptp_pch driver to be built on MIPS platforms in preparation > for use on the MIPS Boston board. > > Signed-off-by: Paul Burton Acked-by: Richard Cochran -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH] MAINTAINERS: make Vladimir co-maintainer of the memory controller

2015-12-01 Thread Michal Hocko
On Mon 30-11-15 13:29:30, Johannes Weiner wrote: > Vladimir architected and authored much of the current state of the > memcg's slab memory accounting and tracking. Make sure he gets CC'd > on bug reports ;-) > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > MAINTAINERS | 1 +

[PATCH v4 0/4] Add i.mx7d adc driver support

2015-12-01 Thread Haibo Chen
This patch set add imx7d adc driver support. Changes in v4: -sort the include head file alphabetically -really just clear the bit 31 of register REG_ADC_CH_A\B\C\D_CFG1 in function imx7d_adc_sample_rate_set() -add document in imx7d_adc_isr() to clarify the clear operation -add function imx7d_adc

[PATCH v4 3/4] ARM: dts: imx7d.dtsi: add ADC support

2015-12-01 Thread Haibo Chen
Add imx7d ADC support. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index ebc053a..aa0624d 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/bo

Re: [RFC PATCH 2/9] drm/rockchip: Use new vblank api drm_crtc_vblank_*

2015-12-01 Thread Mark yao
On 2015年12月01日 15:56, Daniel Stone wrote: Hi, On 1 December 2015 at 03:26, Mark Yao wrote: No functional update, drm_vblank_* is the legacy version of drm_crtc_vblank_*. and use new api make driver more clean. Signed-off-by: Mark Yao Heh, I had the same patch in my series to fix pageflip ev

Re: [PATCH 0/3] introduce new evdev interface type

2015-12-01 Thread Pingbo Wen
Hi, Arnd The patch series add three evdev interface type: - EV_IF_LEGACY send event by input_event. This is the default option, keep kernel backward compatible. >>> >>> The problem I see with this approach is that it still breaks any >>> legacy source code that is

Re: [PATCH 0/3] introduce new evdev interface type

2015-12-01 Thread Pingbo Wen
Hi, Arnd The patch series add three evdev interface type: - EV_IF_LEGACY send event by input_event. This is the default option, keep kernel backward compatible. >>> >>> The problem I see with this approach is that it still breaks any >>> legacy source code that is

[PATCH v4 4/4] ARM: dts: imx7d-sdb: add ADC support

2015-12-01 Thread Haibo Chen
Add ADC support for imx7d-sdb board. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 432aaf5..b2c4536 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts

Re: [PATCH 2/2] tpm_tis: Clean up the force=1 module parameter

2015-12-01 Thread Jarkko Sakkinen
Hi On Tue, Dec 01, 2015 at 08:28:35AM +0100, Uwe Kleine-König wrote: > On Mon, Nov 30, 2015 at 12:27:12PM -0700, Jason Gunthorpe wrote: > > The TPM core has long assumed that every device has a driver attached, > > however b8b2c7d845d5 ("base/platform: assert that dev_pm_domain callbacks > > are

[PATCH v1] mm: fix warning in comparing enumerator

2015-12-01 Thread Naoya Horiguchi
I saw the following warning when building mmotm-2015-11-25-17-08. mm/page_alloc.c:4185:16: warning: comparison between 'enum zone_type' and 'enum ' [-Wenum-compare] for (i = 0; i < MAX_ZONELISTS; i++) { ^ enum zone_type is named like ZONE_* which is different from ZONELIST_*, s

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-12-01 Thread Peter Zijlstra
On Tue, Dec 01, 2015 at 08:28:26AM +0100, Ingo Molnar wrote: > > Not sure what you're getting at here. We don't need the uncorrected > > instruction. > > Well, we need it for stack unwinding, as you point it out: > > > But the problem here is that we rewind the instruction stream, but not > > the

Re: [PATCH v2] clk: let of_clk_get_parent_name() fail for invalid clock-indices

2015-12-01 Thread Stephen Boyd
On 12/01, Masahiro Yamada wrote: > 2015-12-01 9:58 GMT+09:00 Stephen Boyd : > > Here's the proposed alternative, if you agree I will merge it > > with the above commit text and attribution to you. > > > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > index a66efc9d8bfc..f54583a9835a 100644

Re: [linux-sunxi] Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-12-01 Thread Maxime Ripard
Hi, On Wed, Nov 25, 2015 at 09:22:56AM +0800, Shuge wrote: > On Monday, November 23, 2015 at 17:32 UTC+8, Maxime Ripard wrote: > > On Mon, Nov 23, 2015 at 10:51:15PM -0800, Sugar Wu wrote: > >> On Monday, November 23, 2015 at 8:43:59 PM UTC+8, Maxime Ripard wrote: > >>> > >>> Hi, > >>> > >>> On M

Re: [RFC v02 02/15] dmaengine: core: Move and merge the code paths using private_candidate

2015-12-01 Thread Peter Ujfalusi
On 11/30/2015 04:42 PM, Andy Shevchenko wrote: > On Mon, Nov 30, 2015 at 3:45 PM, Peter Ujfalusi wrote: >> Channel matching with private_candidate() is used in two paths, the error >> checking is slightly different in them and they are duplicating code also. >> Move the code under dma_get_channel(

Re: livepatch: reuse module loader code to write relocations

2015-12-01 Thread Jessica Yu
+++ Jessica Yu [30/11/15 23:21 -0500]: Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Namely, we reuse apply_relocate_add() in the module loader to write relocations instead of duplicating functionality in livepa

Re: [PATCH v2] uselib: default depending if libc5 was used

2015-12-01 Thread Geert Uytterhoeven
Hi Andrew, On Tue, Dec 1, 2015 at 1:31 AM, Andrew Morton wrote: > On Fri, 27 Nov 2015 12:07:10 -0800 Josh Triplett > wrote: >> On Fri, Nov 27, 2015 at 01:14:20PM +0200, Riku Voipio wrote: >> > uselib hasn't been used since libc5; glibc does not use it. >> > Deprecate uselib a bit more, by makin

Re: [PATCH] dell-wmi: add module param to control Dell Instant Launch hotkey processing

2015-12-01 Thread Michał Kępień
> Module parameters are to be avoided wherever possible, especially for things > like this which set precedent and don't scale well. If we cannot detect which > machines use the EC and which only use WMI, then we can fall back to checking > DMI for specific models. > > Per the above, and Pali's fe

Re: [RFC PATCH 3/3] sched/fair: Use different cachelines for readers and writers of load_avg

2015-12-01 Thread Peter Zijlstra
On Mon, Nov 30, 2015 at 11:00:35PM -0500, Waiman Long wrote: > I think the current kernel use power-of-2 kmemcaches to satisfy kalloc() > requests except when the size is less than or equal to 192 where there are > some non-power-of-2 kmemcaches available. Given that the task_group > structure is

Re: module: preserve Elf information for livepatch modules

2015-12-01 Thread Jessica Yu
+++ Jessica Yu [30/11/15 23:21 -0500]: For livepatch modules, copy Elf section, symbol, and string information from the load_info struct in the module loader. Livepatch uses special relocation sections in order to be able to patch modules that are not yet loaded, as well as apply patches to the

Re: [PATCH] livepatch: fix race between enabled_store() and klp_unregister_patch()

2015-12-01 Thread Jiri Slaby
On 12/01/2015, 02:11 AM, Josh Poimboeuf wrote: > When I try to recreate something similar by putting a delay in > enabled_store(), klp_free_patch() just sleeps on its call to > kobject_put() until enabled_store() returns. The unregister stack looks > like: > > [] __kernfs_remove+0x1fb/0x380 >

Re: [RFC PATCH 3/3] sched/fair: Use different cachelines for readers and writers of load_avg

2015-12-01 Thread Peter Zijlstra
On Mon, Nov 30, 2015 at 10:55:02PM -0500, Waiman Long wrote: > On 11/30/2015 05:09 PM, Peter Zijlstra wrote: > >On Mon, Nov 30, 2015 at 02:13:32PM -0500, Waiman Long wrote: > >>>This begs the question tough; why are you running a global load in a > >>>cgroup; and do we really need to update this fo

Re: [PATCH v4 1/4] iio: adc: add IMX7D ADC driver support

2015-12-01 Thread Peter Meerwald-Stadler
> Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC > driver support, and the driver only support ADC software trigger. some extreme nitpicking below :) > Signed-off-by: Haibo Chen > --- > drivers/iio/adc/Kconfig | 9 + > drivers/iio/adc/Makefile| 1 + > drivers/

Re: [Drbd-dev] [PATCH 00/21] drbd: clean-up patchset

2015-12-01 Thread Philipp Reisner
Hi Fabian, I will take these patches and send them towards upstream in the next round. (Probably squashing them into a smaller number of patches while doing so) Best regards, Phil Am Freitag, 27. November 2015, 22:26:05 schrieb Fabian Frederick: > This small patchset does some code clean-up in

Re: [PATCH] gpio: Add GPIO support for the ACCES 104-IDI-48

2015-12-01 Thread Linus Walleij
On Mon, Nov 23, 2015 at 6:54 PM, William Breathitt Gray wrote: > The ACCES 104-IDI-48 family of PC/104 utility boards feature 48 > individually optically isolated digital inputs. Enabled inputs feature > change-of-state detection capability; if change-of-state detection is > enabled, an interrupt

Re: [PATCH v2 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-12-01 Thread Maxime Ripard
Hi! On Mon, Nov 30, 2015 at 02:09:14AM +0800, Vishnu Patekar wrote: > >> + reg = <0x01c20800 0x400>; > >> + clocks = <&osc24M>; > >> + gpio-controller; > >> + interrupt-controller; > >> + #interrupt

[PATCH v3] ASoC: hdac_hdmi: check error return

2015-12-01 Thread Sudip Mukherjee
As hdac->num_nodes is unsigned we can not check if snd_hdac_get_sub_nodes() has returned error or success. Lets have a temporary int to check the error value. Signed-off-by: Sudip Mukherjee --- v2: made num_nodes as int, but Takashi said that num_nodes should really be an unsigned. v1: removed t

Re: [PATCH 1/5] dma: do not use 0x in front of %pad

2015-12-01 Thread Nicolas Ferre
Le 30/11/2015 21:45, Dmitry V. Krivenok a écrit : > Signed-off-by: Dmitry V. Krivenok Acked-by: Nicolas Ferre > --- > drivers/dma/at_hdmac_regs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h > index 7f58f06.

Re: [RFC PATCH 2/9] drm/rockchip: Use new vblank api drm_crtc_vblank_*

2015-12-01 Thread Daniel Vetter
On Tue, Dec 01, 2015 at 04:33:27PM +0800, Mark yao wrote: > On 2015年12月01日 15:56, Daniel Stone wrote: > >Hi, > > > >On 1 December 2015 at 03:26, Mark Yao wrote: > >>No functional update, drm_vblank_* is the legacy version of > >>drm_crtc_vblank_*. and use new api make driver more clean. > >> > >>S

Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins

2015-12-01 Thread Linus Walleij
On Wed, Nov 18, 2015 at 8:33 PM, Stephen Boyd wrote: > The number of interrupts is always equal to the number of pins > provided by the PMIC gpio and MPP hardware blocks. Count the > number of irqs to figure out the number of pins instead of adding > more compatible strings or doing math on the r

[PATCH] clk: qcom: common: check for failure

2015-12-01 Thread Sudip Mukherjee
We were not checking the return from devm_add_action() which can fail. Signed-off-by: Sudip Mukherjee --- drivers/clk/qcom/common.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/common.c b/drivers/clk/qcom/common.c index c112eba..3541a9a 1006

Re: [PATCH v2 16/16] i2c: designware: Convert to use unified device property API

2015-12-01 Thread Mika Westerberg
On Mon, Nov 30, 2015 at 08:58:58PM +0100, Wolfram Sang wrote: > On Mon, Nov 30, 2015 at 05:11:44PM +0200, Andy Shevchenko wrote: > > From: Mika Westerberg > > > > With ACPI _DSD (introduced in ACPI v5.1) it is now possible to pass device > > configuration information from ACPI in addition to DT.

Re: [PATCH v3 2/2] zram: try vmalloc() after kmalloc()

2015-12-01 Thread Sergey Senozhatsky
On (12/01/15 17:16), Minchan Kim wrote: > On Tue, Dec 01, 2015 at 04:15:42PM +0900, Sergey Senozhatsky wrote: > > On (12/01/15 15:35), Kyeongdon Kim wrote: > > [..] > > > @test #4 > > > kmalloc(f) > > > __vmalloc(f) > > > // cannot find failure both until now > > > > > > log message (test #4) : >

[PATCH 0/6] net: thunderx: Miscellaneous fixes

2015-12-01 Thread Sunil Goutham
From: Sunil Goutham This patch series contains fixes for various issues observed with BGX and NIC drivers. Sunil Goutham (4): net: thunderx: Increase transmit queue length net: thunderx: Set CQ timer threshold properly net: thunderx: Switchon carrier only upon interface link up net: thu

[PATCH 6/6] net: thunderx: Enable BGX LMAC's RX/TX only after VF is up

2015-12-01 Thread Sunil Goutham
From: Sunil Goutham Enable or disable BGX LMAC's RX/TX based on corresponding VF's status. If otherwise, when multiple LMAC's physical link is up then packets from all LMAC's whose corresponding VF is not yet initialized will get forwarded to VF0. This is due to VNIC's default configuration where

[PATCH 3/6] net: thunderx: Increase transmit queue length

2015-12-01 Thread Sunil Goutham
From: Sunil Goutham Under high transmit rates and with TSO enabled observing fluctuations in TX performance. Seen especially with iperf3 application. Since TSO is taken care at driver level, with 64KB of TSO packets and when window size is also high the rate at which CPU fills in transmit descri

[PATCH 1/6] net: thunderx: Force to load octeon-mdio before bgx driver.

2015-12-01 Thread Sunil Goutham
From: Thanneeru Srinivasulu Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c |3 +++ drivers/net/ethernet/cavium/thunder/thunder_bgx.h |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net

[PATCH 4/6] net: thunderx: Set CQ timer threshold properly

2015-12-01 Thread Sunil Goutham
From: Sunil Goutham Properly set CQ timer threshold and also set it to 2us. With previous incorrect settings it was set to 0.5us which is too less. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h |5 ++--- drivers/net/ethernet/cavium/thunder/nicvf_queues

[PATCH 5/6] net: thunderx: Switchon carrier only upon interface link up

2015-12-01 Thread Sunil Goutham
From: Sunil Goutham Call netif_carrier_on() only if interface's link is up. Switching this on upon IFF_UP by default, is causing issues with ethernet channel bonding in LACP mode. Initial NETDEV_CHANGE notification was being skipped. Also fixed some issues with link/speed/duplex reporting via et

[PATCH 0/3] Add the rk3368 evb board with the act8846 pmic

2015-12-01 Thread Caesar Wang
This series pacthes try to add the evb dts for rk3368 SoCs, This's similar with the rj3288 evb board. On the moment, pwm/backlight/usb/thermal/emmc stuff can work for this board, I add the base version for the future firstly. PATCH [1/3]: Force rk3368 PWM clock (and its parents) On That's similar

[PATCH 2/3] arm64: dts: rockchip: add rk3368 evaluation board

2015-12-01 Thread Caesar Wang
This board is similar with the rk3288 evb board but the rk3368 top board. There exist the act8846 as the pmic. Moment, add the balight/thermal/emmc/usb.. stuff, Let the board can happy work. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/Makefile | 2 +- .../arm64/b

[PATCH 3/3] arm64: dts: rockchip: add the pwm node info for RK3368 SoCs

2015-12-01 Thread Caesar Wang
The pulse-width modulator (PWM) feature is very common in embedded systems. There exust 4 built-in PWM channels. In general, the pwm pins can via the pinctrl to configure iomux mode but the pwm2 since the pwm2 iomux mode from the SoC control register. Signed-off-by: Caesar Wang --- arch/arm64

Re: [PATCH] ASoC: sun4i: Implement MIC1 capture

2015-12-01 Thread Maxime Ripard
Hi, On Mon, Nov 30, 2015 at 04:17:05PM +, Mark Brown wrote: > On Mon, Nov 30, 2015 at 04:37:47PM +0100, Maxime Ripard wrote: > > A couple of minor issues below but I'll apply this - please send > followup patches. > > > +static void sun4i_codec_start_capture(struct sun4i_codec *scodec) > > +

[PATCH 0/4] bam dma fixes and one dt extension

2015-12-01 Thread Stanimir Varbanov
Here are three bam dma fixes, which I made during testing qcrypto driver. The first one is a real fix, the second one is related to peripherals on which the BAM IP is initialized by remote execution environment, and the third one is a sleeping bug IMO. The last patch is a extension again for perip

[PATCH 1/3] clk: rockchip: Force rk3368 PWM clock (and its parents) on

2015-12-01 Thread Caesar Wang
This's similar with the rk3288 SoCs. From: Douglas Anderson Quick summary: Most rk3368 boards (especially those with Pmic that followed the lead rom rk3368-evb-act8846) have a PWM regulator on them for vdd_logic. This is the main voltage for all kinds of misc stuff including the memory controlle

[PATCH 1/4] dmaengine: qcom_bam_dma: fix dma free memory on remove

2015-12-01 Thread Stanimir Varbanov
Building the driver as a module and when removing the already inserted module gives below: [ 1389.392788] Unable to handle kernel paging request at virtual address ffbdc01c [ 1389.421321] pgd = ffc02fa87000 [ 1389.447899] [ffbdc01c] *pgd=, *pud=

[PATCH 4/4] dmaengine: qcom_bam_dma: add controlled remotely dt property

2015-12-01 Thread Stanimir Varbanov
Some of the peripherals has bam which is controlled by remote processor, thus the bam dma driver must avoid register writes which initialise bam hw block. Those registers are protected from xPU block and any writes to them will lead to secure violation and system reboot. Adding the contolled_remot

[PATCH 3/4] dmaengine: qcom_bam_dma: use correct pipe FIFO size

2015-12-01 Thread Stanimir Varbanov
The pipe fifo size register must instruct the bam hw how many hw descriptors can be pushed to fifo. Currently we isntruct the hw with 32KBytes but wrap the tail in bam_start_dma in BAM_P_EVNT_REG on 4095 i.e. 32760. This leads to stalled transactions when the tail wraps. Fix this by use the correc

[PATCH 2/4] dmaengine: qcom_bam_dma: clear BAM interrupt only if it is rised

2015-12-01 Thread Stanimir Varbanov
Currently we write BAM_IRQ_CLR register with zero even when no BAM_IRQ occured. This write has some bad side effects when the BAM instance is for the crypto engine. In case of crypto engine some of the BAM registers are xPU protected and they cannot be controlled by the driver. Signed-off-by: Stan

[PATCH 2/6] net: thunderx: Wait for delayed work to finish before destroying it

2015-12-01 Thread Sunil Goutham
From: Thanneeru Srinivasulu While VNIC or BGX driver teardown, wait for already scheduled delayed work to finish before destroying it. Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c|3 +-- drivers/net/ethernet/caviu

Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2015-12-01 Thread Andreas Schwab
Yury Norov writes: > There's a tricky bug with signal stack, that Andreas also discovered. That was only a confusion about the compat state of sys_rt_sigaction. It just requires making sure glibc uses the correct (64bit layout) struct kernel_sigaction. Andreas. -- Andreas Schwab, SUSE Labs, s

Attention beneficiary,

2015-12-01 Thread BIKO
Attention beneficiary, Your total Funds of ($1.600`000`00USD) have been deposited in Money Gram department after the final meeting with the board of directors. What you have to do now is to contact Money Gram director Mr.Jim Nolan via E-mail: (mgagen...@gmail.com ) He will give you direction on

Re: [RFC PATCH 3/9] drm/rockchip: Convert to support atomic API

2015-12-01 Thread Mark yao
On 2015年12月01日 16:18, Daniel Stone wrote: Hi Mark, On 1 December 2015 at 03:26, Mark Yao wrote: +static void rockchip_atomic_wait_for_complete(struct drm_atomic_state *state) +{ + struct drm_crtc_state *crtc_state; + struct drm_crtc *crtc; + int i; + + for_each_crtc_in_

Re: [PATCH v2 2/4] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-12-01 Thread Marek Szyprowski
Hello, On 2015-11-30 14:36, Ulf Hansson wrote: On 26 November 2015 at 13:49, Marek Szyprowski wrote: From: Tomeu Vizoso Lets implementations of the match() callback in struct bus_type to /s/Lets/Allow return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. Thi

[PATCH] HID: lg: restrict filtering out of first interface to G29 only

2015-12-01 Thread Benjamin Tissoires
Looks like 29fae1c85 ("HID: logitech: Add support for G29") was a little bit aggressive and broke other devices. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=108121 Signed-off-by: Benjamin Tissoires --- Hi Jiri, as reported in #108121, this is 4.4-rc material. At least 2 people already s

Re: gigaset: freeing an active object

2015-12-01 Thread Tilman Schmidt
Am 30.11.2015 um 22:07 schrieb Paul Bolle: > How would attaching two devices work with GIGASET_MINORS hardcoded to 1? Ah, it wouldn't. You'd have to recompile with a bigger GIGASET_MINORS. (I wonder if that would actually work. Somehow I still think of GIGASET_MINORS as a configurable value, but

Re: [RFC PATCH 3/9] drm/rockchip: Convert to support atomic API

2015-12-01 Thread Mark yao
On 2015年12月01日 16:18, Daniel Stone wrote: Hi Mark, On 1 December 2015 at 03:26, Mark Yao wrote: >+static void rockchip_atomic_wait_for_complete(struct drm_atomic_state *state) >+{ >+ struct drm_crtc_state *crtc_state; >+ struct drm_crtc *crtc; >+ int i; >+ >+ for_each_c

Re: [PATCH 01/10] vfs: Remove vfs_xattr_cmp

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > This function was only briefly used in security/integrity/evm, between > commits 66dbc325 and 15647eb3. > > Signed-off-by: Andreas Gruenbacher Reviewed-by: James Morris -- James Morris -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 02/10] gfs2: Remove gfs2_xattr_acl_chmod

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > Function gfs2_xattr_acl_chmod is unused since commit e01580bf. > > Signed-off-by: Andreas Gruenbacher > Cc: Steven Whitehouse > Cc: Bob Peterson > Cc: cluster-de...@redhat.com Reviewed-by: James Morris -- James Morris -- To unsubscribe f

Re: [PATCH] pinctrl: qcom: Add msm8996 pinctrl driver

2015-12-01 Thread Linus Walleij
On Wed, Nov 18, 2015 at 1:35 AM, Stephen Boyd wrote: > From: Joonwoo Park > > Add initial pinctrl driver to support pin configuration with > pinctrl framework for msm8996. > > Cc: > Cc: Bjorn Andersson > Signed-off-by: Joonwoo Park > [sb...@codeaurora.org: Remove duplicate entries and enums]

Re: [PATCH 1/4] loop: Enable correct physical blocksize

2015-12-01 Thread Hannes Reinecke
On 11/13/2015 09:57 PM, Jeff Moyer wrote: Hi Hannes, Hannes Reinecke writes: When running on files the physical blocksize is actually 4k, How did you come to that conclusion? Are you basing it on the file system block size? If so, that's configurable at mkfs time and can be anything from

Re: [PATCH] mtd: nand: fix ONFI parameter page layout

2015-12-01 Thread Boris Brezillon
Hi Brian, On Mon, 30 Nov 2015 12:17:29 -0800 Brian Norris wrote: > On Mon, Nov 23, 2015 at 11:23:07AM +0100, Boris Brezillon wrote: > > src_ssync_features field is only 1 byte large, and the 4th reserved area > > is actually 8 bytes large. > > > > Signed-off-by: Boris Brezillon > > Fixes d1e1f

Re: [PATCH 03/10] posix acls: Remove duplicate xattr name definitions

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > Remove POSIX_ACL_XATTR_{ACCESS,DEFAULT} and GFS2_POSIX_ACL_{ACCESS,DEFAULT} > and replace them with the definitions in . > > Signed-off-by: Andreas Gruenbacher Reviewed-by: James Morris -- James Morris -- To unsubscribe from this list: se

Re: [PATCH 1/2] pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

2015-12-01 Thread Linus Walleij
On Wed, Nov 18, 2015 at 1:52 AM, Stephen Boyd wrote: > Update the binding and driver for pm8994-gpio devices. > > Cc: > Cc: "Ivan T. Ivanov" > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Patch applied with the ACKs. Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH 2/2] pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

2015-12-01 Thread Linus Walleij
On Wed, Nov 18, 2015 at 1:52 AM, Stephen Boyd wrote: > Update the driver and binding for pm8994-mpp devices. > > Cc: > Cc: "Ivan T. Ivanov" > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd Patch applied with the ACKs! Yours, Linus Walleij -- To unsubscribe from this list: send the line "

Re: [PATCH] pinctrl: uniphier: rework UniPhier pinctrl entries in Kconfig

2015-12-01 Thread Linus Walleij
On Tue, Nov 24, 2015 at 7:00 AM, Masahiro Yamada wrote: > There is a plan to support more pinctrl drivers for this SoC family. > Move the driver entries into a sub menu by using "menuconfig". > Also, add the missing dependency "depends on OF && MFD_SYSCON". > > Signed-off-by: Masahiro Yamada Pa

Re: [PATCH] backlight: adp8860: fix another uninitialized variable use

2015-12-01 Thread Michael Hennerich
On 11/30/2015 12:24 PM, Arnd Bergmann wrote: A recent patch I did fixed two potential uses of uninitialized variables in the adp8870 and adp8860 drivers. Unfortunately, I missed another one: drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show': drivers/video/b

Re: [PATCH 1/3] pinctrl: berlin: guard sub-directory with CONFIG_PINCTRL_BERLIN

2015-12-01 Thread Linus Walleij
On Tue, Nov 24, 2015 at 12:45 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_BERLIN is more suitable than CONFIG_ARCH_BERLIN > to guard the drivers/pinctrl/berlin/ directory. > > Signed-off-by: Masahiro Yamada Patch applied with the ACKs. Yours, Linus Walleij -- To unsubscribe from this list: sen

Re: [PATCH 2/3] pinctrl: mvebu: guard sub-directory with CONFIG_PINCTRL_MVEBU

2015-12-01 Thread Linus Walleij
On Tue, Nov 24, 2015 at 12:45 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_MVEBU is more suitable than CONFIG_PLAT_ORION > to guard the drivers/pinctrl/mvebu/ directory. > > Signed-off-by: Masahiro Yamada Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 3/3] pinctrl: spear: guard sub-directory with CONFIG_PINCTRL_SPEAR

2015-12-01 Thread Linus Walleij
On Tue, Nov 24, 2015 at 12:45 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_SPEAR is more suitable than CONFIG_PLAT_SPEAR > to guard the drivers/pinctrl/spear/ directory. > > Signed-off-by: Masahiro Yamada Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 04/10] vfs: Distinguish between full xattr names and proper prefixes

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > Add an additional "name" field to struct xattr_handler. When the name > is set, the handler matches attributes with exactly that name. When the > prefix is set instead, the handler matches attributes with the given > prefix and with a non-empty s

Re: [RFC PATCH 2/9] drm/rockchip: Use new vblank api drm_crtc_vblank_*

2015-12-01 Thread Mark yao
On 2015年12月01日 17:01, Daniel Vetter wrote: On Tue, Dec 01, 2015 at 04:33:27PM +0800, Mark yao wrote: On 2015年12月01日 15:56, Daniel Stone wrote: Hi, On 1 December 2015 at 03:26, Mark Yao wrote: No functional update, drm_vblank_* is the legacy version of drm_crtc_vblank_*. and use new api make

Re: [PATCH 06/10] tmpfs: Use xattr handler infrastructure

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > Use the VFS xattr handler infrastructure and get rid of similar code in > the filesystem. For implementing shmem_xattr_handler_set, we need a > version of simple_xattr_set which removes the attribute when value is > NULL. Use this to implement ke

Re: [PATCH] pinctrl: fix a typo in Kconfig

2015-12-01 Thread Linus Walleij
On Mon, Nov 30, 2015 at 8:57 AM, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kern

Re: [PATCH 07/10] tmpfs: listxattr should include POSIX ACL xattrs

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > When a file on tmpfs has an ACL or a Default ACL, listxattr should include the > corresponding xattr name. > > Signed-off-by: Andreas Gruenbacher > Cc: Hugh Dickins > Cc: linux...@kvack.org Reviewed-by: James Morris -- James Morris -- To

Re: [RFC v02 01/15] dmaengine: core: Allow NULL mask pointer in __dma_device_satisfies_mask()

2015-12-01 Thread Peter Ujfalusi
On 11/30/2015 04:35 PM, Andy Shevchenko wrote: > On Mon, Nov 30, 2015 at 3:45 PM, Peter Ujfalusi wrote: >> Treat as true condition the case when the mask is NULL. > > What do you think about setting some default (all "on") mask when mask > is not supplied? Probably rephrasing the commit message

[PATCH v2 2/2] staging: fwserial: Fix no space after cast checkpatch issue

2015-12-01 Thread Rajan Vaja
Fix "No space is necessary after a cast" problem reported by checkpatch. Signed-off-by: Rajan Vaja --- drivers/staging/fwserial/fwserial.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial

[PATCH v2 1/2] staging: fwserial: Fix pointer comparison to NULL checkpatch problem

2015-12-01 Thread Rajan Vaja
Fix pointer comparison to NULL problem reported by checkpatch. Signed-off-by: Rajan Vaja --- drivers/staging/fwserial/dma_fifo.c | 10 +- drivers/staging/fwserial/fwserial.c |4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/fwserial/dma_fifo.c

[PATCH v2 0/2] Fix coding style problems reported by checkpatch

2015-12-01 Thread Rajan Vaja
Changes in v2: Split patch into two different patches as suggested by Greg Kroah-Hartman Rajan Vaja (2): staging: fwserial: Fix pointer comparison to NULL checkpatch problem staging: fwserial: Fix no space after cast checkpatch issue drivers/staging/fwserial/dma_fifo.c | 10 +- dr

Re: [RFC v02 03/15] dmaengine: core: Introduce new, universal API to request a channel

2015-12-01 Thread Peter Ujfalusi
On 11/30/2015 04:09 PM, Arnd Bergmann wrote: > On Monday 30 November 2015 15:45:33 Peter Ujfalusi wrote: >> const char *name); >> struct dma_chan *dma_request_slave_channel(struct device *dev, const char >> *name); >> + >> +struct dma_chan *dma_re

Re: MPT2SAS boot fail... due to silently loosing the driver

2015-12-01 Thread Sreekanth Reddy
On Mon, Nov 30, 2015 at 10:51 PM, Martin K. Petersen wrote: > > > "Ingo" == Ingo Molnar writes: > > Ingo> So you need to make it interactive, with a short help text that > Ingo> explains to users that this is legacy option only, and that they > Ingo> should enable the MPT3SAS option if they w

Re: [PATCH v2 4/9] pinctrl: Add support STM32 MCUs

2015-12-01 Thread Maxime Coquelin
Hi Linus, 2015-10-17 19:23 GMT+02:00 Maxime Coquelin : > This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 > family of MCUs. > > While it only supports STM32F429 for now, it has been designed to enable > support of other MCUs of the family (e.g. STM32F746). > > Signed-off-by: M

Re: [PATCH 10/10] xattr handlers: Simplify list operation

2015-12-01 Thread James Morris
On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c > index 906022d..61dd93f 100644 > --- a/fs/ocfs2/xattr.c > +++ b/fs/ocfs2/xattr.c > @@ -895,6 +895,8 @@ static int ocfs2_xattr_list_entry(char *buffer, size_t > size, > > *result += total_le

Re: [PATCH v7 1/5] Documentation: tps65912: Add DT bindings for the TPS65912 PMIC

2015-12-01 Thread Linus Walleij
On Wed, Nov 18, 2015 at 6:59 PM, Andrew F. Davis wrote: > The TPS65912 PMIC contains several regulators and a GPIO controller. > Add bindings for the TPS65912 PMIC. > > Signed-off-by: Andrew F. Davis Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [RFC v02 03/15] dmaengine: core: Introduce new, universal API to request a channel

2015-12-01 Thread Peter Ujfalusi
On 11/30/2015 04:51 PM, Andy Shevchenko wrote: >> +struct dma_chan *dma_request_chan(struct device *dev, const char *name) >> +{ >> + struct dma_device *device, *_d; >> + struct dma_chan *chan = NULL; >> + >> + /* If device-tree is present get slave info from here */ >> + if

Re: [PATCH] staging: unisys: use common return path

2015-12-01 Thread Sudip Mukherjee
On Tue, Dec 01, 2015 at 11:06:58AM +0300, Dan Carpenter wrote: > Also, the main point of course is that you should choose meaningful > names for labels every time just like you would for functions. Yes, and while sending I was really thinking that you are going to complain about the label name. :)

RE: [PATCH v4 1/4] iio: adc: add IMX7D ADC driver support

2015-12-01 Thread Chen Bough
> -Original Message- > From: Peter Meerwald-Stadler [mailto:pme...@pmeerw.net] > Sent: Tuesday, December 01, 2015 4:51 PM > To: Chen Haibo-B51421 > Cc: ji...@kernel.org; knaac...@gmx.de; l...@metafoo.de; > shawn...@kernel.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Su

Re: [radeon r100] when ring test fails, provide users with option to test

2015-12-01 Thread Pavel Machek
On Mon 2015-11-30 09:39:54, Christian König wrote: > On 29.11.2015 23:22, Pavel Machek wrote: > >On Sun 2015-11-29 20:48:53, Christian König wrote: > >>On 28.11.2015 21:58, Pavel Machek wrote: > >>>Ring test failure is often caused by too high agpmode. Tell the user > >>>what to try. > >>> > >>>Sig

  1   2   3   4   5   6   7   8   9   10   >