Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Michael Ellerman
On Tue, 2016-06-21 at 14:28 +0530, Naveen N. Rao wrote: > On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > > On 2016/06/17 10:00AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > > > Hi, Michael and Naveen. > > > >

Re: [PATCH v6 2/4] power: reset: add reboot mode driver

2016-06-21 Thread Krzysztof Kozlowski
On 06/21/2016 01:01 PM, Andy Yan wrote: (...) >>> +MODULE_AUTHOR("Andy Yan >> +MODULE_DESCRIPTION("System reboot mode driver"); >>> +MODULE_LICENSE("GPL v2"); >>> diff --git a/drivers/power/reset/reboot-mode.h >>> b/drivers/power/reset/reboot-mode.h >>> new file mode 100644 >>> index 000..44e

Re: [PATCH 2/2] scsi: wd7000: print sector number as 64-bit

2016-06-21 Thread Arnd Bergmann
On Monday, June 20, 2016 9:12:50 PM CEST Martin K. Petersen wrote: > > "Arnd" == Arnd Bergmann writes: > > As sector_t can be 32-bit wide, this adds a cast to 'u64' and prints > that with the correct format. The change to use no_printk() > > [...] > > + dprintk("wd7000_biosparam: dev=

Re: [PATCH 15/15] ARM: dts: am335x/am437x/dra7: use new "ti,cpsw-mdio" compat string

2016-06-21 Thread Tony Lindgren
* Grygorii Strashko [160615 05:05]: > Add "ti,cpsw-mdio" for am335x/am437x/dra7 SoCs where MDIO is > implemented as part of TI CPSW and, this way, enable PM runtime auto > suspend for Davinci MDIO driver on these paltforms. This one should not cause merge conflicts, please feel free to merge alon

Re: [RFC][PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 10:43:19 AM CEST Arnd Bergmann wrote: > On Tuesday, June 21, 2016 2:39:05 PM CEST Seung-Woo Kim wrote: > > To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL > > from arm confiuration. Basic kernel booting is tested on arm kernel > > enabled CONFIG_UBSA

Re: [RFC 19/19] HSI: omap_ssi: drop pm_runtime_irq_safe

2016-06-21 Thread Tony Lindgren
* Sebastian Reichel [160618 09:31]: > pm_runtime_irq_safe increases the parents runtime usage > counter effectively keeping the OMAP SoC from idling. Good to see this :) Yeah pm_runtime_irq_safe keeps the parent permanently enabled so not using it is the way to go: Acked-by: Tony Lindgren

[PATCH] ARM: BCM5301X: Set GPIO enabling USB power on Netgear R7000

2016-06-21 Thread Rafał Miłecki
There is one GPIO controlling power for both USB ports. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts index a22ed1

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 15:56, Andreas Schwab wrote: Yury Norov writes: diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 1ffabc2..42f89c8 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -16

Re: [PATCH v2 5/6] x86: Pass kernel thread parameters in fork_frame

2016-06-21 Thread Borislav Petkov
On Mon, Jun 20, 2016 at 11:01:02AM -0400, Brian Gerst wrote: > The idea was to put the uncommon case (kernel thread) out of line for > performance reasons. A comment saying so wouldn't hurt... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Jan Kiszka
On 2016-06-21 13:35, Pantelis Antoniou wrote: > Hi Jan, > >> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: >> >> On 2016-06-21 12:24, Pantelis Antoniou wrote: >>> Hi Jan, >>> On Jun 21, 2016, at 13:13 , Jan Kiszka wrote: Hi Pantelis, coming back to this topic:

[PATCH 02/27] mm, vmscan: Move lru_lock to the node

2016-06-21 Thread Mel Gorman
Node-based reclaim requires node-based LRUs and locking. This is a preparation patch that just moves the lru_lock to the node so later patches are easier to review. It is a mechanical change but note this patch makes contention worse because the LRU lock is hotter and direct reclaim and kswapd can

Re: 答复: 答复: [PATCH 1/1] sound: Fix compile error of seq_device.c

2016-06-21 Thread Takashi Iwai
On Tue, 21 Jun 2016 11:35:39 +0200, 高峰 wrote: > > I have sent the new commit with the compile errors. > Is it ok now? > > BTW, I think the compile error is caused by that "subsys_initcall" statement > losts the semicolon. Does this happen with the latest upstream kernel code at all...? Takas

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Peter Zijlstra
On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: > Don't we have to do a complete attach with attach_task_cfs_rq instead > of just the load_avg ? to set also depth ? Hmm, yes, your sched_set_group() change seems to have munged this. Previously we'd call task_move_group_fair() whi

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Pantelis Antoniou
Hi Jan, > On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: > > On 2016-06-21 12:24, Pantelis Antoniou wrote: >> Hi Jan, >> >>> On Jun 21, 2016, at 13:13 , Jan Kiszka wrote: >>> >>> Hi Pantelis, >>> >>> coming back to this topic: >>> >>> On 2016-06-09 08:03, Jan Kiszka wrote: OK, trial and

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Pantelis Antoniou
Hi Jan, > On Jun 21, 2016, at 14:43 , Jan Kiszka wrote: > > On 2016-06-21 13:35, Pantelis Antoniou wrote: >> Hi Jan, >> >>> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: >>> >>> On 2016-06-21 12:24, Pantelis Antoniou wrote: Hi Jan, > On Jun 21, 2016, at 13:13 , Jan Kiszka wrot

[PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats

2016-06-21 Thread Mel Gorman
VM statistic counters for reclaim decisions are zone-based. If the kernel is to reclaim on a per-node basis then we need to track per-node statistics but there is no infrastructure for that. The most notable change is that the old node_page_state is renamed to sum_zone_node_page_state. The new nod

Re: [PATCH 3/3] iio: adc: max1363: Add device tree binding

2016-06-21 Thread kbuild test robot
Hi, [auto build test WARNING on iio/togreg] [cannot apply to v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Florian-Vaussard/iio-adc-max1363-Fix-missing-parts-and-add

Re: [RFC 02/19] HSI: omap_ssi: do not reset module

2016-06-21 Thread Tony Lindgren
* Sebastian Reichel [160618 09:30]: > module reset and power management rule setup > is already done by hwmod. Remove this cruft, > which predates hwmod. Sounds good to me: Acked-by: Tony Lindgren

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 19:03, Mark Brown wrote: > On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: >> Baolin Wang writes: >> > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct platform_device >> > *pdev) >> > } >> > } > >> > + if (wm831x_pdata && wm831x_pdata-

Re: mm, oom_reaper: How to handle race with oom_killer_disable() ?

2016-06-21 Thread Michal Hocko
On Tue 21-06-16 20:03:17, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Mon 13-06-16 13:19:43, Michal Hocko wrote: > > [...] > > > I am trying to remember why we are disabling oom killer before kernel > > > threads are frozen but not really sure about that right away. > > > > OK, I guess I reme

Re: [PATCH 01/27] [AARCH64] Fix utmp struct for compatibility reasons.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > From: Andrew Pinski > > NOTE This is an ABI change for AARCH64. My previous comments regarding symbol versioning and warnings in NEWS apply. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH 27/27] Fix PTRDIFF_MIN/PTRDIFF_MIN and PTRDIFF_MIN for ILP32.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > +# ifdef __WORDSIZE32_PTRDIFF_LONG > +#define PTRDIFF_MIN (-2147483647L-1) > +#define PTRDIFF_MAX (2147483647L) > +# else > +#define PTRDIFF_MIN (-2147483647-1) > +#define PTRDIFF_MAX (21

Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Rafael J. Wysocki
On Tuesday, June 21, 2016 02:11:26 PM Mika Westerberg wrote: > On Mon, Jun 20, 2016 at 12:38:58PM +0100, Adam Thomson wrote: > > For device nodes in both DT and ACPI, it possible to have named > > child nodes which contain properties (an existing example being > > gpio-leds). This adds a function t

Re: [PATCH 4/9] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

2016-06-21 Thread Tony Lindgren
* Keerthy [160620 01:46]: > dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These > are required to be on during suspend. Hence set the state accordingly. Actually, please fix up the subject lines for the dts patches too :) Instead of "ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make..." how ab

Re: 4.6.2 frequent crashes under memory + IO pressure

2016-06-21 Thread Tetsuo Handa
Johannes Stezenbach wrote: > Hi, > > a man's got to have a hobby, thus I'm running Android AOSP > builds on my home PC which has 4GB of RAM, 4GB swap. > Apparently it is not really adequate for the job but used to > work with a 4.4.10 kernel. Now I upgraded to 4.6.2 > and it crashes usually withi

[PATCH 03/27] mm, vmscan: Move LRU lists to node

2016-06-21 Thread Mel Gorman
This moves the LRU lists from the zone to the node and related data such as counters, tracing, congestion tracking and writeback tracking. Unfortunately, due to reclaim and compaction retry logic, it is necessary to account for the number of LRU pages on both zone and node logic. Most reclaim logic

[PATCH 00/27] Move LRU page reclaim from zones to nodes v7

2016-06-21 Thread Mel Gorman
The bulk of the updates are in response to review from Vlastimil Babka and received a lot more testing than v6. Changelog since v6 o Correct reclaim_idx when direct reclaiming for memcg o Also account LRU pages per zone for compaction/reclaim o Add page_pgdat helper with more efficient lookup o In

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-21 Thread Peter Chen
On Tue, Jun 21, 2016 at 11:18:21AM +0300, Felipe Balbi wrote: > > Hi, > > Peter Chen writes: > >> Peter Chen writes: > >> >> >>> + > >> >> >>> + /* start host */ > >> >> >>> + ret = hcd_ops->add(otg->primary_hcd.hcd, > >> >> >>> + otg->primary_hc

Re: [PATCH] ARM: dts: am335x-bone-common: use stdout-path in Beaglebone boards.

2016-06-21 Thread Tony Lindgren
* Enric Balletbo i Serra [160617 04:12]: > This commit adds the stdout-path propety in /chosen for all Beaglebone > boards. Applying into omap-for-v4.8/dt thanks. Tony

Re: [PATCH v10 08/22] IB/hns: Add icm support

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 12:37:39PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/20 21:04, Leon Romanovsky wrote: > >On Mon, Jun 20, 2016 at 05:48:15PM +0800, Wei Hu (Xavier) wrote: > >> > >>On 2016/6/20 17:27, Leon Romanovsky wrote: > >>>On Mon, Jun 20, 2016 at 03:49:24PM +0800, Wei Hu (Xavier)

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Felipe Balbi
Hi, Mark Brown writes: > [ Unknown signature status ] > On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: >> Baolin Wang writes: >> > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct platform_device >> > *pdev) >> >} >> >} > >> > + if (wm831x_pdata && wm83

Re: [PATCH 08/19] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-06-21 Thread Andreas Schwab
"Zhangjian (Bamvor)" writes: >> @@ -78,9 +79,9 @@ >> >> #ifdef CONFIG_COMPAT >> #define TASK_SIZE_32 UL(0x1) >> -#define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ >> +#define TASK_SIZE (is_compat_task() ? \ >>

Re: mm, oom_reaper: How to handle race with oom_killer_disable() ?

2016-06-21 Thread Tetsuo Handa
Michal Hocko wrote: > On Mon 13-06-16 13:19:43, Michal Hocko wrote: > [...] > > I am trying to remember why we are disabling oom killer before kernel > > threads are frozen but not really sure about that right away. > > OK, I guess I remember now. Say that a task would depend on a freezable > kern

Re: [PATCH 20/27] [AARCH64] Make lp64 and ilp32 directories.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > From: Andrew Pinski > > The patch makes the ilp32 and lp64 have their own directory under aarch64. > Since ILP32 uses most of the same system calls as LP64 and has a 64bit > off_t, we need make the functions that end in 64 the same as the ones without. >

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 19:53, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> On 21 June 2016 at 19:03, Mark Brown wrote: >>> On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: Baolin Wang writes: > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct > platfo

RE: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Opensource [Adam Thomson]
21 June 2016 12:42, Rafael J. Wysocki wrote: > > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode, > > > + const char *name) > > > +{ > > > + return is_acpi_data_node(fwnode) ? > > > + (!strcasecmp(to_acpi_data_node(fwnode)->name, name

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 19:42, Zhangjian (Bamvor) wrote: Hi, On 2016/6/21 15:56, Andreas Schwab wrote: Yury Norov writes: diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 1ffabc2..42f89c8 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +

Re: [PATCH v1 00/25] PCI: Request host bridge window resources

2016-06-21 Thread wangyijing
Hi Bjorn, use devm_request_resource() for host bridge resource is cool, what about do the similar change for x86, now we request host bridge resource in pci_acpi_root_add_resources() in x86, and we would release the host bridge resource when host bridge device refcount reach 0. This logic may intro

Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Mika Westerberg
On Tue, Jun 21, 2016 at 11:50:01AM +, Opensource [Adam Thomson] wrote: > 21 June 2016 12:42, Rafael J. Wysocki wrote: > > > > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode, > > > > + const char *name) > > > > +{ > > > > + re

Re: [PATCH 19/27] [AARCH64] Add typesizes.h for ILP32

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 15:58, Andreas Schwab wrote: Yury Norov writes: diff --git a/sysdeps/unix/sysv/linux/sysdep-vdso.h b/sysdeps/unix/sysv/linux/sysdep-vdso.h index e8c4a7b..351d6bb 100644 --- a/sysdeps/unix/sysv/linux/sysdep-vdso.h +++ b/sysdeps/unix/sysv/linux/sysdep-vdso.h @@ -37,7 +37,7 @@

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Jan Kiszka
On 2016-06-21 13:45, Pantelis Antoniou wrote: > Hi Jan, > >> On Jun 21, 2016, at 14:43 , Jan Kiszka wrote: >> >> On 2016-06-21 13:35, Pantelis Antoniou wrote: >>> Hi Jan, >>> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: On 2016-06-21 12:24, Pantelis Antoniou wrote: > Hi Jan,

Re: [PATCH] leds: Add no-op gpio_led_register_device when LED subsystem is disabled

2016-06-21 Thread Andrew F. Davis
On 06/21/2016 02:09 AM, Jacek Anaszewski wrote: > Hi Andrew, > > This patch doesn't apply, please rebase onto recent LED tree. > > On 06/21/2016 12:13 AM, Andrew F. Davis wrote: >> Some systems use 'gpio_led_register_device' to make an in-memory copy of >> their LED device table so the original c

Re: [PATCH] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

2016-06-21 Thread Jiancheng Xue
On 2016/6/21 19:30, Jiancheng Xue wrote: > Hi Marc, > > On 2016/6/21 18:36, Marc Zyngier wrote: >> On 21/06/16 10:26, Jiancheng Xue wrote: >>> This patch fixes the compiling error caused when >>> config HISILICON_IRQ_MBIGEN is selected but >>> PCI_MSI is not seleted. >>> >>> Signed-off-by: Jianc

[PATCHv3] wlcore: spi: add wl18xx support

2016-06-21 Thread Reizer, Eyal
Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for sending a dummy 4 bytes command that completes the i

Re: [patch] mm, compaction: abort free scanner if split fails

2016-06-21 Thread Vlastimil Babka
On 06/21/2016 12:27 AM, David Rientjes wrote: If the memory compaction free scanner cannot successfully split a free page (only possible due to per-zone low watermark), terminate the free scanner rather than continuing to scan memory needlessly. If the per-zone watermark is insufficient for a fr

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 19:49, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >>> Can't you just tie a charger to a UDC and avoid the charger class >>> completely? >> >> Yeah, I also hope so. But we really want something to manage the >> charger devices, do you have any good suggestion to avoid t

Re: [PATCH 4/9] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

2016-06-21 Thread Tony Lindgren
* Keerthy [160620 01:46]: > dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These > are required to be on during suspend. Hence set the state accordingly. Are these dts changes safe for me to apply separately? Regards, Tony

Re: [RFC PATCH 00/27] ARM64: support ILP32

2016-06-21 Thread Zhangjian (Bamvor)
Hi, In our test, we need to fix stack pointer in makecontext. Not sure if it should be a standalone patch: From 1d51ca34034ef83ea602874a93e26fd158ddd214 Mon Sep 17 00:00:00 2001 From: Jun Ji Date: Fri, 29 Apr 2016 17:20:23 +0800 Subject: [PATCH] fix for makecontext error Signed-off-by: Jun Ji

Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Mika Westerberg
On Tue, Jun 21, 2016 at 01:42:16PM +0200, Rafael J. Wysocki wrote: > > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode, > > > + const char *name) > > > +{ > > > + return is_acpi_data_node(fwnode) ? > > > + (!strcasecmp(to_acpi_data_nod

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: > On 21 June 2016 at 19:03, Mark Brown wrote: >> On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: >>> Baolin Wang writes: >>> > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct platform_device >>> > *pdev) >>> > } >>> > } >> >>> >

Re: linux-next: Tree for Jun 21

2016-06-21 Thread Chris Metcalf
On 6/21/2016 3:01 AM, Sudip Mukherjee wrote: On Tuesday 21 June 2016 06:46 AM, Stephen Rothwell wrote: Hi all, Changes since 20160620: tilepro defconfig is failing while doing "make prepare" and bisect shows the first bad commit as: 1af5de9af138 ("locking/atomic, arch/tile: Implement atomi

Re: [PATCH 25/27] [AARCH64] Fix ILP32 warning

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > #define _JMPBUF_CFA_UNWINDS_ADJ(jmpbuf, context, adj) \ > - _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *) _Unwind_GetCFA (context), adj) > + _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *)(size_t) _Unwind_GetCFA (context), > adj) glibc uses spaces in casts, so "(void *)

Re: [PATCH] net: stmmac: dwmac-rk: add rk322x-specific data

2016-06-21 Thread Xing Zheng
Hi Heiko, On 2016年06月21日 17:43, Heiko Stübner wrote: devicetree names are normally expected to be real, aka no "x" as catchall. So I guess either just add compatibles for both the rk3228 and rk3229 which point to the same structure in the driver. (So driver-side can stay as it is below, just add

[PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-06-21 Thread Christian Gmeiner
In some rare cases I see the following 'task blocked' information. It looks like the PIO transfer has some problems and never succeeds. Make use of wait_for_completion_timeout(..) to detect this case and return -ETIMEDOUT. [ 240.246067] INFO: task hexdump:1660 blocked for more than 120 seconds. [

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Andreas Schwab
"Zhangjian (Bamvor)" writes: > Hi, > > On 2016/6/21 15:56, Andreas Schwab wrote: >> Yury Norov writes: >> >>> diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h >>> b/sysdeps/unix/sysv/linux/aarch64/sysdep.h >>> index 1ffabc2..42f89c8 100644 >>> --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h

Re: divide error: 0000 [#1] SMP in task_numa_migrate - handle_mm_fault vanilla 4.4.6

2016-06-21 Thread Yannis Aribaud
Hi everyone, I recently it this bug in the kernel using a vanilla 4.6.2 release. It seems that somewhere in the load average calculation a division by 0 occurs (see the stack trace at the end). After digging a bit (be fair it's my first time) in the kernel sources, I found that we "recently" ad

Re: [PATCH 03/10] proc, oom_adj: extract oom_score_adj setting into a helper

2016-06-21 Thread Michal Hocko
On Tue 21-06-16 17:27:57, Hillf Danton wrote: > > > > From: Michal Hocko > > > > Currently we have two proc interfaces to set oom_score_adj. The legacy > > /proc//oom_adj and /proc//oom_score_adj which both have their > > specific handlers. Big part of the logic is duplicated so extract the > >

[PATCH v1 1/3] drm/i915/debugfs: Move out pipe CRC code

2016-06-21 Thread Tomeu Vizoso
In preparation to using a generic API in the DRM core for continuous CRC generation, move the related code out of i915_debugfs.c into a new file. Eventually, only the Intel-specific code will remain in this new file. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/i915/Makefile | 2 +

Re: [PATCH] MAINTAINERS: update STi maintainer list

2016-06-21 Thread Patrice Chotard
On 06/21/2016 11:35 AM, Maxime Coquelin wrote: Remove myself as STi maintainer as I will no longer have access to STi platforms, and remove Srini too, who now works on other platforms. Patrice will manage the pull requests. Signed-off-by: Maxime Coquelin Cc: Patrice Chotard Cc: Srinivas Kan

Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace

[PATCH v1 2/3] drm: Add API for capturing frame CRCs

2016-06-21 Thread Tomeu Vizoso
Adds a per-device debugfile "drm_crc_control" that allows selecting a source for frame checksums in each CRTC that supports them. The checksums for each subsequent frame can be read from the per-CRTC file "drm_crtc_N_crc". The code is taken from the i915 driver and other drivers can now provide f

Re: [PATCH v2 1/3] coccinelle: also catch kzfree() issues

2016-06-21 Thread Yann Droneaud
Hi, Le mardi 21 juin 2016 à 11:43 +0200, Michal Marek a écrit : > Dne 20.6.2016 v 22:21 Julia Lawall napsal(a): > > On Mon, 20 Jun 2016, Michal Marek wrote: > > On 2016-05-23 17:18, Julia Lawall wrote: > > > > On Mon, 23 May 2016, Yann Droneaud wrote: > > > > > > > > > Since commit 3ef0e5ba4673 (

Re: [PATCH] ARM: BCM5301X: Set GPIO enabling USB power on Netgear R7000

2016-06-21 Thread Imre Kaloz
Is there any reason you are not handling this properly as a regulator with usb-nop-xceiv? Imre On Tue, 21 Jun 2016 13:42:38 +0200, Rafał Miłecki wrote: There is one GPIO controlling power for both USB ports. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm4709-netgear-r7000.dts |

Re: [PATCH v4 0/5] /dev/random - a new approach

2016-06-21 Thread David Jaša
Hi, On So, 2016-06-18 at 10:44 -0400, Theodore Ts'o wrote: > On Fri, Jun 17, 2016 at 03:56:13PM +0200, David Jaša wrote: > > I was thinking along the lines that "almost every important package > > supports FreeBSD as well where they have to handle the condition so > > option to switch to Rather Br

Re: [PATCH] ARM: BCM5301X: Set GPIO enabling USB power on Netgear R7000

2016-06-21 Thread Rafał Miłecki
On 21 June 2016 at 14:22, Imre Kaloz wrote: > Is there any reason you are not handling this properly as a regulator with > usb-nop-xceiv? We can't use USB NOP PHY as we need a specific PHY driver for Broadcom's USB. I sent patch for this: https://patchwork.kernel.org/patch/9148097/

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: >> Baolin Wang writes: Can't you just tie a charger to a UDC and avoid the charger class completely? >>> >>> Yeah, I also hope so. But we really want something to manage the >>> charger devices, do you have any good suggestion to avoid the 'class' >>> but also

[PATCH v2] net: stmmac: dwmac-rk: add rk3228-specific data

2016-06-21 Thread Xing Zheng
Add constants and callback functions for the dwmac on rk3228/rk3229 socs. As can be seen, the base structure is the same, only registers and the bits in them moved slightly. Signed-off-by: Xing Zheng --- Changes in v2: - the "rk322x" is not clear to SoC decription, rename it to "rk3228" .../de

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 20:27, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >>> Baolin Wang writes: > Can't you just tie a charger to a UDC and avoid the charger class > completely? Yeah, I also hope so. But we really want something to manage the charger devices, do you

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-21 Thread Felipe Balbi
Hi, Peter Chen writes: >> >> >> >>> + * @otg_dev: OTG controller device, if needs to be used with OTG >> >> >> >>> core. >> >> >> >> >> >> >> >> do you really know of any platform which has a separate OTG >> >> >> >> controller? >> >> >> >> >> >> >> > >> >> >> > Andrew had pointed out in [1]

Re: [PATCH v5 1/6] qspinlock: powerpc support qspinlock

2016-06-21 Thread xinhui
On 2016年06月07日 05:41, Benjamin Herrenschmidt wrote: On Mon, 2016-06-06 at 17:59 +0200, Peter Zijlstra wrote: On Fri, Jun 03, 2016 at 02:33:47PM +1000, Benjamin Herrenschmidt wrote: - For the above, can you show (or describe) where the qspinlock improves things compared to our current l

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2016-06-21 Thread Benjamin Tissoires
Hi Allen, On Tue, Jun 21, 2016 at 11:20 AM, Allen Hung wrote: > Hi Benjamin, > > On 01/04/2016 04:35 PM, Benjamin Tissoires wrote: >> Hi Allen, >> >> On Mon, Dec 21, 2015 at 10:45 AM, Allen Hung wrote: >>> On 12/18/2015 05:52 AM, Benjamin Tissoires wrote: On Thu, Nov 26, 2015 at 3:21 PM, Ji

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Vincent Guittot
On 21 June 2016 at 13:43, Peter Zijlstra wrote: > On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: > >> Don't we have to do a complete attach with attach_task_cfs_rq instead >> of just the load_avg ? to set also depth ? > > Hmm, yes, your sched_set_group() change seems to have mung

Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to have a constant nr

2016-06-21 Thread Pedro Alves
Hi Andy, On 06/21/2016 12:39 AM, Andy Lutomirski wrote: > Suppose a 64-bit task A traces a 32-bit task B. I gave your x86/ptrace branch a try: https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/ptrace (this looks to be the same patch set.) Unfortunately, with gdb git maste

Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.7-rc4 next-20160621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace

Re: [PATCH v4 0/8] iommu/rockchip: Fix bugs and enable on ARM64

2016-06-21 Thread Tomasz Figa
Hi Joerg, On Tue, Jun 21, 2016 at 6:17 PM, Joerg Roedel wrote: > > On Tue, Jun 21, 2016 at 01:34:33PM +0900, Tomasz Figa wrote: > > This series intends mostly to enable support for ARM64 architecture > > in the rockchip-iommu driver. On the way to do so, some bugs are also > > fixed. > > > > The

RE: [PATCH] Input: elan_i2c - +200 ms delay before setting to ABS mode

2016-06-21 Thread 廖崇榮
Hi Dmitry, -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Tuesday, June 21, 2016 1:43 AM To: Chris Chiu; kt.l...@emc.com.tw Cc: Charlie Mooney; Michele Curti; Krzysztof Kozlowski; Benson Leung; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; l

Re: linux-next: Tree for Jun 21

2016-06-21 Thread Peter Zijlstra
On Tue, Jun 21, 2016 at 08:08:29AM -0400, Chris Metcalf wrote: > > On inspection, I note that the arch/tile/include/atomic_32.h header has > > ATOMIC64_OP(and) > ATOMIC64_OP(or) > ATOMIC64_OP(xor) > > but these should be ATOMIC64_OPS, plural. Bugger, I'll go fix. Clearly nobody has tilepro tool

Re: [PATCH v2 00/11] iommu/ipmmu-vmsa: r8a7795 support V2

2016-06-21 Thread Joerg Roedel
On Mon, Jun 06, 2016 at 12:57:23PM +0900, Magnus Damm wrote: > Developed on top of next-20160602 and: > [PATCH v3 00/06] iommu/ipmmu-vmsa: IPMMU multi-arch update V3 > > drivers/iommu/ipmmu-vmsa.c | 318 > +--- > 1 file changed, 269 insertions(+), 49 de

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Peter Zijlstra
On Tue, Jun 21, 2016 at 02:36:46PM +0200, Vincent Guittot wrote: > On 21 June 2016 at 13:43, Peter Zijlstra wrote: > > On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: > > > >> Don't we have to do a complete attach with attach_task_cfs_rq instead > >> of just the load_avg ? to set

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Yuyang Du
On Tue, Jun 21, 2016 at 10:41:19AM +0200, Peter Zijlstra wrote: > On Mon, Jun 20, 2016 at 03:49:34PM +0100, Dietmar Eggemann wrote: > > On 20/06/16 13:35, Vincent Guittot wrote: > > > > It will go through wake_up_new_task and post_init_entity_util_avg > > > during its fork which is enough to set l

Re: Using irq-crossbar.c

2016-06-21 Thread Marc Zyngier
On 21/06/16 12:03, Sebastian Frias wrote: > Hi Marc, > > On 06/21/2016 12:18 PM, Marc Zyngier wrote: >>> Since irq-tango_v2.c is similar to irq-crossbar.c from TI (since it >>> is based on it), I was wondering what is the policy or recommendation >>> in such cases? >>> Should I attempt to merge th

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: >> Baolin Wang writes: Baolin Wang writes: >> Can't you just tie a charger to a UDC and avoid the charger class >> completely? > > Yeah, I also hope so. But we really want something to manage the > charger devices, do you have any good suggestio

Re: [PATCH] scripts/bloat-o-meter: fix percent change output

2016-06-21 Thread Heiko Carstens
On Tue, Jun 21, 2016 at 08:00:05AM +, Vineet Gupta wrote: > Hi Heiko, > > On Tuesday 21 June 2016 01:10 PM, Heiko Carstens wrote: > > commit b21e91c305bc "scripts/bloat-o-meter: print percent change" > > introduced an additional line to the output of the bloat-a-meter > > script which shows th

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-21 Thread Wim Osterholt
> Can you try the following and see if it makes any difference? > > > --- a/drivers/acpi/pci_link.c > +++ b/drivers/acpi/pci_link.c > @@ -500,7 +500,7 @@ static int acpi_irq_get_penalty(int irq) > int penalty = 0; > > if (irq < ACPI_MAX_ISA_IRQS) > - penalty += acpi

Re: [PATCH] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

2016-06-21 Thread Marc Zyngier
On 21/06/16 13:01, Jiancheng Xue wrote: > > > On 2016/6/21 19:30, Jiancheng Xue wrote: >> Hi Marc, >> >> On 2016/6/21 18:36, Marc Zyngier wrote: >>> On 21/06/16 10:26, Jiancheng Xue wrote: This patch fixes the compiling error caused when config HISILICON_IRQ_MBIGEN is selected but

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 20:36, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >>> Baolin Wang writes: > Baolin Wang writes: >>> Can't you just tie a charger to a UDC and avoid the charger class >>> completely? >> >> Yeah, I also hope so. But we really want something to manag

[RFC PATCH v2] drm/nouveau/fb/nv50: set DMA mask before mapping scratch page

2016-06-21 Thread Ard Biesheuvel
The 100c08 scratch page is mapped using dma_map_page() before the TTM layer has had a chance to set the DMA mask. This means we are still running with the default of 32 when this code executes, and this causes problems for platforms with no memory below 4 GB (such as AMD Seattle) So move the dma_m

[ftrace] kernel panics during my attempt to use ftrace

2016-06-21 Thread Enrico Mioso
Hello guys. First of all - thank you for your great work in ftrace, and in general in the Linux tracing infrastructure. I am a newbie: so I am not able to use it at it's full power, still I find it's capabilities impressive. I am asking for help, since I am encountering some problems in using

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: Can't you just tie a charger to a UDC and avoid the charger class completely? >>> >>> Yeah, I also hope so. But we really want something to manage the >>> charger devices, do you have any good suggestion to avoid the 'class' >>> but also

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-21 Thread Paul E. McKenney
On Tue, Jun 21, 2016 at 03:43:02PM +0900, Joonsoo Kim wrote: > On Mon, Jun 20, 2016 at 06:12:54AM -0700, Paul E. McKenney wrote: > > On Mon, Jun 20, 2016 at 03:39:43PM +0900, Joonsoo Kim wrote: > > > CCing Paul to ask some question. > > > > > > On Wed, Jun 15, 2016 at 10:39:47AM +0200, Geert Uytte

Re: [PATCH v4 0/8] iommu/rockchip: Fix bugs and enable on ARM64

2016-06-21 Thread Joerg Roedel
Hi Tomasz, On Tue, Jun 21, 2016 at 09:42:16PM +0900, Tomasz Figa wrote: > In simple words, DRM patches depend on IOMMU patches. > > More precisely: The IOMMU patches alone are supposed to not break > anything. Same goes for the first DRM patch (7/8). Only second DRM > patch (8/8) depends on chang

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Vincent Guittot
On 21 June 2016 at 14:47, Peter Zijlstra wrote: > On Tue, Jun 21, 2016 at 02:36:46PM +0200, Vincent Guittot wrote: >> On 21 June 2016 at 13:43, Peter Zijlstra wrote: >> > On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: >> > >> >> Don't we have to do a complete attach with attach_

Re: [PATCH] block: flush writeback dwork before detaching a bdev inode from it

2016-06-21 Thread Dmitry Vyukov
On Mon, Jun 20, 2016 at 7:40 PM, Tejun Heo wrote: > Hello, > > On Mon, Jun 20, 2016 at 03:38:41PM +0200, Dmitry Vyukov wrote: >> > Sorry for the late reply but now when thinking about the patch I don't >> > think it is quite right. Writeback can happen from other contexts than just >> > the worker

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Wei Hu (Xavier)
On 2016/6/21 19:28, Leon Romanovsky wrote: On Tue, Jun 21, 2016 at 06:50:51PM +0800, Wei Hu (Xavier) wrote: On 2016/6/20 21:33, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote: This patch added the operation for cmd, and added some functions for initializing

Re: [PATCH v4 0/5] /dev/random - a new approach

2016-06-21 Thread Austin S. Hemmelgarn
On 2016-06-20 14:32, Stephan Mueller wrote: Am Montag, 20. Juni 2016, 13:07:32 schrieb Austin S. Hemmelgarn: Hi Austin, On 2016-06-18 12:31, Stephan Mueller wrote: Am Samstag, 18. Juni 2016, 10:44:08 schrieb Theodore Ts'o: Hi Theodore, At the end of the day, with these devices you really b

Re: [patch] ext4: underflow in alignment check

2016-06-21 Thread Dan Carpenter
On Tue, Jun 21, 2016 at 09:43:53AM +0200, Jan Kara wrote: > On Mon 20-06-16 22:53:26, Dan Carpenter wrote: > > On Mon, Jun 20, 2016 at 06:02:04PM +0200, Jan Kara wrote: > > > On Thu 16-06-16 10:07:09, Dan Carpenter wrote: > > > > My static checker complains that this can underflow if arg is negativ

Re: [PATCH] crypto : async implementation for sha1-mb

2016-06-21 Thread Herbert Xu
On Mon, Jun 20, 2016 at 01:25:46PM -0700, Megha Dey wrote: > > - desc->tfm = child; > - desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP; /* check this again */ > + ahash_request_set_tfm(desc, child); > + ahash_request_set_callback(desc, CRYPTO_TFM_REQ_MAY_SLEEP, NULL, NULL); The callback f

Re: [PATCH] leds: Add no-op gpio_led_register_device when LED subsystem is disabled

2016-06-21 Thread Jacek Anaszewski
On 06/21/2016 01:48 PM, Andrew F. Davis wrote: On 06/21/2016 02:09 AM, Jacek Anaszewski wrote: Hi Andrew, This patch doesn't apply, please rebase onto recent LED tree. On 06/21/2016 12:13 AM, Andrew F. Davis wrote: Some systems use 'gpio_led_register_device' to make an in-memory copy of their

Re: [PATCH 2/3] mmc: mmc: do not use CMD13 to get status after speed mode switch

2016-06-21 Thread Ulf Hansson
On 19 May 2016 at 10:47, Chaotian Jing wrote: > Per JEDEC spec, it is not recommended to use CMD13 to get card status > after speed mode switch. below are two reason about this: > 1. CMD13 cannot be guaranteed due to the asynchronous operation. > Therefore it is not recommended to use CMD13 to che

Re: [PATCH 1/3] mmc: mmc: use ops->card_busy() to check card status in __mmc_switch()

2016-06-21 Thread Ulf Hansson
On 19 May 2016 at 10:47, Chaotian Jing wrote: > some MMC host do not support MMC_CAP_WAIT_WHILE_BUSY but provides > ops->card_busy(), So, add this method to check card status after > switch command. > > Signed-off-by: Chaotian Jing Thanks, applied for next! (With some minor updates to the change

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