Re: [PATCH net 09/10] net: hns: adds limitation for debug port mtu

2016-03-21 Thread Yisen Zhuang
在 2016/3/21 22:17, Sergei Shtylyov 写道: > Hello. > > On 03/21/2016 02:06 PM, Yisen Zhuang wrote: > >> From: Kejian Yan >> >> If mtu for debug port is set more than 1500, it may cause that packets >> are dropped by ppe. So maximum value for debug port should be 1500. >> >> Signed-off-by: Kejian

Re: [PATCH] cpufreq: rockchip: add driver

2016-03-21 Thread Feng Xiao
I get it, thanks. 在 2016/3/21 23:52, Heiko Stübner 写道: Am Montag, 21. März 2016, 16:13:40 schrieb Heiko Stübner: Hi, Am Montag, 21. März 2016, 21:24:32 schrieb Feng Xiao: 在 2016/3/21 17:58, Viresh Kumar 写道: On 21-03-16, 10:54, Heiko Stübner wrote: I hadn't seen that yet ... nice that cpufre

RE: [PATCH v2 3/3] Make core_pattern support namespace

2016-03-21 Thread Zhao Lei
Hi, Eric > -Original Message- > From: Eric W. Biederman [mailto:ebied...@xmission.com] > Sent: Tuesday, March 22, 2016 5:25 AM > To: Zhao Lei > Cc: linux-kernel@vger.kernel.org; contain...@lists.linux-foundation.org; > 'Mateusz Guzik' ; 'Kamezawa Hiroyuki' > > Subject: Re: [PATCH v2 3/3]

RE: [PATCH net-next 1/3] net: add the AF_KCM entries to family name tables

2016-03-21 Thread Dexuan Cui
> From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, March 21, 2016 23:28 > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; KY Srinivasan

Re: [PATCH v2 3/5] dt-bindings: Add documentation for GM20B GPU

2016-03-21 Thread Rob Herring
On Sun, Mar 20, 2016 at 1:55 AM, Alexandre Courbot wrote: > On Sat, Mar 19, 2016 at 5:47 AM, Rob Herring wrote: >> On Tue, Mar 15, 2016 at 11:58:42AM +0900, Alexandre Courbot wrote: >>> GM20B's definition is mostly similar to GK20A's, but requires an >>> additional clock. [...] >>> gpu@0,

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

2016-03-21 Thread Yury Norov
On Mon, Mar 21, 2016 at 09:43:12PM +0300, Yury Norov wrote: > On Mon, Mar 21, 2016 at 07:23:28PM +0800, Zhangjian (Bamvor) wrote: > > >>So this most probably means that ilp32 code doesn't handle one of cloned > > >>item properly. I have already discovered a bug where child processes > > >>used pare

[PATCH v6 1/7][Resend] cpufreq: sched: Helpers to add and remove update_util hooks

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Replace the single helper for adding and removing cpufreq utilization update hooks, cpufreq_set_update_util_data(), with a pair of helpers, cpufreq_add_update_util_hook() and cpufreq_remove_update_util_hook(), and modify the users of cpufreq_set_update_util_data() accordin

[PATCH v6 7/7][Resend] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-21 Thread Rafael J. Wysocki
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 34e2c555f3e1 (cpufreq: Add mechanism for registering utilization update callbacks) that

[PATCH v6 5/7][Resend] cpufreq: Move governor symbols to cpufreq.h

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move definitions of symbols related to transition latency and sampling rate to include/linux/cpufreq.h so they can be used by (future) goverernors located outside of drivers/cpufreq/. No functional changes. Signed-off-by: Rafael J. Wysocki --- This patch was new in v4,

[PATCH v6 2/7][Resend] cpufreq: governor: New data type for management part of dbs_data

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In addition to fields representing governor tunables, struct dbs_data contains some fields needed for the management of objects of that type. As it turns out, that part of struct dbs_data may be shared with (future) governors that won't use the common code used by "ondema

[PATCH v6 4/7][Resend] cpufreq: Move governor attribute set headers to cpufreq.h

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move definitions and function headers related to struct gov_attr_set to include/linux/cpufreq.h so they can be used by (future) goverernors located outside of drivers/cpufreq/. No functional changes. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- This one

[PATCH v6 6/7][Resend] cpufreq: Support for fast frequency switching

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core to support that method if available. Introduce a new cpufreq driver callback, ->fast_switch, to be invoked for frequency switching from inte

[PATCH v6 0/7] cpufreq: schedutil governor

2016-03-21 Thread Rafael J. Wysocki
Hi, Yet another iteration of the schedutil governor patchset. It essentially is a resend of the series, but since patches [6-7/7] have been updated since the v4 (http://marc.info/?l=linux-kernel&m=145814047719883&w=4), the complete series goes again here. The patches are based on the current Lin

[PATCH v3 2/3] crypto: s5p-sss - Handle unaligned buffers

2016-03-21 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski During crypto selftests on Odroid XU3 (Exynos5422) some of the algorithms failed because of passing AES-block unaligned source and destination buffers: alg: skcipher: encryption failed on chunk test 1 for ecb-aes-s5p: ret=22 Handle such case by copying the buffers to a

[PATCH v3 3/3] crypto: s5p-sss - Sort the headers to improve readability

2016-03-21 Thread Krzysztof Kozlowski
Sort the headers alphabetically to improve readability and to spot duplications easier. Suggested-by: Vladimir Zapolskiy Signed-off-by: Krzysztof Kozlowski Acked-by: Vladimir Zapolskiy --- Changes since v2: 1. Add Vladimir's acked-by. Changes since v1: 1. New patch. My email differs from on

[PATCH v6 3/7][Resend] cpufreq: governor: Move abstract gov_attr_set code to seperate file

2016-03-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move abstract code related to struct gov_attr_set to a separate (new) file so it can be shared with (future) goverernors that won't share more code with "ondemand" and "conservative". No intentional functional changes. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh K

[PATCH v3 1/3] crypto: s5p-sss - Minor coding cleanups

2016-03-21 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski Remove unneeded inclusion of delay.h and get rid of indentation from labels. Signed-off-by: Krzysztof Kozlowski Acked-by: Vladimir Zapolskiy --- Changes since v2: 1. None. Changes since v1: 1. Add Vladimir's acked-by. --- drivers/crypto/s5p-sss.c | 15 +++-

[PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4

2016-03-21 Thread Krzysztof Kozlowski
Add Security SubSystem (SSS) node to Exynos4 which provides hardware acceleration of AES operations. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi

[PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

2016-03-21 Thread Krzysztof Kozlowski
Enable the Security SubSystem (SSS) on Trats2 (Exynos4412) board which allows usage of its hardware accelerated AES operations. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trat

Re: [PATCH] Staging: wlan-ng: moved memset() calls after copy_from_user() call

2016-03-21 Thread Greg KH
On Tue, Mar 15, 2016 at 09:53:15PM +0200, Claudiu Beznea wrote: > This patch moves memset() calls from p80211netdev_ethtool() > after copy_from_user() call in order to avoid unnecessary > instruction in case copy_from_user() fails. Does that really matter? If an error happens, then we are on a "s

Re: [PATCH] Staging: wlan-ng: removed "goto " instructions where this is not necessary.

2016-03-21 Thread Greg KH
On Mon, Mar 21, 2016 at 12:29:01AM +0200, Claudiu Beznea wrote: > This patch removes "goto " instructions which do only > a return. In this way, aditional instructions were removed. But this is now harder to read and understand, why make this change for no good reason? thanks, greg k-h

Re: [PATCH 3/3] spi: rockchip: check requesting dma channel with EPROBE_DEFER

2016-03-21 Thread Shawn Lin
Hi Doug, On 2016/3/22 7:33, Doug Anderson wrote: Shawn, On Wed, Mar 9, 2016 at 12:11 AM, Shawn Lin wrote: Let's defer probing the driver if the return value of dma_request_slave_channel is ERR_PTR(-EPROBE_DEFER) instead of disabling dma capability directly. Signed-off-by: Shawn Lin --- d

Re: [PATCH] Security: Keys: Added derived keytype

2016-03-21 Thread kbuild test robot
Hi Kirill, [auto build test WARNING on v4.5-rc7] [also build test WARNING on next-20160321] [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/Kirill-Marinushkin/Security-Keys-Added-derived

Re: [PATCH] Staging: rtl8192e: Fix warning exceeding characters per line

2016-03-21 Thread Greg KH
On Sat, Mar 12, 2016 at 04:01:03PM +0100, Adonis Settouf wrote: > This patch fixes the checkpatch.pl warning regarding the exceeding 80 > characters on line 36. This patch add a newline after function statement > on line 52 You did 2 different things in the same patch, that should be 2 patches. >

Re: [PATCH] staging: rtl8192e: fixed coding style issues

2016-03-21 Thread Greg KH
On Thu, Mar 17, 2016 at 04:55:37PM +, Yousof El-Sayed wrote: > Signed-off-by: Yousof El-Sayed I can't take a patch with no changelog entry. And your subject is too vague as well :( greg k-h

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Byungchul Park
On Mon, Mar 21, 2016 at 06:28:48PM +0900, Sergey Senozhatsky wrote: > > Just to be sure, whether you take my suggestion or not is not important. > > I just suggested it in this thread since it can solve what you worried > > about. That's all. I can post it in another thread though. Why don't you >

Re: [RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-21 Thread Yakir Yang
Hi Heiko, On 03/22/2016 08:42 AM, Heiko Stuebner wrote: Hi Yakir, Am Montag, 21. März 2016, 20:17:46 schrieb Yakir Yang: On 03/21/2016 07:29 PM, Heiko Stübner wrote: Am Montag, 21. März 2016, 17:28:38 schrieb Yakir Yang: This patch set would add the RGA direct rendering based 2d graphics acc

Re: [GIT PULL] Btrfs

2016-03-21 Thread Chris Mason
On Mon, Mar 21, 2016 at 06:16:54PM -0700, Linus Torvalds wrote: > On Mon, Mar 21, 2016 at 5:24 PM, Chris Mason wrote: > > > > I waited an extra day to send this one out because I hit a crash late > > last week with CONFIG_DEBUG_PAGEALLOC enabled (fixed in the top commit). > > Hmm. If that commit

Re: [Ocfs2-devel] [PATCH v4 2/5] ocfs2: sysfile interfaces for online file check

2016-03-21 Thread Gang He
Hello Mark and Andrew, Thank for taking the time in reviewing the patches, move the thing forward. Thanks Gang >>> > On Mon, 21 Mar 2016 16:38:02 -0700 Mark Fasheh wrote: > >> On Mon, Mar 21, 2016 at 04:05:47PM -0700, Andrew Morton wrote: >> > On Mon, 21 Mar 2016 15:57:23 -0700 Mark Fashe

Re: [PATCH] staging: rts5208: coding style clean-ups

2016-03-21 Thread Sohom Bhattacharjee
On Mon, Mar 21, 2016 at 05:29:24PM -0400, Greg KH wrote: > On Mon, Mar 21, 2016 at 10:53:36PM +0530, Sohom Bhattacharjee wrote: > > fixed *only* comments that did not follow kernel coding style. > > the errors were caught by the checkpatch.pl tool > > > > Signed-off-by: Sohom Bhattacharjee > > D

Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

2016-03-21 Thread Fengguang Wu
Hi Max, Thank you for the info! CC Philip for following this issue. Thanks, Fengguang On Sun, Mar 20, 2016 at 02:54:54PM +0300, Max Filippov wrote: > Hi Fengguang, > > On Sun, Mar 20, 2016 at 8:34 AM, kbuild test robot > wrote: > > Hi Max, > > > > FYI, the error/warning still remains. > > Eac

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Byungchul Park
On Tue, Mar 22, 2016 at 02:11:05AM +0900, Sergey Senozhatsky wrote: > On (03/21/16 16:33), Jan Kara wrote: > [..] > > > > And by calling wake_up_process() under logbuf_lock, you actually > > > > introduce > > > > recursion issues for printk_deferred() messages which are supposed to be > > > > work

Re: [PATCH] x86: Avoid undefined behavior in macro expansion

2016-03-21 Thread Vinicius Tinti
On Fri, Mar 18, 2016 at 11:15 PM, Al Viro wrote: > On Wed, Mar 16, 2016 at 11:48:49PM -0300, Vinicius Tinti wrote: >> C11 standard (at 6.10.3.3) says that ## operator (paste) has undefined >> behavior when one of the result operands is not a valid preprocessing >> token. >> >> Therefore the macro

Re: [PATCH v2 14/18] mm/balloon: use general movable page feature into balloon

2016-03-21 Thread Minchan Kim
e system] > > url: > https://github.com/0day-ci/linux/commits/Minchan-Kim/Support-non-lru-page-migration/20160321-143339 > config: x86_64-randconfig-x000-201612 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x8

Re: [PATCH] locking/qrwlock: Allow multiple spinning readers

2016-03-21 Thread Waiman Long
On 03/20/2016 06:43 AM, Peter Zijlstra wrote: We still have that starvation case in mutex, I would think that is far more important to fix. Peter, I am sorry that I let the mutex patch languish for a while. I will work on that next. Cheers, Longman

Re: [PATCH] zsmalloc: fix semicolon.cocci warnings

2016-03-21 Thread Minchan Kim
On Mon, Mar 21, 2016 at 05:48:25PM +0800, kbuild test robot wrote: > mm/zsmalloc.c:1103:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Minchan Kim > Signed-off-by: Fengguang Wu > --- > > zsmalloc.c |2 +- > 1 f

Re: [GIT PULL] Btrfs

2016-03-21 Thread Chris Mason
On Mon, Mar 21, 2016 at 10:15:33PM -0400, Chris Mason wrote: > On Mon, Mar 21, 2016 at 06:16:54PM -0700, Linus Torvalds wrote: > > On Mon, Mar 21, 2016 at 5:24 PM, Chris Mason wrote: > > > > > > I waited an extra day to send this one out because I hit a crash late > > > last week with CONFIG_DEBUG

Re: [PATCH] staging: rts5208: coding style clean-ups

2016-03-21 Thread Greg KH
On Tue, Mar 22, 2016 at 07:45:25AM +0530, Sohom Bhattacharjee wrote: > On Mon, Mar 21, 2016 at 05:29:24PM -0400, Greg KH wrote: > > On Mon, Mar 21, 2016 at 10:53:36PM +0530, Sohom Bhattacharjee wrote: > > > fixed *only* comments that did not follow kernel coding style. > > > the errors were caught

Re: [PATCH v6 1/4] lib/percpu-list: Per-cpu list with associated per-cpu locks

2016-03-21 Thread Waiman Long
On 03/21/2016 05:49 AM, Jan Kara wrote: On Fri 18-03-16 15:44:01, Waiman Long wrote: +static __always_inline bool +__pcpu_list_next_cpu(struct pcpu_list_head *head, struct pcpu_list_state *state) +{ + if (state->lock) + spin_unlock(state->lock); +next_cpu: + /* +

Re: [PATCH 3/3] spi: rockchip: check requesting dma channel with EPROBE_DEFER

2016-03-21 Thread Doug Anderson
Shawn, On Mon, Mar 21, 2016 at 7:03 PM, Shawn Lin wrote: >> ...but, looking at this, presumably before landing any patch that made >> dma_request_slave_channel() return -EPROBE_DEFER you'd need to modify >> _all_ users of dma_request_slave_channel to handle error pointers >> being returned. Righ

Re: [GIT PULL] Btrfs

2016-03-21 Thread Linus Torvalds
On Mon, Mar 21, 2016 at 7:24 PM, Chris Mason wrote: > > Hmmm, rereading my answer I realized I didn't actually answer. I really > think this is fixed. I left the warning only because I originally > expected something much more exotic. Ok. It's more that you said the top commit fixes a problem,

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Peter Hurley
Hi Matthias, On 03/21/2016 04:02 PM, Matthias Schiffer wrote: > Hi, > we're experiencing weird nondeterministic hangs during bootconsole/console > handover on some ath79 systems on OpenWrt. I've seen this issue myself on > kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other > r

Re: [PATCH v11] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-03-21 Thread Viresh Kumar
On 21-03-16, 22:29, Shilpasri G Bhat wrote: > + create_throttle_sysfs = kcalloc(cpu_nr_cores(), sizeof(bool), > + GFP_KERNEL); > + if (!create_throttle_sysfs) { > + kfree(chips); > + return -ENOMEM; > + } > + > for (i = 0

Re: [PATCH] cpufreq: governor: Always schedule work on the CPU running update

2016-03-21 Thread Viresh Kumar
On 22-03-16, 01:17, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify dbs_irq_work() to always schedule the process-context work > on the current CPU which also ran the dbs_update_util_handler() > that the irq_work being handled came from. > > This causes the entire frequency update

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Peter Hurley
On 03/21/2016 05:52 PM, Matthias Schiffer wrote: > On 03/22/2016 12:08 AM, Greg KH wrote: >> On Tue, Mar 22, 2016 at 12:02:57AM +0100, Matthias Schiffer wrote: >>> Hi, >>> we're experiencing weird nondeterministic hangs during bootconsole/console >>> handover on some ath79 systems on OpenWrt. I've

[lkp] [drm/i915] 97f9010af0: No primary result change, -36.2% piglit.time.percent_of_cpu_this_job_got

2016-03-21 Thread kernel test robot
FYI, we noticed that piglit.time.percent_of_cpu_this_job_got -36.2% change with your commit. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 97f9010af05c15e0b7e6b4ef6ff8cb0ebb7e7715 ("drm/i915: mdelay(10) considered harmful") ===

Re: [PATCH 3/3] spi: rockchip: check requesting dma channel with EPROBE_DEFER

2016-03-21 Thread Shawn Lin
+ Vinod On 2016/3/22 10:33, Doug Anderson wrote: Shawn, On Mon, Mar 21, 2016 at 7:03 PM, Shawn Lin wrote: ...but, looking at this, presumably before landing any patch that made dma_request_slave_channel() return -EPROBE_DEFER you'd need to modify _all_ users of dma_request_slave_channel to ha

arch/xtensa/kernel/coprocessor.S:93: Error: invalid register number (240) for 'rur240'

2016-03-21 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 968f3e374faf41e5e6049399eb7302777a09a1e8 commit: 2c684d892bb2ee31cc48f4a8b91e86a0f15e82f9 xtensa: add Three Core HiFi-2 MX Variant. date: 4 days ago config: xtensa-smp_lx200_defconfig (attached as .config)

Re: [PATCH v2] net: add missing descriptions in net_device_priv_flags

2016-03-21 Thread David Miller
From: Luis de Bethencourt Date: Mon, 21 Mar 2016 20:58:28 + > The flags IFF_XMIT_DST_RELEASE_PERM, IFF_IPVLAN_MASTER and > IFF_IPVLAN_SLAVE are missing descriptions for the Documentation. Adding > them. > > Signed-off-by: Luis de Bethencourt > Suggested-by: Benjamin Poirier Applied.

[lkp] [cpuidle] b67bb65b9d: No primary result change, -33.1% turbostat.%Busy

2016-03-21 Thread kernel test robot
30cca6c6790a7/0" job_file: "/lkp/scheduled/lkp-hsx04/bisect_vm-scalability-performance-300s-1T-msync-mt-debian-x86_64-2015-02-07.cgz-x86_64-rhel-b67bb65b9de2d3c070073028aeb30cca6c6790a7-20160321-79544-wxo1vq-0.yaml" max_uptime: 1500 initrd: "/osimage/debian/debian-x86_64-2015-0

Linux 3.4.111

2016-03-21 Thread Zefan Li
I'm announcing the release of the 3.4.111 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v3 0/2] irqchip/mbigen: fix the IO remap problem in mbigen driver.

2016-03-21 Thread majun (F)
在 2016/3/21 18:29, Thomas Gleixner 写道: > On Thu, 17 Mar 2016, MaJun wrote: >> This patch set is used to fix the problem of remap a set of registers >> repeatedly in current mbigen driver. >> >> irqchip/mbigen:Change the mbigen node definition in dt binding file >> irqchip/mbigen:Change the mb

Re: [PATCH 1/3] cpufreq: Introduce cpufreq_start_governor()

2016-03-21 Thread Viresh Kumar
On 21-03-16, 15:45, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Starting a governor in cpufreq always follows the same pattern > involving two calls to cpufreq_governor(), one with the event > argument set to CPUFREQ_GOV_START and one with that argument set to > CPUFREQ_GOV_LIMITS. >

Re: [PATCH 2/3] cpufreq: Introduce cpufreq_update_current_freq()

2016-03-21 Thread Viresh Kumar
On 21-03-16, 15:46, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move the part of cpufreq_update_policy() that obtains the current > frequency from the driver and updates policy->cur if necessary to > a separate function, cpufreq_get_current_freq(). > > That should not introduce functi

[PATCH v3 0/1] arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA

2016-03-21 Thread Zhen Lei
Changelog: v2 -> v3: 1. Just add some description for this patch. v1 -> v2: 1. Give up removing the conversion, because of thoughtless, instead moved it into branch if (!is_device_dma_coherent(dev)). Thanks for Catalin's detailed explanation, I directly take some relies as comment in the code. Zh

[PATCH v3 1/1] arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA

2016-03-21 Thread Zhen Lei
1.For coherent DMA In swiotlb_alloc_coherent, it directly return vaddr on success, and pass vaddr to free_pages on failure. So, we can directly transparent pass vaddr from __dma_free to swiotlb_free_coherent. According to my testing, it can save 8 clock cycles. 2.For non-coherent DMA. Keep n

Re: [PATCH v2 0/4] locking/mutex: Enable optimistic spinning of lock waiter

2016-03-21 Thread Waiman Long
On 02/16/2016 03:51 AM, Peter Zijlstra wrote: On Fri, Feb 12, 2016 at 12:32:11PM -0500, Waiman Long wrote: My own test on a 4-socket E7-4820 v3 system showed a regression of about 4% in the high_systime workload with Peter's patch which this new patch effectively eliminates. Testing on an 8-soc

linux-next: Tree for Mar 22

2016-03-21 Thread Stephen Rothwell
Hi all, Please do not add any v4.7 related material to your linux-next included trees until after v4.6-rc1 is released. Changes since 20160321: The arm64 tree gained a conflict against Linus' tree. The rdma tree gained conflicts against Linus' tree. The drm tree lost its build fai

Re: [PATCH 3/3] cpufreq: Always update current frequency before startig governor

2016-03-21 Thread Viresh Kumar
On 21-03-16, 15:47, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make policy->cur match the current frequency returned by the driver's > ->get() callback before starting the governor in case they went out of > sync in the meantime and drop the piece of code attempting to > resync policy

Re: [PATCH 3/3] spi: rockchip: check requesting dma channel with EPROBE_DEFER

2016-03-21 Thread Doug Anderson
Shawn, On Mon, Mar 21, 2016 at 7:53 PM, Shawn Lin wrote: > + Vinod > > > On 2016/3/22 10:33, Doug Anderson wrote: >> >> Shawn, >> >> On Mon, Mar 21, 2016 at 7:03 PM, Shawn Lin >> wrote: ...but, looking at this, presumably before landing any patch that made dma_request_slave_channe

RE: [f2fs-dev] [PATCH 1/2] f2fs: cover large section in sanity check of super

2016-03-21 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, March 22, 2016 2:56 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim; stable 4 . 5+ > Subject: [f2fs-dev] [PATCH

Re: [PATCH v2 3/5] dt-bindings: Add documentation for GM20B GPU

2016-03-21 Thread Alexandre Courbot
On 03/22/2016 10:41 AM, Rob Herring wrote: On Sun, Mar 20, 2016 at 1:55 AM, Alexandre Courbot wrote: On Sat, Mar 19, 2016 at 5:47 AM, Rob Herring wrote: On Tue, Mar 15, 2016 at 11:58:42AM +0900, Alexandre Courbot wrote: GM20B's definition is mostly similar to GK20A's, but requires an additio

Re: [PATCH] sound/usb: fix to release stream resources from media_snd_device_delete()

2016-03-21 Thread Shuah Khan
On 03/19/2016 07:31 AM, Shuah Khan wrote: > On 03/19/2016 06:10 AM, Mauro Carvalho Chehab wrote: >> Em Fri, 18 Mar 2016 20:50:31 -0600 >> Shuah Khan escreveu: >> >>> Fix to release stream resources from media_snd_device_delete() before >>> media device is unregistered. Without this change, stream

[PATCH] media: au0828 fix au0828_v4l2_close() dev_state race condition

2016-03-21 Thread Shuah Khan
au0828_v4l2_close() check for dev_state == DEV_DISCONNECTED will fail to detect the device disconnected state correctly, if au0828_v4l2_open() runs to set the DEV_INITIALIZED bit. A loop test of bind/unbind found this bug by increasing the likelihood of au0828_v4l2_open() occurring while unbind is

[PATCH v2] mwifiex: advertise low priority scan feature

2016-03-21 Thread Wei-Ning Huang
From: Amitkumar Karwar Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211. This patch f

Re: [PATCH] mwifiex: advertise low priority scan feature

2016-03-21 Thread Wei-Ning Huang
Hi Kalle, Thanks for the review. I accidentally removed the s-o-b line from akarwar in this version. The original patch can be found at: https://chromium-review.googlesource.com/#/c/246052/ I've resent a new one. Wei-Ning On Mon, Mar 21, 2016 at 6:28 PM, Kalle Valo wrote: > Wei-Ning Huang writ

Re: [PATCH v2] mwifiex: advertise low priority scan feature

2016-03-21 Thread Wei-Ning Huang
Tested-by: Wei-Ning Huang On Tue, Mar 22, 2016 at 12:09 PM, Wei-Ning Huang wrote: > From: Amitkumar Karwar > > Low priority scan handling code which delays or aborts scan > operation based on Tx traffic is removed recently. The reason > is firmware already takes care of it in our new feature sc

[PATCH] tpm: drop int_queue from tpm_vendor_specific

2016-03-21 Thread Jarkko Sakkinen
Drop field int_queue from tpm_vendor_specific as it is used only by tpm_tis. Probably all of the fields should be eventually dropped and moved to the private structures of different drivers but it is better to do this one step at a time in order not to break anything. Signed-off-by: Jarkko Sakkine

Re: [PATCH] cpufreq: governor: Always schedule work on the CPU running update

2016-03-21 Thread Mike Galbraith
On Tue, 2016-03-22 at 08:21 +0530, Viresh Kumar wrote: > On 22-03-16, 01:17, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Modify dbs_irq_work() to always schedule the process-context work > > on the current CPU which also ran the dbs_update_util_handler() > > that the irq_work bei

Re: [PATCH RESEND v2 00/14] lib/mpi: bug fixes and cleanup

2016-03-21 Thread Tadeusz Struk
Hi Nicolai, On 03/21/2016 06:26 AM, Nicolai Stange wrote: > This is a resend of v2 with the crypto people properly CC'd. > > The original v1 can be found here: > > > http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicsta...@gmail.com > > > While v1 (hopefully) fixed some issues in

Re: [PATCH 1/6] mm/page_alloc: fix same zone check in __pageblock_pfn_to_page()

2016-03-21 Thread Joonsoo Kim
On Mon, Mar 21, 2016 at 11:37:19AM +, Mel Gorman wrote: > On Mon, Mar 14, 2016 at 04:31:32PM +0900, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > There is a system that node's pfn are overlapped like as following. > > > > -pfn> > > N0 N1 N2 N0 N1 N2 > > > > Therefore, we

Re: [PATCH] zram: revive swap_slot_free_notify

2016-03-21 Thread Joonsoo Kim
On Fri, Mar 18, 2016 at 04:58:31PM +0900, Minchan Kim wrote: > "remove compressed copy from zram in-memory" > applied swap_slot_free_notify call in *end_swap_bio_read* to > remove duplicated memory between zram and memory. > > However, with introducing rw_page in zram <8c7f01025f7b> > "zram: impl

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-03-21 Thread dawei chien
On Tue, 2016-03-15 at 13:17 +0700, Viresh Kumar wrote: > On 15-03-16, 12:53, dawei chien wrote: > > On Thu, 2015-12-17 at 09:52 +0800, Viresh Kumar wrote: > > > On 16-12-15, 21:29, Dawei Chien wrote: > > > > Use Intelligent Power Allocation (IPA) technical to add dynamic power > > > > model > > >

Re: Build error due to commit 458aa76d132dc ("mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range")

2016-03-21 Thread Aneesh Kumar K.V
Guenter Roeck writes: > [ text/plain ] > Hi, > > Your commit 458aa76d132dc1 ("mm/thp/migration: switch from flush_tlb_range > to flush_pmd_tlb_range") causes a build error when building > arcv2:vdk_hs38_smp_defconfig. > > include/asm-generic/pgtable.h:799:45: note: in expansion of macro ‘BUILD_BU

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-21 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@intel.com] > Sent: Monday, March 21, 2016 2:46 PM > To: Rajesh Bhagat ; Mathias Nyman > ; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: gre...@linuxfoundation.org; Sriram Dash > Subject: Re: [PATCH] usb:

RE: [f2fs-dev] [PATCH v2] f2fs: fix to convert inline directory correctly

2016-03-21 Thread Chao Yu
Ping, Any problem in this patch? Thanks, > -Original Message- > From: Chao Yu [mailto:chao2...@samsung.com] > Sent: Monday, February 22, 2016 6:29 PM > To: Jaegeuk Kim > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH v2] f2fs: fix to

Re: [PATCH 31/71] exofs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Boaz Harrosh
On 03/20/2016 08:40 PM, Kirill A. Shutemov wrote: > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > with promise that one day it will be possible to implement page cache with > bigger chunks than PAGE_SIZE. > > This promise never materialized. And unlikely will. > > We

Re: [BUG] packet loss with PROVE_LOCKING, bisected to EDAC fix

2016-03-21 Thread Borislav Petkov
On Mon, Mar 21, 2016 at 09:42:09PM +, Chris Bainbridge wrote: > Hi, > > I was testing something on an old server (Dell T105 opteron) and noticed > packet loss after updating the kernel from 3.10 to 4.5. The test was: > > On Dell run: iperf -s > On another system: iperf3 -c dell -u -b 20M -l 1

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-21 Thread Antony Pavlov
On Tue, 22 Mar 2016 00:02:57 +0100 Matthias Schiffer wrote: > Hi, > we're experiencing weird nondeterministic hangs during bootconsole/console > handover on some ath79 systems on OpenWrt. I've seen this issue myself on > kernel 3.18.23~3.18.27 on a AR7241-based system, but according to other > re

Re: [PATCH v2 13/18] mm/compaction: support non-lru movable page migration

2016-03-21 Thread Joonsoo Kim
On Mon, Mar 21, 2016 at 03:31:02PM +0900, Minchan Kim wrote: > We have allowed migration for only LRU pages until now and it was > enough to make high-order pages. But recently, embedded system(e.g., > webOS, android) uses lots of non-movable pages(e.g., zram, GPU memory) > so we have seen several

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Sergey Senozhatsky
On (03/22/16 11:13), Byungchul Park wrote: [..] what about a "normal" case, when things are not going to explode printk(), but we have several lockups on the same lock (which is probably more likely than printk recursion)? suppose: - there are 8 CPUs on the system - 1 cpus owns the spin_lock for

[PATCH 0/8] block: prepare for multipage bvecs

2016-03-21 Thread Ming Lei
Hi, Interests[1] have been shown in multipage bvecs, so this patchset try to prepare for the support and do two things: 1) the 1st 4 patches use bvec iterator to implement iterate_bvec(), then we can drop the non-standard way for iterating bvec 2) remove BIO_MAX_SECTORS & BIO_MAX_SIZE, and now t

[PATCH 4/8] iov_iter: use bvec iterator to implement iterate_bvec()

2016-03-21 Thread Ming Lei
bvec has provided one iterator already, so not necessary to invent a new wheel for this job. Signed-off-by: Ming Lei --- lib/iov_iter.c | 31 +++ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 5fecddc..5e1b224 100

[PATCH 1/8] block: move bvec iterator into include/linux/bvec_iter.h

2016-03-21 Thread Ming Lei
bvec iterator helpers should be used to implement by iterate_bvec():lib/iov_iter.c too, and move them into one header, so that we can keep bvec iterator header out of CONFIG_BLOCK. Then we can remove the inventing of wheel in iterate_bvec(). Signed-off-by: Ming Lei --- include/linux/bio.h

[PATCH 3/8] block: mark 1st parameter of bvec_iter_advance as const

2016-03-21 Thread Ming Lei
bvec_iter_advance() only writes the parameter of iterator, so the base address of bvec can be marked as const safely. Without the change, we can see compiling warning in the following patch for implementing iterate_bvec(): lib/iov_iter.c with bvec iterator. Signed-off-by: Ming Lei --- include/l

[PATCH 5/8] fs: xfs: replace BIO_MAX_SECTORS with BIO_MAX_PAGES

2016-03-21 Thread Ming Lei
BIO_MAX_PAGES is used as maximum count of bvecs, so replace BIO_MAX_SECTORS with BIO_MAX_PAGES since BIO_MAX_SECTORS is to be removed. Signed-off-by: Ming Lei --- fs/xfs/xfs_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 9a2191

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

2016-03-21 Thread Ming Lei
We will use bvec iterator to implement iterate_bvec(): lib/iov_iter.c. Signed-off-by: Ming Lei --- include/linux/blk_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 86a38ea..fd8527b 100644 --- a/include/l

[PATCH 6/8] block: bio: remove BIO_MAX_SECTORS

2016-03-21 Thread Ming Lei
No one need this macro, so remove it. The motivation is for supporting multipage bvecs, in which we only know what the max count of bvecs is supported in the bio, instead of max size or max sectors. Signed-off-by: Ming Lei --- include/linux/bvec_iter.h | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 8/8] block: bio: remove BIO_MAX_SIZE

2016-03-21 Thread Ming Lei
No one need this macro now, so remove it. The motivation is for supporting multipage bvecs, in which we only know what the max count of bvecs is supported in the bio, instead of max bio size. Signed-off-by: Ming Lei --- include/linux/bvec_iter.h | 1 - 1 file changed, 1 deletion(-) diff --git a

[PATCH 7/8] block: drbd: avoid to use BIO_MAX_SIZE

2016-03-21 Thread Ming Lei
drbd is the only user of BIO_MAX_SIZE, so use BIO_MAX_PAGES instead. Signed-off-by: Ming Lei --- drivers/block/drbd/drbd_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index c227fd4..10bfff1 100644 --- a

[PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2016-03-21 Thread jeffrey.lin
Raydium I2C touch driver. Signed-off-by: jeffrey.lin --- drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/raydium_i2c_ts.c | 932 + 3 files changed, 946 insertions(+) create mode 100644

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-21 Thread Daniel Axtens
>> From: Miklos Szeredi >> >> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >> f_path always point to the overlay and f_inode to the underlay"). >> >> Regular files opened on overlayfs will result in the file being opened on >> the underlying filesystem, while f_pa

Re: [v8,09/10] tpm: Initialize TPM and get durations and timeouts

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

[PATCH] dt-bindings: input: add Raydium I2C touch driver bindings

2016-03-21 Thread jeffrey.lin
Document the device tree binfings of Raydium I2C touch driver. Signed-off-by: jeffrey.lin --- .../devicetree/bindings/input/raydium_i2c_ts.txt| 21 + .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 Document

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

2016-03-21 Thread Lakshmi Sai Krishna Potthuri
Hi Mark, >On Mon, Mar 21, 2016 at 05:50:08PM +0530, P L Sai Krishna wrote: >> This patch does following things. >> 1. Added dummy entry in the spi_transfer structure. >> 2. Assigned dummy cycles to dummy member in the transfer structure >> during read operation. > >Please try to follow the patch

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-21 Thread Felipe Balbi
Hi, John Youn writes: > [ text/plain ] > On 3/18/2016 12:17 PM, John Youn wrote: >> On 3/16/2016 6:56 AM, Felipe Balbi wrote: >>> >>> heh, +john >>> >>> Felipe Balbi writes: [ text/plain ] Hi, Roger Quadros writes: > [ text/plain ] > We will need this function

Re: [PATCH RESEND] Revert "PCI: dra7xx: Mark driver as broken"

2016-03-21 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 09 March 2016 10:31 AM, Kishon Vijay Abraham I wrote: > > > On Tuesday 08 March 2016 11:35 PM, Bjorn Helgaas wrote: >> On Fri, Mar 04, 2016 at 03:59:19PM +0530, Kishon Vijay Abraham I wrote: >>> From: Sekhar Nori >>> >>> This reverts commit <5c3b99d057525fe2befe6a7db9b130

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-03-21 Thread Jan Kara
> printing the actual print job is performed by a dedicated kthread. > This has the advantage that printing always happens from a schedulable > context and thus we don't lockup any particular CPU or even interrupts. > > The patch set is against next-20160321 > > the s

[PATCH] virtio-pci: use possible fallback queue size

2016-03-21 Thread Liang Chen
Virtio 1.0 spec allows driver to modify queue size to reduce momery requeirments. So the driver should write back the queue size actually allocated, instead of the original value read from the common config for the queue. Signed-off-by: Liang Chen Signed-off-by: Gavin Guo Suggested-by: Jay Vosbu

[PATCH] ath9k: fix checkpatch.pl identation and sapce errors.

2016-03-21 Thread Ashwini Singh
Signed-off-by: Ashwini Singh --- drivers/net/wireless/ath/ath9k/ani.c|2 +- drivers/net/wireless/ath/ath9k/antenna.c|2 +- drivers/net/wireless/ath/ath9k/ar9002_hw.c |2 +- drivers/net/wireless/ath/ath9k/ar9002_phy.c |2 +- drivers/net/wireless/ath/ath

  1   2   3   4   5   6   7   8   9   >