Re: [PATCH 3/3] irqchip: mips-gic: Setup EIC mode on each CPU if it's in use

2016-05-17 Thread Matt Redfearn
On 17/05/16 15:31, Paul Burton wrote: When EIC mode is in use (cpu_has_veic is true) enable it on each CPU during GIC initialisation. Otherwise there may be a mismatch between the hardware default interrupt model & that expected by the kernel. Signed-off-by: Paul Burton --- drivers/irqchip

[PATCH INTERNAL v2 0/3] pwm support for Broadcom iProc SoC's

2016-05-17 Thread Yendapally Reddy Dhananjaya Reddy
This patchset contains the pwm support for the Broadcom's iProc SoC's. The first patch provides the documentation details and the second patch contains the controller support details. The third patch contains the enable method for Northstar Plus SoC. This patch series has been tested on NSP bcm95

[PATCH INTERNAL v2 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding

2016-05-17 Thread Yendapally Reddy Dhananjaya Reddy
Add a binding for Broadcom iproc pwm controller Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/pwm/brcm,iproc-pwm.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt diff

Re: [PATCH 2/3] MIPS: smp-cps: Clear Status IPL field when using EIC

2016-05-17 Thread Matt Redfearn
On 17/05/16 15:31, Paul Burton wrote: When using an external interrupt controller (EIC) the interrupt mask bits in the cop0 Status register are reused for the Interrupt Priority Level, and any interrupts with a priority lower than the field will be ignored. Clear the field to 0 by default such

[PATCH INTERNAL v2 3/3] ARM: dts: NSP: Add PWM Support to DT

2016-05-17 Thread Yendapally Reddy Dhananjaya Reddy
Add PWM support to the device tree for the Broadcom Northstar Plus SoC. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- arch/arm/boot/dts/bcm-nsp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index def9e78..f

[PATCH INTERNAL v2 2/3] pwm: iproc: Add support for Broadcom iproc pwm controller

2016-05-17 Thread Yendapally Reddy Dhananjaya Reddy
Add support for Broadcom iproc pwm controller Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/pwm/Kconfig | 10 ++ drivers/pwm/Makefile| 1 + drivers/pwm/pwm-bcm-iproc.c | 320 3 files changed, 331 insertions(+) create

Re: [PATCH 1/3] MIPS: Clear Status IPL field when using EIC

2016-05-17 Thread Matt Redfearn
On 17/05/16 15:31, Paul Burton wrote: When using an external interrupt controller (EIC) the interrupt mask bits in the cop0 Status register are reused for the Interrupt Priority Level, and any interrupts with a priority lower than the field will be ignored. Clear the field to 0 by default such

Re: Crashes in -next due to 'phy: add support for a reset-gpio specification'

2016-05-17 Thread Guenter Roeck
[9.371540] Unable to handle kernel paging request at virtual address 001c [9.371540] pc = d0320926, ra = 903209d1 [9.375358] Oops: sig: 11 [#1] [9.376081] PREEMPT [9.377080] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-next-20160517 #1 [9.378397] task: d7c2c000 ti

Re: [PATCH v2 4/9] powerpc/powernv: Make power7_powersave_common more generic

2016-05-17 Thread Shreyas B Prabhu
On 05/18/2016 12:07 PM, Gautham R Shenoy wrote: > Hi Shreyas, > > On Tue, May 03, 2016 at 01:54:33PM +0530, Shreyas B. Prabhu wrote: >> power7_powersave_common does common steps needed before entering idle >> state and eventually changes MSR to MSR_IDLE and does rfid to >> power7_enter_nap_mode.

Re: [PATCH v2 6/9] powerpc/powernv: set power_save func after the idle states are initialized

2016-05-17 Thread Gautham R Shenoy
On Tue, May 03, 2016 at 01:54:35PM +0530, Shreyas B. Prabhu wrote: > pnv_init_idle_states discovers supported idle states from the > device tree and does the required initialization. Set power_save > function pointer only after this initialization is done > > Signed-off-by: Shreyas B. Prabhy Rev

Re: [PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG

2016-05-17 Thread Michael Hennerich
On 05/17/2016 11:58 PM, Heinrich Schuchardt wrote: If DEBUG is defined, a superfluous closing brace is introduced. Signed-off-by: Heinrich Schuchardt Acked-by: Michael Hennerich --- drivers/net/ieee802154/adf7242.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ieee80215

Re: sched: tweak select_idle_sibling to look for idle threads

2016-05-17 Thread Mike Galbraith
On Wed, 2016-05-11 at 03:16 +0800, Yuyang Du wrote: > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -3027,6 +3027,9 @@ void remove_entity_load_avg(struct sched > > > > static inline unsigned long cfs_rq_runnable_load_avg(struct cfs_rq *cfs_rq) > > { > > +> >> > if (s

Re: [PATCH v2 4/9] powerpc/powernv: Make power7_powersave_common more generic

2016-05-17 Thread Gautham R Shenoy
Hi Shreyas, On Tue, May 03, 2016 at 01:54:33PM +0530, Shreyas B. Prabhu wrote: > power7_powersave_common does common steps needed before entering idle > state and eventually changes MSR to MSR_IDLE and does rfid to > power7_enter_nap_mode. > > Make it more generic by passing the rfid address as a

Re: [1/1] net: pegasus: remove dead coding

2016-05-17 Thread Guenter Roeck
On Wed, May 18, 2016 at 02:13:30AM +0200, Heinrich Schuchardt wrote: > (!count || count < 4) is always true. Even if count >= 4 ? Guenter > So let's remove the coding which is dead at least since 2005. > > Signed-off-by: Heinrich Schuchardt > > --- > drivers/net/usb/pegasus.c | 53 ---

Re: [PATCH v2 3/9] powerpc/powernv: Move idle code usable by multiple hardware to common location

2016-05-17 Thread Gautham R Shenoy
Hi Shreyas, On Tue, May 03, 2016 at 01:54:32PM +0530, Shreyas B. Prabhu wrote: > CPU-idle related code like context save/restore functions idle_power7.S > can reused for adding stop instruction support. Move this > code to a new commonly accessible location. [..snip..] > diff --git a/arch/powerp

Re: [PATCH v2 2/9] powerpc/kvm: make hypervisor state restore a function

2016-05-17 Thread Gautham R Shenoy
Hi Shreyas, On Tue, May 03, 2016 at 01:54:31PM +0530, Shreyas B. Prabhu wrote: > In the current code, when the thread wakes up in reset vector, some > of the state restore code and check for whether a thread needs to > branch to kvm is duplicated. Reorder the code such that this > duplication is a

Re: [PATCH 1/1] net: pegasus: remove dead coding

2016-05-17 Thread Petko Manolov
On 16-05-18 02:13:30, Heinrich Schuchardt wrote: > (!count || count < 4) is always true. > So let's remove the coding which is dead at least since 2005. You may want to reconsider the above statement. Just assume that 'count' is typically between 56 and 1514 bytes. Petko > Si

[PATCH] perf/x86/intel/uncore: Remove WARN_ON_ONCE in uncore_pci_probe

2016-05-17 Thread Jiri Olsa
On Tue, May 17, 2016 at 09:34:40PM +0200, Thomas Gleixner wrote: > On Tue, 17 May 2016, Jiri Olsa wrote: > > > > [2.766466] WARNING: CPU: 0 PID: 1 at arch/x86/events/intel/uncore.c:894 > > uncore_pci_probe+0x2a8/0x2b0 > > > > I'm booting with nr_cpus=1, which impact physical_to_logical_pkg >

[PATCH v1] PM / sleep: make pm notifier called symmetrically

2016-05-17 Thread Lianwei Wang
This makes pm notifier PREPARE/POST symmetrical: if PREPARE fails, we will only undo what ever happened on PREPARE. It fixes the unbalanced cpu hotplug enable in cpu pm notifier. Signed-off-by: Lianwei Wang --- kernel/power/hibernate.c | 20 kernel/power/main.c | 11 ++

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Mark Rutland
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +0100, Mark Rutland wrote: > > /* > > + * Iterate over all possible CPUs in a leaf RCU node. > > + */ > > +#define for_each_leaf_node_possible_cpu(rnp, cpu) \ > > + for ((cpu) = rnp->grplo; \ >

RE: [PATCH v2 1/2] i2c: qup: add ACPI support

2016-05-17 Thread Sricharan
Hi, > Add support to get the device parameters from ACPI. Assume that the clocks > are managed by firmware. > > Signed-off-by: Naveen Kaje > --- > drivers/i2c/busses/i2c-qup.c | 59 +--- > > 1 file changed, 44 insertions(+), 15 deletions(-) > <.snip> >

Re: [PATCH] Fix for hang of Ordered task in TCM

2016-05-17 Thread Nicholas A. Bellinger
Hi Michael, On Fri, 2016-05-13 at 17:15 -0500, Michael Cyr wrote: > If a command with a Simple task attribute is failed due to a Unit > Attention, then a subsequent command with an Ordered task attribute will > hang forever. The reason for this is that the Unit Attention status is > checked for i

Re: Linux-next parallel cp workload hang

2016-05-17 Thread Dave Chinner
On Wed, May 18, 2016 at 09:46:15AM +0800, Xiong Zhou wrote: > Hi, > > Parallel cp workload (xfstests generic/273) hangs like blow. > It's reproducible with a small chance, less the 1/100 i think. > > Have hit this in linux-next 20160504 0506 0510 trees, testing on > xfs with loop or block device.

Re: [PATCH 1/2] arm64: dts: NS2: Add all of the UARTs

2016-05-17 Thread Kefeng Wang
On 2016/5/18 3:56, Florian Fainelli wrote: > On 05/15/2016 06:11 PM, Kefeng Wang wrote: >>> I can confirm that with your change and the change to the bootargs you >>> describe above, it works as desired. Was your change already accepted? >>> >> >> Great, thanks a lot. it is still being reviewin

[RFC][PATCH 8/7] sched/fair: Use utilization distance to filter affine sync wakeups

2016-05-17 Thread Mike Galbraith
On Mon, 2016-05-09 at 12:48 +0200, Peter Zijlstra wrote: > Hai, (got some of the frozen variety handy?:) > here be a semi coherent patch series for the recent select_idle_siblings() > tinkering. Happy benchmarking.. And tinkering on top of your rewrite series... sched/fair: Use utilization dist

Re: UBSAN: Undefined behaviour in block/blk-mq.c:1459:27 with pata_amd

2016-05-17 Thread Meelis Roos
> Does the patch below help? > > From: Bartlomiej Zolnierkiewicz > Subject: [PATCH] blk-mq: fix undefined behaviour in order_to_size() > > When this_order variable in blk_mq_init_rq_map() becomes zero > the code incorrectly decrements the variable and passes the result > to order_to_size() helpe

Re: [PATCH] arc: axs103_smp: Fix CPU frequency to 100MHz for dual-core

2016-05-17 Thread Vineet Gupta
On Monday 16 May 2016 03:27 PM, Alexey Brodkin wrote: > The most recent release of AXS103 [v1.1] is proven to work > at 100 MHz in dual-core mode so this change uses mentioned feature. > For that we: > * Update axc003_idu.dtsi with mention of really-used CPU clock freq > * Remove clock override i

Re: [PATCH] ARC: Troubleshoot execution of UP Linux on SMP HW and vice versa

2016-05-17 Thread Vineet Gupta
On Wednesday 18 May 2016 02:36 AM, Alexey Brodkin wrote: > ARC SMP hardware heavily relies on Interrupt Distribution Unit (IDU) > for all interrupts serving. And UP ARC hardware lacks this block. > > That leads to incompatibility between UP and SMP Linux builds. > > Even though UP build of Linux

Re: [PATCH] net: au1000 eth: simplify logical expression

2016-05-17 Thread Florian Fainelli
Le 17/05/2016 16:58, Heinrich Schuchardt a écrit : > (a && a > 0) is equivalent to (a > 0). > > Signed-off-by: Heinrich Schuchardt Acked-by: Florian Fainelli -- Florian

Re: Crashes in -next due to 'phy: add support for a reset-gpio specification'

2016-05-17 Thread Florian Fainelli
9.371540] Unable to handle kernel paging request at virtual address > 001c > [9.371540] pc = d0320926, ra = 903209d1 > [9.375358] Oops: sig: 11 [#1] > [9.376081] PREEMPT > [9.377080] CPU: 0 PID: 1 Comm: swapper Not tainted > 4.6.0-next-20160517 #1 >

[PATCH 1/1] Staging: comedi: fix CHECK: Prefer using the BIT macro issues in pcmmio.c

2016-05-17 Thread Ravishankar Karkala Mallikarjunayya
This patch Replace all occurences of (1< --- drivers/staging/comedi/drivers/pcmmio.c | 40 - 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcmmio.c b/drivers/staging/comedi/drivers/pcmmio.c index 10472e6..70ad497 100

Crashes in -next due to 'phy: add support for a reset-gpio specification'

2016-05-17 Thread Guenter Roeck
[9.371540] pc = d0320926, ra = 903209d1 [9.375358] Oops: sig: 11 [#1] [9.376081] PREEMPT [9.377080] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-next-20160517 #1 [9.378397] task: d7c2c000 ti: d7c3 task.ti: d7c3 [9.379394] a00: 903209d1 d7c31bd0 d7fb5810 0001

Re: [PATCH v2 1/9] powerpc/powernv: Move CHECK_HMI_INTERRUPT to exception-64s header

2016-05-17 Thread Gautham R Shenoy
On Tue, May 03, 2016 at 01:54:30PM +0530, Shreyas B. Prabhu wrote: > CHECK_HMI_INTERRUPT is used to check for HMI's in reset vector. Move > the macro to a common location (exception-64s.h) > This patch does not change any functionality. > I suppose this code movement is to facilitate the invocati

linux-next: Tree for May 18

2016-05-17 Thread Stephen Rothwell
Hi all, Please do not add any v4.8 destined material to your linux-next included branches until after v4.7-rc1 has been released. Changes since 20160517: New tree: dax-misc The dax-misc tree gained a conflict against the nvdimm tree. The akpm-current tree gained a conflict against the dax

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2016-05-17 Thread Doug Anderson
Hi, On Tue, May 17, 2016 at 7:08 PM, Jaehoon Chung wrote: > On 05/18/2016 09:47 AM, Doug Anderson wrote: >> Jaehoon, >> >> On Mon, Mar 30, 2015 at 8:47 AM, Doug Anderson wrote: >>> Jaehoon, >>> >>> On Sun, Mar 29, 2015 at 5:55 PM, Jaehoon Chung >>> wrote: Dear Doug, I'm consider

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2016-05-17 Thread Doug Anderson
Hi, On Tue, May 17, 2016 at 6:59 PM, Shawn Lin wrote: > Could you try this patch to see if you can still find HLE? > > @@ -2356,12 +2356,22 @@ static void dw_mci_cmd_interrupt(struct dw_mci > *host, u32 status) > static void dw_mci_handle_cd(struct dw_mci *host) > { > int i; > + i

Re: QRTR merge conflict resolution

2016-05-17 Thread Bjorn Andersson
On Tue 17 May 17:43 PDT 2016, Stephen Rothwell wrote: > Hi David, > > On Tue, 17 May 2016 14:11:54 -0400 (EDT) David Miller > wrote: > > > > From: Bjorn Andersson > > Date: Fri, 13 May 2016 15:19:09 -0700 > > > > > I have prepared the merge of net-next and the conflicting tag from the > > > Q

Re: [PATCH] sched/cputime: add steal time support to full dynticks CPU time accounting

2016-05-17 Thread Rik van Riel
On Tue, 2016-05-10 at 13:34 +0800, Wanpeng Li wrote: > From: Wanpeng Li > > This patch adds steal guest time support to full dynticks CPU time  > accounting. After commit ff9a9b4c(sched, time: Switch > VIRT_CPU_ACCOUNTING_GEN  > to jiffy granularity), time is jiffy based sampling even if it's  >

Re: [PATCH v12 05/10] arm64: Kprobes with single stepping support

2016-05-17 Thread Masami Hiramatsu
On Thu, 12 May 2016 16:01:54 +0100 James Morse wrote: > Hi David, Sandeepa, > > On 27/04/16 19:53, David Long wrote: > > From: Sandeepa Prabhu > > > diff --git a/arch/arm64/kernel/kprobes.c b/arch/arm64/kernel/kprobes.c > > new file mode 100644 > > index 000..dfa1b1f > > --- /dev/null > >

linux-next: manual merge of the akpm-current tree with the dax-misc tree

2016-05-17 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/dax.h between commit: ecdb4bf9e327 ("dax: export a low-level __dax_zero_page_range helper") from the dax-misc tree and commit: 29d44f6759f6 ("dax: add dax_get_unmapped_area for pmd mappings")

[PATCH] MM: increase safety margin provided by PF_LESS_THROTTLE

2016-05-17 Thread NeilBrown
When nfsd is exporting a filesystem over NFS which is then NFS-mounted on the local machine there is a risk of deadlock. This happens when there are lots of dirty pages in the NFS filesystem and they cause NFSD to be throttled, either in throttle_vm_writeout() or in balance_dirty_pages(). To avo

Re: [GIT] Networking

2016-05-17 Thread Emmanuel Grumbach
On Wed, May 18, 2016 at 4:00 AM, Linus Torvalds wrote: > On Tue, May 17, 2016 at 12:11 PM, David Miller wrote: >> >> Highlights: > > Lowlights: > > 1) the iwlwifi driver seems to be broken > > My laptop that uses the intel 7680 iwlwifi module no longer connects > to the network. It fails with a

linux-next: manual merge of the dax-misc tree with the nvdimm tree

2016-05-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dax-misc tree got a conflict in: fs/block_dev.c between commit: 8044aae6f374 ("Revert "block: enable dax for raw block devices"") from the nvdimm tree and commit: 02fbd139759f ("dax: Remove complete_unwritten argument") from the dax-misc tree. I

Re: 45aebeaf4f67 "ovl: Ensure upper filesystem supports d_type" breaking Docker

2016-05-17 Thread Daniel Axtens
Hi Vivek, My sincere apologies - it turns out I *was* running on xfs with ftype=0. Someone in the office had moved docker's storage without me noticing. Apologies to all whose time I wasted. Regards, Daniel Vivek Goyal writes: > On Tue, May 17, 2016 at 10:15:21AM +0200, Miklos Szeredi wrote:

Re: [PATCH 02/17] perf tools: Add evlist channel helpers

2016-05-17 Thread Wangnan (F)
On 2016/5/13 21:05, Arnaldo Carvalho de Melo wrote: Em Fri, May 13, 2016 at 07:55:59AM +, Wang Nan escreveu: In this commit sereval helpers are introduced to support the principle several of channel. Channels hold different groups of evsels which configured differently

Re: [PATCH v12 05/10] arm64: Kprobes with single stepping support

2016-05-17 Thread Masami Hiramatsu
On Tue, 17 May 2016 16:58:09 +0800 Huang Shijie wrote: > On Wed, Apr 27, 2016 at 02:53:00PM -0400, David Long wrote: > > + > > +/* > > + * Interrupts need to be disabled before single-step mode is set, and not > > + * reenabled until after single-step mode ends. > > + * Without disabling interrup

Re: [PATCH v8 13/14] usb: gadget: udc: adapt to OTG core

2016-05-17 Thread Peter Chen
On Mon, May 16, 2016 at 12:51:53PM +0300, Roger Quadros wrote: > On 16/05/16 12:23, Peter Chen wrote: > > On Mon, May 16, 2016 at 11:26:57AM +0300, Roger Quadros wrote: > >> Hi, > >> > >> On 16/05/16 10:02, Peter Chen wrote: > >>> On Fri, May 13, 2016 at 01:03:27PM +0300, Roger Quadros wrote: > >>>

Re: Re: [PATCH v8 3/5] mfd: hi655x: Add MFD driver for hi655x

2016-05-17 Thread Guodong Xu
(next-20160418) since your > > replied "Applied". Are you expecting anything else? Dependencies? > > > > I didn't see any unsolved review comments actually. But if there is, > > please let us know, so I can send an updated version. > > When I applied yo

RE: [PATCH 1/3] ACPI: table upgrade: use cacheable map for tables

2016-05-17 Thread Zheng, Lv
Hi, > From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org] > Subject: [PATCH 1/3] ACPI: table upgrade: use cacheable map for tables > > The new memory allocated in acpi_table_initrd_init() is used to > copy the upgraded tables to it. So it should be mapped with > early_memunmap() instead of

Re: [PATCH v3 3/7 UPDATE] perf tools: Add option for the path of buildid dsos under symfs

2016-05-17 Thread David Ahern
On 5/17/16 8:48 PM, Hekuang wrote: I don't understand why dso-prefix option is needed? Why make me type yet more options to the analysis command? Why can't the directory be located under the symfs tree in a known location and populated the same way it is without symfs? Because the default buid

Re: [PATCH v3 3/7 UPDATE] perf tools: Add option for the path of buildid dsos under symfs

2016-05-17 Thread Hekuang
在 2016/5/18 9:51, David Ahern 写道: On 5/17/16 7:47 PM, Hekuang wrote: 在 2016/5/16 10:50, David Ahern 写道: On 5/15/16 7:30 PM, Hekuang wrote: In previous patch, I use 'perf buildid-cache -a' to add vdso binary into the HOST buildid dir. So 'perf buildid-cache' needs the symfs option? Wit

Re: CQ and RDMA READ/WRITE APIs

2016-05-17 Thread Parav Pandit
Hi Doug, On Tue, May 17, 2016 at 11:02 PM, Doug Ledford wrote: > Nice catch there Bart. That was well before my role as maintainer and > so settles things well enough for me. IOW, I don't feel I need to worry > about trying to maintain the dual license nature of the RDMA stack as it > was broke

Re: [RFC][PATCH 5/5] sched/core: Add debug code to catch missing update_rq_clock()

2016-05-17 Thread Yuyang Du
On Tue, May 17, 2016 at 01:24:15PM +0100, Matt Fleming wrote: > So, if the code looks like the following, either now or in the future, > > static void __schedule(bool preempt) > { > ... > /* Clear RQCF_ACT_SKIP */ > rq->clock_update_flags = 0; > ... > delta = rq_clock

[PATCH] mm: fix duplicate words and typos

2016-05-17 Thread Li Peng
Signed-off-by: Li Peng --- mm/memcontrol.c | 2 +- mm/page_alloc.c | 6 +++--- mm/vmscan.c | 7 +++ mm/zswap.c | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index fe787f5..4b74255 100644 --- a/mm/memcontrol.c +++ b/mm/memcont

Re: [PATCH v12 00/10] arm64: Add kernel probes (kprobes) support

2016-05-17 Thread Huang Shijie
On Thu, May 12, 2016 at 10:26:40AM +0800, Li Bin wrote: > > > on 2016/5/11 23:33, James Morse wrote: > > Hi David, > > > > On 27/04/16 19:52, David Long wrote: > >> From: "David A. Long" > >> > >> This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, > >> first seen in Oct

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2016-05-17 Thread Jaehoon Chung
On 05/18/2016 09:47 AM, Doug Anderson wrote: > Jaehoon, > > On Mon, Mar 30, 2015 at 8:47 AM, Doug Anderson wrote: >> Jaehoon, >> >> On Sun, Mar 29, 2015 at 5:55 PM, Jaehoon Chung >> wrote: >>> Dear Doug, >>> >>> I'm considering to control HLE error..So holding this patch. >>> If this is absolut

[PATCH v2] Drivers: hv: vmbus: fix the race when querying & updating the percpu list

2016-05-17 Thread Dexuan Cui
There is a rare race when we remove an entry from the global list hv_context.percpu_list[cpu] in hv_process_channel_removal() -> percpu_channel_deq() -> list_del(): at this time, if vmbus_on_event() -> process_chn_event() -> pcpu_relid2channel() is trying to query the list, we can get the general p

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2016-05-17 Thread Shawn Lin
Hi Doug, On 2016-5-18 8:47, Doug Anderson wrote: Jaehoon, On Mon, Mar 30, 2015 at 8:47 AM, Doug Anderson wrote: Jaehoon, On Sun, Mar 29, 2015 at 5:55 PM, Jaehoon Chung wrote: Dear Doug, I'm considering to control HLE error..So holding this patch. If this is absolutely necessary patch, let

Re: [PATCH v3 3/7 UPDATE] perf tools: Add option for the path of buildid dsos under symfs

2016-05-17 Thread Hekuang
在 2016/5/16 10:50, David Ahern 写道: On 5/15/16 7:30 PM, Hekuang wrote: In previous patch, I use 'perf buildid-cache -a' to add vdso binary into the HOST buildid dir. So 'perf buildid-cache' needs the symfs option? With this patch 'PATCH v3 3/7 UPDATE', the tree of symfs dir is like this:

Re: [PATCH v3 3/7 UPDATE] perf tools: Add option for the path of buildid dsos under symfs

2016-05-17 Thread David Ahern
On 5/17/16 7:47 PM, Hekuang wrote: 在 2016/5/16 10:50, David Ahern 写道: On 5/15/16 7:30 PM, Hekuang wrote: In previous patch, I use 'perf buildid-cache -a' to add vdso binary into the HOST buildid dir. So 'perf buildid-cache' needs the symfs option? With this patch 'PATCH v3 3/7 UPDATE', t

Linux-next parallel cp workload hang

2016-05-17 Thread Xiong Zhou
Hi, Parallel cp workload (xfstests generic/273) hangs like blow. It's reproducible with a small chance, less the 1/100 i think. Have hit this in linux-next 20160504 0506 0510 trees, testing on xfs with loop or block device. Ext4 survived several rounds of testing. Linux next 20160510 tree hangs

Re: [PATCH] doc: self-protection: provide initial details

2016-05-17 Thread Kees Cook
On Tue, May 17, 2016 at 6:26 PM, Jonathan Corbet wrote: > On Mon, 16 May 2016 19:27:28 -0700 > Kees Cook wrote: > >> This document attempts to codify the intent around kernel self-protection >> along with discussion of both existing and desired technologies, with >> attention given to the rationa

[PATCH] mm: disable fault around on emulated access bit architecture

2016-05-17 Thread Minchan Kim
On Tue, May 17, 2016 at 03:34:23PM +0300, Kirill A. Shutemov wrote: > On Mon, May 16, 2016 at 11:56:32PM +0900, Minchan Kim wrote: > > On Mon, May 16, 2016 at 05:29:00PM +0300, Kirill A. Shutemov wrote: > > > > Kirill, > > > > You wanted to test non-HW access bit system and I did. > > > > What's yo

[PATCH 1/2] kprobes: add a new module parameter

2016-05-17 Thread Huang Shijie
This patch adds a new module parameter which can be used as the symbol name. With this parameter, the module becomes more flexable. Signed-off-by: Huang Shijie --- samples/kprobes/kprobe_example.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/kprobes/kprobe_exa

[PATCH 2/2] kprobes: print out the symbol name for the hooks

2016-05-17 Thread Huang Shijie
Print out the symbol name for the hooks, it makes the logs more readable. Signed-off-by: Huang Shijie --- samples/kprobes/kprobe_example.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/samples/kprobes/kprobe_example.c b/samples/kprobes/kpr

Re: [PATCH v12 10/10] kprobes: Add arm64 case in kprobe example module

2016-05-17 Thread Huang Shijie
On Tue, May 17, 2016 at 11:24:27AM +0100, Mark Brown wrote: > On Tue, May 17, 2016 at 05:57:33PM +0800, Huang Shijie wrote: > > On Wed, Apr 27, 2016 at 02:53:05PM -0400, David Long wrote: > > > > +#ifdef CONFIG_ARM64 > > > + pr_info("pre_handler: p->addr = 0x%p, pc = 0x%lx\n", > > > I think you m

Re: [f2fs-dev] [PATCH] f2fs: use bio count instead of F2FS_WRITEBACK page count

2016-05-17 Thread Jaegeuk Kim
On Wed, May 18, 2016 at 09:17:00AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/5/18 8:44, Jaegeuk Kim wrote: > > This can reduce page counting overhead. > > We change to increase one reference for one bio, but block layer can split or > merge bios by itself, and write_end will be called per b

Re: [PATCH] Staging: comedi: quatech_daqp_cs.c: fixed a warning issue

2016-05-17 Thread Amit Ghadge
On Tue, May 17, 2016 at 06:47:56AM -0700, Greg KH wrote: > A: http://en.wikipedia.org/wiki/Top_post > Q: Were do I find info about this thing called top-posting? > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q:

[PATCH v4 3/5] locking/rwsem: Don't wake up one's own task

2016-05-17 Thread Waiman Long
As rwsem_down_read_failed() will queue itself and potentially call __rwsem_do_wake(sem, RWSEM_WAKE_ANY), it is possible that a reader will try to wake up its own task. This patch adds a check to make sure that this won't happen. Signed-off-by: Waiman Long Reviewed-by: Peter Hurley --- kernel/lo

[PATCH v4 5/5] locking/rwsem: Streamline the rwsem_optimistic_spin() code

2016-05-17 Thread Waiman Long
This patch moves the owner loading and checking code entirely inside of rwsem_spin_on_owner() to simplify the logic of rwsem_optimistic_spin() loop. Suggested-by: Peter Hurley Signed-off-by: Waiman Long Reviewed-by: Peter Hurley --- kernel/locking/rwsem-xadd.c | 38 --

[PATCH v4 0/5] [PATCH v3 0/4] locking/rwsem: Add reader-owned state to the owner field

2016-05-17 Thread Waiman Long
v3->v4: - Add a new patch 2 to use WRITE_ONCE() for all rwsem->owner stores to prevent store tearing. v2->v3: - Make minor code changes as suggested by PeterZ & Peter Hurley. - Add 2 minor patches (#2 & #3) to improve the rwsem code - Add a 4th patch to streamline the rwsem_optimisti

[PATCH v4 1/5] locking/rwsem: Add reader-owned state to the owner field

2016-05-17 Thread Waiman Long
Currently, it is not possible to determine for sure if a reader owns a rwsem by looking at the content of the rwsem data structure. This patch adds a new state RWSEM_READER_OWNED to the owner field to indicate that readers currently own the lock. This enables us to address the following 2 issues in

[PATCH v4 2/5] locking/rwsem: Protect all writes to owner by WRITE_ONCE()

2016-05-17 Thread Waiman Long
Without using WRITE_ONCE(), the compiler can potentially break a write into multiple smaller ones (store tearing). So a read from the same data by another task concurrently may return a partial result. This can result in a kernel crash if the data is a memory address that is being dereferenced. Th

[PATCH v4 4/5] locking/rwsem: Improve reader wakeup code

2016-05-17 Thread Waiman Long
In __rwsem_do_wake(), the reader wakeup code will assume a writer has stolen the lock if the active reader/writer count is not 0. However, this is not as reliable an indicator as the original "< RWSEM_WAITING_BIAS" check. If another reader is present, the code will still break out and exit even if

RE: [RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume

2016-05-17 Thread Zheng, Lv
Hi, Rafael Thanks for the review. > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Wednesday, May 18, 2016 7:37 AM > To: Zheng, Lv > Cc: Wysocki, Rafael J ; Rafael J. Wysocki > ; Brown, Len ; Lv Zheng > ; Linux Kernel Mailing List ker...@vger.ker

Re: [PATCH v7 00/10] Add error checking to spi-nor read and write

2016-05-17 Thread Brian Norris
On Mon, May 16, 2016 at 09:47:20PM +0200, Michal Suchanek wrote: > Hello, > > On 6 May 2016 at 02:31, Brian Norris wrote: > > Hi, > > > > I'm picking up Michal's patch set, since he dropped it on the floor, and > > it's > > useful for others. My additions: > > > > * rebased on latest > > * add

[PATCH v2] net: Fix coding style warnings and errors.

2016-05-17 Thread Amit Ghadge
This is a patch to clean checkpatch warnings and errors in the Space.c file. Clean up the following warnings and errors. WARNING : * Block comments use * on subsequent lines * Missing a blank line after declarations * networking block comments don't use an empty /* line, use /* * please, no space

Re: [f2fs-dev] [PATCH] f2fs: use bio count instead of F2FS_WRITEBACK page count

2016-05-17 Thread Chao Yu
Hi Jaegeuk, On 2016/5/18 8:44, Jaegeuk Kim wrote: > This can reduce page counting overhead. We change to increase one reference for one bio, but block layer can split or merge bios by itself, and write_end will be called per bio, so the reference may be maintained incorrectly? Thanks, > > Sign

RE: [PATCH 2/3] ACPI: table upgrade: move early_initrd_acpi_init() to header file

2016-05-17 Thread Zheng, Lv
Hi, > From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org] > Subject: [PATCH 2/3] ACPI: table upgrade: move early_initrd_acpi_init() to > header file > > Move early_initrd_acpi_init() to header file so that > it can be used with architectures other than X86 [Lv Zheng] The patch looks OK to

Re: [PATCH 1/1] net: hns: avoid null pointer dereference

2016-05-17 Thread Yisen Zhuang
Hi Heinrich, This patch is fine to me. Thanks, Yisen 在 2016/5/18 4:01, Heinrich Schuchardt 写道: > In the statement > assert(priv || priv->ae_handle); > the right side of || is only evaluated if priv is null. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/net/ethernet/hisilicon/hns/h

Re: [PATCH] mm: unhide vmstat_text definition for CONFIG_SMP

2016-05-17 Thread Hugh Dickins
On Tue, 17 May 2016, Michal Hocko wrote: > On Mon 16-05-16 15:36:56, Andrew Morton wrote: > > On Mon, 16 May 2016 16:23:33 +0200 Michal Hocko wrote: > > > > > Andrew, I think that the following is more straightforward fix and > > > should be folded in to the patch which has introduced vmstat_refr

Re: [GIT] Networking

2016-05-17 Thread Linus Torvalds
On Tue, May 17, 2016 at 12:11 PM, David Miller wrote: > > Highlights: Lowlights: 1) the iwlwifi driver seems to be broken My laptop that uses the intel 7680 iwlwifi module no longer connects to the network. It fails with a "Microcode SW error detected." and spews out register state over and ov

[PATCH 1/1] brcm80211: simplify assignment

2016-05-17 Thread Heinrich Schuchardt
Simplify assignment in wlc_phy_rxcal_gainctrl_nphy_rev5. Signed-off-by: Heinrich Schuchardt --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c b/drivers

Re: [PATCH] powercap/rapl: Do not load in virtualized environments

2016-05-17 Thread Rafael J. Wysocki
On Tue, May 17, 2016 at 1:34 PM, Prarit Bhargava wrote: > intel_rapl is currently not supported in virtualized environments. When > booting the warning message > > intel_rapl: no valid rapl domains found in package 0 You seem to be saying that this message is problematic for some reason, so why

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2016-05-17 Thread Doug Anderson
Jaehoon, On Mon, Mar 30, 2015 at 8:47 AM, Doug Anderson wrote: > Jaehoon, > > On Sun, Mar 29, 2015 at 5:55 PM, Jaehoon Chung wrote: >> Dear Doug, >> >> I'm considering to control HLE error..So holding this patch. >> If this is absolutely necessary patch, let me know, plz. >> >> Best Regards, >>

[PATCH] f2fs: use bio count instead of F2FS_WRITEBACK page count

2016-05-17 Thread Jaegeuk Kim
This can reduce page counting overhead. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/data.c | 26 +++--- fs/f2fs/debug.c | 6 +++--- fs/f2fs/f2fs.h | 4 ++-- fs/f2fs/super.c | 2 +- 5 files changed, 22 insertions(+), 18 deletio

[PATCH 1/1] rtlwifi: rtl8192ee: simplify coding

2016-05-17 Thread Heinrich Schuchardt
Simplify _rtl92ee_phy_path_adda_on. Signed-off-by: Heinrich Schuchardt --- drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c b/drivers/net/wireless/realtek/

Re: QRTR merge conflict resolution

2016-05-17 Thread Stephen Rothwell
Hi David, On Tue, 17 May 2016 14:11:54 -0400 (EDT) David Miller wrote: > > From: Bjorn Andersson > Date: Fri, 13 May 2016 15:19:09 -0700 > > > I have prepared the merge of net-next and the conflicting tag from the > > Qualcomm SOC, please include this in your pull towards Linus to avoid > > th

Re: [PATCH] tty: vt: Fix soft lockup in fbcon cursor blink timer.

2016-05-17 Thread Ming Lei
On Wed, May 18, 2016 at 4:49 AM, Pavel Machek wrote: > On Tue 2016-05-17 11:41:04, David Daney wrote: >> From: David Daney >> >> We are getting somewhat random soft lockups with this signature: >> >> [ 86.992215] [] el1_irq+0xa0/0x10c >> [ 86.997082] [] cursor_timer_handler+0x30/0x54 >> [ 8

[PATCH] f2fs: make exit_f2fs_fs more clear

2016-05-17 Thread Tiezhu Yang
init_f2fs_fs does: 1) f2fs_build_trace_ios 2) init_inodecache 3) create_node_manager_caches 4) create_segment_manager_caches 5) create_checkpoint_caches 6) create_extent_cache 7) kset_create_and_add 8) kobject_init_and_add 9) register_shrinker 10) register_fi

RE: [PATCH 5/5] drm/amd/amdgpu : Remove unused variable

2016-05-17 Thread Zhang, Jerry
Reviewed-by: Junwei Zhang Regards, Jerry (Junwei Zhang) SRDC SW Development AMD Shanghai _ > -Original Message- > From: Muhammad Falak R Wani [mailto:falakre...@gmail.com] > Sent: Tuesday, May 17, 2016 5:43 PM > To: David Airlie > Cc: Deucher, Alexand

[PATCH] wifi: ath6kl: simplify logical condition

2016-05-17 Thread Heinrich Schuchardt
x <= 7 implies x < 8. Signed-off-by: Heinrich Schuchardt --- drivers/net/wireless/ath/ath6kl/wmi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index 631c3a0..b8cf04d 100644 --- a/drivers/net/

[PATCH v7 1/3] ASoC: cygnus: Add DT bindings for Broadcom Cygnus audio

2016-05-17 Thread Simran Rai
From: Simran Rai Add bindings for audio driver in Broadcom Cygnus. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Scott Branden Acked-by: Rob Herring --- .../bindings/sound/brcm,cygnus-audio.txt | 67 ++ 1 file changed,

[PATCH v7 0/3] ASoC: cygnus: Add audio support for Broadcom Cygnus SoC

2016-05-17 Thread Simran Rai
Hi, This patchset contains audio support for Broadcom's Cygnus SoC. It contains DT bindings and core audio driver. The audio driver supports both capture and playback of Audio PCM samples over I2S/TDM interface and provides playback support over SPDIF interface. This patchset is derived from a pr

[PATCH v7 2/3] ASoC: cygnus: Add Cygnus audio DAI driver

2016-05-17 Thread Simran Rai
This patch adds Cygnus audio DAI driver. It supports I2S, TDM and SPDIF modes and uses three clocks derived from PLL. This patchset has been tested on Cygnus wireless audio bcm958305K board. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Arun Parameswar

[PATCH v7 3/3] ASoC: cygnus: Add Cygnus audio DMA driver

2016-05-17 Thread Simran Rai
From: Simran Rai This patch adds Cygnus audio DMA driver. It supports playback and capture modes and uses ringbuffers for data transfer. Signed-off-by: Lori Hikichi Signed-off-by: Simran Rai Reviewed-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: Scott Branden --- sound/soc/bcm/Kc

[PATCH 1/1] net: pegasus: remove dead coding

2016-05-17 Thread Heinrich Schuchardt
(!count || count < 4) is always true. So let's remove the coding which is dead at least since 2005. Signed-off-by: Heinrich Schuchardt --- drivers/net/usb/pegasus.c | 53 --- 1 file changed, 53 deletions(-) diff --git a/drivers/net/usb/pegasus.c b/dri

Re: [PATCHv2] rcu: tree: correctly handle sparse possible CPUs

2016-05-17 Thread Paul E. McKenney
On Tue, May 17, 2016 at 12:01:06PM -0700, Paul E. McKenney wrote: > On Tue, May 17, 2016 at 11:22:10AM +0100, Mark Rutland wrote: > > In many cases in the RCU tree code, we iterate over the set of CPUs for > > a leaf node described by rcu_node::grplo and rcu_node::grphi, checking > > per-cpu data f

Re: [PATCH 0/5] add bus driver for Unisys s-Par paravirtualized devices to arch/x86

2016-05-17 Thread Greg KH
On Tue, May 17, 2016 at 07:49:53PM -0400, Jes Sorensen wrote: > Greg KH writes: > > On Tue, May 17, 2016 at 10:01:55AM -0400, Jes Sorensen wrote: > >> Greg KH writes: > >> > On Tue, May 17, 2016 at 03:27:56AM -0400, David Kershner wrote: > >> >> This patchset moves the visorbus driver > >> >> (fr

[GIT PULL] libata changes for v4.7-rc1

2016-05-17 Thread Tejun Heo
Hello, Linus. Trivial changes except for special case timeout bumping. I have two more libata branches which depend on SCSI and dmaengine tree respectively. I'll send pull requests for them once the prerequisite trees are pulled in. Thanks. The following changes since commit 535dac4ab5f42e040e

  1   2   3   4   5   6   7   >