Re: [PATCH 1/3] leds: trigger: Introduce a kernel panic LED trigger

2016-03-31 Thread Jacek Anaszewski
Hi Ezequiel, On 03/30/2016 09:11 PM, Ezequiel Garcia wrote: +lkml On 30 Mar 11:29 AM, Jacek Anaszewski wrote: Hi Ezequiel, Thanks for the patch. I've tested it on exynos4412-trats2 board with leds-aat1290 driver, by executing: echo "c" > /proc/sysrq-trigger I was able to notice the blinking

Re: [PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate

2016-03-31 Thread Boris Brezillon
Hi Guenter, On Wed, 30 Mar 2016 15:52:44 -0700 Guenter Roeck wrote: > On Wed, Mar 30, 2016 at 10:03:31PM +0200, Boris Brezillon wrote: > > The PWM framework has clarified the concept of reference PWM config > > (the platform dependent config retrieved from the DT or the PWM > > lookup table) and

Re: [PATCH v6 0/3] usb: otg-fsm: Add documentation and some trivial cleanups

2016-03-31 Thread Peter Chen
On Wed, Mar 30, 2016 at 12:56:27PM +0300, Roger Quadros wrote: > Hi, > > Add documentation for struct otg_fsm with some trivial cleanups. > All patches have been Acked by otg-fsm maintainer (Peter Chen). > I will queue them, thanks. -- Best Regards, Peter Chen

Re: [PATCH v5 05/46] pwm: introduce the pwm_args concept

2016-03-31 Thread Boris Brezillon
On Wed, 30 Mar 2016 14:55:10 -0700 Stephen Boyd wrote: > On 03/30, Boris Brezillon wrote: > > @@ -74,6 +74,23 @@ enum pwm_polarity { > > PWM_POLARITY_INVERSED, > > }; > > > > +/** > > + * struct pwm_args - PWM arguments > > + * @period: reference period > > + * @polarity: reference polarit

[PATCH 1/2] Documentation: fsl-quadspi: Add fsl, ls1043a-qspi compatible string

2016-03-31 Thread Yuan Yao
From: Yuan Yao new compatible string: "fsl,ls1043a-qspi". Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt b/Documentation/devicetree/bi

[PATCH 2/2] dts/ls1043a: add the DTS node for QSPI support

2016-03-31 Thread Yuan Yao
From: Yuan Yao Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 16 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi| 14 ++ 2 files changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/ar

[PATCH 0/2] dts/ls1043a: add the DTS node for QSPI support

2016-03-31 Thread Yuan Yao
From: Yuan Yao The QSPI controller on LS1043A is the same with the QSPI on LS1021A. We shuld add the QSPI support on LS1043A. So this patch try to add the dts node and binding Documentation. Depend on the patch: arm64: dts: add LS1043a-QDS board support https://patchwork.kernel.org/patch/852882

Re: [PATCH v5 10/46] leds: pwm: use pwm_get_args() where appropriate

2016-03-31 Thread Jacek Anaszewski
Hi Boris, On 03/30/2016 10:03 PM, Boris Brezillon wrote: The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference co

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-31 Thread Laxman Dewangan
On Wednesday 30 March 2016 11:46 PM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Mar 30, 2016 at 06:59:07PM +0530, Laxman Dewangan wrote: Like to add property as "regulator-device-ramp-delay" which will be used for PMIC configuration and regulator-ramp-delay will be used for dela

Re: [PATCH] net: mvneta: remove useless RX descriptor prefetch

2016-03-31 Thread Jisheng Zhang
Hi all, On Thu, 31 Mar 2016 14:45:37 +0800 Jisheng Zhang wrote: > Hi, > > + linux arm kernel > > On Thu, 31 Mar 2016 14:36:30 +0800 Jisheng Zhang wrote: > > > The rx descriptors are allocated using dma_alloc_coherent, so prefetch > > doesn't really happen at all. > > This is for RFC, I'm so

Re: [RESEND PATCH v2 2/2] scsi: Add intermediate STARGET_REMOVE state to scsi_target_state

2016-03-31 Thread jthumshirn
Hi Sebastian, On 2016-03-30 23:44, Sebastian Herbszt wrote: Johannes Thumshirn wrote: Add intermediate STARGET_REMOVE state to scsi_target_state to avoid running into the BUG_ON() in scsi_target_reap(). This intermediate state is only valid in the path from scsi_remove_target() to scsi_targ

[PATCH] checkkconfigsymbols.py: Fix typo in help message

2016-03-31 Thread Andreas Ziegler
Fix a typo in the help message for the -d parameter by removing one 'm'. Signed-off-by: Andreas Ziegler --- scripts/checkkconfigsymbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkkconfigsymbols.py b/scripts/checkkconfigsymbols.py index d8f6c09..df643f6 10

Re: [RESEND PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-31 Thread Jiancheng Xue
Hi all, I'll highly appreciated any of your comments. On 2016/3/26 16:11, Jiancheng Xue wrote: > Add hisilicon spi-nor flash controller driver > [...] > +static int hisi_spi_nor_read(struct spi_nor *nor, loff_t from, size_t len, > + size_t *retlen, u_char *read_buf) > +{ > + s

Re: [intel-pstate driver regression] processor frequency very high even if in idle

2016-03-31 Thread Navin P.S
> > On Thu, Mar 31, 2016, 5:12 AM Rafael J. Wysocki wrote: >> >> On Thu, Mar 31, 2016 at 1:32 AM, Sedat Dilek >> wrote: >> > On Thu, Mar 31, 2016 at 1:28 AM, Rafael J. Wysocki >> > wrote: >> >> On Thu, Mar 31, 2016 at 1:25 AM, Sedat Dilek >> >> wrote: >> >>> On Thu, Mar 31, 2016 at 1:17 AM, Pan

Re: [PATCH 1/3] leds: trigger: Introduce a kernel panic LED trigger

2016-03-31 Thread Jacek Anaszewski
On 03/31/2016 09:04 AM, Jacek Anaszewski wrote: Hi Ezequiel, On 03/30/2016 09:11 PM, Ezequiel Garcia wrote: +lkml On 30 Mar 11:29 AM, Jacek Anaszewski wrote: Hi Ezequiel, Thanks for the patch. I've tested it on exynos4412-trats2 board with leds-aat1290 driver, by executing: echo "c" > /proc

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Thang Q. Nguyen
Hi Balbi, If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and we need this code to check if dma mask should be manually set to 32 or 64. Thang On Wed, Mar 30, 2016 at 8:09 PM, Felipe Balbi wrote: > > Hi,

[PATCH v2 2/3] mmc: dw_mmc-exynos: remove dw_mci_exynos_setup_clock

2016-03-31 Thread Shawn Lin
We combine what dw_mci_exynos_setup_clock does with init hook to simplify the code Signed-off-by: Shawn Lin --- Changes in v2: None drivers/mmc/host/dw_mmc-exynos.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c in

[PATCH v2 0/3] Cleanup setup_clock callback from dw_mmc

2016-03-31 Thread Shawn Lin
Hello Jeahoon Currently dw_mmc is a little too queen-size. As we had cleanup prepare_command callback some days before, there are also some ones deserve to remove. Also we should avoid add new quirks or callbacks into dw_mmc in order to avoid the dilemma sdhci meets now. This patchset remove set

[PATCH v2 1/3] mmc: dw_mmc-rockchip: remove setup_clock for rockchip

2016-03-31 Thread Shawn Lin
We remove setup_clock hook and combine it into init hook to simplify the code Signed-off-by: Shawn Lin --- Changes in v2: - rebase on linux-mmc next - remove add setup_clk flag for init callback drivers/mmc/host/dw_mmc-rockchip.c | 12 1 file changed, 4 insertions(+), 8 deletions

[PATCH v2 3/3] mmc: dw_mmc: remove setup_clock callback

2016-03-31 Thread Shawn Lin
Now, no dw_mmc variant drivers use this callback, let's remove it. Signed-off-by: Shawn Lin --- Changes in v2: None drivers/mmc/host/dw_mmc.c | 9 - drivers/mmc/host/dw_mmc.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c in

Re: futex: clarification needed with drop_futex_key_refs and memory barriers

2016-03-31 Thread Peter Zijlstra
On Wed, Mar 30, 2016 at 08:45:10PM -0500, Petros Koutoupis wrote: > > But this is not a correctness (nor ordering) issue; but purely an > > architectural side-effect. Furthermore; some proposed changes: > > > > http://marc.info/?l=linux-kernel&m=145400059704564&w=2 > > > > might change this sid

Re: [PATCH 1/2] sched/fair: move cpufreq hook to update_cfs_rq_load_avg()

2016-03-31 Thread Peter Zijlstra
On Wed, Mar 30, 2016 at 06:42:20PM -0700, Steve Muckle wrote: > On 03/30/2016 12:35 PM, Peter Zijlstra wrote: > > On Mon, Mar 28, 2016 at 12:38:26PM -0700, Steve Muckle wrote: > >> Without covering all the paths where CFS utilization changes it's > >> possible to have to wait up to a tick to act on

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-31 Thread Zhangjian (Bamvor)
On 2016/3/29 21:27, Arnd Bergmann wrote: On Tuesday 29 March 2016 21:21:49 Zhangjian wrote: Then we could remove the __USE_FILE_OFFSET64 in stat.h and fcnt.h in aarch64. And truncate and ftruncate is same as truncate64 and ftruncate64. I don't know what the glibc developers prefer, but I th

Re: [PATCH 0/5] wireless: ti: Convert specialized logging macros to kernel style

2016-03-31 Thread Kalle Valo
Joe Perches writes: > On Wed, 2016-03-30 at 14:51 +0300, Kalle Valo wrote: >> Joe Perches writes: >> > Using the normal kernel logging mechanisms makes this code >> > a bit more like other wireless drivers. >> Personally I don't see the point but I don't have any strong opinions. A >> bigger pro

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-31 Thread Thang Q. Nguyen
Thanks Grygorii for information. I checked but do not see dma_init_dev_from_parent is used in linux-next repository. Can you give me more information for what branch I can checkout to use it for USB DWC3? Thanks, Thang --

Re: [PATCH] stmmac: Fix phy without MDIO subnode

2016-03-31 Thread Giuseppe CAVALLARO
Hello Robert On 3/30/2016 8:22 PM, Robert Gadsdon wrote: I have applied this to my Rock2 - Kernel 4.6-rc1 - and eth0 is present, now, but no network traffic gets through: there are some patches not yet applied that fix known problems pls take a look at : "stmmac: MDIO fixes" and [PATCH (n

Re: [PATCH 11/13] dtb: amd: Add PCIe SMMU device tree node

2016-03-31 Thread Eric Auger
Hi Will, On 03/30/2016 07:24 PM, Will Deacon wrote: > On Wed, Mar 30, 2016 at 05:57:08PM +0200, Eric Auger wrote: >> On 03/30/2016 05:45 PM, Will Deacon wrote: >>> On Wed, Mar 30, 2016 at 05:37:27PM +0200, Eric Auger wrote: On 01/28/2016 03:27 PM, Will Deacon wrote: > On Thu, Jan 28, 2016

[PATCH] compiler-gcc: disable -ftracer for __noclone functions

2016-03-31 Thread Paolo Bonzini
-ftracer can duplicate asm blocks causing compilation to fail in noclone functions. For example, KVM declares a global variable in an asm like asm("2: ... \n .pushsection data \n .global vmx_return \n vmx_return: .long 2b"); and -ftracer causes a double declaration

Re: [PATCH v1] block: partition: initialize percpuref before new partition is visiable

2016-03-31 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: > On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >> >> In addition, I wonder how explicit and implicit fences could coexist >> together. >> Rob said, >> "Implicit sync ofc remains the default, but userspace could opt-in to >> explicit sync instead" >

Re: Question on rhashtable in worst-case scenario.

2016-03-31 Thread Johannes Berg
On Wed, 2016-03-30 at 09:52 -0700, Ben Greear wrote: > If someone can fix rhashtable, then great. > I read some earlier comments [1] back when someone else reported > similar problems, and the comments seemed to indicate that rhashtable > was broken in this manner on purpose to protect against has

Re: [PATCHv2 7/8] ARM: dts: imx6: add support for more Ka-Ro electronics modules

2016-03-31 Thread Shawn Guo
On Thu, Mar 31, 2016 at 08:29:44AM +0200, Lothar Waßmann wrote: > NB: There is no need to quote the full original mail when you have no > further comments on the remaining part. This would save people > from having to scroll through the mail needlessly looking for further > comments. I generally p

Re: Question on rhashtable in worst-case scenario.

2016-03-31 Thread Herbert Xu
On Thu, Mar 31, 2016 at 09:46:45AM +0200, Johannes Berg wrote: > > In this case, I think perhaps you can just patch your local system with > the many interfaces connecting to the same AP to add the parameter > Herbert suggested (.insecure_elasticity = true in sta_rht_params). This > is, after all,

[GIT PULL] GPIO fixes for v4.6 take one

2016-03-31 Thread Linus Walleij
Hi Linus, here are two GPIO fixes for the v4.6 series, both in drivers. Details in the signed tag. Please pull it in! Yours, Linus Walleij The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) are available in the git reposito

Re: [PATCH v1 2/8] block: make 'struct bvec_iter' not depend on CONFIG_BLOCK

2016-03-31 Thread Christoph Hellwig
On Thu, Mar 31, 2016 at 09:02:59AM +0800, Ming Lei wrote: > That way may cause trouble to blk_type.h because it needs bvec_iter, > then looks not good to always include bvec_iter.h into blk_type.h. I'd expect bvec.h to be always included in blk_types.h, and replace the inclusion of blk_types.h in

Re: linux-next: build failure after merge of the gpio tree

2016-03-31 Thread Linus Walleij
On Thu, Mar 31, 2016 at 4:22 AM, Stephen Rothwell wrote: > After merging the gpio tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > arch/powerpc/sysdev/ppc4xx_gpio.c: In function 'ppc4xx_gpio_set': > arch/powerpc/sysdev/ppc4xx_gpio.c:93:26: error: unused variable '

Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-31 Thread Ard Biesheuvel
On 30 March 2016 at 19:55, Fu Wei wrote: > Hi Tomasz > > On 30 March 2016 at 14:50, kbuild test robot wrote: >> Hi Tomasz, >> >> [auto build test WARNING on arm64/for-next/core] >> [also build test WARNING on v4.6-rc1 next-20160330] >> [if your patch is applied to the wrong git tree, please drop

[PATCH] smp: make wake up idle cpus more generic

2016-03-31 Thread Lianwei Wang
The wake_up_all_idle_cpus API always wake up all the online cpus, but sometimes we only want to wake up a set of cpus. Use a generic function to wake up a group of cpus that is specified by the cpumask parameter. This generic API can benefit to the cases that only need to wake up a set of cpus. S

Re: [PATCH v3 0/8] arm64: rockchip: Initial GeekBox enablement

2016-03-31 Thread Giuseppe CAVALLARO
On 3/30/2016 6:44 PM, Dinh Nguyen wrote: On Tue, Mar 15, 2016 at 7:36 AM, Giuseppe CAVALLARO wrote: Hello Tomeu On 3/15/2016 8:23 AM, Tomeu Vizoso wrote: Thanks. Btw, I have rebased on top of 4.5 this morning and I have noticed that 88f8b1bb41c6 ("stmmac: Fix 'eth0: No PHY found' regression

[PATCH v2 1/4] mn10300: let exit_fpu accept a task

2016-03-31 Thread Jiri Slaby
We need to call exit_thread from copy_process in a fail path. Since exit_thread on mn10300 calls exit_thread_runtime_instr, make it accept task_struct as a parameter now. Signed-off-by: Jiri Slaby Cc: David Howells Cc: linux-am33-l...@redhat.com --- arch/mn10300/include/asm/fpu.h | 6 ++ ar

[PATCH v2 4/4] fork: free thread in copy_process on failure

2016-03-31 Thread Jiri Slaby
When using this program (as root): #include #include #include #include #include #include #include #define ITER 1000 #define FORKERS 15 #define THREADS (6000/FORKERS) // 1850 is proc max static void for

[PATCH v2 3/4] exit_thread: accept a task parameter to be exited

2016-03-31 Thread Jiri Slaby
We need to call exit_thread from copy_process in a fail path. So make it accept task_struct as a parameter. [v2] * s390: exit_thread_runtime_instr doesn't make sense to be called for non-current tasks. * arm: fix the comment in vfp_thread_copy * change 'me' to 'tsk' for task_struct * now we can

Re: [PATCH v5 05/46] pwm: introduce the pwm_args concept

2016-03-31 Thread Boris Brezillon
On Wed, 30 Mar 2016 14:55:10 -0700 Stephen Boyd wrote: > On 03/30, Boris Brezillon wrote: > > @@ -74,6 +74,23 @@ enum pwm_polarity { > > PWM_POLARITY_INVERSED, > > }; > > > > +/** > > + * struct pwm_args - PWM arguments > > + * @period: reference period > > + * @polarity: reference polarit

Re: [RFC PATCH] sched/fair: call cpufreq hook in additional paths

2016-03-31 Thread Peter Zijlstra
On Thu, Mar 24, 2016 at 03:26:07PM -0700, Steve Muckle wrote: > Note that this patch depends on the 2 patches I sent several days ago: > http://thread.gmane.org/gmane.linux.kernel/2181498 Right; I had something similar for a little while.. > Unfortunately this means that in the migration case, >

Re: [PATCH v5 26/46] pwm: sun4i: implement hardware readout

2016-03-31 Thread Alexandre Belloni
On 30/03/2016 at 22:03:49 +0200, Boris Brezillon wrote : > Implement ->get_state() instead of only initializing the polarity in > the probe function. > > This implementation also takes care of keeping the PWM clk enabled if at > least one of the PWM exported by the PWM chip is already enabled, whi

Re: [PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event

2016-03-31 Thread Tomeu Vizoso
On 31 March 2016 at 03:25, Mark yao wrote: > On 2016年03月30日 21:48, Tomeu Vizoso wrote: >> >> As per the docs, atomic_commit should return -EBUSY "if an asycnhronous >> updated is requested and there is an earlier updated pending". >> >> Also wait for the pending event to complete when a sync updat

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 14:42, Felipe Balbi wrote: +#define DEFAULT_CUR_PROTECT (50) >>> >>> Where is this coming from ? Also, () are not necessary. >> >> Just want to protect the default current limitation. If that does not >> need, I'll remove it. > > It's your HW :-) You tell me if it's reall

Re: [PATCH v3 1/6] pinctrl: baytrail: Add pin control data structures

2016-03-31 Thread Mika Westerberg
On Wed, Mar 30, 2016 at 06:05:30PM +0300, Cristina Ciocan wrote: > + PINCTRL_PIN(55, "GPIO_S0_SC[055]"), > + PINCTRL_PIN(56, "GPIO_S0_SC[056]"), > + PINCTRL_PIN(57, "GPIO_S0_SC[057]"), > + PINCTRL_PIN(58, "GPIO_S0_SC[058]"), > + PINCTRL_PIN(59, "GPIO_S0_SC[059]"), > + PINCTR

[PATCH 1/2] staging: dgnc: remove useless variables for saving tty's

2016-03-31 Thread Daeseok Youn
It doesn't need to save major number with variable. And there are no use of these variables(dgnc_serial_major and dgnc_transparent_print_major) Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_driver.h | 3 --- drivers/staging/dgnc/dgnc_tty.c| 4 2 files changed, 7 deletions(-)

[PATCH 2/2] staging: dgnc: clean up dgnc_input function

2016-03-31 Thread Daeseok Youn
This is for fixing checkpatch.pl warning about "Alignment should match open parenthesis" but if that is fixed, code line is over 80 characters. I think "ch->ch_rqueue + tail + i" could be declared once in the begining of loop. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_tty.c | 35

Re: [PATCH v3 1/2] usb:dwc3: Enable support for 64-bit system

2016-03-31 Thread Felipe Balbi
Hi, (please don't top-post) "Thang Q. Nguyen" writes: > Hi Balbi, > If CONFIG_DMA_CMA=y, dma mask is set properly. The issue just happen > when CONFIG_DMA_CMA is not set. In this case, dma mask is not set and > we need this code to check if dma mask should be manually set to 32 or > 64. Can yo

Re: [PATCH] kvm: x86: do not leak guest xcr0 into host interrupt handlers

2016-03-31 Thread Paolo Bonzini
On 30/03/2016 21:24, David Matlack wrote: > An interrupt handler that uses the fpu can kill a KVM VM, if it runs > under the following conditions: > - the guest's xcr0 register is loaded on the cpu > - the guest's fpu context is not loaded > - the host is using eagerfpu > > Note that the gues

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-03-31 Thread Felipe Balbi
"Thang Q. Nguyen" writes: > [ text/plain ] > Thanks Grygorii for information. > I checked but do not see dma_init_dev_from_parent is used in > linux-next repository. Can you give me more information for what > branch I can checkout to use it for USB DWC3? dma_init_dev_from_parent() is still a pro

Re: [PATCH 01/18] irqchip: vf610-gpc: add Vybrid GPC IRQ controller

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:42PM -0800, Stefan Agner wrote: > +static int __init vf610_gpc_of_init(struct device_node *node, > +struct device_node *parent) > +{ > + struct irq_domain *domain, *domain_parent; > + int i; > + > + domain_parent = irq_find_host(

Re: [PATCH 0/5] wireless: ti: Convert specialized logging macros to kernel style

2016-03-31 Thread Joe Perches
On Thu, 2016-03-31 at 10:39 +0300, Kalle Valo wrote: > Joe Perches writes: > > On Wed, 2016-03-30 at 14:51 +0300, Kalle Valo wrote: > > > Joe Perches writes: > > > > > > > > Using the normal kernel logging mechanisms makes this code > > > > a bit more like other wireless drivers. > > > Personall

[PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-03-31 Thread Tomeu Vizoso
As per the docs, atomic_commit should return -EBUSY "if an asycnhronous updated is requested and there is an earlier updated pending". v2: Use the status of the workqueue instead of vop->event, and don't add a superfluous wait on the workqueue. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/ro

[PATCH 4/4] tty: vt, use proper type for default colors

2016-03-31 Thread Jiri Slaby
Every user of default_red, default_grn, and default_blu treats them as unsigned char. So make it really unsigned char. And indent the initializers and module_param properly. This saves ~ 100 bytes of data. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 27 +--

Re: [PATCH v2] tty/serial/8250: fix RS485 half-duplex RX

2016-03-31 Thread Matwey V. Kornilov
2016-03-24 11:03 GMT+03:00 : > From: Yegor Yefremov > > When in half-duplex mode RX will be disabled before TX, but not > enabled after deactivating transmitter. This patch enables > UART_IER_RLSI and UART_IER_RDI interrupts after TX is over. > > Cc: Matwey V. Kornilov > Signed-off-by: Yegor Yef

Re: [intel-pstate driver regression] processor frequency very high even if in idle

2016-03-31 Thread Sedat Dilek
On Thu, Mar 31, 2016 at 12:50 AM, Doug Smythies wrote: > On 2106.03.30 15:19 Srinivas Pandruvada wrote: >>> >>> Please see attached files. >>> >> Thanks. Your logs make sense. You have config set to performance mode >> by default (Which I believe default in all kernel Ubuntu). > > Yes, but via a s

[PATCH 1/4] tty: vt, remove reduntant check

2016-03-31 Thread Jiri Slaby
MAX_NR_CONSOLES and MAX_NR_USER_CONSOLES are both 63 since they were introduced in 1.1.54. And since vc_allocate does: if (currcons >= MAX_NR_CONSOLES) return -ENXIO; if (!vc_cons[currcons].d) { if (currcons >= MAX_NR_USER_CONSOLES && !capable(CAP_SYS_RESOURCE)) re

[PATCH 2/4] tty: vt, get rid of weird source code flow

2016-03-31 Thread Jiri Slaby
Some code in vc_allocate is indented by 4 spaces. It is inside a condition. Invert the condition and move the code to the first indentation level (using \tab). And insert some empty lines to have logical code blocks separated. Then, instead of freeing in an 'if' false branch, use goto-error label

[PATCH 3/4] tty: vt, make color_table const

2016-03-31 Thread Jiri Slaby
This means all ->con_set_palette have to have the second parameter const too now. Signed-off-by: Jiri Slaby --- drivers/tty/vt/vt.c | 2 +- drivers/usb/misc/sisusbvga/sisusb_con.c | 2 +- drivers/video/console/fbcon.c | 4 ++-- drivers/video/console/mdacon.c

Re: [PATCH v1] block: partition: initialize percpuref before new partition is visiable

2016-03-31 Thread Johannes Thumshirn
On 2016-03-31 04:40, Ming Lei wrote: The initialization of partition's percpu_ref should have been done before the new partition is updated to partition table via rcu_assign_pointer(), otherwise the uninitialized percpu_ref may be accessed in data path. This patch fixes this issue reported by

Re: [PATCH v5 1/4] leds: core: add generic support for RGB Color LED's

2016-03-31 Thread Jacek Anaszewski
Hi Heiner, On 03/30/2016 03:59 PM, Heiner Kallweit wrote: On Wed, Mar 30, 2016 at 3:03 PM, Pavel Machek wrote: Hi! Ok, so: a) Do we want RGB leds to be handled by existing subsystem, or do we need separate layer on top of that? b) Does RGB make sense, or HSV? RGB is quite widely used in gr

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-31 Thread Felipe Balbi
Hi Baolin, Baolin Wang writes: >>> >> Make sense. In our company's solution, charger detection can be done >>> >> by hardware from PMIC at first, then it will not affect the DP/DM >>> >> line when gadget starts to enumeration. >>> > >>> > I see, charger type detection is done automatically by PM

Re: [PATCH] net: mvneta: explicitly disable BM on 64bit platform

2016-03-31 Thread Jisheng Zhang
Hi Marcin, On Thu, 31 Mar 2016 08:49:19 +0200 Marcin Wojtas wrote: > Hi Jisheng, > > 2016-03-31 7:53 GMT+02:00 Jisheng Zhang : > > Hi Gregory, > > > > On Wed, 30 Mar 2016 17:11:41 +0200 Gregory CLEMENT wrote: > > > >> Hi Jisheng, > >> > >> On mer., mars 30 2016, Jisheng Zhang wrote: > >> >

Re: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

2016-03-31 Thread Linus Walleij
On Fri, Mar 11, 2016 at 3:58 AM, Wang Hongcheng wrote: > Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as > registered in http://www.uefi.org/acpi_id_list, and the GPIO controller > on future AMD paltform will use the HID instead of AMD0030. > > Signed-off-by: Wang Hongcheng Pa

Re: [PATCH 03/18] ARM: dts: vf610-colibri: GPIO wakeup key

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:44PM -0800, Stefan Agner wrote: > Enable GPIO wakeup key on Vybrid PAD 41 which is routed to the > Colibri default wakeup pin SO-DIMM 45. > > Signed-off-by: Stefan Agner I think this one can be merged independently, right? One small comment below though. > --- >

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Felipe Balbi
Hi, Baolin Wang writes: > +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) According to the spec we should always be talking about unit loads (1 unit load is 100mA for HS/FS/LS and 150mA for SS). Also, this will not work for SS capable ports and SS gadget

Re: [PATCH 1/2] irqdomain: Export irq_domain_free_irqs_common

2016-03-31 Thread Linus Walleij
On Thu, Mar 17, 2016 at 5:00 AM, Axel Lin wrote: > Export irq_domain_free_irqs_common so it can be used by modules. > > Signed-off-by: Axel Lin Patch applied to the GPIO tree with TGLX's ACK. Yours, Linus Walleij

Re: [PATCH 02/18] ARM: dts: vf610: add GPC as new interrupt parent

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:43PM -0800, Stefan Agner wrote: > Signed-off-by: Stefan Agner So this patch cannot be applied before the fsl,vf610-gpc driver gets landed on mainline. Shawn > --- > arch/arm/boot/dts/vfxxx.dtsi | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > >

[RESEND PATCH v10 3/6] ARM: hisi: add compatible string for Hi3519 soc

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..

[RESEND PATCH v10 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Hello, Hi3519 soc is mainly used for ip camera and sport DV solutions. This patchset adds initial support for Hi3519 soc. It includes clock driver, arch configuration, debug uart configuration and device tree. It has been tested on hi3519 reference board. PATCH 3~6 in this

Re: [PATCH 2/2] gpio: xgene-sb: Use irq_domain_free_irqs_common instead of open coded

2016-03-31 Thread Linus Walleij
On Thu, Mar 17, 2016 at 5:01 AM, Axel Lin wrote: > Current code calls irq_domain_alloc_irqs_parent() in .alloc, > so it should call irq_domain_free_irqs_parent() accordingly in .free. > Fix it by switching to use irq_domain_free_irqs_common() instead. > > Signed-off-by: Axel Lin Patch applied w

[RESEND PATCH v10 4/6] ARM: debug: add hi3519 debug uart

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add hi3519 debug uart Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c6b6175..edd3fbe 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.de

[RESEND PATCH v10 5/6] ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH 2/2] TTY: serial/ifx6x60, initialize more

2016-03-31 Thread Jiri Slaby
In ifx_spi_complete, 'more' is not initialized. It is set only if the status is clear and only if the header is parsed OK. If any of those is not true, 'more' can be used uninitialized in that function later. Signed-off-by: Jiri Slaby --- drivers/tty/serial/ifx6x60.c | 2 +- 1 file changed, 1 in

[RESEND PATCH v10 1/6] clk: hisilicon: export some hisilicon APIs to modules

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue Change some arguments to constant type. Export some hisilicon APIs to modules. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 23 +++ drivers/clk/hisilicon/clk.h | 14 +++--- 2 files changed, 22 insertions(+), 15 deletions(-) dif

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Dave Chinner
On Wed, Mar 30, 2016 at 09:07:48AM -0600, Jens Axboe wrote: > Hi, > > This patchset isn't as much a final solution, as it's demonstration > of what I believe is a huge issue. Since the dawn of time, our > background buffered writeback has sucked. When we do background > buffered writeback, it shou

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 16:15, Felipe Balbi wrote: > > Hi Baolin, > > Baolin Wang writes: >> Make sense. In our company's solution, charger detection can be done >> by hardware from PMIC at first, then it will not affect the DP/DM >> line when gadget starts to enumeration. >

[PATCH 1/2] TTY: serial, handle platform_get_irq retval properly

2016-03-31 Thread Jiri Slaby
platform_get_irq: * can fail => handle negative value * can return 0 as irq number, change '<= 0' checks accordingly * returns int => when converted to uint (e.g. uart_port->irq), '< 0' would not work on that, do '< 0' on the int instead * '!retval' does not mean bad irq, 'retval < 0' does Signe

Re: [PATCH] smp: make wake up idle cpus more generic

2016-03-31 Thread kbuild test robot
Hi Lianwei, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Lianwei-Wang/smp-make-wake-up-idle-cpus

Re: [v9,3/4] tpm: Initialize TPM and get durations and timeouts

2016-03-31 Thread Jarkko Sakkinen
On Tue, Mar 29, 2016 at 02:19:13PM -0400, Stefan Berger wrote: > Add the retrieval of TPM 1.2 durations and timeouts. Since this requires > the startup of the TPM, do this for TPM 1.2 and TPM 2. > > Signed-off-by: Stefan Berger > CC: linux-kernel@vger.kernel.org > CC: linux-...@vger.kernel.org >

[RESEND PATCH v10 6/6] ARM: dts: add dts files for Hi3519

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create

[RESEND PATCH v10 2/6] clk: hisilicon: add CRG driver for hi3519 soc

2016-03-31 Thread Jiancheng Xue
From: Jiancheng Xue The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue Acked-by: Rob Herring Acked-by: Philipp Zabel --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 drivers/clk/hisilic

Re: [LINUX PATCH 1/2] mtd: Added dummy entry in the spi_transfer structure.

2016-03-31 Thread Geert Uytterhoeven
On Thu, Mar 31, 2016 at 8:14 AM, Lakshmi Sai Krishna Potthuri wrote: >>> >This is really not what I'd expect to happen, I'd expect that these dummy >>> >cycles would be in addition to the actual data (see my request for better >>> >documentation...). If they overlap with the data then what is the

Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594

2016-03-31 Thread Linus Walleij
On Tue, Mar 15, 2016 at 12:32 AM, Nicolas Saenz Julienne wrote: > The chip is also an 8 bit shift register which works out of the box as a GPO > expander with this patch > > Signed-off-by: Nicolas Saenz Julienne Patch applied. I'm not a compatible-string minimalist. Add as many as you like. Y

[PATCH -repost] kgdb: depends on VT

2016-03-31 Thread Jiri Slaby
With VT=n, the kernel build fails with: drivers/built-in.o: In function `kgdboc_pre_exp_handler': kgdboc.c:(.text+0x7b5aa): undefined reference to `fg_console' kgdboc.c:(.text+0x7b5ce): undefined reference to `vc_cons' kgdboc.c:(.text+0x7b5d5): undefined reference to `vc_cons' kgdboc.o is built wh

Re: [PATCH 1/2] lightnvm: use rrpc->nr_luns to calculate the rrpc area size

2016-03-31 Thread Wenwei Tao
2016-03-30 22:28 GMT+08:00 Wenwei Tao : > rrpc->nr_sects is calculated after rrpc init luns succeeds, > before that the value of rrpc->nr_sects is zero, so we cannot > use it to calcuate rrpc area size, we use rrpc->nr_luns instead. > > Signed-off-by: Wenwei Tao > --- > drivers/lightnvm/rrpc.c |

Re: Adding the nand/next branch to linux-next

2016-03-31 Thread Boris Brezillon
On Thu, 31 Mar 2016 09:24:32 +1100 Stephen Rothwell wrote: > Hi Boris, > > On Wed, 30 Mar 2016 16:15:38 +0200 Boris Brezillon > wrote: > > > > I recently became maintainer of the NAND flash subsystem, and, if you > > don't mind, I'd like to add my nand/next branch [1] to linux-next. > > > > [

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Champ, Andy
I thought that _was_ the current kernel (not the obsolete one our chip vendor supports). Which one do you mean by current? (URL & commit ID would be great!) Andy From: Jonathan Corbet Sent: 31 March 2016 07:43 To: Champ, Andy Cc: edubez...@gmail.com; jav

Re: [PATCH 03/11] locking, rwsem: introduce basis for down_write_killable

2016-03-31 Thread Michal Hocko
On Wed 30-03-16 15:25:49, Peter Zijlstra wrote: [...] > Why is the signal_pending_state() test _after_ the call to schedule() > and before the 'trylock'. No special reason. I guess I was just too focused on the wake_by_signal path and didn't realize the trylock as well. > __mutex_lock_common() ha

Re: [PATCH 04/18] ARM: dts: vf610: add on-chip SRAM

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:45PM -0800, Stefan Agner wrote: > Add Vybrids massive on-chip SRAM areas. Make use of the memory > region functionality to denominate the retained SRAM area in > LPSTOP2 and LPSTOP3. > > Signed-off-by: Stefan Agner This one looks fine to me. I was going to pick it

Re: [PATCH] dmaengine: tegra-apb: proper default init of channel slave_id

2016-03-31 Thread Jon Hunter
On 31/03/16 07:26, Shardar Shariff Md wrote: > Initialize default channel slave_id(req_sel) to -1 to avoid > overwriting of slave_id with client data as zero is the > valid slave_id(request_select). > > Signed-off-by: Shardar Shariff Md > --- > drivers/dma/tegra20-apb-dma.c | 7 --- > 1 fil

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Baolin Wang
On 31 March 2016 at 16:18, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> +#define DEFAULT_SDP_CUR_LIMIT(500 - DEFAULT_CUR_PROTECT) > > According to the spec we should always be talking about unit loads (1 > unit load is 100mA for HS/FS/LS and 150mA for SS). Also,

Re: [PATCH 05/18] ARM: dts: vf610: add modules required for PM

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:46PM -0800, Stefan Agner wrote: > Signed-off-by: Stefan Agner > --- > arch/arm/boot/dts/vfxxx.dtsi | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi > index b038ea4..335f4e5 1006

Re: [PATCH 1/3] power: charger-manager: Replace deprecatd API of extcon

2016-03-31 Thread Chanwoo Choi
Hi Rob, On 2016년 03월 29일 06:07, Rob Herring wrote: > On Mon, Mar 28, 2016 at 08:25:40AM +0900, Chanwoo Choi wrote: >> This patch removes the deprecated notifier API of extcon framework and then >> use >> the new extcon API[2] with the unique id[1] to indicate the each external >> connector. Alter

Re: [PATCH] compiler-gcc: disable -ftracer for __noclone functions

2016-03-31 Thread kbuild test robot
Hi Paolo, [auto build test WARNING on v4.6-rc1] [also build test WARNING on next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Paolo-Bonzini/compiler-gcc-disable-ftracer-for

Re: [PATCH 1/2] asm-generic/io.h: provide default ioremap/iounmap for !HAS_IOMEM

2016-03-31 Thread Geert Uytterhoeven
Hi Rob, On Wed, Mar 30, 2016 at 11:20 PM, Rob Herring wrote: > On Wed, Mar 30, 2016 at 3:08 PM, Geert Uytterhoeven > wrote: >> On Tue, Mar 29, 2016 at 10:13 PM, Rob Herring wrote: >>> Ewww. Why do the opposite of what we do for every other Kconfig symbol >>> which is provide empty functions? It

Re: [PATCH 1/1] gpio: mcp23s08: Add support for level triggered interrupts

2016-03-31 Thread Linus Walleij
On Wed, Mar 23, 2016 at 6:01 PM, Alexander Stein wrote: > The interrupt for the corresponding pin is configured to trigger when the > pin state changes compared to a preconfigured state (Bit set in INTCON). > This state is set by setting/clearing the bit in DEFVAL. > In the interrupt handler we n

  1   2   3   4   5   6   7   8   9   10   >