Re: [PATCH v7 RESEND 0/4] mailbox: hisilicon: add Hi6220 mailbox driver

2016-02-26 Thread Wei Xu
Hi Leo and Jassi, On 26/02/2016 19:40, Jassi Brar wrote: > On Mon, Feb 15, 2016 at 7:20 PM, Leo Yan wrote: >> Hi6220 mailbox supports up to 32 channels. Each channel is unidirectional >> with a maximum message size of 8 words. I/O is performed using register >> access (there is no DMA) and the ce

Re: [PATCH 0/2][GIT PULL] Timekeeping updates to tip/timers/core for 4.6

2016-02-26 Thread Thomas Gleixner
On Fri, 26 Feb 2016, John Stultz wrote: > clocksource: introduce clocksource_freq2mult() > jiffies: use CLOCKSOURCE_MASK instead of constant Bah. You again forgot to make the first letter of the sentence upper case. Hint: There is the concept of scripts, which can automate that :) Th

Re: [PATCH 0/2][GIT PULL] Timekeeping updates to tip/timers/core for 4.6

2016-02-26 Thread Thomas Gleixner
John, On Fri, 26 Feb 2016, John Stultz wrote: > Hey Thomas, Ingo, > Here's my somewhat truncated queue for 4.6. I was hoping to > get the cross-timestamp patchset from Christopher sent along, > but he's got some last minute changes to address feedback from > Andy, so I'm holding off. > > If th

Re: [patch 20/20] rcu: Make CPU_DYING_IDLE an explicit call

2016-02-26 Thread Thomas Gleixner
On Fri, 26 Feb 2016, Paul E. McKenney wrote: > > > --- a/kernel/cpu.c > > > +++ b/kernel/cpu.c > > > @@ -762,6 +762,7 @@ void cpuhp_report_idle_dead(void) > > > BUG_ON(st->state != CPUHP_AP_OFFLINE); > > > st->state = CPUHP_AP_IDLE_DEAD; > > > complete(&st->done); > > > > What prevents the o

Re: [PATCH v3 22/22] sound/usb: Use Media Controller API to share media resources

2016-02-26 Thread Takashi Iwai
On Sat, 27 Feb 2016 03:55:39 +0100, Shuah Khan wrote: > > On 02/26/2016 01:50 PM, Takashi Iwai wrote: > > On Fri, 26 Feb 2016 21:08:43 +0100, > > Shuah Khan wrote: > >> > >> On 02/26/2016 12:55 PM, Takashi Iwai wrote: > >>> On Fri, 12 Feb 2016 00:41:38 +0100, > >>> Shuah Khan wrote: > >

Re: [patch 10/20] cpu/hotplug: Make target state writeable

2016-02-26 Thread Thomas Gleixner
Rafael, On Sat, 27 Feb 2016, Rafael J. Wysocki wrote: > On Friday, February 26, 2016 06:43:32 PM Thomas Gleixner wrote: > > Make it possible to write a target state to the per cpu state file, so we > > can > > switch between states. > > One thing that potentially may be problematic here is that

Re: [PATCH v2 3/3] scsi: allow scsi devices to use direct complete

2016-02-26 Thread Mika Westerberg
On Wed, Feb 24, 2016 at 04:22:28PM -0800, Derek Basehore wrote: > This allows scsi devices to remain runtime suspended for system > suspend. Since runtime suspend is stricter than system suspend > callbacks, this is just returning a positive number for the prepare > callback. AFAICT SCSI layer alr

Re: [PATCH v3 1/2] gpio: designware: switch device node to fwnode

2016-02-26 Thread Jiang Qiu
在 2016/2/25 21:43, Andy Shevchenko 写道: > On Thu, Feb 25, 2016 at 1:58 PM, Jiang Qiu wrote: >> 在 2016/2/24 21:46, Andy Shevchenko 写道: >>> On Wed, Feb 24, 2016 at 2:33 PM, qiujiang wrote: > >>> - why do you use fwnode_*() instead of device_property_*() calls? >>> What prevents us to move to devic

Re: [PATCH] IPIP tunnel performance improvement

2016-02-26 Thread zhao ya
Yes, I did, but have no effect. I want to ask is, why David's patch not used. Thanks. Cong Wang said, at 2/27/2016 2:29 PM: > On Fri, Feb 26, 2016 at 8:40 PM, zhao ya wrote: >> From: Zhao Ya >> Date: Sat, 27 Feb 2016 10:06:44 +0800 >> Subject: [PATCH] IPIP tunnel performance improvement >>

[PATCH v4 1/3] input: cygnus-update touchscreen dt node document

2016-02-26 Thread Raveendra Padasalagi
In Cygnus SOC touch screen controller registers are shared with ADC and flex timer. Using readl/writel could lead to race condition. So touch screen driver is enhanced to support register access using syscon framework API's to take care of mutually exclusive access.In addition to this existing touc

[PATCH v4 2/3] input: syscon support in bcm_iproc_tsc driver

2016-02-26 Thread Raveendra Padasalagi
In Cygnus SOC touch screen controller registers are shared with ADC and flex timer. Using readl/writel could lead to race condition. So touch screen driver is enhanced to support register access using syscon framework API's to take care of mutually exclusive access. Signed-off-by: Raveendra Padasa

[PATCH v4 3/3] ARM: dts: use syscon in cygnus touchscreen dt node

2016-02-26 Thread Raveendra Padasalagi
In Cygnus SOC touch screen controller registers are shared with ADC and flex timer. Using readl/writel could lead to race condition. So touchscreen driver is enhanced to support syscon based register access to take care of mutually exclusive access. This patch enables syscon support in touchscreen

[PATCH v4 0/3] Syscon support for iProc touchscreen driver

2016-02-26 Thread Raveendra Padasalagi
This patchset is based on v4.5-rc3 tag and its tested on Broadcom Cygnus SoC. The patches can be fetched from iproc-tsc-v4 branch of https://github.com/Broadcom/arm64-linux.git Changes since v3: - Renamed touchscreen node "tsc" to "touchscreen" in dt binding document - Added support for syscon

Re: [PATCH v4 1/1] ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list

2016-02-26 Thread John Dahlstrom
On Fri, 26 Feb 2016, Darren Hart wrote: On Mon, Feb 22, 2016 at 10:29:48PM -0600, John Dahlstrom wrote: [...] Thank you for that information. One commit is sufficient to apply the patch to all kernel versions without fuzz: 4fa9dab ideapad_laptop: Lenovo G50-30 fix rfkill reports wireless block

Re: [PATCH v2 1/3] input: cygnus-update touchscreen dt node document

2016-02-26 Thread Raveendra Padasalagi
Thanks Scott and Ray for the inputs. I will implement syscon only register access and send out the changes in patch set - v4. Regards, Raveendra On Tue, Feb 23, 2016 at 1:18 AM, Ray Jui wrote: > > > On 2/22/2016 11:41 AM, Scott Branden wrote: >> >> My comments below >> >> On 16-02-22 11:36 AM, D

Re: [RFC][PATCH v2 3/3] mm/zsmalloc: increase ZS_MAX_PAGES_PER_ZSPAGE

2016-02-26 Thread Sergey Senozhatsky
Hello Minchan, sorry for very long reply. On (02/24/16 01:05), Minchan Kim wrote: [..] > > And the thing is -- quite huge internal class fragmentation. These are the > > 'normal' > > classes, not affected by ORDER modification in any way: > > > > class size almost_full almost_empty obj_alloca

Re: [PATCH] IPIP tunnel performance improvement

2016-02-26 Thread Cong Wang
On Fri, Feb 26, 2016 at 8:40 PM, zhao ya wrote: > From: Zhao Ya > Date: Sat, 27 Feb 2016 10:06:44 +0800 > Subject: [PATCH] IPIP tunnel performance improvement > > bypass the logic of each packet's own neighbour creation when using > pointopint or loopback device. > > Recently, in our tests, met a

Re: [PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-02-26 Thread H. Peter Anvin
On 02/26/16 16:40, Mathieu Desnoyers wrote: I think it would be a good idea to make this a general pointer for the kernel to be able to write per thread state to user space, which obviously can't be done with the vDSO. This means the libc per thread startup should query the kernel for the size

[PATCH] mm/zsmalloc: add compact column to pool stat

2016-02-26 Thread Sergey Senozhatsky
Add a new column to pool stats, which will tell us class' zs_can_compact() number, so it will be easier to analyze zsmalloc fragmentation. At the moment, we have only numbers of FULL and ALMOST_EMPTY classes, but they don't tell us how badly the class is fragmented internally. The new /sys/kernel

[PATCH v6 1/1] ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list

2016-02-26 Thread John Dahlstrom
Some Lenovo ideapad models lack a physical rfkill switch. On Lenovo models ideapad Y700 Touch-15ISK and ideapad Y700-15ISK, ideapad-laptop would wrongly report all radios as blocked by hardware which caused wireless network connections to fail. Add these models without an rfkill switch to the no_

[net-next][PATCH 03/13] MAINTAINERS: update RDS entry

2016-02-26 Thread Santosh Shilimkar
Acked-by: Chien Yen Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 355e1c8..9d79bea 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9081,10 +9081,14 @@ S:

[net-next][PATCH 01/13] RDS: Drop stale iWARP RDMA transport

2016-02-26 Thread Santosh Shilimkar
RDS iWarp support code has become stale and non testable. As indicated earlier, am dropping the support for it. If new iWarp user(s) shows up in future, we can adapat the RDS IB transprt for the special RDMA READ sink case. iWarp needs an MR for the RDMA READ sink. Signed-off-by: Santosh Shilimka

[net-next][PATCH 02/13] RDS: Add support for SO_TIMESTAMP for incoming messages

2016-02-26 Thread Santosh Shilimkar
The SO_TIMESTAMP generates time stamp for each incoming RDS messages User app can enable it by using SO_TIMESTAMP setsocketopt() at SOL_SOCKET level. CMSG data of cmsg type SO_TIMESTAMP contains the time stamp in struct timeval format. Reviewed-by: Sowmini Varadhan Signed-off-by: Santosh Shilimka

[net-next][PATCH 05/13] RDS: IB: Re-organise ibmr code

2016-02-26 Thread Santosh Shilimkar
No functional changes. This is in preperation towards adding fastreg memory resgitration support. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/Makefile | 2 +- net/rds/ib.c | 37 +++--- net/rds/ib.h | 25 +--- net/rds/ib_fmr.c | 217 +

[net-next][PATCH 11/13] RDS: IB: add Fastreg MR (FRMR) detection support

2016-02-26 Thread Santosh Shilimkar
Discovere Fast Memmory Registration support using IB device IB_DEVICE_MEM_MGT_EXTENSIONS. Certain HCA might support just FRMR or FMR or both FMR and FRWR. In case both mr type are supported, default FMR is used. Using module parameter 'prefer_frmr', user can choose its preferred MR method for RDS.

[net-next][PATCH 09/13] RDS: IB: handle the RDMA CM time wait event

2016-02-26 Thread Santosh Shilimkar
Drop the RDS connection on RDMA_CM_EVENT_TIMEWAIT_EXIT so that it can reconnect and resume. While testing fastreg, this error happened in couple of tests but was getting un-noticed. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 8 1 f

[net-next][PATCH 00/13] RDS: Major clean-up with couple of new features for 4.6

2016-02-26 Thread Santosh Shilimkar
Series is generated against net-next but also applies against Linus's tip cleanly. The diff-stat looks bit scary since almost ~4K lines of code is getting removed. Brief summary of the series: - Drop the stale iWARP support: RDS iWarp support code has become stale and non testable for

[net-next][PATCH 10/13] RDS: IB: add mr reused stats

2016-02-26 Thread Santosh Shilimkar
Add MR reuse statistics to RDS IB transport. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 ++ net/rds/ib_rdma.c | 7 ++- net/rds/ib_stats.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h ind

[net-next][PATCH 13/13] RDS: IB: Support Fastreg MR (FRMR) memory registration mode

2016-02-26 Thread Santosh Shilimkar
From: Avinash Repaka Fastreg MR(FRMR) is another method with which one can register memory to HCA. Some of the newer HCAs supports only fastreg mr mode, so we need to add support for it to RDS to have RDS functional on them. Some of the older HCAs support both FMR and FRMR modes. So to try out F

[net-next][PATCH 12/13] RDS: IB: allocate extra space on queues for FRMR support

2016-02-26 Thread Santosh Shilimkar
Fastreg MR(FRMR) memory registration and invalidation makes use of work request and completion queues for its operation. Patch allocates extra queue space towards these operation(s). Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 4 net/rds/ib_cm.c

[net-next][PATCH 08/13] RDS: IB: add connection info to ibmr

2016-02-26 Thread Santosh Shilimkar
Preperatory patch for FRMR support. From connection info, we can retrieve cm_id which contains qp handled needed for work request posting. We also need to drop the RDS connection on QP error states where connection handle becomes useful. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Sh

[net-next][PATCH 07/13] RDS: IB: move FMR code to its own file

2016-02-26 Thread Santosh Shilimkar
No functional change. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_fmr.c | 126 +- net/rds/ib_mr.h | 6 +++ net/rds/ib_rdma.c | 105 ++--- 3 files changed, 133 in

[net-next][PATCH 06/13] RDS: IB: create struct rds_ib_fmr

2016-02-26 Thread Santosh Shilimkar
Keep fmr related filed in its own struct. Fastreg MR structure will be added to the union. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_fmr.c | 17 ++--- net/rds/ib_mr.h | 11 +-- net/rds/ib_rdma.c | 14 ++ 3 files changed,

[net-next][PATCH 04/13] RDS: IB: Remove the RDS_IB_SEND_OP dependency

2016-02-26 Thread Santosh Shilimkar
This helps to combine asynchronous fastreg MR completion handler with send completion handler. No functional change. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 1 - net/rds/ib_cm.c | 42 +++--- net/rds/ib_sen

Re: [PATCH] IPIP tunnel performance improvement

2016-02-26 Thread zhao ya
BTW,before the version 3.5 kernel, the source code contains the logic. 2.6.32, for example, in arp_bind_neighbour function, there are the following logic: __be32 nexthop = ((struct rtable *) DST) - > rt_gateway; if (dev - > flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) nexthop = 0; n = __neigh_looku

[PATCH] IPIP tunnel performance improvement

2016-02-26 Thread zhao ya
From: Zhao Ya Date: Sat, 27 Feb 2016 10:06:44 +0800 Subject: [PATCH] IPIP tunnel performance improvement bypass the logic of each packet's own neighbour creation when using pointopint or loopback device. Recently, in our tests, met a performance problem. In a large number of packets with differ

RE: [PATCH 5/5] hv: Track allocations of children of hv_vmbus in private resource tree

2016-02-26 Thread Jake Oshins
> -Original Message- > From: KY Srinivasan > Sent: Friday, February 26, 2016 5:09 PM > To: Jake Oshins ; linux-...@vger.kernel.org; > gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; Haiyang

Re: [RFC/RFT][PATCH v4 1/2] cpufreq: New governor using utilization data from the scheduler

2016-02-26 Thread Steve Muckle
On 02/25/2016 01:14 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Add a new cpufreq scaling governor, called "schedutil", that uses > scheduler-provided CPU utilization information as input for making > its decisions. > > Doing that is possible after commit fe7034338ba0 (cpufreq: Ad

Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-02-26 Thread Steve Muckle
On 02/26/2016 06:39 PM, Rafael J. Wysocki wrote: >>> One thing I personally like in the RCU-based approach is its universality. >>> The >>> callbacks may be installed by different entities in a uniform way: >>> intel_pstate >>> can do that, the old governors can do that, my experimental scheduti

Re: [PATCH v12 4/5] arm64, numa: Add NUMA support for arm64 platforms.

2016-02-26 Thread Ganapatrao Kulkarni
On Sat, Feb 27, 2016 at 1:21 AM, David Daney wrote: > On 02/26/2016 10:53 AM, Will Deacon wrote: > [...] >>> >>> diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c >>> new file mode 100644 >>> index 000..604e886 >>> --- /dev/null >>> +++ b/arch/arm64/mm/numa.c >>> @@ -0,0 +1,403 @@ > > [

Re: [PATCH] printk/nmi: restore printk_func in nmi_panic

2016-02-26 Thread Sergey Senozhatsky
On (02/27/16 12:09), Sergey Senozhatsky wrote: > On (02/27/16 11:19), Sergey Senozhatsky wrote: > [..] > > > I think about a compromise. We should try to get the messages > > > out only when kdump is not enabled. > > > > can we zap_locks() if we are on > > nmi_panic()->panic()->console_flush_on_p

Re: [PATCH V2 11/12] net-next: mediatek: add Kconfig and Makefile

2016-02-26 Thread kbuild test robot
Hi John, [auto build test ERROR on net/master] [also build test ERROR on v4.5-rc5 next-20160226] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/John-Crispin/net-next-mediatek-add-ethernet

[PATCH 1/2] clocksource: introduce clocksource_freq2mult()

2016-02-26 Thread John Stultz
From: Alexander Kuleshov The clocksource_khz2mult() and clocksource_hz2mult() share similar code wihch calculates a mult from the given frequency. Both implementations in differ only in value of a frequency. This patch introduces the clocksource_freq2mult() helper with generic implementation of m

Re: [PATCH net-next 7/9] net: dsa: mv88e6xxx: restore VLANTable map control

2016-02-26 Thread Andrew Lunn
On Fri, Feb 26, 2016 at 10:47:38PM +, Kevin Smith wrote: > Hi Andrew, > > On 02/26/2016 04:35 PM, Andrew Lunn wrote: > > On Fri, Feb 26, 2016 at 10:12:28PM +, Kevin Smith wrote: > >> Hi Vivien, Andrew, > >> > >> On 02/26/2016 03:37 PM, Vivien Didelot wrote: > >>> Here, 5 is the CPU port an

[PATCH 0/2][GIT PULL] Timekeeping updates to tip/timers/core for 4.6

2016-02-26 Thread John Stultz
Hey Thomas, Ingo, Here's my somewhat truncated queue for 4.6. I was hoping to get the cross-timestamp patchset from Christopher sent along, but he's got some last minute changes to address feedback from Andy, so I'm holding off. If the response is good for that last change, I may try to send ano

[PATCH 2/2] jiffies: use CLOCKSOURCE_MASK instead of constant

2016-02-26 Thread John Stultz
From: Alexander Kuleshov The CLOCKSOURCE_MASK(32) macro expands to the same value, but makes code more readable. Cc: Thomas Gleixner Cc: Prarit Bhargava Cc: Richard Cochran Cc: Ingo Molnar Signed-off-by: Alexander Kuleshov Signed-off-by: John Stultz --- kernel/time/jiffies.c | 2 +- 1 fil

Re: [PATCH] printk/nmi: restore printk_func in nmi_panic

2016-02-26 Thread Sergey Senozhatsky
On (02/27/16 11:19), Sergey Senozhatsky wrote: [..] > > I think about a compromise. We should try to get the messages > > out only when kdump is not enabled. > > can we zap_locks() if we are on > nmi_panic()->panic()->console_flush_on_panic() path? > console_flush_on_panic() is happening after we

Re: [PATCH v3 22/22] sound/usb: Use Media Controller API to share media resources

2016-02-26 Thread Shuah Khan
On 02/26/2016 01:50 PM, Takashi Iwai wrote: > On Fri, 26 Feb 2016 21:08:43 +0100, > Shuah Khan wrote: >> >> On 02/26/2016 12:55 PM, Takashi Iwai wrote: >>> On Fri, 12 Feb 2016 00:41:38 +0100, >>> Shuah Khan wrote: Change ALSA driver to use Media Controller API to share media resource

Re: [PATCH trivial] include/linux/gfp.h: Improve the coding styles

2016-02-26 Thread Theodore Ts'o
On Fri, Feb 26, 2016 at 11:26:02PM +0800, Chen Gang wrote: > > As for coding style, actually IMHO this patch is even _not_ a coding > > style, more like a code shuffle, indeed. > > > > "80 column limitation" is about coding style, I guess, all of us agree > with it. No, it's been accepted that c

Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-02-26 Thread Rafael J. Wysocki
On Thursday, February 25, 2016 04:34:23 PM Steve Muckle wrote: > On 02/24/2016 07:55 PM, Rafael J. Wysocki wrote: > > Hi, [cut] > > One thing I personally like in the RCU-based approach is its universality. > > The > > callbacks may be installed by different entities in a uniform way: > > inte

Re: [patch 20/20] rcu: Make CPU_DYING_IDLE an explicit call

2016-02-26 Thread Paul E. McKenney
On Fri, Feb 26, 2016 at 06:14:29PM -0800, Paul E. McKenney wrote: > On Fri, Feb 26, 2016 at 06:43:44PM -, Thomas Gleixner wrote: > > Make the RCU CPU_DYING_IDLE callback an explicit function call, so it gets > > invoked at the proper place. > > > > Signed-off-by: Thomas Gleixner > > A questi

Re: [PATCH] printk/nmi: restore printk_func in nmi_panic

2016-02-26 Thread Sergey Senozhatsky
Hello Petr, On (02/26/16 15:57), Petr Mladek wrote: > On Fri 2016-02-26 12:37:20, Sergey Senozhatsky wrote: > > When watchdog detects a hardlockup and calls nmi_panic() `printk_func' > > must be restored via printk_nmi_exit() call, so panic() will be able > > to flush nmi buf and show backtrace an

Re: [PATCH v4 5/5] staging/android: add flags member to sync ioctl structs

2016-02-26 Thread Emil Velikov
Hi Gustavo, On 26 February 2016 at 18:31, Gustavo Padovan wrote: > From: Gustavo Padovan > > Play safe and add flags member to all structs. So we don't need to > break API or create new IOCTL in the future if new features that requires > flags arises. > > v2: check if flags are valid (zero, in t

Re: [PATCH] staging/android: refactor SYNC_IOC_FILE_INFO

2016-02-26 Thread Emil Velikov
Hi Gustavo, On 26 February 2016 at 21:00, Gustavo Padovan wrote: > From: Gustavo Padovan > > Change SYNC_IOC_FILE_INFO behaviour to avoid future API breaks and > optimize buffer allocation. In the new approach the ioctl needs to be called > twice to retrieve the array of fence_infos pointed by i

Re: [patch 20/20] rcu: Make CPU_DYING_IDLE an explicit call

2016-02-26 Thread Paul E. McKenney
On Fri, Feb 26, 2016 at 06:43:44PM -, Thomas Gleixner wrote: > Make the RCU CPU_DYING_IDLE callback an explicit function call, so it gets > invoked at the proper place. > > Signed-off-by: Thomas Gleixner A question below... > --- > include/linux/cpu.h |4 +--- > include/linux/noti

[PATCH] AHCI: Remove obsolete Intel Lewisburg SATA RAID device IDs

2016-02-26 Thread scott . lawson
From: Scott Lawson These PCI device IDs have been removed from the Intel Lewisburg design specification. They are no longer needed. Signed-off-by: Scott Lawson --- drivers/ata/ahci.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 546a369..9

[RFC] AHCI: Remove conflicting Intel Lewisburg 3rd-party SATA RAID device IDs

2016-02-26 Thread scott . lawson
From: Scott Lawson These PCI device IDs in the AHCI driver conflict with proprietary drivers, preventing them from loading. Signed-off-by: Scott Lawson --- drivers/ata/ahci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 546a369..3394492 100

Re: [PATCH v2 0/8] mtd: spi-nor: locking fixes and updates

2016-02-26 Thread Ezequiel Garcia
On 29 Jan 11:25 AM, Brian Norris wrote: > Hi, > > These are an assortment of fixes and updates to the SPI NOR lock/unlock > feature. The biggest new features are: > (a) Status Register protection; I don't see why this shouldn't be enabled by > default. See patch 4's description. > (b) Bottom-b

Re: [PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec

2016-02-26 Thread Mark Brown
On Fri, Feb 26, 2016 at 10:04:15PM +0100, Robert Jarzmik wrote: > Ok, let me think about it and propose something, an approach. > I must admit I like the structure I saw in drivers/amba/bus.c, ie. to have > something like : ... > Well, if I'm totally mistaken, tell me. If not it will take me a

Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640

2016-02-26 Thread Mark Brown
On Fri, Feb 26, 2016 at 09:43:15AM -0600, Pierre-Louis Bossart wrote: > Yes there are documentation and helpers I looked into, but to the best of my > limited knowledge not for the gate + dual-rate case. Then you jump to > complicated configurations combining multiple base clocks that don't really

Re: [PATCH] mtd: nand: pxa3xx_nand: fix dmaengine initialization

2016-02-26 Thread Ezequiel Garcia
On 12 February 2016 at 19:29, Robert Jarzmik wrote: > When the driver is initialized in a pure device-tree platform, the > driver's probe fails allocating the dma channel : > [ 525.624435] pxa3xx-nand 4310.nand: no resource defined for data DMA > [ 525.632088] pxa3xx-nand 4310.nand: allo

Re: [PATCH v3 6/8] arm64: dts: qcom: fix usb digital voltage levels

2016-02-26 Thread Stephen Boyd
On 02/25, Andy Gross wrote: > > On 25 February 2016 at 05:21, Srinivas Kandagatla > > wrote: > >> > >> Andy/Bjorn, any comments on plans on corner regulators? > >> > >> Please note, that this is a patch to fix what is already in the mainline. > >> Without this patch the regulator would be configu

Re: [PATCH] Rename "trigger" reset reason "hw watchdog"

2016-02-26 Thread Guenter Roeck
On 02/26/2016 08:05 AM, Martyn Welch wrote: The Zodiac watchdog is implemented on a microcontoller. The reset reason currently labelled "trigger" is not to detect when the watchdog has triggered (as had been initially understood and suggested by the naming), but to inform the reader that the watc

Re: [PATCH v4 4/7] arch, ftrace: For KASAN put hard/soft IRQ entries into separate sections

2016-02-26 Thread kbuild test robot
Hi Alexander, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.5-rc5] [cannot apply to next-20160226] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Alexander-Potapenko

Re: [PATCH v3 2/2] watchdog: pic32-wdt: Add PIC32 watchdog driver

2016-02-26 Thread Guenter Roeck
On 02/26/2016 09:19 AM, Joshua Henderson wrote: Add support for the watchdog peripheral found on PIC32 class devices. Signed-off-by: Joshua Henderson Signed-off-by: Purna Chandra Mandal Cc: Ralf Baechle Reviewed-by: Guenter Roeck --- Note: Please merge this patch series through the MIPS

[PATCH] watchdog: Add 'action' and 'data' parameters to restart handler callback

2016-02-26 Thread Guenter Roeck
The 'action' (or restart mode) and data parameters may be used by restart handlers, so they should be passed to the restart callback functions. Cc: Sylvain Lemieux Signed-off-by: Guenter Roeck --- drivers/watchdog/bcm47xx_wdt.c | 3 ++- drivers/watchdog/da9063_wdt.c| 3 ++- drivers/watchd

RE: [PATCH 5/5] hv: Track allocations of children of hv_vmbus in private resource tree

2016-02-26 Thread KY Srinivasan
> -Original Message- > From: ja...@microsoft.com [mailto:ja...@microsoft.com] > Sent: Wednesday, February 24, 2016 1:24 PM > To: linux-...@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan > ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@cano

Re: [PATCH v1] kasan, arm64: Unpoison dirty stack frames when resuming from suspend.

2016-02-26 Thread kbuild test robot
Hi Alexander, [auto build test WARNING on arm64/for-next/core] [also build test WARNING on v4.5-rc5 next-20160226] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Alexander-Potapenko/kasan

Re: [f2fs-dev] [PATCH v2] f2fs crypto: fix incorrect positioning for GCing encrypted data page

2016-02-26 Thread Chao Yu
Hi Jaegeuk, On 2016/2/27 3:50, Jaegeuk Kim wrote: > Hi Chao, > > On Tue, Feb 23, 2016 at 05:52:43PM +0800, Chao Yu wrote: >> For now, flow of GCing an encrypted data page: >> 1) try to grab meta page in meta inode's mapping with index of old block >> address of that data page >> 2) load data of c

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: remove clock tree on error path

2016-02-26 Thread Stephen Boyd
On 02/19, Andy Shevchenko wrote: > There is a potential resource leak in case when ->probe() fails. We have to > unregister and remove clock tree which is done here. > > This is a follow up to previously pushed commit c4726abce63b ("mfd: > intel_quark_i2c_gpio: Use clkdev_create()") that prevents

Re: [PATCH] kexec: Make a pair of map/unmap reserved pages in error path

2016-02-26 Thread Andrew Morton
On Thu, 25 Feb 2016 22:02:40 +0800 Minfei Huang wrote: > From: Minfei Huang > > For some arch, kexec shall map the reserved pages, then use them, when > we try to start the kdump service. > > kexec may return directly, without unmaping the reserved pages, if it > fails during starting service.

[PATCH] f2fs: mutex can't be used by down_write_nest_lock()

2016-02-26 Thread Yang Shi
fsf2_lock_all() calls down_write_nest_lock() to acquire a rw_sem and check a mutex, but down_write_nest_lock() is designed for two rw_sem accoring to the comment in include/linux/rwsem.h. And, other than f2fs, it is just called in mm/mmap.c with two rwsem. So, it looks it is used wrongly by f2fs.

Re: [PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-02-26 Thread Mathieu Desnoyers
- On Feb 26, 2016, at 6:04 PM, H. Peter Anvin h...@zytor.com wrote: > On February 26, 2016 12:24:15 PM PST, Mathieu Desnoyers > wrote: >>- On Feb 26, 2016, at 1:01 PM, Thomas Gleixner t...@linutronix.de >>wrote: >> >>> On Fri, 26 Feb 2016, Mathieu Desnoyers wrote: - On Feb 26, 20

[PATCH 2/2] perf, tools, script: Add support for printing assembler

2016-02-26 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the udis86 library to implement assembler outp

[PATCH 1/2] perf, tools: Add support for skipping itrace instructions

2016-02-26 Thread Andi Kleen
From: Andi Kleen When using perf script to look at PT traces it is often useful to ignore the initialization code at the beginning. On larger traces which may have many millions of instructions in initialization code doing that in a pipeline can be very slow, with perf script spending a lot of C

[PATCH 2/6] perf, tools, stat: Implement CSV metrics output

2016-02-26 Thread Andi Kleen
From: Andi Kleen Now support CSV output for metrics. With the new output callbacks this is relatively straight forward by creating new callbacks. This allows to easily plot metrics from CSV files. The new line callback needs to know the number of fields to skip them correctly Example output be

[PATCH 6/6] perf, tools, stat: Add --metric-only support for -A

2016-02-26 Thread Andi Kleen
From: Andi Kleen Add metric only support for -A too. This requires a new print function that prints the metrics in the right order. v2: Fix manpage Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-stat.txt | 2 +- tools/perf/builtin-stat.c | 48

perf, tools: Refactor and support interval and CSV metrics

2016-02-26 Thread Andi Kleen
[v5: Fix mainly bisect problems. No regressions introduced by one patch and fixed again later. Some minor fixes in addition] [v6: Fix running/noise printing patch.] [v7: Reorder and merge two patches to avoid a bisect hole where unsupported was printed as 0] [v8: Minor fixes for review feedback. Se

[PATCH 3/6] perf, tools, stat: Support metrics in --per-core/socket mode

2016-02-26 Thread Andi Kleen
From: Andi Kleen Enable metrics printing in --per-core / --per-socket mode. We need to save the shadow metrics in a unique place. Always use the first CPU in the aggregation. Then use the same CPU to retrieve the shadow value later. Example output: % perf stat --per-core -a ./BC1s Performance

[PATCH 5/6] perf, tools, stat: Implement --metric-only mode

2016-02-26 Thread Andi Kleen
From: Andi Kleen Add a new mode to only print metrics. Sometimes we don't care about the raw values, just want the computed metrics. This allows more compact printing, so with -I each sample is only a single line. This also allows easier plotting and processing with other tools. The main target

[PATCH 4/6] perf, tools, stat: Document CSV format in manpage

2016-02-26 Thread Andi Kleen
From: Andi Kleen With all the recently added fields in the perf stat CSV output we should finally document them in the man page. Do this here. v2: Fix fields in documentation (Jiri) v3: fix order of fields again (Jiri) v4: Change order again. Signed-off-by: Andi Kleen --- tools/perf/Documentat

[PATCH 1/6] perf, tools, stat: Check existence of frontend/backed stalled cycles

2016-02-26 Thread Andi Kleen
From: Andi Kleen Only put the frontend/backend stalled cycles into the default perf stat events when the CPU actually supports them. This avoids empty columns with --metric-only on newer Intel CPUs. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 22 -- 1 file ch

Re: [RFC v2 2/6] x86/init: use linker tables to simplify x86 init and annotate dependencies

2016-02-26 Thread Luis R. Rodriguez
On Fri, Feb 19, 2016 at 11:30:43PM -0800, Andy Lutomirski wrote: > On Fri, Feb 19, 2016 at 4:42 PM, Luis R. Rodriguez wrote: > > On Fri, Feb 19, 2016 at 08:40:49AM -0800, Andy Lutomirski wrote: > >> On Fri, Feb 19, 2016 at 6:15 AM, Luis R. Rodriguez > >> wrote: > >> And here, I don't even know w

Re: [RFC/RFT][PATCH v4 1/2] cpufreq: New governor using utilization data from the scheduler

2016-02-26 Thread Rafael J. Wysocki
On Thursday, February 25, 2016 10:14:35 PM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Add a new cpufreq scaling governor, called "schedutil", that uses > scheduler-provided CPU utilization information as input for making > its decisions. > > Doing that is possible after commit fe7034

Accept my warmest greetings to you.

2016-02-26 Thread Mrs. Wendy Louis
Accept my warmest greetings to you. My names are Mrs. Wendy Louis, I live in New York City, I want to entrust a huge amount of money in your care. I will tell you the reasons for my actions immediately I received your respond. Best Regards Mrs. Wendy Louis

Re: [PATCH v2] clk: check the actual phase if get_phase is provided

2016-02-26 Thread Stephen Boyd
On 02/26, Shawn Lin wrote: > On 2016/2/26 7:14, Stephen Boyd wrote: > >On 02/18, Shawn Lin wrote: > >>set_phase does sanity checking of degree and ask sub-driver > > [...] > > >>already there. > >> > >>Signed-off-by: Shawn Lin > >> > >>--- > > > >Knee jerk reaction is why does the provider code

[PATCH v4 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot

2016-02-26 Thread K. Y. Srinivasan
tree: https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgit.kernel.org%2fpub%2fscm%2flinux%2fkernel%2fgit%2ftorvalds%2flinux.git&data=01%7c01%7ckys%40microsoft.com%7ce2e0622715844b79ad7108d32796ec3c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=ubr4GbBaNS%2ftOz%2buJBk0CL9N0UNG9x2Ti

[GIT PULL] clk fixes for v4.5-rc5

2016-02-26 Thread Stephen Boyd
The following changes since commit 4462b4bbfc33a44f19710ead784ff361bda2c3b3: clk: gpio: Really allow an optional clock= DT property (2016-02-18 19:10:22 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for

Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-02-26 Thread Rafael J. Wysocki
On Friday, February 26, 2016 10:18:43 AM Peter Zijlstra wrote: > On Thu, Feb 25, 2016 at 10:08:48PM +0100, Rafael J. Wysocki wrote: > > On Thursday, February 25, 2016 10:28:37 AM Peter Zijlstra wrote: > > > Its vile though; one should not spray IPIs if one can avoid it. Such > > > things are much b

RE: [PATCH 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot

2016-02-26 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Friday, February 26, 2016 3:33 PM > To: KY Srinivasan ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infradead.org; linux

Re: [PATCH v10 1/2] cpufreq: powernv: Fix bugs in powernv_cpufreq_{init/exit}

2016-02-26 Thread Rafael J. Wysocki
On Friday, February 26, 2016 04:15:00 PM Viresh Kumar wrote: > On 26-02-16, 16:06, Shilpasri G Bhat wrote: > > Unregister the notifiers if cpufreq_driver_register() fails in > > powernv_cpufreq_init(). Re-arrange the unregistration and cleanup routines > > in powernv_cpufreq_exit() to free all the

Re: [isocpp-parallel] Proposal for new memory_order_consume definition

2016-02-26 Thread Lawrence Crowl
On 2/25/16, Hans Boehm wrote: > If carries_dependency affects semantics, then it should not be an > attribute. > > The original design, or at least my understanding of it, was that it not > have semantics; it was only a suggestion to the compiler that it should > preserve dependencies instead of i

Re: [PATCH] cpufreq: qoriq depends on thermal

2016-02-26 Thread Rafael J. Wysocki
On Friday, February 26, 2016 08:50:15 PM Viresh Kumar wrote: > On 26-02-16, 13:22, Arnd Bergmann wrote: > > The thermal subsystem can be a loadable module, so the qoriq driver has to > > be > > a module in that case as well in order to call of_cpufreq_cooling_register: > > > > drivers/built-in.o:

Re: [PATCH 3/6] perf, tools, stat: Support metrics in --per-core/socket mode

2016-02-26 Thread Andi Kleen
> > + > > static void print_aggr(char *prefix) > > { > > FILE *output = stat_config.output; > > @@ -982,6 +1024,8 @@ static void print_aggr(char *prefix) > > if (!(aggr_map || aggr_get_id)) > > return; > > > > + aggr_update_shadow(); > > this should be called from perf_st

Re: [PATCH] tools lib traceevent: Add '~' operation within arg_num_eval()

2016-02-26 Thread David Ahern
On 2/26/16 4:13 PM, Steven Rostedt wrote: When evaluating values for print flags, if the value included a '~' operator, the parsing would fail. This broke kmalloc's parsing of: __print_flags(REC->gfp_flags, "|", {(unsigned long)((( gfp_t)(0x40u|0x200u)) | (( gfp_t)0x40u) | (( gfp_t)0

Re: [patch 10/20] cpu/hotplug: Make target state writeable

2016-02-26 Thread Rafael J. Wysocki
Hi Thomas, On Friday, February 26, 2016 06:43:32 PM Thomas Gleixner wrote: > Make it possible to write a target state to the per cpu state file, so we can > switch between states. One thing that potentially may be problematic here is that any kind of "offline" operations needs to be carried out u

RE: [PATCH] storvsc: use small sg_tablesize on x86

2016-02-26 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Thursday, January 28, 2016 7:37 AM > To: Olaf Hering > Cc: KY Srinivasan ; Haiyang Zhang > ; linux-kernel@vger.kernel.org; linux- > s...@vger.kernel.org > Subject: Re: [PATCH] storvsc: use

[ANNOUNCE] Git v2.8.0-rc0

2016-02-26 Thread Junio C Hamano
An early preview release Git v2.8.0-rc0 is now available for testing at the usual places. It is comprised of 436 non-merge commits since v2.7.0, contributed by 58 people, 19 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The following

Re: [PATCH] tools lib traceevent: Add '~' operation within arg_num_eval()

2016-02-26 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 26, 2016 at 06:13:28PM -0500, Steven Rostedt escreveu: > When evaluating values for print flags, if the value included a '~' > operator, the parsing would fail. This broke kmalloc's parsing of: > > __print_flags(REC->gfp_flags, "|", {(unsigned > long)((( gfp_t)(0x40u|0x200u

[RFC V3 PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

2016-02-26 Thread Yang Shi
commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to report cgroup") made writeback tracepoints report cgroup writeback, but it may trigger the below bug on -rt kernel since kernfs_path and kernfs_path_len are called by tracepoints, which acquire sleeping loc

  1   2   3   4   5   6   7   8   9   10   >