[f2fs-dev] [PATCH] f2fs: reuse inode_entry_slab in gc procedure for using slab more effectively

2014-12-28 Thread Chao Yu
There are two slab cache inode_entry_slab and winode_slab using the same structure as below: struct dir_inode_entry { struct list_head list; /* list head */ struct inode *inode;/* vfs inode pointer */ }; struct inode_entry { struct list_head list; struct

Re: [PATCH] perf: fix building error in x86_64 when dwarf unwind is on

2014-12-28 Thread Namhyung Kim
Hi Wang, (Adding Arnaldo and Jiri to CC) On Sat, Dec 27, 2014 at 09:26:11AM +0800, Wang Nan wrote: > When build with 'make ARCH=x86' and dwarf unwind is on, there is a > compiling error: > >CC /home/wn/perf/arch/x86/util/unwind-libdw.o >CC

Re: [PATCH] arch: arm: common: edma.c: Remove some unused functions

2014-12-28 Thread Peter Ujfalusi
On 12/07/2014 12:53 AM, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > edma_shadow0_read() edma_or_array() > > This was partially found by using a static code analysis program called > cppcheck. Acked-by: Peter Ujfalusi > > Signed-off-by: Rickard

Re: [PATCH net-next] net: stmmac: add BQL support

2014-12-28 Thread Florian Fainelli
2014-12-28 6:57 GMT-08:00 Beniamino Galvani : > Add support for Byte Queue Limits to the STMicro MAC driver. > > Tested on a Amlogic S805 Cortex-A5 board, where the use of BQL > slightly decreases the ping latency from ~10ms to ~3ms when the > 100Mbps link is saturated by TCP streams. No

Re: [PATCH 1/1] perf list: Fix --raw-dump option

2014-12-28 Thread Namhyung Kim
Hi Taesoo, On Fri, Dec 26, 2014 at 11:29:33PM -0500, Taesoo Kim wrote: > Currently, 'perf list --raw-dump' requires extra arguments > (e.g., hw) to invoke, which breaks bash/zsh completion > (perf-completion.sh). > > $ perf list --raw-dump > Error: unknown option `raw-dump' > >

Re: [PATCH] usb: gadget: udc-core: call udc_stop() before gadget unbind

2014-12-28 Thread Robert Baldyga
Hi Felipe, On 12/23/2014 07:31 PM, Felipe Balbi wrote: > On Tue, Dec 23, 2014 at 07:34:15AM +0100, Robert Baldyga wrote: >> On 12/22/2014 05:34 PM, Felipe Balbi wrote: >>> On Mon, Dec 15, 2014 at 11:05:22AM +0100, Robert Baldyga wrote: On 12/15/2014 06:13 AM, Peter Chen wrote: > On Fri,

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2014-12-28 Thread Alex Hung
On Fri, Dec 26, 2014 at 5:55 AM, Gabriele Mazzotta wrote: > On Thursday 25 December 2014 21:11:05 Pali Rohár wrote: >> I will try to recap all information which we have... >> >> *) We should not send wireless key press to userspace when BIOS >> already handles wireless state (and enable/disable

RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2014-12-28 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 25, 2014 4:35 PM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH] f2fs: add extent cache base

Re: [PATCH] bcma: fix three coding style issues, more than 80 characters per line

2014-12-28 Thread Kalle Valo
Rafał Miłecki writes: > On 27 December 2014 at 20:24, Oscar Forner Martinez > wrote: >> Three lines with more than 80 characters per line have been split in several >> lines. >> >> Signed-off-by: Oscar Forner Martinez > > Acked-by: Rafał Miłecki > > Kalle: will you pick this patch? Most

Re: [PATCH 3/3] Staging: comedi: fix space and 80 char coding style issue

2014-12-28 Thread Sudip Mukherjee
On Mon, Dec 29, 2014 at 03:14:45AM +0530, jitendra kumar khasdev wrote: > This is a patch to the s626.c file that fixes up spcae and maximum > character limit warning found by the checkpatch.pl tool you are doing two different kind of changes in this patch. it should be in two different patches.

Re: [PATCH 18/37] perf tools: Remove thread when map groups initialization failed

2014-12-28 Thread Namhyung Kim
On Sat, Dec 27, 2014 at 05:45:56PM -0700, David Ahern wrote: > On 12/24/14 12:15 AM, Namhyung Kim wrote: > >Otherwise it'll break the machine->threads tree. > > > >Signed-off-by: Namhyung Kim > >--- > > tools/perf/util/machine.c | 1 + > > 1 file changed, 1 insertion(+) > > > >diff --git

Re: [PATCH] Staging: line6: remove spaces before commas.

2014-12-28 Thread Sudip Mukherjee
On Sun, Dec 28, 2014 at 09:30:44PM +0100, Jonas Lundqvist wrote: > Hi Jeremiah, > > On 12/28/2014 04:44 PM, Jeremiah Mahler wrote: > > Jonas, > > > > On Sun, Dec 28, 2014 at 02:26:46PM +0100, Jonas Lundqvist wrote: > >> Fixed three errors in pcm.h found by checkpatch.pl. > > > > What type of

[LKP] [xfs] dbe1b5ca263: +6.5% will-it-scale.per_thread_ops

2014-12-28 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit dbe1b5ca26396b6c61d711c8ac4de13ebb02e9f6 ("xfs: Make xfs_vn_rename compliant with renameat2() syscall") testbox/testcase/testparams: lkp-nex05/will-it-scale/performance-pwrite1

[PATCH] x86/hw-breakpoints: eliminate a compiler warning for hw_breakpoint.c

2014-12-28 Thread Chen Yucong
There is a warning message when we compile the linux-next tree. arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’: arch/x86/kernel/hw_breakpoint.c:329:20: warning: ‘align’ may be used uninitialized in this function [-Wuninitialized] This patch aims to eliminate the

Re: [PATCH] staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.

2014-12-28 Thread Sudip Mukherjee
On Sat, Dec 27, 2014 at 07:45:07PM +0100, Rickard Strandqvist wrote: > Avoid allocate memory if we will exit the function. > > Was found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/staging/ft1000/ft1000-usb/ft1000_hw.c |8

[PATCH RFC v6 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-28 Thread Liu Ying
Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH RFC v6 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-28 Thread Liu Ying
Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * None. v3->v4: * Fix an ordering issue to address Stefan Wahren's comment. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH RFC v6 05/21] ARM: imx6q: clk: Add the video_27m clock

2014-12-28 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 +

[PATCH RFC v6 07/21] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-28 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. So, this patch changes the hsi_tx clock to be a

[PATCH RFC v6 09/21] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-28 Thread Liu Ying
The MIPI DSI node contains some ports which represent possible DRM CRTCs it can connect with. Each port has a 'reg' property embedded. This property will be wrongly interpretted by the MIPI DSI bus driver, because the driver will take each subnode which contains a 'reg' property as a DSI

[PATCH] sched/core: remove check of p->sched_class

2014-12-28 Thread Yao Dongdong
Search all usage of p->sched_class in sched/core.c, no one check it before use, so it seems that every task must belong to one sched_class. Signed-off-by: Yao Dongdong --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c

[PATCH RFC v6 17/21] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-28 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v5->v6: * None. v3->v4: * None. v2->v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1->v2: * None.

[PATCH RFC v6 12/21] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-28 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v5->v6: * Make the checkpatch.pl script be happier. v4->v5: * Remove 'dsi->panel = NULL;' in dw_mipi_dsi_host_detach()

[PATCH RFC v6 16/21] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-28 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v5->v6: * Make the checkpatch.pl script be happier. * Do not set the dsi channel number to be zero in probe(), because the MIPI DSI bus driver would set it. v4->v5: * Address Andrzej Hajda's comments. *

[PATCH RFC v6 18/21] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-28 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * Replace the bs[3:0]-gpios properties with the

[PATCH RFC v6 15/21] Documentation: dt-bindings: Add bindings for Himax HX8369A DRM panel driver

2014-12-28 Thread Liu Ying
This patch adds device tree bindings for Himax HX8369A DRM panel driver. Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * Merge the bs[3:0]-gpios properties into one property - bs-gpios. This addresses Andrzej Hajda's comment. v3->v4: * Newly introduced in v4. This is separated

[PATCH RFC v6 14/21] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-28 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying --- v5->v6: * Make the checkpatch.pl script be happier. v4->v5: * None. v3->v4: * Move the relevant dt-bindings to a separate patch to address Stefan

[PATCH RFC v6 20/21] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-28 Thread Liu Ying
This patch adds support for MIPI DSI host controller. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the MIPI DSI host controller driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v6 19/21] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-28 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None.

[PATCH RFC v6 21/21] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-28 Thread Liu Ying
This patch adds support for Himax HX8369A panel. The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm menuconfig and manually choose to build in the Himax HX8369A panel driver * make ARCH=arm savedefconfig * cp defconfig

[PATCH RFC v6 01/21] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-28 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v6 13/21] Documentation: dt-bindings: Add bindings for i.MX specific Synopsys DW MIPI DSI driver

2014-12-28 Thread Liu Ying
This patch adds device tree bindings for i.MX specific Synopsys DW MIPI DSI driver. Signed-off-by: Liu Ying --- v5->v6: * Add the #address-cells and #size-cells properties in the example 'ports' node. * Remove the useless pllref_gate clock from the required clocks, clock-names property.

[PATCH RFC v6 08/21] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-28 Thread Liu Ying
The CG8 field of the CCM CCGR3 register is named as 'mipi_core_cfg' clock, according to the i.MX6q/sdl reference manuals. This clock is actually the gate for several clocks, including the hsi_tx_sel clock's output and the video_27m clock's output. The MIPI DSI host controller embedded in the

[PATCH RFC v6 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-28 Thread Liu Ying
Signed-off-by: Liu Ying --- v5->v6: * Address the over 80 characters in one line warning reported by the checkpatch.pl script. v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the

[PATCH RFC v6 06/21] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-28 Thread Liu Ying
According to the table 33-1 in the i.MX6Q reference manual, the hdmi_isfr clock's parent should be the video_27m clock. The i.MX6DL reference manual has the same statement. This patch changes the hdmi_isfr clock's parent from the pll3_pfd1_540m clock to the video_27m clock. Suggested-by:

[PATCH RFC v6 04/21] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-28 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v5->v6: * None. v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCH RFC v6 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2014-12-28 Thread Liu Ying
This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying --- v5->v6: * Add the #address-cells and #size-cells properties in the example 'ports' node. * Remove the useless input-port properties from the example port@0

[PATCH RFC v6 00/21] Add support for i.MX MIPI DSI DRM driver

2014-12-28 Thread Liu Ying
Hi, This version does some minor changes to improve the code quality. The checkpatch.pl script is happier now on this version. For detail change log, please find them in each standalone patch. The i.MX MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a

Re: [PATCH] staging: rtl8188eu: rtw_mlme.c: fix sparse warning

2014-12-28 Thread Larry Finger
On 12/28/2014 11:47 PM, Serguey Parkhomovsky wrote: Fixes the following sparse warning for rtw_mlme.c: drivers/staging/rtl8188eu/core/rtw_mlme.c:810:9: warning: context imbalance in 'rtw_free_assoc_resources' - different lock contexts for basic block Signed-off-by: Serguey Parkhomovsky ---

Re: [PATCH v6] Thermal: introduce INT3406 thermal driver

2014-12-28 Thread Aaron Lu
On 12/23/2014 09:26 AM, Aaron Lu wrote: > On 12/22/2014 05:53 PM, Lee Jones wrote: >> On Mon, 22 Dec 2014, Zhang Rui wrote: >> >>> On Thu, 2014-12-11 at 16:38 +0800, Aaron Lu wrote: INT3406 ACPI device object resembles an ACPI video output device, but its _BCM is said to be deprecated

Re: [PATCH 3/3] cma: add functions to get region pages counters

2014-12-28 Thread Safonov Dmitry
On 12/27/2014 10:18 AM, SeongJae Park wrote: Hello, How about 'CMA Region' rather than 'CMARegion'? Sure. -- Best regards, Safonov Dmitry. -- 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

[PATCH] staging: rtl8188eu: rtw_mlme.c: fix sparse warning

2014-12-28 Thread Serguey Parkhomovsky
Fixes the following sparse warning for rtw_mlme.c: drivers/staging/rtl8188eu/core/rtw_mlme.c:810:9: warning: context imbalance in 'rtw_free_assoc_resources' - different lock contexts for basic block Signed-off-by: Serguey Parkhomovsky --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 37

[PATCH] x86, mce: use mce_usable_address() for UCNA memory error recovery

2014-12-28 Thread Chen Yucong
A machine-check address register (MCi_ADDR) that the processor uses to report the address or location associated with the logged error. The address field can hold a virtual (linear) address, a physical address, or a value indicating an internal physical location, depending on the type of error.

Re: fanotify bug on gdb -- hard crash

2014-12-28 Thread ivo welch
thank you, eric. will do. I read up on it above and now understand it better. the example in the man page seems somewhat misfortunate. I would use an example that does not, by default, lock up the user system. (perhaps add a second example with the _PERM feature that shows how it responds.)

Re: [PATCH v3 00/20] kselftest install target feature

2014-12-28 Thread Michael Ellerman
On Wed, 2014-12-24 at 09:27 -0700, Shuah Khan wrote: > This patch series adds a new kselftest_install make target > to enable selftest install. When make kselftest_install is > run, selftests are installed on the system. A new install > target is added to selftests Makefile which will install >

Re: [PATCH 15/27] net: sxgbe: Use setup_timer

2014-12-28 Thread GIRISH K S
--- Original Message --- Sender : Julia Lawall Date : Dec 26, 2014 20:05 (GMT+05:30) Title : [PATCH 15/27] net: sxgbe: Use setup_timer Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of

Re: fanotify bug on gdb -- hard crash

2014-12-28 Thread Eric Paris
Change FAN_OPEN_PERM to FAN_OPEN If you have any more deadlocks, please let us know. Once you understand the difference between the two let us know if there are any more problems... -Eric On Mon, 2014-12-29 at 08:13 +0800, ivo welch wrote: > > > I really don't know what I am doing. however,

Re: [PATCH 1/2] tty: serial: 8250_mtk: Add earlycon

2014-12-28 Thread Eddie Huang
Hi Rob, On Fri, 2014-12-26 at 15:24 -0600, Rob Herring wrote: > On Thu, Dec 18, 2014 at 2:33 AM, Eddie Huang wrote: > > Mediatek UART has highspeed register, but 8250_early.c doesn't > > support this, so add earlycon in 8250_mtk.c > > I don't see any highspeed register setup here. More

Re: [PATCH v2] cpufreq: suspend cpufreq governors on shutdown

2014-12-28 Thread Viresh Kumar
On 24 December 2014 at 11:39, Doug Anderson wrote: > We should stop cpufreq governors when we shut down the system. If we > don't do this, we can end up with this deadlock: > > 1. cpufreq governor may be running on a CPU other than CPU0. > 2. In machine_restart() we call smp_send_stop() which

[PATCH v18 10/11] ARM: kprobes: check register usage for probed instruction.

2014-12-28 Thread Wang Nan
This patch utilizes previous introduced checker to check register usage for probed ARM instruction and saves it in a mask. Futher patch will use such information to avoid simuation or emulation. Signed-off-by: Wang Nan --- arch/arm/include/asm/probes.h | 12

Re: [PATCH v17 11/11] ARM: optprobes: execute instruction during restoring if possible.

2014-12-28 Thread Wang Nan
On 2014/12/29 6:10, Masami Hiramatsu wrote: > (2014/12/27 16:36), Wang Nan wrote: >> This patch removes software emulation or simulation for most of probed >> instructions. If the instruction doesn't use PC relative addressing, >> it will be translated into following instructions in the restore

[PATCH v18 11/11] ARM: optprobes: execute instruction during restoring if possible.

2014-12-28 Thread Wang Nan
This patch removes software emulation or simulation for most of probed instructions. If the instruction doesn't use PC relative addressing, it will be translated into following instructions in the restore code in code template: ldmia {r0 - r14} // restore all instruction except PC //

Re: [PATCH] fs: overlayfs: Fix coding style issues, missing a blank line after declarations

2014-12-28 Thread Hugh Dickins
On Sun, 28 Dec 2014, Joe Perches wrote: > On Mon, 2014-12-29 at 02:49 +, Al Viro wrote: > > On Mon, Dec 29, 2014 at 02:39:39AM +, Al Viro wrote: > > > On Sun, Dec 28, 2014 at 11:56:53AM +0600, Alexander Kuleshov wrote: > > > > Signed-off-by: Alexander Kuleshov > > > > --- > > > > > > For

Re: [PATCH V2] clk: mxs: Fix invalid 32-bit access to frac registers

2014-12-28 Thread Marek Vasut
On Sunday, December 28, 2014 at 11:26:42 AM, Stefan Wahren wrote: > According to i.MX23 and i.MX28 reference manual the fractional > clock control registers must be addressed by byte instructions. > > This patch fixes the erroneous 32-bit access to these registers > and extends the comment in the

Re: [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities

2014-12-28 Thread hujianyang
On 2014/11/3 21:58, Tanya Brokhman wrote: > If there is more then one UBI device mounted, there is no way to > distinguish between messages from different UBI devices. > Add device number to all ubi layer message types. > > The R/O block driver messages were replaced by pr_* since > ubi_device

Re: [PATCH 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2014-12-28 Thread Li, ZhenHua
Hi Takao Indoh, Happy New Year, and thank you very much for you help. The flush is quite a problem, as there are several places the flush function should be called, I think the flush should be placed in functions like __iommu_update_old_*. Created a small patch for this, it is attached.

Re: [PATCH] fs: overlayfs: Fix coding style issues, missing a blank line after declarations

2014-12-28 Thread Joe Perches
On Mon, 2014-12-29 at 02:49 +, Al Viro wrote: > On Mon, Dec 29, 2014 at 02:39:39AM +, Al Viro wrote: > > On Sun, Dec 28, 2014 at 11:56:53AM +0600, Alexander Kuleshov wrote: > > > Signed-off-by: Alexander Kuleshov > > > --- > > > > For the record: anything of that sort against fs/*.c will

Re: [PATCH] zram: clean up zram_meta_alloc()

2014-12-28 Thread Minchan Kim
On Sun, Dec 21, 2014 at 11:35:41PM +0900, Sergey Senozhatsky wrote: > a trivial clean up of zram_meta_alloc() error handling. > > Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] fs: overlayfs: Fix coding style issues, missing a blank line after declarations

2014-12-28 Thread Al Viro
On Mon, Dec 29, 2014 at 02:39:39AM +, Al Viro wrote: > On Sun, Dec 28, 2014 at 11:56:53AM +0600, Alexander Kuleshov wrote: > > Signed-off-by: Alexander Kuleshov > > --- > > For the record: anything of that sort against fs/*.c will be flushed down > the toilet where such valuable

Re: [PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp

2014-12-28 Thread Vince Hsu
On 12/26/2014 04:34 AM, Lucas Stach wrote: Am Donnerstag, den 25.12.2014, 10:28 +0800 schrieb Vince Hsu: On 12/24/2014 09:16 PM, Lucas Stach wrote: Am Dienstag, den 23.12.2014, 18:39 +0800 schrieb Vince Hsu: The Tegra124 and later Tegra SoCs have a sepatate rail gating register to

Re: [PATCH] staging: lustre: libcfs: fix sparse warnings about static declaration

2014-12-28 Thread hejianet
Ping. Thanks for any comments On Tue, 16 Dec 2014 22:39:38 +0800 from hejia...@gmail.com wrote: > make sparse happy since these two fuchtion are only used in module.c. > tested by successful compilation. > > Signed-off-by: Jia He > Cc: Oleg Drokin > Cc: Andreas Dilger > Cc: Greg Kroah-Hartman

Re: [PATCH] fs: overlayfs: Fix coding style issues, missing a blank line after declarations

2014-12-28 Thread Al Viro
On Sun, Dec 28, 2014 at 11:56:53AM +0600, Alexander Kuleshov wrote: > Signed-off-by: Alexander Kuleshov > --- For the record: anything of that sort against fs/*.c will be flushed down the toilet where such valuable contributions belong. Don't even bother. -- To unsubscribe from this list: send

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-28 Thread Minchan Kim
Hello, On Fri, Dec 26, 2014 at 05:39:01PM +0300, Stefan I. Strogin wrote: > Hello all, > > Here is a patch set that adds /proc/cmainfo. > > When compiled with CONFIG_CMA_DEBUG /proc/cmainfo will contain information > about about total, used, maximum free contiguous chunk and all currently >

RE: [PATCH] bfin_can: move the header file to arch independent location

2014-12-28 Thread Wu, Aaron
Hi Oliver, >-Original Message- >From: Oliver Hartkopp [mailto:socket...@hartkopp.net] >Sent: Saturday, December 27, 2014 7:10 PM >To: Wu, Aaron; adi-buildroot-de...@lists.sourceforge.net; >w...@grandegger.com; m...@pengutronix.de; linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org

Re: [LKP] [ftrace] fef5aeeee9e: -27.2% boot-slabinfo.num_objs

2014-12-28 Thread Huang Ying
On Tue, 2014-12-23 at 08:32 -0500, Steven Rostedt wrote: > On Tue, 23 Dec 2014 11:10:17 +0800 > Huang Ying wrote: > > > FYI, we noticed the below changes on > > > > commit fef5a9e3717e7aea991a7ae9ff6a7a2d4c85 ("ftrace: Replace > > tramp_hash with old_*_hash to save space") > > > > > >

Re: panic at rb_next when do pick_next_task_fair because of rb_leftmost is NULL

2014-12-28 Thread Neil Zhang
one more info as following before crash. [83321.794602] c1 230 (DispSync) BUG: Bad rss-counter state mm:ec376200 idx:0 val:2497 [83321.795281] c0 2084 (v.airplayserver) Unable to handle kernel NULL pointer dereference at virtual address 0008 2014-12-29 9:56 GMT+08:00 Neil Zhang : > Does

[PATCH] staging: rtl8723au: changes stop ap mode to use reset function

2014-12-28 Thread Matthew Emerson
Changes stop_ap_mode23a() to use rtw_reset_securitypriv23a. This makes the code cleaner and fixes two checkpatch.pl errors, one line over 80 characters, and one spacing issue. Signed-off-by: Matthew Emerson --- drivers/staging/rtl8723au/core/rtw_ap.c | 6 ++ 1 file changed, 2 insertions(+),

Re: [PATCH] move exit_task_work() before exit_fs().

2014-12-28 Thread Al Viro
On Mon, Dec 29, 2014 at 01:33:37AM +, Ma, Xindong wrote: > > On Fri, Dec 26, 2014 at 03:45:25PM +0800, Leon Ma wrote: > > > We encountered following panic. The scenario is the process is exiting > > > and executing its task work. When closing dev node, the driver > > > triggers a firmware

Re: panic at rb_next when do pick_next_task_fair because of rb_leftmost is NULL

2014-12-28 Thread Neil Zhang
Does anyone ever encountered it? Please give your help if any. Thanks in advanced! Best Regards, Neil Zhang 2014-12-26 17:37 GMT+08:00 Neil Zhang : > Hi All, > I encountered the following crash in 3.10.24. > > The panic log is as following. > The strange thing is that the nr_running change to

From Mr. Natan Pang...

2014-12-28 Thread Mr. Natan Pang
Hello Dear, I am Mr. Natan Pang a banker, I have emailed you earlier on without any response from you. In my first email I mentioned about our deceased customer a citizen of your country whose relatives my Bank cannot locate to claim his estate. I got your address from online directory

RE: [PATCH] move exit_task_work() before exit_fs().

2014-12-28 Thread Ma, Xindong
> On 12/28/2014 07:58 PM, Ma, Xindong wrote: > >> > >> On 12/26, Leon Ma wrote: > >>> > >>> We encountered following panic. The scenario is the process is > >>> exiting and executing its task work. When closing dev node, the > >>> driver triggers a firmware reload according to device status. > >>>

RE: [PATCH] move exit_task_work() before exit_fs().

2014-12-28 Thread Ma, Xindong
> On Fri, Dec 26, 2014 at 03:45:25PM +0800, Leon Ma wrote: > > We encountered following panic. The scenario is the process is exiting > > and executing its task work. When closing dev node, the driver > > triggers a firmware reload according to device status. Because task->fs is > set to NULL in

[PATCH 3.2 12/27] x86, kvm: Clear paravirt_enabled on KVM guests for espfix32's benefit

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 29fa6825463c97e5157284db80107d1bfac5d77b upstream. paravirt_enabled has the following effects: - Disables the F00F bug workaround warning. There is no F00F bug

[PATCH 3.2 16/27] s390,time: revert direct ktime path for s390 clockevent device

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 8adbf78ec4839c1dc4ff20c9a1f332a7bc99e6e6 upstream. Git commit 4f37a68cdaf6dea833cfdded2a3e0c47c0f006da "s390: Use direct ktime path for s390 clockevent device" makes

[PATCH 3.2 17/27] drm: fix DRM_IOCTL_MODE_GETFB handle-leak

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 101b96f32956ee99bf1468afaf572b88cda9f88b upstream. DRM_IOCTL_MODE_GETFB is used to retrieve information about a given framebuffer ID. It is a read-only helper and was

Re: [REGRESSION][x86] Commit f5b2831d65 cause boot failure in VMware ESXi 5.1 guest

2014-12-28 Thread Qu Wenruo
Original Message Subject: Re: [REGRESSION][x86] Commit f5b2831d65 cause boot failure in VMware ESXi 5.1 guest From: Juergen Gross To: Qu Wenruo Date: 2014年12月27日 21:51 On 12/26/2014 02:57 AM, Qu Wenruo wrote: Hi all, When testing v3.19-rc1 kernel(in fact, try to test),

[PATCH 3.2 25/27] drivers/net: macvtap and tun depend on INET

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit de11b0e8c569b96c2cf6a811e3805b7aeef498a3 upstream. These drivers now call ipv6_proxy_select_ident(), which is defined only if CONFIG_INET is enabled. However, they have

[PATCH 3.2 27/27] x86: kvm: use alternatives for VMCALL vs. VMMCALL if kernel text is read-only

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit c1118b3602c2329671ad5ec8bdf8e374323d6343 upstream. On x86_64, kernel text mappings are mapped read-only with CONFIG_DEBUG_RODATA. In that case, KVM will fail to patch

[PATCH 3.2 15/27] ext4: make orphan functions be no-op in no-journal mode

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Anatol Pomozov commit c9b92530a723ac5ef8e352885a1862b18f31b2f5 upstream. Instead of checking whether the handle is valid, we check if journal is enabled. This avoids taking the s_orphan_lock

[PATCH 3.2 01/27] drm/i915: Unlock panel even when LVDS is disabled

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit b0616c5306b342ceca07044dbc4f917d95c4f825 upstream. Otherwise we'll have backtraces in assert_panel_unlocked because the BIOS locks the register. In the reporter's case

[PATCH 3.2 22/27] tcp: md5: remove spinlock usage in fast path

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 71cea17ed39fdf1c0634f530ddc6a2c2fc601c2b upstream. TCP md5 code uses per cpu variables but protects access to them with a shared spinlock, which is a contention point. [

[PATCH 3.2 14/27] deal with deadlock in d_walk()

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit ca5358ef75fc69fee5322a38a340f5739d997c10 upstream. ... by not hitting rename_retry for reasons other than rename having happened. In other words, do _not_ restart when finding

[PATCH 3.2 06/27] i2c: davinci: generate STP always when NACK is received

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko commit 9ea359f7314132cbcb5a502d2d8ef095be1f45e4 upstream. According to I2C specification the NACK should be handled as follows: "When SDA remains HIGH during this ninth clock

[PATCH 3.2 10/27] x86/tls: Validate TLS entries to protect espfix

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 41bdc78544b8a93a9c6814b8bbbfef966272abbe upstream. Installing a 16-bit RW data segment into the GDT defeats espfix. AFAICT this will not affect glibc, Wine, or dosemu at

[PATCH 3.2 18/27] crypto: ghash-clmulni-intel - use C implementation for setkey()

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 8ceee72808d1ae3fb191284afc2257a2be964725 upstream. The GHASH setkey() function uses SSE registers but fails to call kernel_fpu_begin()/kernel_fpu_end(). Instead of adding

[PATCH 3.2 23/27] tcp: md5: do not use alloc_percpu()

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 349ce993ac706869d553a1816426d3a4bfda02b1 upstream. percpu tcp_md5sig_pool contains memory blobs that ultimately go through sg_set_buf(). -> sg_set_page(sg,

[PATCH 3.2 13/27] move d_rcu from overlapping d_child to overlapping d_alias

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 946e51f2bf37f1656916eb75bd0742ba33983c28 upstream. Signed-off-by: Al Viro [bwh: Backported to 3.2: - Apply name changes in all the different places we use d_alias and d_child

[PATCH 3.2 09/27] KVM: x86: Don't report guest userspace emulation error to userspace

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit a2b9e6c1a35afcc0973acb72e591c714e78885ff upstream. Commit fc3a9157d314 ("KVM: X86: Don't report L2 emulation failures to user-space") disabled the reporting of L2 (nested

[PATCH 3.2 19/27] drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 5188cd44c55db3e92cd9e77a40b5baa7ed4340f7 upstream. UFO is now disabled on all drivers that work with virtio net headers, but userland may try to send UFO/IPv6 packets

[PATCH 3.2 07/27] udf: Avoid infinite loop when processing indirect ICBs

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit c03aa9f6e1f938618e6db2e23afef0574efeeb65 upstream. We did not implement any bound on number of indirect ICBs we follow when loading inode. Thus corrupted medium could cause

Re: [PATCH 3.2 00/27] 3.2.66-rc1 review

2014-12-28 Thread Ben Hutchings
This is the combined patch for 3.2.66-rc1 relative to 3.2.65. Ben. -- Ben Hutchings Anthony's Law of Force: Don't force it, get a larger hammer. diff --git a/Makefile b/Makefile index 1433109..cda7e1d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 2 -SUBLEVEL =

[PATCH 3.2 03/27] sata_fsl: fix error handling of irq_of_parse_and_map

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit aad0b624129709c94c2e19e583b6053520353fa8 upstream. irq_of_parse_and_map() returns 0 on error (the result is unsigned int), so testing for negative result never works.

[PATCH 3.2 00/27] 3.2.66-rc1 review

2014-12-28 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.66 release. There are 27 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Dec 31 12:00:00 UTC 2014. Anything

[PATCH 3.2 11/27] [media] ttusb-dec: buffer overflow in ioctl

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f2e323ec96077642d397bb1c355def536d489d16 upstream. We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter Signed-off-by: Mauro

[PATCH 3.2 21/27] ipv4: fix nexthop attlen check in fib_nh_match

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko commit f76936d07c4eeb36d8dbb64ebd30ab46ff85d9f7 upstream. fib_nh_match does not match nexthops correctly. Example: ip route add 172.16.10/24 nexthop via 192.168.122.12 dev eth0 \

[PATCH 3.2 26/27] net: sctp: use MAX_HEADER for headroom reserve in output path

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 9772b54c55266ce80c639a80aa68eeb908f8ecf5 upstream. To accomodate for enough headroom for tunnels, use MAX_HEADER instead of LL_MAX_HEADER. Robert reported that he has

[PATCH 3.2 05/27] ahci: disable MSI on SAMSUNG 0xa800 SSD

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 ("ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on

[PATCH 3.2 24/27] ipv4: dst_entry leak in ip_send_unicast_reply()

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 4062090e3e5caaf55bed4523a69f26c3265cc1d2 upstream. ip_setup_cork() called inside ip_append_data() steals dst entry from rt to cork and in case errors in __ip_append_data()

[PATCH 3.2 20/27] net: sctp: fix memory leak in auth key management

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 4184b2a79a7612a9272ce20d639934584a1f3786 upstream. A very minimal and simple user space application allocating an SCTP socket, setting SCTP_AUTH_KEY setsockopt(2) on it

[PATCH 3.2 08/27] net: sctp: fix NULL pointer dereference in af->from_addr_param on malformed packet

2014-12-28 Thread Ben Hutchings
3.2.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit e40607cbe270a9e8360907cb1e62ddf0736e4864 upstream. An SCTP server doing ASCONF will panic on malformed INIT ping-of-death in the form of: INIT[PARAM:

  1   2   3   4   5   >