Re: [RFC PATCH net-next] net/core: initial support for stacked dev feature toggles

2015-10-23 Thread Alexander Duyck
On 10/23/2015 08:40 PM, Jarod Wilson wrote: There are some netdev features that make little sense to toggle on and off in a stacked device setup on only one device in the stack. The prime example is a bonded connection, where it really doesn't make sense to disable LRO on the master, but not on

Re: [PATCH 4.2 25/54] memcg: convert threshold to bytes

2015-10-23 Thread Ben Hutchings
On Fri, 2015-10-23 at 10:45 -0700, Greg Kroah-Hartman wrote: > 4.2-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Shaohua Li > > commit 424cdc14138088ada1b0e407a2195b2783c6e5ef upstream. > > page_counter_memparse() returns pages for

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-23 Thread Alim Akhtar
On 10/22/2015 09:04 PM, Doug Anderson wrote: Krzysztof, On Wed, Oct 21, 2015 at 6:43 PM, Krzysztof Kozlowski wrote: I think at least one platform may be affected because it used mmc-pwrseq-emmc and gpio-restart. Look at rk3288-veyron.dtsi. Both of restart handlers had the priority of 129

Re: [RFC PATCH net-next] net/core: initial support for stacked dev feature toggles

2015-10-23 Thread Tom Herbert
On Fri, Oct 23, 2015 at 11:40 PM, Jarod Wilson wrote: > There are some netdev features that make little sense to toggle on and > off in a stacked device setup on only one device in the stack. The prime > example is a bonded connection, where it really doesn't make sense to > disable LRO on the

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-23 Thread Mike Galbraith
On Sat, 2015-10-24 at 07:21 +0900, Tejun Heo wrote: > It'd be a step back in usability only for users who have been using > cgroups in fringing ways which can't be justified for ratification and > we do want to actively filter those out. Of all the cgroup signal currently in existence, seems the

[PATCH v2 1/2] serial: 8250_early: do not save and restore IER in write callback

2015-10-23 Thread Masahiro Yamada
The IER has already been masked in early_serial8250_setup(), there is no reason to save and restore it every time early_serial8250_write() is called. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH v2 2/2] serial: 8250_early: squash wait_for_xmitr() into serial_putc()

2015-10-23 Thread Masahiro Yamada
Now, wait_for_xmitr() is only called from serial_putc(), and both are short enough. They can be merged into a single function. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH v2 0/2] serial: 8250_early: simplify serial_putc()

2015-10-23 Thread Masahiro Yamada
Changes in v2: - split into two patches Masahiro Yamada (2): serial: 8250_early: do not save and restore IER in write callback serial: 8250_early: squash wait_for_xmitr() into serial_putc() drivers/tty/serial/8250/8250_early.c | 20 ++-- 1 file changed, 2 insertions(+),

[PATCH V4] hp_sdc: convert struct timeval to ktime_t

2015-10-23 Thread WEN Pingbo
struct timeval is not y2038 safe, convert it to ktime_t, and there is no need to handle sec and usec separately And since hp_sdc.rtv is only used for time diff, monotonic time is better here Signed-off-by: WEN Pingbo --- Version 2: Using ktime_t instead of struct timespec64 Version 3:

Re: [PATCH] serial: 8250_early: do not save and restore IER in write callback

2015-10-23 Thread Masahiro Yamada
Hi Peter, 2015-10-23 21:45 GMT+09:00 Peter Hurley : > On 10/22/2015 04:21 AM, Masahiro Yamada wrote: >> The IER has already been masked in early_serial8250_setup(), there is >> no reason to save and restore it every time early_serial8250_write() >> is called. >> >> Let wait_for_xmitr() melt into

[PATCH V3 2/2] hil_mlc: convert timeval to jiffies

2015-10-23 Thread WEN Pingbo
struct timeval is not y2038 safe, and what mlc->instart do is scheduling a task in a fixed timeout, so jiffies is the simplest choice here. In hilse_donode(), the expires in mod_timer equals jiffies + intimeout - (now - instart) If we use jiffies in 'now', the expires equals

[PATCH V3 1/2] hil_mlc: convert timeval to time64_t

2015-10-23 Thread WEN Pingbo
Since mlc->lcv_t is only interested in seconds, directly using time64_t here Signed-off-by: WEN Pingbo --- Version 2: Convert timeval to ktime_t Version 3: Convert it to time64_t, since it's a better choice drivers/input/serio/hil_mlc.c | 8 +++- include/linux/hil_mlc.h

[RFC PATCH net-next] net/core: initial support for stacked dev feature toggles

2015-10-23 Thread Jarod Wilson
There are some netdev features that make little sense to toggle on and off in a stacked device setup on only one device in the stack. The prime example is a bonded connection, where it really doesn't make sense to disable LRO on the master, but not on any of the slaves, nor does it really make

[PATCH] ARM: dts: uniphier: add I2C aliases for ProXstream2 boards

2015-10-23 Thread Masahiro Yamada
Add aliases to fix the I2C indexes like the other UniPhier boards. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-proxstream2-gentil.dts | 4 arch/arm/boot/dts/uniphier-proxstream2-vodka.dts | 4 2 files changed, 8 insertions(+) diff --git

Re: [PATCH 2/4] ARM: dts: uniphier: delete i2c aliases

2015-10-23 Thread Masahiro Yamada
2015-10-24 5:16 GMT+09:00 Arnd Bergmann : > On Wednesday 21 October 2015 20:36:28 Masahiro Yamada wrote: >> The user space should not expect that a particular I2C channel is >> always visible through the same character device. >> No reason to fix the I2C indexes with aliases. >> >> Signed-off-by:

[PATCH v7 16/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-10-23 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes

[PATCH v7 17/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-10-23 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes

Re: [PATCH] timer: Lazily wakup nohz CPU when adding new timer.

2015-10-23 Thread Viresh Kumar
On 23-10-15, 15:10, Yunhong Jiang wrote: > I got this impression from Frederic's comments on > http://marc.info/?l=linux-kernel=139048415303210=2, "So you simply rely > on the next tick to see the new timer. This should work with > CONFIG_NO_HZ_IDLE but not with CONFIG_NO_HZ_FULL since the

Re: [PATCH v1 3/4] ASoC: Add codec machine driver for RK3036

2015-10-23 Thread Shunqian Zheng
Mark & Sjoerd, On 2015年10月20日 03:13, Mark Brown wrote: On Tue, Oct 13, 2015 at 09:01:08AM +0800, Shunqian Zheng wrote: From: ZhengShunQian This patch add the machine driver for rk3036. Like Sjoerd said this looks like it migh be better just using simple-card, if not... Yes, simple-card

Re: [PATCH v4 4/4] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet

2015-10-23 Thread Chen-Yu Tsai
On Sat, Oct 24, 2015 at 12:56 AM, Karsten Merker wrote: > On Fri, Oct 23, 2015 at 11:56:35PM +0800, Chen-Yu Tsai wrote: >> On Fri, Oct 23, 2015 at 11:46 PM, Chen-Yu Tsai wrote: >> > On Fri, Oct 23, 2015 at 10:53 PM, Karsten Merker wrote: >> >> On Fri, Oct 23, 2015 at 11:50:41AM +0800, Chen-Yu

Re: [PATCH 4.1 00/46] 4.1.12-stable review

2015-10-23 Thread Guenter Roeck
On 10/23/2015 10:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.12 release. There are 46 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: SCSI: race condition between scsi_remove_target and scsi_probe_and_add_lun

2015-10-23 Thread Alexey Ivanov
+ linux-scsi > On Mar 20, 2014, at 6:42 PM, Andrey Zonov wrote: > > Hi, > > I've got kernel panic on my box which works as FibreChannel initiator. > I was able to reproduce this panic by setting dev_loss_tmo=2 and > enabling/disabling ports every 5 seconds on the switch in 5 minutes. I >

[PATCH v7 14/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-10-23 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - Seprate the

[PATCH v7 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-10-23 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Fix compiled error

[PATCH v7 13/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-10-23 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fix compile failed dut to phy_pd_addr variable

[PATCH v7 15/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-10-23 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang ---

[PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-23 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Split binding doc's from driver changes. (Rob) - Update the rockchip,grf explain in document, and correct the

[PATCH v7 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-23 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: - Simply the commit message. (Kishon) - Symmetrical enable/disbale the phy

[PATCH v7 09/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-23 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Split binding doc's from driver

[PATCH v7 06/17] Documentation: drm/bridge: add document for analogix_dp

2015-10-23 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang

[PATCH v7 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-10-23 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: - Remove the empty

[PATCH v7 07/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-10-23 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward

Re: [PATCH v2] EDAC: Add ARM64 EDAC

2015-10-23 Thread Hanjun Guo
On 2015/10/24 1:58, Brijesh Singh wrote: >> So I checked the x86 code: the driver is always loaded as soon as the >> hardware is there (looking at PCI device IDs from the on-chip >> northbridge, for instance). The trick here is to have the Kconfig option >> defaulting to "=n", so a kernel builder

[PATCH 3/3] staging: rdma: hfi1: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

Re: Should audit_seccomp check audit_enabled?

2015-10-23 Thread Paul Moore
On October 23, 2015 5:30:45 PM Andy Lutomirski wrote: On Fri, Oct 23, 2015 at 2:22 PM, Kees Cook wrote: On Fri, Oct 23, 2015 at 2:07 PM, Andy Lutomirski wrote: On Oct 23, 2015 10:01 AM, "Kees Cook" wrote: On Fri, Oct 23, 2015 at 9:19 AM, Andy Lutomirski wrote: > I would argue that, if

[PATCH 2/3] staging: rdma: hfi1: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

[PATCH 1/3] staging: rdma: hfi1: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

Re: [RFC] hwmon: ina2xx: port to using remap, improve bandwidth.

2015-10-23 Thread Guenter Roeck
On 10/23/2015 01:35 PM, Marc Titinger wrote: Hi Guenter thanks for the review, answers bellow. Marc. [ ... ] -/* - * Ina226 has a variable update_interval. For ina219 we - * use a constant value. +/* Check for shunt resistor value. Another comment: Standard multi-line

[PATCH 4/4] staging: rdma: ipath: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. Signed-off-by: Muhammad Falak R Wani --- drivers/staging/rdma/ipath/ipath_verbs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 3/4] staging: rdma: ipath: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. Signed-off-by: Muhammad Falak R Wani --- drivers/staging/rdma/ipath/ipath_sdma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 2/4] staging: rdma: ipath: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

[PATCH 1/4] staging: rdma: ipath: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

[PATCH] staging: most: hdm-usb: Use setup_timer

2015-10-23 Thread Muhammad Falak R Wani
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(); +setup_timer(, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; Signed-off-by: Muhammad Falak R Wani ---

Re: [PATCH 4.2 00/54] 4.2.5-stable review

2015-10-23 Thread Guenter Roeck
On 10/23/2015 10:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.2.5 release. There are 54 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: Steal time accounting in KVM. Benchmark.

2015-10-23 Thread Alexey Makhalov
What I figured out. It happens in intersection of 3 features: *irq time accounting *stolen time accounting *linux guest with tickless idle only (not fully tickless) Looks like timer interrupts storm is happening during this benchmark (with 2:1 cpu overcommit). irq time accounting gets crazy.

Re: [PATCH 3.14 00/25] 3.14.56-stable review

2015-10-23 Thread Guenter Roeck
On 10/23/2015 10:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.56 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.10 00/17] 3.10.92-stable review

2015-10-23 Thread Guenter Roeck
On 10/23/2015 10:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.92 release. There are 17 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-23 Thread J. German Rivera
Added sys-reboot node to the FSL's LS2085A SoC DT to leverage the ARM-generic reboot mechanism for this SoC. This mechanism is enabled through CONFIG_POWER_RESET_SYSCON. Signed-off-by: J. German Rivera --- arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 12 1 file changed, 12

Re: [PATCH 2/4] clk: ti816x: Add missing dmtimer clkdev entries

2015-10-23 Thread Tony Lindgren
* Neil Armstrong [151022 02:19]: > Add missing clkdev dmtimer related entries for dm816x. > 32Khz and ext sources were missing. > > Cc: Brian Hutchinson > Signed-off-by: Neil Armstrong Tero should queue this one: Acked-by: Tony Lindgren > --- > drivers/clk/ti/clk-816x.c | 2 ++ > 1 file

hid-sony appears to be broken for some (new?) DualShock 4 controllers

2015-10-23 Thread Chris
I have a brand new DualShock 4 and the descriptor is a different size than what the hid-sony driver expects. This causes the controller to not work at all over wireless except for the trackpad. On USB it sort of works but the motion sense does not. This affects kernels starting at 3.15 all the

Re: [PATCH 1/4] arm: omap2+: add missing HWMOD_NO_IDLEST in 81xx hwmod data

2015-10-23 Thread Tony Lindgren
Hi, * Neil Armstrong [151022 02:19]: > Add missing HWMOD_NO_IDLEST hwmod flag for entries no > having omap4 clkctrl values. Have you checked this is the case both in dm814x and dm816x TRM? Also the documentation may not be complete FYI, might be also worth checking the legacy TI kernel tree to

Re: [PATCH 05/31] perf record: Load eBPF object into kernel

2015-10-23 Thread pi3orama
发自我的 iPhone > 在 2015年10月24日,上午12:58,Arnaldo Carvalho de Melo 写道: > > Em Wed, Oct 14, 2015 at 12:41:16PM +, Wang Nan escreveu: >> This patch utilizes bpf_object__load() provided by libbpf to load all >> objects into kernel. > > So, testing this, using that other proggie, I get; > > #

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

2015-10-23 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

Re: [PATCH v2] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-23 Thread Kosuke Tatsukawa
J. Bruce Fields wrote: > On Fri, Oct 23, 2015 at 04:14:10AM +, Kosuke Tatsukawa wrote: >> J. Bruce Fields wrote: >> > On Fri, Oct 16, 2015 at 02:28:10AM +, Kosuke Tatsukawa wrote: >> >> Tatsukawa Kosuke wrote: >> >> > J. Bruce Fields wrote: >> >> >> On Thu, Oct 15, 2015 at 11:44:20AM

Re: [PATCH 4.1 00/46] 4.1.12-stable review

2015-10-23 Thread Guenter Roeck
On 10/23/2015 04:22 PM, Greg Kroah-Hartman wrote: On Fri, Oct 23, 2015 at 02:34:56PM -0600, Shuah Khan wrote: On 10/23/2015 11:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.12 release. There are 46 patches in this series, all will be posted as a

[PATCH 2/2] perf tools: Provide help for subset of options

2015-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Some tools have a lot of options, so, providing a way to show help just for some of them may come handy: $ perf report -h --tui Usage: perf report [] --tui Use the TUI interface $ perf report -h --tui --showcpuutilization -b -c

[GIT PULL 0/2] perf/core new features

2015-10-23 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 80fcd45ee05b4ef05e61d37a5ffb70a67095a9f6: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-10-23 10:25:57 +0200) are available in the git

[PATCH 1/2] perf tools: Show tool command line options ordered

2015-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When asking for a listing of the options, be it using -h or when an unknown option is passed, order it by one-letter options, then the ones having just long names. Suggested-by: Ingo Molnar Cc: Adrian Hunter Cc: Borislav Petkov Cc: Brendan Gregg Cc: Chandler

Re: [PATCH] pci: Update VPD size with correct length

2015-10-23 Thread Alexander Duyck
On 10/23/2015 02:09 AM, Hannes Reinecke wrote: PCI-2.2 VPD entries have a maximum size of 32k, but might actually be smaller than that. To figure out the actual size one has to read the VPD area until the 'end marker' is reached. Trying to read VPD data beyond that marker results in

Re: [PATCH 05/31] perf record: Load eBPF object into kernel

2015-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 23, 2015 at 01:58:40PM -0300, Arnaldo Carvalho de Melo escreveu: > I'll try updating it to torvalds/master... Ok, still the same problem, this time with -vv, what does the following message mean? libbpf: don't need create maps for /tmp/foo.o Full output: [acme@felicio linux]$ sudo

lseek(fd, 0, SEEK_CUR) returns unexpected result for O_APPEND file on linux 2.6.32-431.29.2

2015-10-23 Thread Sigurd Næss
Below is a description of a simple test case that causes lseek(fd, 0, SEEK_CUR) to return an unexpectedly small result on one of my computers, with linux 2.6.32-431.29.2, but none of the others. I'm posting it on the off chance that this is (or was) a kernel bug, and not some problem on my end.

[PATCH 0/4] net: thunderx: Support pass-2 revision hardware.

2015-10-23 Thread David Daney
From: David Daney With the availability of a new revision of the ThunderX NIC hardware a few changes to the driver are required. With these, the driver works on all currently available hardware revisions. David Daney (1): net: thunderx: Rewrite silicon revision tests. Sunil Goutham (2):

[PATCH 3/4] net: thunderx: Rewrite silicon revision tests.

2015-10-23 Thread David Daney
From: David Daney The test for pass-1 silicon was incorrect, it should be for all revisions less than 8. Also the revision is already present in the pci_dev, so there is no need to read and keep a private copy. Remove rev_id and code to read it from struct nicpf. Create new static inline

[PATCH 4/4] net: thunderx: Incorporate pass2 silicon CPI index configuration changes

2015-10-23 Thread David Daney
From: Thanneeru Srinivasulu Add support for ThunderX pass2 CPI and MPI configuration changes. MPI_ALG is not enabled i.e MCAM parsing is disabled. Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Sunil Goutham Signed-off-by: David Daney --- drivers/net/ethernet/cavium/thunder/nic_main.c

[PATCH 2/4] net: thunderx: Fix incorrect subsystem devid of VF on pass2 silicon

2015-10-23 Thread David Daney
From: Sunil Goutham Signed-off-by: Sunil Goutham Signed-off-by: David Daney --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c

[PATCH 1/4] net: thunderx: Remove PF soft reset.

2015-10-23 Thread David Daney
From: Sunil Goutham In some silicon revisions, the soft reset clobbers PCI config space, so quit doing the reset. Signed-off-by: Sunil Goutham Signed-off-by: David Daney --- drivers/net/ethernet/cavium/thunder/nic_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-10-23 Thread Andrew F. Davis
On 10/23/2015 06:18 PM, Mark Brown wrote: On Fri, Oct 23, 2015 at 07:46:39AM -0500, Andrew F. Davis wrote: I know just because other drivers do it doesn't mean it's a good idea, but this is not new for MFDs and it is done in other regulators as well (mt6397, tps659038, qcom,spmi, etc..).

[PATCH 8/9] perf, tools: Support metrics in --per-core/socket mode

2015-10-23 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

perf, tools: Refactor and support interval and CSV metrics v5

2015-10-23 Thread Andi Kleen
I hope this version is acceptable now. [v4: Addressed all review feedback.] [v3: Addressed all review feedback. Update manpage for CSV. Various changes (see individual patches). Remove some more redundant code in printout callers.] [v2: Addressed (near) all review feedback. No manpage

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

2015-10-23 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. Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-stat.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git

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

2015-10-23 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. The new line callback needs to know the number of fields to skip them correctly v2: Split out function argument changes v3: Reenable metrics for

[PATCH 7/9] perf, tools, stat: Move non counting counter printing to printout

2015-10-23 Thread Andi Kleen
From: Andi Kleen Move the special case printing for non-running counters to printout, so it can be shared by all the output options. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 73 --- 1 file changed, 24 insertions(+), 49 deletions(-)

[PATCH 5/9] perf, tools, stat: Move noise/running printing into printout

2015-10-23 Thread Andi Kleen
From: Andi Kleen Move the running/noise printing into printout to avoid duplicated code in the callers. v2: Merged with other patches. Remove unnecessary hunk. Readd hunk that ended in earlier patch. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 53

[PATCH 2/9] tools, perf, stat: Use common printout faction to avoid duplicated code

2015-10-23 Thread Andi Kleen
From: Andi Kleen Instead of every caller deciding whether to call abs or nsec printout do it all in a single central function. No functional changes. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 57 +-- 1 file changed, 20 insertions(+),

[PATCH 3/9] perf, tools, stat: Abstract stat metrics printing

2015-10-23 Thread Andi Kleen
From: Andi Kleen Abstract the printing of shadow metrics. Instead of every metric calling fprintf directly and taking care of indentation, use two call backs: one to print metrics and another to start a new line. This will allow adding metrics to CSV mode and also using them for other purposes.

[PATCH 1/9] perf, tools, stat: Move sw clock metrics printout to stat-shadow

2015-10-23 Thread Andi Kleen
From: Andi Kleen The sw clock metrics printing was missed in the earlier move to stat-shadow of all the other metric printouts. Move it too. Acked-by: Jiri Olsa v2: Fix metrics printing in this version to make bisect safe. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 8

[PATCH 4/9] perf, tools, stat: Add support for metrics in interval mode

2015-10-23 Thread Andi Kleen
From: Andi Kleen Now that we can modify the metrics printout functions easily, it's straight forward to support metric printing for interval mode. All that is needed is to print the time stamp on every new line. Pass the prefix into the context and print it out. v2: Move wrong hunk to here.

[PATCH] backlight: gpio-backlight: use default-on on GPIO request

2015-10-23 Thread Stefan Agner
There are situations where the backlight should be on at boot time (e.g. if the boot loader already turned the display on). The DT bindings specify the "default-on" property for that purpose. Currently, the initial state of the GPIO at request time is always set to logical off (high or low

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-23 Thread Dan Williams
On Thu, Oct 22, 2015 at 2:08 PM, Jan Kara wrote: > On Thu 22-10-15 16:05:46, Williams, Dan J wrote: [..] >> This text was aimed at the request from Ross to document the differences >> vs the generic_file_mmap() path. Is the following incremental change >> more clear? > > Well, not really. I

Re: [PATCH 2/2] scsi: remove useless casting value returned by kmalloc to structure

2015-10-23 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] tty: synclinkmp: do not ignore errors in probe()

2015-10-23 Thread Alexey Khoroshilov
synclinkmp_init_one() ignores all errors and does not release all resources if something fails. The patch adds returned code to device_init() and add_device() and proper error handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov ---

Re: [PATCH 4/9] dma: fix a trivial typo

2015-10-23 Thread Linus Walleij
On Sun, Oct 18, 2015 at 5:31 PM, Geliang Tang wrote: > s/regsiter/register/ > > Signed-off-by: Geliang Tang Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/2] scsi: lpfc: Use kzalloc instead of kmalloc

2015-10-23 Thread Matthew R. Ochs
Hi Punit, Aren't you missing the removal of the memset() as part of this conversion? -matt > On Oct 23, 2015, at 3:03 PM, Punit Vara wrote: > > This patch is to the lpfc_els.c which resolves following warning > reported by coccicheck: > > WARNING: kzalloc should be used for rdp_context,

Re: [PATCH 4.2 00/54] 4.2.5-stable review

2015-10-23 Thread Greg Kroah-Hartman
On Fri, Oct 23, 2015 at 03:54:59PM -0600, Shuah Khan wrote: > On 10/23/2015 11:44 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.2.5 release. > > There are 54 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.1 00/46] 4.1.12-stable review

2015-10-23 Thread Greg Kroah-Hartman
On Fri, Oct 23, 2015 at 02:34:56PM -0600, Shuah Khan wrote: > On 10/23/2015 11:45 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.1.12 release. > > There are 46 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.1 39/46] sched/preempt: Fix cond_resched_lock() and cond_resched_softirq()

2015-10-23 Thread Greg Kroah-Hartman
On Fri, Oct 23, 2015 at 11:14:30PM +0300, Thomas Backlund wrote: > Den 23.10.2015 kl. 20:46, skrev Greg Kroah-Hartman: > >4.1-stable review patch. If anyone has any objections, please let me know. > > > >-- > > > >From: Konstantin Khlebnikov > > > >commit

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-10-23 Thread Mark Brown
On Fri, Oct 23, 2015 at 07:46:39AM -0500, Andrew F. Davis wrote: > I know just because other drivers do it doesn't mean it's a good idea, > but this is not new for MFDs and it is done in other regulators as well > (mt6397, tps659038, qcom,spmi, etc..). mt6397 doesn't do this, it doesn't have a

[PATCH v7] Documentation: add Device tree bindings for hwmon/nct7802

2015-10-23 Thread Constantine Shulyupin
Introduced subnodes sensor, fan and peci with properties. Signed-off-by: Constantine Shulyupin --- Changed in v7: - sensors type (thermistor, thermistor, voltage) and pwm type selected with type property instead of compatible property. Changed in v6: - Removed previous definition. - Introduced

RE: [PATCH] GHES: Fix cached error-status

2015-10-23 Thread Luck, Tony
> ping? I'm not actually sure that the code is wrong. As you say it is a pretty strange loop. We seem to want to look at a bunch of conditions, and use "continue" to ignore bits until we find one that we like the look of. Perhaps as soon as we do, we want to believe it to get our return

Re: [alsa-devel] [PATCH V2 06/10] ASoC: img: Add driver for parallel output controller

2015-10-23 Thread Mark Brown
On Thu, Oct 22, 2015 at 08:21:03PM +0100, Damien Horsley wrote: > On 19/10/15 19:07, Mark Brown wrote: > > On Mon, Oct 12, 2015 at 01:40:33PM +0100, Damien Horsley wrote: > >> + spin_lock_irqsave(>lock, flags); > >> + reg = img_prl_out_readl(prl, IMG_PRL_OUT_CTL); > >> +

Re: [alsa-devel] [PATCH V2 02/10] ASoC: img: Add driver for I2S input controller

2015-10-23 Thread Mark Brown
On Thu, Oct 22, 2015 at 08:09:38PM +0100, Damien Horsley wrote: > On 19/10/15 18:47, Mark Brown wrote: > > On Mon, Oct 12, 2015 at 01:40:29PM +0100, Damien Horsley wrote: > > The APIs here all seem a bit odd - for example the enable API taking a > > register value as an argument (normally reg is

Re: [PATCH] GHES: Fix cached error-status

2015-10-23 Thread Davidlohr Bueso
ping? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] ARM: BCM: Add SMP support for Broadcom 4708

2015-10-23 Thread Hauke Mehrtens
On 10/15/2015 08:14 PM, Jon Mason wrote: > ARM: BCM: Add SMP support for Broadcom 4708 > > Add SMP support for Broadcom's 4708 SoCs. I tested this and it works on my device, it is also in OpenWrt now:

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-23 Thread Tejun Heo
Hello, Paul. On Thu, Oct 15, 2015 at 04:42:37AM -0700, Paul Turner wrote: > > The thing which bothers me the most is that cpuset behavior is > > different from global case for no good reason. > > I've tried to explain above that I believe there are reasonable > reasons for it working the way it

Re: [PATCH] timer: Lazily wakup nohz CPU when adding new timer.

2015-10-23 Thread Yunhong Jiang
On Fri, Oct 23, 2015 at 07:49:51AM +0530, Viresh Kumar wrote: > On 22-10-15, 14:40, Yunhong Jiang wrote: > > A naive question is, why it's sure a tick will happen when the tickless > > processor is in idle? > > How do you get this impression? I don't think anyone has said that. Viresh, thanks

[PATCH 3/3] irqchip/gic: assign irqchip dynamically

2015-10-23 Thread Linus Walleij
Instead of having the irqchip being a static struct, make it part of the per-instance data so we can assign it a dynamic name. This has the usable side effect of displaying the GIC with an instance number as GIC0, GIC1 ... GICn in /proc/interrupts, which is helpful when debugging cascaded GICs,

[PATCH 1/3] irqchip/gic: fix ARM11MPCore GIC bindings

2015-10-23 Thread Linus Walleij
The GIC bindings for the ARM11MPCore need to differentiate between the GIC on the Test Chip and the one on the evaluation baseboard. Split the binding in two and define new compatible-strings. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: devicet...@vger.kernel.org Signed-off-by:

[PATCH 2/3] irqchip/gic: support RealView variant setup

2015-10-23 Thread Linus Walleij
The ARM RealView PB11MPCore reference design has some special bits in a system controller register to set up the GIC in one of three modes: legacy, new with DCC, new without DCC. The register is also used to enable FIQ. Since the platform will not boot unless this register is set up to "new with

Re: perf: fuzzer triggered trouble on AMD, maybe ibs related

2015-10-23 Thread Peter Zijlstra
On Thu, Oct 22, 2015 at 12:46:53PM -0400, Vince Weaver wrote: > Hello > > I've been busy but finally had a chance to run perf_fuzzer on current git. > I am running on an AMD A10 system (my traditional Haswell system is > otherwise occupied). > > I got the following WARNING which was followed by

[PATCH net-next] bpf: make tracing helpers gpl only

2015-10-23 Thread Alexei Starovoitov
exported perf symbols are GPL only, mark eBPF helper functions used in tracing as GPL only as well. Suggested-by: Peter Zijlstra Signed-off-by: Alexei Starovoitov --- this is on top of this patch that touches the same file: http://patchwork.ozlabs.org/patch/534664/ kernel/trace/bpf_trace.c |

  1   2   3   4   5   6   7   8   9   10   >