[PATCH v2 3/8] thunderbolt: Updating the register definitions

2016-06-29 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/drivers/thunderbolt/nhi_regs.h in

Re: [PATCH 16/23] [AARCH64] Make lp64 and ilp32 directories.

2016-06-29 Thread Andreas Schwab
Yury Norov writes: > diff --git a/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c > b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c > new file mode 100644 > index 000..1183f49 > --- /dev/null > +++ b/sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c > @@ -0,0 +1,77 @@ > +/* Copyright (C)

[PATCH] pinctrl: uniphier: remove pointless SD pin-mux setting for PH1-LD11

2016-06-29 Thread Masahiro Yamada
This SoC has no SD card controller. This pin-muxing has no point. Fixes: 70f2f9c4cf25 ("pinctrl: uniphier: add UniPhier PH1-LD11 pinctrl driver") Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/

Re: Kernel v4.7-rc5 - performance degradation upto 40% after disabling and re-enabling a core

2016-06-29 Thread Peter Zijlstra
On Wed, Jun 29, 2016 at 01:15:17AM +0200, Jirka Hladky wrote: > Hello, > > on NUMA enabled server equipped with 4 Intel E5-4610 v2 CPUs we > observe following performance degradation: Do you have cluster on die enabled on that machine? If you disable it, does it still reproduce?

[PATCH v2 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-29 Thread Guodong Xu
From: Jorge Ramirez-Ortiz Early at boot, during the sys_clk initialization, make sure UART1 uses the higher frequency clock, 150MHz. This enables support for higher baud rates (up to 3Mbps) in UART1, which is required by faster bluetooth transfers. v2: use clk_set_rate() to propergate clock set

[PATCH v2 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz

2016-06-29 Thread Guodong Xu
From: Xinliang Liu In the bootloader of HiKey/96boards, syspll and media_syspll clk was initialized to 1.19GHz. So, here changes it in kernel accordingly. 1.19GHz was chosen over 1.2GHz because at 1.19GHz we get more precise HDMI pixel clock (1.19G/16 = 74.4MHz) for 1280x720p@60Hz HDMI (74.25MHz

[PATCH] [linux-next] irq: Fix typo in tracepoint.xml

2016-06-29 Thread Masanari Iida
This patch fix a spelling typo found in DocBook/tracepoint.xml. It is because the file was created from comments in source, so I have to fix the typo in include/trace/events/irq.h Signed-off-by: Masanari Iida --- include/trace/events/irq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-29 Thread Rajaram R
On Mon, Jun 27, 2016 at 5:43 PM, Heikki Krogerus wrote: > Hi, > > On Mon, Jun 27, 2016 at 03:51:08PM +0530, Rajaram R wrote: >> May be I am missing user or usage of the driver.. I see this driver is >> providing limited information of the Type-C connectors or the port >> partner > > Yes, this inte

Re: [PATCH 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-06-29 Thread Guodong Xu
On 28 June 2016 at 19:56, Jorge Ramirez wrote: > On 06/28/2016 12:31 PM, Guodong Xu wrote: >> >> From: Jorge Ramirez-Ortiz >> >> Early at boot, during the sys_clk initialization, make sure UART1 uses >> the higher frequency clock. >> >> This enables support for higher baud rates (up to 3Mbps) req

Re: [PATCH 2/2] serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 soc

2016-06-29 Thread Kefeng Wang
+cc linux-a...@vger.kernel.org On 2016/6/28 11:17, Kefeng Wang wrote: > Add ACPI identifier for UART on Hisilicon Hip05 soc, be careful > that it is not 16550 compatibal. > > Meanwhile, set dw8250_serial_out32 to keep consistent between serial_out > and serial_in in ACPI. > > Signed-off-by: Kefe

[PATCH] arm64: tegra: Add missing Smaug revision

2016-06-29 Thread Alexandre Courbot
The "google,smaug-rev2" string is missing from the compatible list of Smaug's DT. The differences of rev2 are not relevant at our current level of support and it boots just fine, so add it. Signed-off-by: Alexandre Courbot --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 3 ++- 1 file changed

[PATCH] 9p: use file_dentry()

2016-06-29 Thread Miklos Szeredi
v9fs may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. In this case it's a NULL pointer dereference in p9_fid_create(). Fix by replacing direct access of file->f_path.dentry with the file_dentry() accessor, which will always return a native object. Reported

Re: [PATCH v10 07/22] IB/hns: Add event queue support

2016-06-29 Thread oulijun
Hi, Leon 在 2016/6/24 23:46, Leon Romanovsky 写道: > On Thu, Jun 16, 2016 at 10:35:15PM +0800, Lijun Ou wrote: >> This patch added event queue support for RoCE driver. It is used >> for RoCE interrupt. RoCE includes 32 synchronous event irqs, 1 >> asynchronous event irq and 1 common overflow irq. >> >

Re: [PATCH v6 4/6] gpio: tps65218-gpio: Add platform_device_id table

2016-06-29 Thread Linus Walleij
On Tue, Jun 28, 2016 at 2:30 PM, Keerthy wrote: > platform_device_id table is needed for adding the tps65218-gpio > module to the mfd_cell array. > > Signed-off-by: Keerthy > --- > > Changes in v4: > > * Retained the compatible strings in order to interrogate the DT in the > normal way. S

[PATCH] pinctrl: uniphier: remove pointless pin-mux settings for PH1-LD11

2016-06-29 Thread Masahiro Yamada
This SoC has no SD card controller. Nor does it have USB port3. These pin-mux settings have no point. Fixes: 70f2f9c4cf25 ("pinctrl: uniphier: add UniPhier PH1-LD11 pinctrl driver") Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 10 -- 1 file chan

Re: [PATCH] pinctrl: uniphier: remove pointless SD pin-mux setting for PH1-LD11

2016-06-29 Thread Masahiro Yamada
2016-06-29 17:45 GMT+09:00 Masahiro Yamada : > This SoC has no SD card controller. This pin-muxing has no point. > > Fixes: 70f2f9c4cf25 ("pinctrl: uniphier: add UniPhier PH1-LD11 pinctrl > driver") > Signed-off-by: Masahiro Yamada I found another mistake in this driver. So, I'd like to repla

Re: [PATCH] arm64: tegra: Add missing Smaug revision

2016-06-29 Thread Jon Hunter
On 29/06/16 09:52, Alexandre Courbot wrote: > The "google,smaug-rev2" string is missing from the compatible list of > Smaug's DT. The differences of rev2 are not relevant at our current > level of support and it boots just fine, so add it. > > Signed-off-by: Alexandre Courbot > --- > arch/arm64

[PATCH v2] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-29 Thread Amit Pundir
From: Xerox Lin When rndis data transfer is in progress, some Windows7 Host PC is not sending the GET_ENCAPSULATED_RESPONSE command for receiving the response for the previous SEND_ENCAPSULATED_COMMAND processed. The rndis function driver appends each response for the SEND_ENCAPSULATED_COMMAND i

Re: [PATCH] dsa: b53: avoid 'maybe-uninitialized' warning

2016-06-29 Thread David Miller
From: Arnd Bergmann Date: Mon, 27 Jun 2016 11:19:13 +0200 > In some configurations, gcc produces a warning for correct code > in this driver: ... > I have seen the warning before and at the time thought I had fixed > it with 55e7f6abe131 ("dsa: b53: fix big-endian register access"), > however it

[PATCH] [linux-next] Doc: PM: Fix a typo in intel_powerclamp.txt

2016-06-29 Thread Masanari Iida
This patch fix a spelling typo in intel_powerclamp.txt Signed-off-by: Masanari Iida --- Documentation/thermal/intel_powerclamp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/thermal/intel_powerclamp.txt b/Documentation/thermal/intel_powerclamp.txt index 33

Re: [PATCH V5 2/3] powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg

2016-06-29 Thread Stewart Smith
Suraj Jitindar Singh writes: > --- a/arch/powerpc/include/asm/opal.h > +++ b/arch/powerpc/include/asm/opal.h > @@ -276,6 +276,14 @@ extern int opal_error_code(int rc); > > ssize_t opal_msglog_copy(char *to, loff_t pos, size_t count); > > +static inline int opal_get_async_rc(struct opal_msg ms

[PATCH V6 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-29 Thread thloh
From: Tien Hock Loh This adds support for TSE PCS that uses SGMII adapter when the phy-mode of the dwmac is set to sgmii. Signed-off-by: Tien Hock Loh --- v2: - Refactored the TSE PCS out from the dwmac-socfpga.c file - Added binding documentation for TSE PCS sgmii adapter v3: - Added missing

Re: [PATCH net-next 9/9] net: hns: get reset registers from DT

2016-06-29 Thread David Miller
From: Yisen Zhuang Date: Mon, 27 Jun 2016 17:54:15 +0800 > @@ -361,9 +371,10 @@ static int hns_mdio_reset(struct mii_bus *bus) > return -ENODEV; > } > > + sc_reg = &mdio_dev->sc_reg; > /* 1. reset req, and read reset st check */ > -

[PATCH v4 0/11] Misc fixup and add RK3399 eDP support to Analogix DP driver

2016-06-29 Thread Yakir Yang
RK3399 and RK3288 shared the same eDP IP controller, only some light difference with VOP configure and GRF configure. Also same misc fix to analogix_dp driver: - Hotplug invalid which report by Dan Carpenter - Make panel detect to an optional action - correct the register bit define error in ANAL

[PATCH v4 02/11] drm/bridge: analogix_dp: correct the register bit define error in ANALOGIX_DP_PLL_REG_1

2016-06-29 Thread Yakir Yang
There're an register define error in ANALOGIX_DP_PLL_REG_1 which introduced by commit bcec20fd5ad6 ("drm: bridge: analogix/dp: add some rk3288 special registers setting"). The PHY PLL input clock source is selected by ANALOGIX_DP_PLL_REG_1 BIT 0, not BIT 1. Signed-off-by: Yakir Yang Reviewed-by:

[PATCH v4 03/11] drm/bridge: analogix_dp: some rockchip chips need to flip REF_CLK bit setting

2016-06-29 Thread Yakir Yang
As vendor document indicate, when REF_CLK bit set 0, then DP phy's REF_CLK should switch to 24M source clock. But due to IC PHY layout mistaken, some chips need to flip this bit(like RK3288), and unfortunately they didn't indicate in the DP version register. That's why we have to make this little

[PATCH v4 01/11] drm/rockchip: analogix_dp: split the lcdc select setting into device data

2016-06-29 Thread Yakir Yang
eDP controller need to declare which vop provide the video source, and it's defined in GRF registers. But different chips have different GRF register address, so we need to create a device data to declare the GRF messages for each chips. Signed-off-by: Yakir Yang Acked-by: Mark Yao Reviewed-by:

[PATCH v4 09/11] drm/bridge: analogix_dp: fix no drm hpd event when panel plug in

2016-06-29 Thread Yakir Yang
The enum value of DP_IRQ_TYPE_HP_CABLE_IN is zero, but driver only send drm hp event when the irq_type and the enum value is true. if (irq_type & DP_IRQ_TYPE_HP_CABLE_IN || ...) drm_helper_hpd_irq_event(dp->drm_dev); So there would no drm hpd event when cable plug in, to fix that just nee

[PATCH v4 05/11] drm/rockchip: analogix_dp: make panel detect to an optional action

2016-06-29 Thread Yakir Yang
Some boards don't need to declare a panel device node, like the display interface is DP monitors, so it's necessary to make the panel detect to an optional action. Signed-off-by: Yakir Yang Acked-by: Mark Yao Reviewed-by: Tomasz Figa --- Changes in v4: - Move of_node_put(panel_node) directly be

[PATCH v4 06/11] drm/bridge: analogix_dp: passing the connector as an argument in .get_modes()

2016-06-29 Thread Yakir Yang
It's better to pass the connector to platform driver in .get_modes() callback, just like what the .get_modes() helper function designed. Signed-off-by: Yakir Yang Reviewed-by: Sean Paul Reviewed-by: Tomasz Figa --- Changes in v4: - Add reviewed flag from Sean. - Add reviewed flag from Tomasz.

[PATCH v4 07/11] drm/rockchip: analogix_dp: correct the connector display color format and bpc

2016-06-29 Thread Yakir Yang
Rockchip VOP couldn't output YUV video format for eDP controller, so when driver detect connector support YUV video format, we need to hack it down to RGB888. Signed-off-by: Yakir Yang Acked-by: Mark Yao Reviewed-by: Tomasz Figa --- Changes in v4: - Using mask variable to collect the YUV video

Re: [PATCH linux 0/8] xen: pvhvm: support bootup on secondary vCPUs

2016-06-29 Thread Vitaly Kuznetsov
David Vrabel writes: > On 28/06/16 17:47, Vitaly Kuznetsov wrote: >> It may happen that Xen's and Linux's ideas of vCPU id diverge. In >> particular, when we crash on a secondary vCPU we may want to do kdump >> and unlike plain kexec where we do migrate_to_reboot_cpu() we try booting >> on the vC

[PATCH v4 10/11] drm/rockchip: analogix_dp: introduce the pclk for grf

2016-06-29 Thread Yakir Yang
For RK3399's GRF module, if we want to operate the graphic related grf registers, we need to enable the pclk_vio_grf which supply power for VIO GRF IOs, so it's better to introduce an optional grf clock in driver. Signed-off-by: Yakir Yang Reviewed-by: Douglas Anderson Reviewed-by: Tomasz Figa

Re: [PATCH] net: the space is required before the open parenthesis '('

2016-06-29 Thread David Miller
From: Wei Tang Date: Mon, 27 Jun 2016 18:12:46 +0800 > The space is missing before the open parenthesis '(', and this > will introduce much more noise when checking patch around. > > Signed-off-by: Wei Tang Applied.

Re: [PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-29 Thread Neil Armstrong
On 06/28/2016 11:58 PM, Stephen Boyd wrote: > Quoting Neil Armstrong (2016-06-28 01:49:37) >> On 06/26/2016 09:28 AM, Stephen Boyd wrote: >>> + uphy->cal_sleep_clk = clk = devm_clk_get(&ulpi->dev, "cal_sleep"); >>> + if (IS_ERR(clk)) >>> + return PTR_ERR(clk); >> >> Hi Stephen,

RE: [PATCH v12 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-06-29 Thread Dexuan Cui
> From: Rick Jones [mailto:rick.jon...@hpe.com] > Sent: Tuesday, June 28, 2016 23:43 > To: Dexuan Cui ; David Miller > 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; v

[PATCH v4 11/11] dt-bindings: analogix_dp: rockchip: correct the wrong compatible name

2016-06-29 Thread Yakir Yang
The document about rockchip platform make a mistaken in available compatible name of "rk3288-edp", we should correct it to "rk3288-dp" which correspond to the compatible name in driver. This mistaken was introduced in commit be91c36247089 ("dt-bindings: add document for rockchip variant of analogi

[PATCH v4 08/11] drm/rockchip: analogix_dp: update the comments about why need to hardcode VOP output mode

2016-06-29 Thread Yakir Yang
The hardware IC designed that VOP must output the RGB10 video format to eDP contoller, and if eDP panel only support RGB8, then eDP contoller should cut down the video data, not via VOP contoller, that's why we need to hardcode the VOP output mode to RGA10 here. Signed-off-by: Yakir Yang Acked-by

[RESEND PATCH] ARM: oxnas: Change OX810SE default driver config

2016-06-29 Thread Neil Armstrong
Since the SP804 timer changes will not been merged upstream, switch the default OX810SE config to the OXNAS RPS Timer driver configuration. Signed-off-by: Neil Armstrong --- arch/arm/mach-oxnas/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Dear arm-soc maintainers, Gentle ping/

Re: [PATCH 18/23] [AARCH64] ILP32: support stat syscall family

2016-06-29 Thread Andreas Schwab
../sysdeps/unix/sysv/linux/aarch64/ilp32/lxstat64.c: In function '__lxstat64': ../sysdeps/unix/sysv/linux/aarch64/ilp32/lxstat64.c:32:7: error: unused variable 'result' [-Werror=unused-variable] int result; ^~ Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerpri

[PATCH v4 04/11] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-06-29 Thread Yakir Yang
RK3399 and RK3288 shared the same eDP IP controller, only some light difference with VOP configure and GRF configure. Signed-off-by: Yakir Yang Acked-by: Mark Yao Reviewed-by: Tomasz Figa --- Changes in v4: - Improved the overly complicated .atomic_check function. (Sean) - Add reviewed flag fro

Re: [PATCH v2 0/2] net: thunderx: Miscellaneous fixes

2016-06-29 Thread David Miller
From: sunil.kovv...@gmail.com Date: Mon, 27 Jun 2016 15:30:01 +0530 > From: Sunil Goutham > > This 2 patch series fixes issues w.r.t physical link status > reporting and transmit datapath configuration for > secondary qsets. > > Changes from v1: > Fixed lmac disable sequence for interfaces of t

Re: [PATCH 4/7] reset: Supply *_shared variant calls when using *_optional APIs

2016-06-29 Thread Philipp Zabel
Am Mittwoch, den 29.06.2016, 09:06 +0100 schrieb Lee Jones: > On Wed, 29 Jun 2016, Philipp Zabel wrote: > > Am Dienstag, den 28.06.2016, 09:56 +0100 schrieb Lee Jones: > > > Philipp, > > > > > > I need this to go into the -rcs too. > > > > > > Can I add it with your Ack please? > > > > I have al

[PATCH v4 3/3] gpio: lp873x: Add support for General Purpose Outputs

2016-06-29 Thread Keerthy
Add driver for lp873x PMIC family GPOs. Two GPOs are supported and can be configured in Open-drain output or Push-pull output. Signed-off-by: Keerthy --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-lp873x.c | 188 +++

[PATCH v4 1/3] Documentation: mfd: LP873X: Add information for the mfd driver

2016-06-29 Thread Keerthy
The lp873x series of PMICs have a bunch of regulators and a couple of GPO(General Purpose Outputs). Add information for the mfd and regulator drivers. Acked-by: Rob Herring Signed-off-by: Keerthy --- Changes in v4: * Added the GPO properties. Changes in v3: * Changed the example node lab

Re: [PATCH/RFC 1/6] spi: Document DT bindings for SPI controllers in slave mode

2016-06-29 Thread Geert Uytterhoeven
Hi Rob, On Fri, Jun 24, 2016 at 7:06 PM, Rob Herring wrote: > On Wed, Jun 22, 2016 at 03:42:04PM +0200, Geert Uytterhoeven wrote: >> Signed-off-by: Geert Uytterhoeven >> --- >> Documentation/devicetree/bindings/spi/spi-bus.txt | 31 >> ++- >> 1 file changed, 19 insertions(+

[PATCH v4 2/3] mfd: lp873x: Add lp873x PMIC support

2016-06-29 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

[PATCH v4 0/3] mfd: lp873x: Add lp873x PMIC support

2016-06-29 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

Re: [PATCH v6 4/6] gpio: tps65218-gpio: Add platform_device_id table

2016-06-29 Thread Keerthy
On Wednesday 29 June 2016 02:26 PM, Linus Walleij wrote: On Tue, Jun 28, 2016 at 2:30 PM, Keerthy wrote: platform_device_id table is needed for adding the tps65218-gpio module to the mfd_cell array. Signed-off-by: Keerthy --- Changes in v4: * Retained the compatible strings in order t

DONATION OF $ 1.5 MILLION DOLLARS!!!

2016-06-29 Thread Colin & Chris Weir
My wife and I have awarded you with a donation of $ 1.5 million Dollars from part of our Jackpot Lottery of 161,653,000 Million Pounds,Send your name,Address, Phone for claims Now. To verify the genuineness of this email, check this web page; http://www.bbc.com/news/uk-scotland-glasgow-west-1880

Re: [PATCH 4/7] reset: Supply *_shared variant calls when using *_optional APIs

2016-06-29 Thread Lee Jones
On Wed, 29 Jun 2016, Philipp Zabel wrote: > Am Mittwoch, den 29.06.2016, 09:06 +0100 schrieb Lee Jones: > > On Wed, 29 Jun 2016, Philipp Zabel wrote: > > > Am Dienstag, den 28.06.2016, 09:56 +0100 schrieb Lee Jones: > > > > Philipp, > > > > > > > > I need this to go into the -rcs too. > > > > >

Re: [GIT PULL 00/18] perf/core improvements and fixes

2016-06-29 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 28, 2016 at 09:02:57AM +0200, Ingo Molnar escreveu: > > > > * Arnaldo Carvalho de Melo wrote: > > > > > Hi Ingo, > > > > > > Please consider pulling, > > > > > > - Arnaldo > > > > > > The following changes since commit > > > d4cf1949f96893

[tip:perf/core] perf annotate: Remove unused hist_entry__annotate function

2016-06-29 Thread tip-bot for Ravi Bangoria
Commit-ID: f2f4fe4410ac6de96f8561aefeadbb680e5ddc99 Gitweb: http://git.kernel.org/tip/f2f4fe4410ac6de96f8561aefeadbb680e5ddc99 Author: Ravi Bangoria AuthorDate: Fri, 24 Jun 2016 17:23:55 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Jun 2016 10:58:50 -0300 perf annotate

[tip:perf/core] perf tools: Update makefile message for installing slang devel package

2016-06-29 Thread tip-bot for Neeraj Badlani
Commit-ID: 9f776ba11c8be311a5c23777bc9f3b96498cc6cc Gitweb: http://git.kernel.org/tip/9f776ba11c8be311a5c23777bc9f3b96498cc6cc Author: Neeraj Badlani AuthorDate: Mon, 27 Jun 2016 06:59:57 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Jun 2016 12:44:22 -0300 perf tools:

[tip:perf/core] perf annotate: Generalize handling of 'ret' instructions

2016-06-29 Thread tip-bot for Naveen N. Rao
Commit-ID: 6ef9492915b09816c75bb41e7e37b2e507d2f70f Gitweb: http://git.kernel.org/tip/6ef9492915b09816c75bb41e7e37b2e507d2f70f Author: Naveen N. Rao AuthorDate: Fri, 24 Jun 2016 17:23:58 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Jun 2016 14:25:05 -0300 perf annotate

[tip:perf/core] perf build: Add libbabeltrace to build-test

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: f5ce45736b5036e73e7ffa800a1137ad778d186e Gitweb: http://git.kernel.org/tip/f5ce45736b5036e73e7ffa800a1137ad778d186e Author: Wang Nan AuthorDate: Sat, 25 Jun 2016 01:41:58 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:52 -0300 perf build: Add li

[tip:perf/core] perf tools: Add more toolchain triplets

2016-06-29 Thread tip-bot for Ravi Bangoria
Commit-ID: 78f69b5865dbb7cc87fe18fb98212e23b10b5cbd Gitweb: http://git.kernel.org/tip/78f69b5865dbb7cc87fe18fb98212e23b10b5cbd Author: Ravi Bangoria AuthorDate: Fri, 24 Jun 2016 17:24:00 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Jun 2016 14:31:41 -0300 perf tools: A

[tip:perf/core] perf record: Move mmap setup block to separate function

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: cda57a8c74aa326cbb1a1e2f7d30f8c76983e70c Gitweb: http://git.kernel.org/tip/cda57a8c74aa326cbb1a1e2f7d30f8c76983e70c Author: Wang Nan AuthorDate: Mon, 27 Jun 2016 10:24:03 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:53 -0300 perf record: Move

[tip:perf/core] perf data convert: Include config.h header

2016-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: f6c12a004c149a7b0ea1332fa715979888dd4695 Gitweb: http://git.kernel.org/tip/f6c12a004c149a7b0ea1332fa715979888dd4695 Author: Jiri Olsa AuthorDate: Fri, 24 Jun 2016 14:40:24 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:52 -0300 perf data convert

[tip:perf/core] perf record: Prepare reading from multiple evlists in record__mmap_read_all()

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: cb21686b7d37776cfd34793f08d6466ce9091a7d Gitweb: http://git.kernel.org/tip/cb21686b7d37776cfd34793f08d6466ce9091a7d Author: Wang Nan AuthorDate: Mon, 27 Jun 2016 10:24:04 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:53 -0300 perf record: Prepa

[tip:perf/core] perf record: Prepare picking perf_event_mmap_page from multiple evlists

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: ee667f947c926eda1b8d6eccd0894bfbed75b6e3 Gitweb: http://git.kernel.org/tip/ee667f947c926eda1b8d6eccd0894bfbed75b6e3 Author: Wang Nan AuthorDate: Mon, 27 Jun 2016 10:24:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:54 -0300 perf record: Prepa

Re: [PATCH net] bpf, perf: delay release of BPF prog after grace period

2016-06-29 Thread David Miller
From: Daniel Borkmann Date: Mon, 27 Jun 2016 21:38:11 +0200 > Commit dead9f29ddcc ("perf: Fix race in BPF program unregister") moved > destruction of BPF program from free_event_rcu() callback to __free_event(), > which is problematic if used with tail calls: if prog A is attached as > trace even

[tip:perf/core] perf symbols: Use proper dso name for is_regular_file

2016-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: ed7b630b310775f3b6c0b360ede7a12cd8dff6fe Gitweb: http://git.kernel.org/tip/ed7b630b310775f3b6c0b360ede7a12cd8dff6fe Author: Jiri Olsa AuthorDate: Fri, 24 Jun 2016 14:40:25 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:54 -0300 perf symbols: Use

[tip:perf/core] perf data ctf: Add value_set_string() helper

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: 069ee5c488d161f539bb897b1bc64b83f9773221 Gitweb: http://git.kernel.org/tip/069ee5c488d161f539bb897b1bc64b83f9773221 Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:06 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:55 -0300 perf data ctf: Add

[tip:perf/core] perf data ctf: Pass convert options through opts structure

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: 3275f68e50290acd04612c6af41173fe83fdf4b0 Gitweb: http://git.kernel.org/tip/3275f68e50290acd04612c6af41173fe83fdf4b0 Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:07 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:55 -0300 perf data ctf: Pas

[tip:perf/core] perf data ctf: Prepare collect non-sample events

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: 8ee4c46c5ec2481dd18098c5604f791ff911d427 Gitweb: http://git.kernel.org/tip/8ee4c46c5ec2481dd18098c5604f791ff911d427 Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:09 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:56 -0300 perf data ctf: Pre

[tip:perf/core] perf data ctf: Generate comm event to CTF output

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: f5a08ceda55bee91f879d2ac19edeb4a8916d04f Gitweb: http://git.kernel.org/tip/f5a08ceda55bee91f879d2ac19edeb4a8916d04f Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:10 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:57 -0300 perf data ctf: Gen

[tip:perf/core] perf data ctf: Add 'all' option

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: f02a6489d1e181c6c2731e80ff37024a130c326a Gitweb: http://git.kernel.org/tip/f02a6489d1e181c6c2731e80ff37024a130c326a Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:08 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:56 -0300 perf data ctf: Add

[tip:perf/core] perf data ctf: Add '--all' option for 'perf data convert'

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: 9e1a7ea19f9f8e3e40c5ad1a5cc3615c1746ae7b Gitweb: http://git.kernel.org/tip/9e1a7ea19f9f8e3e40c5ad1a5cc3615c1746ae7b Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:57 -0300 perf data ctf: Add

[tip:perf/core] perf data ctf: Generate fork and exit events to CTF output

2016-06-29 Thread tip-bot for Wang Nan
Commit-ID: ebccba3fe0a02f622f80e6be0e8ecb1a9a3ed983 Gitweb: http://git.kernel.org/tip/ebccba3fe0a02f622f80e6be0e8ecb1a9a3ed983 Author: Wang Nan AuthorDate: Fri, 24 Jun 2016 11:22:12 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 Jun 2016 10:54:58 -0300 perf data ctf: Gen

Re: [patch] qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()

2016-06-29 Thread David Miller
From: Dan Carpenter Date: Mon, 27 Jun 2016 23:50:29 +0300 > There is a static checker warning here "warn: mask and shift to zero" > and the code sets "ring" to zero every time. From looking at how > QLCNIC_FETCH_RING_ID() is used in qlcnic_83xx_process_rcv_ring() the > qlcnic_83xx_hndl() should

Re: [PATCH] usb: otg-fsm: Cancel HNP polling work when not used

2016-06-29 Thread Peter Chen
On Mon, Jun 27, 2016 at 06:18:27PM -0700, Stephen Boyd wrote: > We setup the HNP polling worker, but we never stop it. The OTG > state machine can go round and round and keep reinitializing the > worker even while it's actively running. That's bad, and debug > objects catches it. Fix this by cancel

[PATCH 2/2] HID: logitech-hidpp: remove HIDPP_QUIRK_CONNECT_EVENTS

2016-06-29 Thread Peter Hutterer
From: Benjamin Tissoires Now that we can create battery power_supply sources, it's better to enable the connect_event callback unconditionally. Signed-off-by: Benjamin Tissoires Tested-by: Peter Hutterer Signed-off-by: Peter Hutterer --- drivers/hid/hid-logitech-hidpp.c | 19 +++-

[PATCH 1/2] HID: logitech-hidpp: add battery support for HID++ 2.0 devices

2016-06-29 Thread Peter Hutterer
If the 0x1000 Unified Battery Level Status feature exists, expose the battery level. The main drawback is that while a device is plugged in its battery level is 0. To avoid exposing that as 0% charge we make up a number based on the charging status. Signed-off-by: Peter Hutterer Signed-off-by: B

[PATCH -v2 0/2] printk.kmsg: Ratelimit it by default

2016-06-29 Thread Borislav Petkov
From: Borislav Petkov Hi all, here's v2 with the requested sysctl option kernel.printk_kmsg and locking of the setting when printk.kmsg= is supplied on the command line. Patch 1 is unchanged. Patch 2 has grown the sysctl addition. Changelog: v1: Rostedt is busy so I took Linus' old patch an

[PATCH -v2 2/2] printk: Add kernel parameter to control writes to /dev/kmsg

2016-06-29 Thread Borislav Petkov
From: Borislav Petkov Add a "printk.kmsg" kernel command line parameter which controls how userspace writes into /dev/kmsg. It has three options: * ratelimit - ratelimit logging from userspace. * on - unlimited logging from userspace * off - logging from userspace gets ignored The default sett

[PATCH -v2 1/2] ratelimit: Extend to print suppressed messages on release

2016-06-29 Thread Borislav Petkov
From: Borislav Petkov Extend the ratelimiting facility to print the amount of suppressed lines when it is being released. Separated from a previous patch by Linus. Signed-off-by: Borislav Petkov Acked-by: Linus Torvalds --- include/linux/ratelimit.h | 36 +++-

Re: Kernel v4.7-rc5 - performance degradation upto 40% after disabling and re-enabling a core

2016-06-29 Thread Peter Zijlstra
On Wed, Jun 29, 2016 at 11:47:56AM +0200, Jirka Hladky wrote: > Hi Peter, > > I think Cluster on Die technology was introduced in Haswell generation. The > server I'm using is equipped with 4x Intel E5-4610 v2 (Ivy Bridge). I have > double checked the BIOS and there is no cluster on die setting.

[PATCH v2 1/1] regulator: max77620: check for valid regulator info

2016-06-29 Thread Venkat Reddy Talla
SD4 regulator is not registered with regulator core framework in probe as there is no support in MAX77620 PMIC, removing SD4 entry from MAX77620 regulator information list and checking for valid regulator information data before configuring FPS source and FPS power up/down period to avoid NULL poin

Re: [merged] mm-compaction-abort-free-scanner-if-split-fails.patch removed from -mm tree

2016-06-29 Thread Vlastimil Babka
On 06/29/2016 10:12 AM, Joonsoo Kim wrote: @@ -1035,8 +1034,12 @@ static void isolate_freepages(struct com continue; /* Found a block suitable for isolating free pages from. */ - isolate_freepages_block(cc, &isolate_start_pfn, -

Re: [PATCH 1/2] net: ethernet: mvpp2: use phydev from struct net_device

2016-06-29 Thread David Miller
From: Philippe Reynes Date: Tue, 28 Jun 2016 00:08:11 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phydev in the private structure, and update the driver to use the > one contained in struct

Re: [PATCH 2/2] net: ethernet: mvpp2: use phy_ethtool_{get|set}_link_ksettings

2016-06-29 Thread David Miller
From: Philippe Reynes Date: Tue, 28 Jun 2016 00:08:12 +0200 > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 17/23] [AARCH64] ILP32: introduce syscalls that pass off_t

2016-06-29 Thread Andreas Schwab
rpm: ../sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c:31: __libc_pread: Assertion `sizeof (offset) == 4' failed. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [RFC PATCH v2 00/26] perf tools: Support uBPF script

2016-06-29 Thread Hekuang
hi 在 2016/6/28 22:57, Alexei Starovoitov 写道: return 0; } @@ -465,7 +465,7 @@ EXPORT_SYMBOL_GPL(__bpf_call_base); * * Decode and execute eBPF instructions. */ -static unsigned int __bpf_prog_run(void *ctx, const struct bpf_insn *insn) +unsigned int __bpf_prog_run(void *ctx, c

Re: [PATCH -v2 1/2] ratelimit: Extend to print suppressed messages on release

2016-06-29 Thread Joe Perches
On Wed, 2016-06-29 at 11:56 +0200, Borislav Petkov wrote: > From: Borislav Petkov > > Extend the ratelimiting facility to print the amount of suppressed lines > when it is being released. > > Separated from a previous patch by Linus. [] > diff --git a/include/linux/ratelimit.h b/include/linux/ra

Re: [PATCH 0/5] sched/debug: decouple sched_stat tracepoints from CONFIG_SCHEDSTATS

2016-06-29 Thread Peter Zijlstra
On Tue, Jun 28, 2016 at 02:43:36PM +0200, Peter Zijlstra wrote: > Yeah, its a bit of a pain in general... > > A) perf stat --null --repeat 50 -- perf bench sched messaging -g 50 -l 5000 | > grep "seconds time elapsed" > B) perf stat --null --repeat 50 -- taskset 1 perf bench sched pipe | grep >

Re: [PATCHv3 1/2] usb: USB Type-C connector class

2016-06-29 Thread Heikki Krogerus
On Wed, Jun 29, 2016 at 02:21:10PM +0530, Rajaram R wrote: > On Mon, Jun 27, 2016 at 5:43 PM, Heikki Krogerus > wrote: > > Hi, > > > > On Mon, Jun 27, 2016 at 03:51:08PM +0530, Rajaram R wrote: > >> May be I am missing user or usage of the driver.. I see this driver is > >> providing limited infor

Unbounded growth of slab caches and how to shrink them

2016-06-29 Thread Nikolay Borisov
Hello Christoph, I've observed a rather strange unbounded growth of the kmalloc-192 slab cache: OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 711124869 411527215 3%0.19K 16934908 42 135479264K kmalloc-192 Essentially the kmalloc is around 130 GB , ye

[PATCH v2 kernel 6/7] mm: add the related functions to get free page info

2016-06-29 Thread Liang Li
Save the free page info into a page bitmap, will be used in virtio balloon device driver. Signed-off-by: Liang Li Cc: Andrew Morton Cc: Mel Gorman Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck Cc: Amit Shah --- mm/page_alloc.c | 46 +

[PATCH v2 kernel 1/7] virtio-balloon: rework deflate to add page to a list

2016-06-29 Thread Liang Li
will allow faster notifications using a bitmap down the road. balloon_pfn_to_page() can be removed because it's useless. Signed-off-by: Liang Li Signed-off-by: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck Cc: Amit Shah --- drivers/virtio/virtio_balloon.c | 22 --

[PATCH v2 kernel 4/7] virtio-balloon: speed up inflate/deflate process

2016-06-29 Thread Liang Li
The implementation of the current virtio-balloon is not very efficient, the time spends on different stages of inflating the balloon to 7GB of a 8GB idle guest: a. allocating pages (6.5%) b. sending PFNs to host (68.3%) c. address translation (6.1%) d. madvise (19%) It takes about 4126ms for the

[PATCH v2 kernel 5/7] virtio-balloon: define feature bit and head for misc virt queue

2016-06-29 Thread Liang Li
Define a new feature bit which supports a new virtual queue. This new virtual qeuque is for information exchange between hypervisor and guest. The VMM hypervisor can make use of this virtual queue to request the guest do some operations, e.g. drop page cache, synchronize file system, etc. And the V

[PATCH v2 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-06-29 Thread Liang Li
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data transmission

[PATCH v2 kernel 7/7] virtio-balloon: tell host vm's free page info

2016-06-29 Thread Liang Li
Support the request for vm's free page information, response with a page bitmap. QEMU can make use of this free page bitmap to speed up live migration process by skipping process the free pages. Signed-off-by: Liang Li Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck Cc: Amit Shah -

Re: [RFC PATCH v2 00/26] perf tools: Support uBPF script

2016-06-29 Thread Wangnan (F)
On 2016/6/29 18:15, Hekuang wrote: hi 在 2016/6/28 22:57, Alexei Starovoitov 写道: return 0; } @@ -465,7 +465,7 @@ EXPORT_SYMBOL_GPL(__bpf_call_base); * * Decode and execute eBPF instructions. */ -static unsigned int __bpf_prog_run(void *ctx, const struct bpf_insn *insn) +

[PATCH v2 kernel 3/7] mm: add a function to get the max pfn

2016-06-29 Thread Liang Li
Expose the function to get the max pfn, so it can be used in the virtio-balloon device driver. Signed-off-by: Liang Li Cc: Andrew Morton Cc: Mel Gorman Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck Cc: Amit Shah --- mm/page_alloc.c | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH v10 07/22] IB/hns: Add event queue support

2016-06-29 Thread Leon Romanovsky
On Wed, Jun 29, 2016 at 04:53:39PM +0800, oulijun wrote: > >> + > >> + for (i = 0; i < npages; ++i) > >> + if (eq->buf_list[i].buf) > > > > Is it possible situation to have eq->buf_list[i].buf == NULL at the > > middle of iteration? > > > We have analysized it according to your reivews

[PATCH v2 kernel 2/7] virtio-balloon: define new feature bit and page bitmap head

2016-06-29 Thread Liang Li
Add a new feature which supports sending the page information with a bitmap. The current implementation uses PFNs array, which is not very efficient. Using bitmap can improve the performance of inflating/deflating significantly The page bitmap header will used to tell the host some information abo

Re: [RESEND PATCH 1/3] bcache: Remove redundant parameter for cache_alloc()

2016-06-29 Thread Coly Li
在 16/6/22 上午10:10, Yijing Wang 写道: > Cache_sb is not used in cache_alloc, and we have copied > sb info to cache->sb already, remove it. > > Signed-off-by: Yijing Wang > --- > drivers/md/bcache/super.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/md/bc

Re: [RESEND PATCH 2/3] bcache: update document info

2016-06-29 Thread Coly Li
在 16/6/22 上午10:12, Yijing Wang 写道: > There is no return in continue_at(), update the documentation. > There are 2 modification of this patch. The first one is about a typo, it is correct. But I doubt your second modification is proper. The line removed in your patch is, > - * continue_at() also,

<    1   2   3   4   5   6   7   8   9   >