[PATCH v2 1/4] Documentation: dt-bindings: add dt binding info for Rockchip dwc2

2014-07-30 Thread Kever Yang
This add necessary dwc2 binding documentation for Rockchip socs: rk3066, rk3188 and rk3288 Signed-off-by: Kever Yang --- Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bingding info Documentation/devicetree/bindings/usb/dwc2.txt |3 +++ 1 file changed,

[PATCH v2 4/4] ARM: dts: Enable USB otg and host1(dwc) on rk3288-evb

2014-07-30 Thread Kever Yang
USB otg port is the usb3.0 b-port on the board. USB host1 port is the host A port nearby the otg port. Signed-off-by: Kever Yang --- Changes in v2: - evb patch added in version 2 arch/arm/boot/dts/rk3288-evb.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk

[PATCH v2 0/4] Patches to add support for Rockchip dwc2 controller

2014-07-30 Thread Kever Yang
From: Kever Yang These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. Changes in v2: - Split out dr_mode and rk3288 bindings. - add compatible "snps,dwc2" bingding info - set most parameters as driver auto-detect

[PATCH v2 3/4] ARM: dts: add rk3288 dwc2 controller support

2014-07-30 Thread Kever Yang
rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang --- Changes in v2: - change the node name from 'dwc2' to 'usb' arch/arm/boot/dts/rk3288.dtsi | 20 +

Re: [PATCH 1/2] perf tools: Ensure --symfs ends with '/'

2014-07-30 Thread Namhyung Kim
Hi Arnaldo, On Wed, 30 Jul 2014 17:55:21 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 30, 2014 at 12:19:32PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Wed, Jul 30, 2014 at 08:52:36AM +0900, Namhyung Kim escreveu: >> > I also thought about that way first but changed my mind to the cur

[PATCH v2] kbuild, LLVMLinux: Supress warnings unless W=1-3

2014-07-30 Thread behanw
From: Behan Webster clang has more warnings enabled by default. Turn them off unless W is set. This patch fixes a logic bug where warnings in clang were disabled when W was set. Signed-off-by: Behan Webster Signed-off-by: Jan-Simon Möller Signed-off-by: Mark Charlebois Cc: mma...@suse.cz Cc:

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 11:57 PM, Dave Airlie wrote: > On 31 July 2014 12:05, Nick Krause wrote: >> On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: This patch removes the lines for releasing the page cache in certain files as this may aid in perfomance with writes in the compressio

Re: [PATCH/RFC] autofs: the documentation I wanted to read

2014-07-30 Thread NeilBrown
On Wed, 30 Jul 2014 11:37:14 -0700 Randy Dunlap wrote: > On 07/28/14 19:00, NeilBrown wrote: > > +Directories further down the tree depend on the *max_proto* mount > > max_proto or maxproto? > or either? > check/fix other places also. The m

[PATCH] ASoC: fsl_asrc: Fix sparse warnings in FSL_ASRC_FORMATS due to typo

2014-07-30 Thread Nicolin Chen
reproduce: make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> sound/soc/fsl/fsl_asrc.c:563:28: sparse: restricted snd_pcm_format_t >> degrades to integer >> sound/soc/fsl/fsl_asrc.c:570:28: sparse: restricted snd_pcm_format_t >> degrades to integer vim +563 sound/soc/

[PATCH V2] staging: dgap: introduce dgap_cleanup_nodes()

2014-07-30 Thread Daeseok Youn
When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap is unloaded or failed to initialize. Signed-off-by: Daeseok Youn --

Re: [PATCH v2 1/2] Documentation: dt-bindings: add dt binding info for dwc2 dr_mode

2014-07-30 Thread Doug Anderson
Kever, On Wed, Jul 30, 2014 at 5:29 PM, Kever Yang wrote: > Indicate that the generic dr_mode binding should be used for dwc2. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - Split out dr_mode and rk3288 bindings. > > Documentation/devicetree/bindings/usb/dwc2.txt |2 ++ > 1 file

Re: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Andreas Färber
Hi Kukjin, Am 31.07.2014 03:10, schrieb Kukjin Kim: > Olof Johansson wrote: >> >> Hi, >> > Hi Olof, > >> On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: >>> Andreas Färber wrote: Am 27.07.2014 14:22, schrieb Andreas Färber: > Hello, > > This mini-series unbreaks booting

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Dave Airlie
On 31 July 2014 12:05, Nick Krause wrote: > On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: >>> This patch removes the lines for releasing the page cache in certain >>> files as this may aid in perfomance with writes in the compression >>> rountines of btrfs. Please note that this patch has n

Re: [PATCH 06/19] ARM64 / ACPI: Parse FADT table to get PSCI flags for PSCI init

2014-07-30 Thread Hanjun Guo
On 2014-7-30 0:40, Sudeep Holla wrote: [...] >> >> +/* 1 to indicate PSCI is implemented */ >> +int acpi_psci_present; >> + >> +/* 1 to indicate HVC must be used instead of SMC as the PSCI conduit */ >> +int acpi_psci_use_hvc; >> + > > These can be boolean but can be removed IMO, see below. > >>

Re: [PATCH] gpio: add flags argument to gpiod_get*() functions

2014-07-30 Thread Alexandre Courbot
On Mon, Jul 28, 2014 at 7:30 PM, Linus Walleij wrote: > On Fri, Jul 25, 2014 at 4:38 PM, Alexandre Courbot > wrote: > >> The huge majority of GPIOs have their direction and initial value set >> right after being obtained by one of the gpiod_get() functions. The >> integer GPIO API had gpio_reque

[PATCH v4 net-next 1/5] net: filter: simplify socket charging

2014-07-30 Thread Alexei Starovoitov
attaching bpf program to a socket involves multiple socket memory arithmetic, since size of 'sk_filter' is changing when classic BPF is converted to eBPF. Also common path of program creation has to deal with two ways of freeing the memory. Simplify the code by delaying socket charging until progr

[PATCH v4 net-next 0/5] net: filter: split sk_filter into socket and bpf, cleanup names

2014-07-30 Thread Alexei Starovoitov
The main goal of the series is to split 'struct sk_filter' into socket and bpf parts and cleanup names in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that is pure BPF is changed to 'bpf_*' prefix split 'struct sk_filter' into struct sk_filter {

[PATCH v4 net-next 2/5] net: filter: rename sk_filter_proglen -> bpf_classic_proglen

2014-07-30 Thread Alexei Starovoitov
trivial rename to better match semantics of macro Signed-off-by: Alexei Starovoitov --- include/linux/filter.h |3 +-- net/core/filter.c |8 net/core/sock_diag.c |2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/linux/filter.h b/include/lin

[PATCH v4 net-next 4/5] net: filter: rename sk_convert_filter() -> bpf_convert_filter()

2014-07-30 Thread Alexei Starovoitov
to indicate that this function is converting classic BPF into eBPF and not related to sockets Signed-off-by: Alexei Starovoitov --- arch/x86/net/bpf_jit_comp.c |2 +- include/linux/filter.h |4 ++-- kernel/bpf/core.c |2 +- kernel/seccomp.c|4 ++-- net/

[PATCH v4 net-next 3/5] net: filter: rename sk_chk_filter() -> bpf_check_classic()

2014-07-30 Thread Alexei Starovoitov
trivial rename to indicate that this functions performs classic BPF checking Signed-off-by: Alexei Starovoitov --- Documentation/networking/filter.txt |2 +- include/linux/filter.h |2 +- kernel/bpf/core.c |2 +- kernel/seccomp.c|

[PATCH v4 net-next 5/5] net: filter: split 'struct sk_filter' into socket and bpf parts

2014-07-30 Thread Alexei Starovoitov
clean up names related to socket filtering and bpf in the following way: - everything that deals with sockets keeps 'sk_*' prefix - everything that is pure BPF is changed to 'bpf_*' prefix split 'struct sk_filter' into struct sk_filter { atomic_trefcnt; struct rcu_head rcu;

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 11:14 PM, Austin S Hemmelgarn wrote: > On 07/30/2014 12:54 AM, Nick Krause wrote: >> On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wrote: >>> You've been replied to politely, now listen and do or shut up. >>> >>> >>> On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wrote:

Re: [RFC PATCH 1/2] fs: Add dirreadahead syscall and VFS hooks

2014-07-30 Thread Dave Chinner
On Tue, Jul 29, 2014 at 10:21:50AM +0200, Michael Kerrisk wrote: > [CC+=linux-api] > > On Fri, Jul 25, 2014 at 7:37 PM, Abhi Das wrote: > > Also adds a void *opaque field to struct dir_context that can be > > used by filesystems to temporarily store any context as this > > struct gets passed arou

[PATCH] smpboot: remove the unneeded declaration for smpboot_thread_data

2014-07-30 Thread Lai Jiangshan
smpboot.h doesn't need this declaration, remove it. CC: Thomas Gleixner Signed-off-by: Lai Jiangshan --- include/linux/smpboot.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/smpboot.h b/include/linux/smpboot.h index 13e9296..d37dc78 100644 --- a/includ

[PATCH] swap: remove the struct cpumask has_work

2014-07-30 Thread Lai Jiangshan
It is suggested that cpumask_var_t and alloc_cpumask_var() should be used instead of struct cpumask. But I don't want to add this complicity nor leave this unwelcome "static struct cpumask has_work;", so I just remove it and use flush_work() to perform on all online drain_work. flush_work() perfo

[PATCH] smpboot: add missing get_online_cpus() when register

2014-07-30 Thread Lai Jiangshan
If the smpboot_register_percpu_thread() is called after smpboot_create_threads() but before __cpu_up(), the smpboot thread of the online-ing CPU is not created, and it results a bug. So we use get_online_cpus() to prevent it. smpboot_unregister_percpu_thread() travels all possible CPU, it doesn't

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 08:22:22AM -0400, Abhijith Das wrote: > > > - Original Message - > > From: "Dave Chinner" > > To: "Zach Brown" > > Cc: "Abhijith Das" , linux-kernel@vger.kernel.org, > > "linux-fsdevel" , > > "cluster-devel" > > Sent: Friday, July 25, 2014 7:38:59 PM > > Subjec

Re: ARC fails to boot on linux-next of 20140711

2014-07-30 Thread Grant Likely
On Sat, 26 Jul 2014 15:10:28 -0500, Rob Herring wrote: > On Sat, Jul 26, 2014 at 11:50 AM, Grant Likely > wrote: > > On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta > > wrote: > >> Hi Rob, > >> > >> On Friday 25 July 2014 07:45 PM, Rob Herring wrote: > >> > On Fri, Jul 25, 2014 at 6:02 AM, Vin

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Joseph Salisbury
On 07/30/2014 06:42 PM, Julius Werner wrote: > Hi Joseph, > >> Julius, I was hoping to get your feedback, since you are the patch >> author. Do you think gathering any additional data will help diagnose >> this issue, or would it be best to continue with this revert request? > As I understand it,

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Yuyang Du
Hi Morten, On Wed, Jul 30, 2014 at 11:13:31AM +0100, Morten Rasmussen wrote: > > > 2. runnable_load_avg and blocked_load_avg are combined > > > > > > runnable_load_avg currently represents the sum of load_avg_contrib of > > > all tasks on the rq, while blocked_load_avg is the sum of those tasks >

Re: [RFC PATCH 0/2] dirreadahead system call

2014-07-30 Thread NeilBrown
On Fri, 25 Jul 2014 12:37:29 -0500 Abhi Das wrote: > This system call takes 3 arguments: > fd - file descriptor of the directory being readahead > *offset - offset in dir from which to resume. This is updated > as we move along in the directory > count - The max number of entries

Re: [PATCH v3] staging: vt6655: ioctl.c - missing __user annotation

2014-07-30 Thread Anil Shashikumar Belur
On Thursday 31 July 2014 05:38 AM, Greg KH wrote: > > This patch doesn't apply against my tree at all, what did you make it > against? > > Always work against linux-next, or the staging-next branch of my > staging.git tree on git.kernel.org. > > thanks, > > greg k-h Hi, I am working on staging.gi

Re: [RFC] readdirplus implementations: xgetdents vs dirreadahead syscalls

2014-07-30 Thread Dave Chinner
On Mon, Jul 28, 2014 at 03:21:20PM -0600, Andreas Dilger wrote: > On Jul 25, 2014, at 6:38 PM, Dave Chinner wrote: > > On Fri, Jul 25, 2014 at 10:52:57AM -0700, Zach Brown wrote: > >> On Fri, Jul 25, 2014 at 01:37:19PM -0400, Abhijith Das wrote: > >>> Hi all, > >>> > >>> The topic of a readdirplu

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Austin S Hemmelgarn
On 07/30/2014 12:54 AM, Nick Krause wrote: > On Wed, Jul 30, 2014 at 12:37 AM, Gareth Pye wrote: >> You've been replied to politely, now listen and do or shut up. >> >> >> On Wed, Jul 30, 2014 at 1:54 PM, Nick Krause wrote: >>> >>> Hey Guys , >>> I am new to reading and writing kernel code.I

Re: [x86,kaslr] [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1422 warn_pre_alternatives()

2014-07-30 Thread Paul E. McKenney
On Thu, Jul 31, 2014 at 10:42:12AM +0800, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 08:52:07AM -0700, Paul E. McKenney wrote: > > On Wed, Jul 30, 2014 at 10:17:32PM +0800, Fengguang Wu wrote: > > > On Wed, Jul 30, 2014 at 10:07:56PM +0800, Fengguang Wu wrote: > > > > Hi Andy, > > > > > > > > H

Re: [delayed_fput] BUG: unable to handle kernel paging request at ffff8800122a0ad0

2014-07-30 Thread Alexei Starovoitov
On Wed, Jul 30, 2014 at 7:40 PM, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 04:00:58PM -0700, Alexei Starovoitov wrote: >> On Wed, Jul 30, 2014 at 3:51 PM, David Rientjes wrote: >> > On Wed, 30 Jul 2014, Christoph Hellwig wrote: >> > >> >> On Wed, Jul 30, 2014 at 11:55:41AM +0800, Fengguang Wu

Re: [x86,kaslr] [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1422 warn_pre_alternatives()

2014-07-30 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 08:52:07AM -0700, Paul E. McKenney wrote: > On Wed, Jul 30, 2014 at 10:17:32PM +0800, Fengguang Wu wrote: > > On Wed, Jul 30, 2014 at 10:07:56PM +0800, Fengguang Wu wrote: > > > Hi Andy, > > > > > > Here is another WARNING message for the same commit. > > > > > > commit d0

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread Eric W. Biederman
One Thousand Gnomes writes: > On Wed, 30 Jul 2014 11:41:41 -0700 > ebied...@xmission.com (Eric W. Biederman) wrote: > >> One Thousand Gnomes writes: >> >> >> Andy you seem to be arguing here for two system calls. >> >> get_urandom() and get_random(). >> >> >> >> Where get_urandom only blocks i

Re: [delayed_fput] BUG: unable to handle kernel paging request at ffff8800122a0ad0

2014-07-30 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 04:00:58PM -0700, Alexei Starovoitov wrote: > On Wed, Jul 30, 2014 at 3:51 PM, David Rientjes wrote: > > On Wed, 30 Jul 2014, Christoph Hellwig wrote: > > > >> On Wed, Jul 30, 2014 at 11:55:41AM +0800, Fengguang Wu wrote: > >> > Greetings, > >> > > >> > 0day kernel testing

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-30 Thread Brian Norris
Hi Russell, On Wed, Jul 30, 2014 at 10:26:35AM +0100, Russell King wrote: > On Mon, Jul 21, 2014 at 02:07:56PM -0700, Brian Norris wrote: > > +static DEFINE_SPINLOCK(boot_lock); > > + > > +static void brcmstb_secondary_init(unsigned int cpu) > > +{ > > + /* > > +* Synchronise with the boot t

Re: [perf/x86/RAPL] BUG: unable to handle kernel NULL pointer dereference at 00000028

2014-07-30 Thread Fengguang Wu
Hi Stephane, On Wed, Jul 30, 2014 at 07:56:11PM +0200, Stephane Eranian wrote: > On Wed, Jul 30, 2014 at 7:53 AM, Fengguang Wu wrote: > > On Wed, Jul 30, 2014 at 06:45:58AM +0200, Stephane Eranian wrote: > >> On Wed, Jul 30, 2014 at 6:00 AM, Fengguang Wu > >> wrote: > >> > Greetings, > >> > > >

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-30 Thread Brian Norris
Hi Rob, I appreciate your comments, but where were many of these 5 months ago on the first 7 revisions? :) On a practical note: v9 is already queued for 3.17. Should I send patches for the 3.17 cycle (or later) to fixup some of these issues? Or would you recommend pulling the patches out of Matt

[PATCHv2] CMA/HOTPLUG: clear buffer-head lru before page migration

2014-07-30 Thread Gioh Kim
The previous PATCH inserts invalidate_bh_lrus() only into CMA code. HOTPLUG needs also dropping bh of lru. So v2 inserts invalidate_bh_lrus() into both of CMA and HOTPLUG. 8< The bh must be free to migrate a page at which bh is mapped. The

Re: [PATCH 3/9] i40e: use correct structure type name in sizeof

2014-07-30 Thread David Miller
From: Julia Lawall Date: Tue, 29 Jul 2014 17:16:45 +0200 > From: Julia Lawall > > Correct typo in the name of the type given to sizeof. Because it is the > size of a pointer that is wanted, the typo has no impact on compilation or > execution. > > This problem was found using Coccinelle (http

Re: [PATCH 2/9] CAPI: use correct structure type name in sizeof

2014-07-30 Thread David Miller
From: Julia Lawall Date: Tue, 29 Jul 2014 17:16:44 +0200 > From: Julia Lawall > > Correct typo in the name of the type given to sizeof. Because it is the > size of a pointer that is wanted, the typo has no impact on compilation or > execution. > > This problem was found using Coccinelle (http

Re: [f2fs-dev] [PATCH] f2fs: reduce competition among node page writes

2014-07-30 Thread Changman Lee
Hi Chao, On Wed, Jul 30, 2014 at 09:07:49PM +0800, Chao Yu wrote: > Hi Jaegeuk Changman, > > > -Original Message- > > From: Chao Yu [mailto:chao2...@samsung.com] > > Sent: Thursday, July 03, 2014 6:59 PM > > To: Jaegeuk Kim; Changman Lee > > Cc: linux-fsde...@vger.kernel.org; linux-kernel

Re: [PATCH 0/2 net-next] Lockless netlink_lookup() with new concurrent hash table

2014-07-30 Thread David Miller
From: Thomas Graf Date: Tue, 29 Jul 2014 13:41:31 +0200 > Netlink sockets are maintained in a hash table to allow efficient lookup > via the port ID for unicast messages. However, lookups currently require > a read lock to be taken. This series adds a new generic, resizable, > scalable, concurren

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Saravana Kannan
On 07/30/2014 07:16 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 06:36:00 PM Saravana Kannan wrote: On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: On Tuesday, July 29

Re: [tip:irq/core] PM / sleep / irq: Do not suspend wakeup interrupts

2014-07-30 Thread Rafael J. Wysocki
Hi Thomas, On Tuesday, July 15, 2014 04:01:10 AM tip-bot for Rafael J. Wysocki wrote: > Commit-ID: d709f7bcbb3ab01704fa7b37a2e4b981cf3783c1 > Gitweb: http://git.kernel.org/tip/d709f7bcbb3ab01704fa7b37a2e4b981cf3783c1 > Author: Rafael J. Wysocki > AuthorDate: Thu, 10 Jul 2014 23:37:54 +02

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-30 Thread Nick Krause
On Wed, Jul 30, 2014 at 7:30 PM, Dave Airlie wrote: >> This patch removes the lines for releasing the page cache in certain >> files as this may aid in perfomance with writes in the compression >> rountines of btrfs. Please note that this patch has not been tested >> on my own hardware due to no c

Re: [tip:irq/core] irq: Warn when shared interrupts do not match on NO_SUSPEND

2014-07-30 Thread Rafael J. Wysocki
Hi Thomas, On Thursday, July 24, 2014 08:36:36 AM tip-bot for Peter Zijlstra wrote: > Commit-ID: 4fae4e7624653ef498d0e2a38f00620b9701ab04 > Gitweb: http://git.kernel.org/tip/4fae4e7624653ef498d0e2a38f00620b9701ab04 > Author: Peter Zijlstra > AuthorDate: Thu, 24 Jul 2014 15:39:21 +0200 >

Re: ipv4: net namespace does not inherit network configurations

2014-07-30 Thread zhuyj
On 07/30/2014 01:48 AM, Cong Wang wrote: On Tue, Jul 29, 2014 at 2:29 AM, zhuyj wrote: Hi,all I did a test on kernel3.16 rc6: root@qemu1:~# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding root@qemu1:~# echo 1 > /proc/sys/net/ipv4/conf/all/forwarding root@qemu1:~# ip netns list root@qemu1:~# i

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Rafael J. Wysocki
On Wednesday, July 30, 2014 06:36:00 PM Saravana Kannan wrote: > On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: > > On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: > >> > >> On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: > >>> On Tuesday, July 29, 2014 07:46:02 AM Prarit Bhargava

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-30 Thread Rafael J. Wysocki
On Thursday, July 31, 2014 02:12:11 AM Thomas Gleixner wrote: > On Thu, 31 Jul 2014, Thomas Gleixner wrote: > > On Wed, 30 Jul 2014, Rafael J. Wysocki wrote: > > Before this code changes in any way I want to see: > > > > 1) a description of the existing semantics and their background On that one

Re: [REVERT][v3.16-rc7][STABLE] usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb

2014-07-30 Thread Joseph Salisbury
On 07/30/2014 06:42 PM, Julius Werner wrote: > Hi Joseph, > >> Julius, I was hoping to get your feedback, since you are the patch >> author. Do you think gathering any additional data will help diagnose >> this issue, or would it be best to continue with this revert request? > As I understand it,

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Saravana Kannan
On 07/30/2014 02:40 PM, Rafael J. Wysocki wrote: On Wednesday, July 30, 2014 10:18:25 AM Prarit Bhargava wrote: On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: On Tuesday, July 29, 2014 07:46:02 AM Prarit Bhargava wrote: [cut] This patch effectively reverts commit 955ef483. The issue re

Re: [PATCH 0/3] therm_windtunnel doesn't work properly on PowerMac G4

2014-07-30 Thread Benjamin Herrenschmidt
On Wed, 2014-07-30 at 22:50 +0200, Goffredo Baroncelli wrote: > Hi All, > > I am writing to you Jean and Benjamin because it seem that both > worked on these items. > > On a PowerMac G4 I noticed that between the kernel v3.2 and v3.14 I lost > the fan management. > > I found on internet other r

Re: [PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Yan, Zheng
On 07/31/2014 09:08 AM, Yan, Zheng wrote: > On 07/30/2014 05:05 PM, Peter Zijlstra wrote: >> >> >> What's Ivytown? Is that IVB-EP or EX or both? I want to fix the subject >> to not mix and match these terms. > > It's IVB-EP > >> >> A quick search seems to suggest Ivytown is IVB-EX, which leaves m

RE: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Kukjin Kim
Olof Johansson wrote: > > Hi, > Hi Olof, > On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: > > Andreas Färber wrote: > >> > >> Am 27.07.2014 14:22, schrieb Andreas Färber: > >> > Hello, > >> > > >> > This mini-series unbreaks booting on 5410 based ODROID-XU. > >> > > >> > Since I do not have

Re: [PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Yan, Zheng
On 07/30/2014 05:05 PM, Peter Zijlstra wrote: > > > What's Ivytown? Is that IVB-EP or EX or both? I want to fix the subject > to not mix and match these terms. It's IVB-EP > > A quick search seems to suggest Ivytown is IVB-EX, which leaves me > wondering what driver does IVB-EP use? > > Patch

[PATCH v2 2/2] usb: dwc2: add dr_mode support for dwc2

2014-07-30 Thread Kever Yang
Some devices with A female host port and without use of usb_id pin will need this for the otg controller works as device role during firmware period and works as host role in rich os. Signed-off-by: Kever Yang --- Changes in v2: - put spaces around '+' operator - expand the comment for dr_mode

Re: [PATCH -tip v2 4/7] locking/mutex: Refactor optimistic spinning code

2014-07-30 Thread Jason Low
On Wed, 2014-07-30 at 13:41 -0700, Davidlohr Bueso wrote: > When we fail to acquire the mutex in the fastpath, we end up calling > __mutex_lock_common(). A *lot* goes on in this function. Move out the > optimistic spinning code into mutex_optimistic_spin() and simplify > the former a bit. Furthermo

Re: vmstat: On demand vmstat workers V8

2014-07-30 Thread Lai Jiangshan
On 07/30/2014 10:45 PM, Christoph Lameter wrote: > On Wed, 30 Jul 2014, Lai Jiangshan wrote: > >> I think the bug is here, it re-queues the per_cpu(vmstat_work, cpu) which is >> offline >> (after vmstat_cpuup_callback(CPU_DOWN_PREPARE). And cpu_stat_off is >> accessed without >> proper lock. >

[RFC][PATCH v2] wireless: ath9k: Convert from timespecs to ktime_t

2014-07-30 Thread John Stultz
Convert from using timespecs to ktime_t for internal timekeeping needs. This simplifies the logic and avoids extra math required to convert from timespec to usecs. Cc: Stephen Rothwell Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Peter Zijlstra Cc: David Miller Cc: "John W. Linville" Cc: Felix F

[PATCH v2 tip/core/rcu 06/10] rcutorture: Add RCU-tasks test cases

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds the TASKS01 and TASKS02 Kconfig fragments, along with the corresponding TASKS01.boot and TASKS02.boot boot-parameter files specifying that rcutorture test RCU-tasks instead of the default flavor. Signed-off-by: Paul E. McKenney --- tools/testing/selfte

[PATCH v2 tip/core/rcu 04/10] rcu: Export RCU-tasks APIs to GPL modules

2014-07-30 Thread Paul E. McKenney
From: Steven Rostedt This commit exports the RCU-tasks APIs, call_rcu_tasks(), synchronize_rcu_tasks(), and rcu_barrier_tasks(), to GPL-licensed kernel modules. Signed-off-by: Steven Rostedt Signed-off-by: Paul E. McKenney --- kernel/rcu/update.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2 tip/core/rcu 08/10] rcu: Improve RCU-tasks energy efficiency

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" The current RCU-tasks implementation uses strict polling to detect callback arrivals. This works quite well, but is not so good for energy efficiency. This commit therefore replaces the strict polling with a wait queue. Signed-off-by: Paul E. McKenney --- kernel/rcu/

[PATCH v2 tip/core/rcu 01/10] rcu: Add call_rcu_tasks()

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds a new RCU-tasks flavor of RCU, which provides call_rcu_tasks(). This RCU flavor's quiescent states are voluntary context switch (not preemption!), userspace execution, and the idle loop. Note that unlike other RCU flavors, these quiescent states occur in

[PATCH v2 tip/core/rcu 07/10] rcu: Add stall-warning checks for RCU-tasks

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds a three-minute RCU-tasks stall warning. The actual time is controlled by the boot/sysfs parameter rcu_task_stall_timeout, with values less than or equal to zero disabling the stall warnings. The default value is three minutes, which means that the tasks

[PATCH v2 tip/core/rcu 02/10] rcu: Provide cond_resched_rcu_qs() to force quiescent states in long loops

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" RCU-tasks requires the occasional voluntary context switch from CPU-bound in-kernel tasks. In some cases, this requires instrumenting cond_resched(). However, there is some reluctance to countenance unconditionally instrumenting cond_resched() (see http://lwn.net/Articl

[PATCH v2 tip/core/rcu 05/10] rcutorture: Add torture tests for RCU-tasks

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds torture tests for RCU-tasks. It also fixes a bug that would segfault for an RCU flavor lacking a callback-barrier function. Signed-off-by: Paul E. McKenney --- include/linux/rcupdate.h | 1 + kernel/rcu/rcutorture.c | 40

[PATCH v2 tip/core/rcu 03/10] rcu: Add synchronous grace-period waiting for RCU-tasks

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" It turns out to be easier to add the synchronous grace-period waiting functions to RCU-tasks than to work around their absense in rcutorture, so this commit adds them. The key point is that the existence of call_rcu_tasks() means that rcutorture needs an rcu_barrier_task

[PATCH v2 tip/core/rcu 10/10] rcu: Make RCU-tasks track exiting tasks

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds synchronization with exiting tasks, so that RCU-tasks avoids waiting on tasks that no longer exist. Signed-off-by: Paul E. McKenney --- include/linux/init_task.h | 6 +- include/linux/rcupdate.h | 8 +++ include/linux/sched.h | 7 ++- kernel

[PATCH v2 tip/core/rcu 09/10] documentation: Add verbiage on RCU-tasks stall warning messages

2014-07-30 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit documents RCU-tasks stall warning messages and also describes when to use the new cond_resched_rcu_qs() API. Signed-off-by: Paul E. McKenney --- Documentation/RCU/stallwarn.txt | 33 - 1 file changed, 24 insertions(+), 9 dele

Re: [RFC][PATCH] wireless: ath9k: Convert from timespecs to ktime_t

2014-07-30 Thread John Stultz
On 07/30/2014 05:27 PM, Stephen Rothwell wrote: > Hi John, > > One obvious thing ... > > On Wed, 30 Jul 2014 17:01:05 -0700 John Stultz wrote: >> >> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c >> index fd0158f..d15f48e 100644 >> --- a/drivers/net/wireless

[PATCH v2 tip/core/rcu 0/10] RCU-tasks implementation

2014-07-30 Thread Paul E. McKenney
Hello! This series provides a prototype of an RCU-tasks implementation, which has been requested to assist with tramopoline removal. This flavor of RCU is task-based rather than CPU-based, and has voluntary context switch, usermode execution, and the idle loops as its only quiescent states. This

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Gioh Kim
2014-07-31 오전 9:03, Jan Kara 쓴 글: On Thu 31-07-14 08:54:40, Gioh Kim wrote: 2014-07-30 오후 7:11, Jan Kara 쓴 글: On Wed 30-07-14 16:44:24, Gioh Kim wrote: 2014-07-22 오후 6:38, Jan Kara 쓴 글: On Tue 22-07-14 09:30:05, Peter Zijlstra wrote: On Tue, Jul 22, 2014 at 02:18:47PM +0900, Gioh Kim wrote

[PATCH 1/1] Drivers: net-next: hyperv: Increase the size of the sendbuf region

2014-07-30 Thread K. Y. Srinivasan
For forwarding scenarios, it will be useful to allocate larger sendbuf. Make the necessary adjustments to permit this. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +- drivers/net/hyperv/netvsc.c |7 ++- 2 files changed, 3 insertions(+), 6 deletions(-)

Re: [PATCH 0/3] ARM: EXYNOS: Fix Exynos5410 boot

2014-07-30 Thread Olof Johansson
Hi, On Sun, Jul 27, 2014 at 5:39 PM, Kukjin Kim wrote: > Andreas Färber wrote: >> >> Am 27.07.2014 14:22, schrieb Andreas Färber: >> > Hello, >> > >> > This mini-series unbreaks booting on 5410 based ODROID-XU. >> > >> > Since I do not have access to a TRM, the address is a guess based on >> > 52

RE: Subject: [PATCH 1/1] mtd:nand:fix nand_lock/unlock() function

2014-07-30 Thread bpqw
Hi Brain, How about my patch do you have any other proposal? Br White Ding EBU APAC Application Engineering Tel:86-21-38997078 Mobile: 86-13761729112 Address: No 601 Fasai Rd, Waigaoqiao Free Trade Zone Pudong, Shanghai, China -Original Message- From: bpqw

RE: [PATCH 1/1] Drivers: net-next: hyperv

2014-07-30 Thread KY Srinivasan
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, July 30, 2014 5:25 PM > To: KY Srinivasan > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com > Subje

[PATCH v2 0/2] Patches to add dr_mode for dwc2

2014-07-30 Thread Kever Yang
These two patches enable the dr_mode for the dwc2 usb controller. These are split from the patch series adding rk3288 dwc2 support. Changes in v2: - Split out dr_mode and rk3288 bindings. - put spaces around '+' operator - expand the comment for dr_mode - handle dr_mode is USB_DR_MODE_OTG Kever

[PATCH v2 1/2] Documentation: dt-bindings: add dt binding info for dwc2 dr_mode

2014-07-30 Thread Kever Yang
Indicate that the generic dr_mode binding should be used for dwc2. Signed-off-by: Kever Yang --- Changes in v2: - Split out dr_mode and rk3288 bindings. Documentation/devicetree/bindings/usb/dwc2.txt |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb

Re: TIF_NOHZ can escape nonhz mask? (Was: [PATCH v3 6/8] x86: Split syscall_trace_enter into two phases)

2014-07-30 Thread Frederic Weisbecker
On Wed, Jul 30, 2014 at 07:46:30PM +0200, Oleg Nesterov wrote: > On 07/30, Frederic Weisbecker wrote: > > > > On Tue, Jul 29, 2014 at 07:54:14PM +0200, Oleg Nesterov wrote: > > > > > > > > Looks like, we can kill context_tracking_task_switch() and simply change > > > the > > > "__init" callers of

[PATCH] x86, irq: Keep IRQ assignment for PCI devices during suspend/hibernation

2014-07-30 Thread Jiang Liu
Function pci_disable_device() may be called for PCI devices during suspend/hibernation, which in turn may release IRQ assigned for PCI interrupt. Later when pci_enable_device() is called during resume, a different IRQ may be assigned and thus break the driver. So keep IRQ assignment for PCI devices

Re: [RFC][PATCH] wireless: ath9k: Convert from timespecs to ktime_t

2014-07-30 Thread Stephen Rothwell
Hi John, One obvious thing ... On Wed, 30 Jul 2014 17:01:05 -0700 John Stultz wrote: > > diff --git a/drivers/net/wireless/ath/ath9k/hw.c > b/drivers/net/wireless/ath/ath9k/hw.c > index fd0158f..d15f48e 100644 > --- a/drivers/net/wireless/ath/ath9k/hw.c > +++ b/drivers/net/wireless/ath/ath9k/hw

Re: [PATCH 1/1] Drivers: net-next: hyperv

2014-07-30 Thread David Miller
From: "K. Y. Srinivasan" Date: Wed, 30 Jul 2014 18:20:16 -0700 > For forwarding scenarios, it will be useful to allocate larger > sendbuf. Make the necessary adjustments to permit this. > > Signed-off-by: K. Y. Srinivasan Please submit this with a proper Subject line, something like "[PATCH 1/

Re: [PATCH] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-30 Thread Greg KH
On Tue, Jul 29, 2014 at 04:41:53PM +0530, Sanjeev Sharma wrote: > This is a patch to the r8190_rtl8256.c file that fixes > checkpatch reported space & coding style issues. > > Signed-off-by: Sanjeev Sharma Please use a ' ' character... Please resend all of your patches, they don't have signed-of

Re: [PATCH] staging:r8180: coding style: Fixed commenting style

2014-07-30 Thread Greg KH
On Tue, Jul 29, 2014 at 03:18:52PM +0530, Sanjeev Sharma wrote: > This is a patch to the r8180_93cx6.c file that fixes > commenting style warning > --- > drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- > 1 file changed, 9 insertions(+), 6 deletions(-) Hi, This is the friendly patch-

Re: [PATCH] Staging: android: sw_sync.c: fix missing blank line after declaration

2014-07-30 Thread Greg KH
On Mon, Jul 28, 2014 at 07:38:23PM -0300, Murilo Opsfelder Araujo wrote: > Fix coding style issue. > > Signed-off-by: Murilo Opsfelder Araujo > --- > drivers/staging/android/sw_sync.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/staging/android/sw_sync.c > b/drivers/st

[PATCH 1/1] Drivers: net-next: hyperv

2014-07-30 Thread K. Y. Srinivasan
For forwarding scenarios, it will be useful to allocate larger sendbuf. Make the necessary adjustments to permit this. Signed-off-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 +- drivers/net/hyperv/netvsc.c |7 ++- 2 files changed, 3 insertions(+), 6 deletions(-)

Re: [PATCH] Staging: android: sync.c: fix missing blank line after declaration

2014-07-30 Thread Greg KH
On Mon, Jul 28, 2014 at 08:03:46PM -0300, Murilo Opsfelder Araujo wrote: > Fix coding style issue. > > Signed-off-by: Murilo Opsfelder Araujo > --- > drivers/staging/android/sync.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/android/sync.c b/drive

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interrupts

2014-07-30 Thread Thomas Gleixner
On Thu, 31 Jul 2014, Thomas Gleixner wrote: > On Wed, 30 Jul 2014, Rafael J. Wysocki wrote: > Before this code changes in any way I want to see: > > 1) a description of the existing semantics and their background > > 2) a description of the short comings of the existing semantics w/o > cons

Re: [PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

2014-07-30 Thread Olof Johansson
On Wed, Jul 30, 2014 at 4:57 PM, wrote: > From: Behan Webster > > This patch set moves from using locally defined named registers to access the > stack pointer to using a globally defined named register. This allows the code > to work both with gcc and clang. > > The LLVMLinux project aims to fu

Re: [xhci] kernel BUG at include/linux/scatterlist.h:115!

2014-07-30 Thread Dan Williams
On Tue, Jul 29, 2014 at 8:57 PM, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/djbw/usb.git td-fragments-v1 > commit 61d9c2ad31b11b87c319bbc2a963040742bac77c > Author: Dan William

Re: [PATCH] Replace faulty is_hex_digit() by isxdigit()

2014-07-30 Thread Randy Dunlap
On 07/30/14 17:05, Arjun Sreedharan wrote: > 0 is ascii for NULL. Hex digit matching should be from '0'. > Unfixed version returns true for #,$,%,& etc. > > Signed-off-by: Arjun Sreedharan > --- > drivers/acpi/acpi_pnp.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --g

Re: [PATCH v3] staging: vt6655: ioctl.c - missing __user annotation

2014-07-30 Thread Greg KH
On Wed, Jul 30, 2014 at 06:29:57PM +0530, Anil Belur wrote: > - private_ioctl() internally calls copy_{to,from}_user() and does > not use '__user' which gives out several sparse warnings > - these sparse warnings were fixed by adding __user annotation to > the data member of struct tagSCmdReque

[PATCH] Replace faulty is_hex_digit() by isxdigit()

2014-07-30 Thread Arjun Sreedharan
0 is ascii for NULL. Hex digit matching should be from '0'. Unfixed version returns true for #,$,%,& etc. Signed-off-by: Arjun Sreedharan --- drivers/acpi/acpi_pnp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c index

Re: [PATCH] Staging: rtl8192u: Staticfy debug method.

2014-07-30 Thread Greg KH
On Wed, Jul 30, 2014 at 11:33:41PM +0200, fernando.apesteg...@gmail.com wrote: > From: Fernando Apesteguia > > Add static to debug method. > > Signed-off-by: Fernando Apesteguia > --- > drivers/staging/rtl8192u/r8192U_core.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH] Staging: vt6655: staticfy variable

2014-07-30 Thread Greg KH
On Wed, Jul 30, 2014 at 11:20:49PM +0200, Fernando Apesteguía wrote: > On Wed, Jul 30, 2014 at 9:16 PM, Guillaume Clement > wrote: > > Hello, > > > >> Add static to variable. > >> Signed-off-by: Fernando Apesteguia > >> --- > >> drivers/staging/vt6655/ioctl.c |2 +- > >> 1 file changed, 1 i

<    1   2   3   4   5   6   7   8   9   >