[RFC V3] test bit before clear files_struct bits

2015-02-15 Thread Wang, Yalin
Test bit before clear close_on_exec and open_fds, by trace __clear_bit(), these 2 place are false in most times, we test it so that we don't need clear_bit, and we can win in most time. Add *_if_need bitop non-atomic version. Signed-off-by: Yalin Wang yalin.w...@sonymobile.com --- fs/file.c

Re: [PATCH v4] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-15 Thread Geert Uytterhoeven
On Sun, Feb 15, 2015 at 8:22 AM, Yoshinori Sato ys...@users.sourceforge.jp wrote: Changes V4 - Fix error in VT=n Changes v3 - Remove um - ARM sort alphabetical order Changes v2 - Remove some archtecture Signed-off-by: Yoshinori Sato ys...@users.sourceforge.jp Reviewed-by: Arnd Bergmann

[PATCH v2 0/6] enhance configuring an ITS

2015-02-15 Thread Yun Wu
This patch series makes some enhancement to ITS configuration in the following aspects: o allocation of the ITS tables o replacing magic numbers with sensible macros o guarantees a safe quiescent status before initializing an ITS o judging enabling status of LPI feature This patch series is

[PATCH v2 3/6] irqchip: gicv3-its: limit order of DT size to MAX_ORDER

2015-02-15 Thread Yun Wu
When required DT size is out of the kmalloc()'s capability, the whole ITS will fail in probing. This actually is not the hardware's problem and is mainly a limitation of the kernel memory allocator. This patch will keep ITS going on to the next initializaion step with an explicit warning.

[PATCH v2 4/6] irqchip: gicv3-its: define macros for GITS_CTLR fields

2015-02-15 Thread Yun Wu
Define macros for GITS_CTLR fields to avoid using magic numbers. Signed-off-by: Yun Wu wuyun...@huawei.com --- drivers/irqchip/irq-gic-v3-its.c | 2 +- include/linux/irqchip/arm-gic-v3.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c

[PATCH v2 1/6] irqchip: gicv3-its: zero itt before handling to hardware

2015-02-15 Thread Yun Wu
Some kind of brain-dead implementations chooses to insert ITEes in rapid sequence of disabled ITEes, and an un-zeroed ITT will confuse ITS on judging whether an ITE is really enabled or not. Considering the implementations are still supported by the GICv3 architecture, in which ITT is not required

[PATCH v2 6/6] irqchip: gicv3: skip ITS init when no ITS available

2015-02-15 Thread Yun Wu
There is one more condition that needs to be considered when judging whether LPI feature is enabled or not, which is whether there is any ITS available and correctly enabled. This patch will fix this by caching ITS enabling status in the GIC chip data structure. Signed-off-by: Yun Wu

[PATCH v2 1/5] perf list: Sort the output of 'perf list' to view more clearly

2015-02-15 Thread Yunlong Song
Sort the output according to ASCII character list (using strcmp), which supports both number sequence and alphabet sequence. Example: Before this patch: $ perf list List of pre-defined events (to be used in -e): cpu-cycles OR cycles [Hardware event]

[PATCH v2 5/5] perf list: Avoid confusion of perf output and the next command prompt

2015-02-15 Thread Yunlong Song
Distinguish the output of 'perf list --list-opts' or 'perf --list-cmds' with the next command prompt, which also happens in other cases (e.g. record, report ...). Example: Before this patch: $perf list --list-opts --raw-dump $ -- the output and the next command prompt are at

Re: [PATCH 2/7] perf list: sort the output of 'perf list' to view more clearly

2015-02-15 Thread Yunlong Song
On 2015/2/13 22:49, Arnaldo Carvalho de Melo wrote: Em Fri, Feb 13, 2015 at 11:45:46AM -0300, Arnaldo Carvalho de Melo escreveu: Well, it doesn't apply to my perf/core branch, wait a bit till I send a new pull request to Ingo and try again, please check which csets from this patchset got

Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-15 Thread Pali Rohár
On Sunday 15 February 2015 11:21:52 Pavel Machek wrote: Hi! By default, output goes to loudspeaker (top right relative to keyboard). Any ideas how to switch it to the speaker on the left or wired headset? Because I suspect that echo cancelation is not going to be simple...

[PATCH] ARM: exynos_defconfig: Enable Marvell WiFi-Ex support

2015-02-15 Thread Javier Martinez Canillas
Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have a MMC/SDIO Marvell WiFi-Ex chip. This patch enables wireless support and the mwifiex driver. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- arch/arm/configs/exynos_defconfig | 4 1 file changed, 4

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-15 Thread Ian Abbott
On 14/02/15 04:49, Mark Brown wrote: On Thu, Feb 12, 2015 at 12:13:08PM +, Ian Abbott wrote: Devices have separate, pre-allocated TX and RX bounce buffers of fixed size. Currently, each transfer uses up space in both buffers even if the user-supplied no TX data or no RX space. Change it

[RFC PATCH 0/3] early kprobes: rearrange vmlinux.lds related code.

2015-02-15 Thread Wang Nan
This is part of early kprobes patch series update. Full series can be found from [1]. Early kprobes need some statically allocated slots, which is determined during linking by vmlinux.lds.S. Russell King suggests me not to spread vmlinux stuff around the kernel include files. This series tries to

Re: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

2015-02-15 Thread Arend van Spriel
On 02/15/15 04:27, Pat Erley wrote: On 02/14/2015 08:40 PM, Fu, Zhonghui wrote: Any comments to this patch? Can it be accepted? I assume that patches are queued up until after the merge window that we are currently in. Thanks, Zhonghui On 2015/2/12 11:26, Fu, Zhonghui wrote: From

[RFC PATCH 1/3] early kprobes: ARM: add definition for vmlinux.lds use.

2015-02-15 Thread Wang Nan
This patch defines MAX_OPTINSN_SIZE, MAX_INSN_SIZE and KPROBE_OPCODE_SIZE for ARM for vmlinux.lds.S use. These macros are originally defined in kprobes.h, which are unable to be used in vmlinux.lds. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/arm/kernel/vmlinux.lds.S | 10 ++ 1

[RFC PATCH 3/3] early kprobes: introduce early kprobes related code area.

2015-02-15 Thread Wang Nan
Append early kprobe related slots to KPROBES_TEXT. This is arch independent part. Arch code should define MAX_OPTINSN_SIZE, KPROBE_OPCODE_SIZE and MAX_INSN_SIZE for it. Signed-off-by: Wang Nan wangn...@huawei.com --- include/asm-generic/vmlinux.lds.h | 19 ++- 1 file changed, 18

Re: [PATCH v3 01/15] h8300: Assembly headers.

2015-02-15 Thread Geert Uytterhoeven
Hi Sato-san, On Sun, Feb 15, 2015 at 8:49 AM, Yoshinori Sato ys...@users.sourceforge.jp wrote: --- /dev/null +++ b/arch/h8300/include/asm/io.h @@ -0,0 +1,372 @@ +#ifndef _H8300_IO_H +#define _H8300_IO_H + +#ifdef __KERNEL__ + +#include linux/types.h + +/* + * These are for ISA/PCI

[PATCH] ASoC: fsl_ssi: Don't try to round-up for PM divisor calculation

2015-02-15 Thread Nicolin Chen
According to i.MX6 Series Reference Manual, the formula to calculate the sys clock is sysclk rate = bclk rate * (div2 + 1) * (7 * psr + 1) * (pm + 1) * 2 Commit aafa85e71a75 (ASoC: fsl_ssi: Add DAI master mode support for SSI on i.MX series) added the divisor calculation which relies on the

[PATCH] test-hexdump: test the return value of the hex_dump_to_buffer

2015-02-15 Thread Wang Long
As the function hex_dump_to_buffer returns the amount of bytes placed in the buffer without terminating NUL. the test-hexdump should test the return value of it. Signed-off-by: Wang Long long.wangl...@huawei.com --- lib/test-hexdump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH] mm/memblock.c: name the local variable of memblock_type as type

2015-02-15 Thread Baoquan He
A small clean up. Seems in commit e3239ff9 [memblock: Rename memblock_region to memblock_type and memblock_property to memblock_region] this one was missed. Signed-off-by: Baoquan He b...@redhat.com --- mm/memblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-15 Thread Ian Abbott
On 14/02/15 04:49, Mark Brown wrote: On Thu, Feb 12, 2015 at 12:13:08PM +, Ian Abbott wrote: Devices have separate, pre-allocated TX and RX bounce buffers of fixed size. Currently, each transfer uses up space in both buffers even if the user-supplied no TX data or no RX space. Change it

[PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only

2015-02-15 Thread Chris Clayton
When running make oldconfig for an x86_64 kernel, I was prompted for a setting for IOMMU_IO_PGTABLE_LPAE. From the prompt and the help text it appears that this config item is relevant to ARMv7/v8 only. This patch prevents the prompt on non-ARM architectures. Compile tested building a

Re: [PATCH v4 0/3] about data busy

2015-02-15 Thread Javier Martinez Canillas
Hello Addy, On Sat, Feb 14, 2015 at 7:17 AM, Addy Ke addy...@rock-chips.com wrote: patch 1: This patch can fix bug that controller is still data busy after reset all blocks. After this patch, I still get data busy in set_ios(). patch 2: This patch fix bug 'Timeout sending

Re: [PATCH v3 05/15] h8300: Process and signal

2015-02-15 Thread Yoshinori Sato
Sorry. I send too old files. This patch is correct. Signed-off-by: Yoshinori Sato ys...@users.sourceforge.jp --- arch/h8300/kernel/process.c | 170 +++ arch/h8300/kernel/ptrace.c | 203 +++ arch/h8300/kernel/signal.c | 326

Re: [LKP] [EDAC] general protection fault: 0000 [#1] SMP

2015-02-15 Thread Takashi Iwai
At Sun, 15 Feb 2015 15:52:58 +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp edac-for-3.21 commit 7d4e4cb735b7f746c27571b6dd43ba5572a1eef4 (EDAC: i7core: Use static attribute groups for sysfs entries) My bad, I must have

Re: [PATCH -mm v2 1/3] slub: never fail to shrink cache

2015-02-15 Thread Vladimir Davydov
Hi, On Sat, Feb 14, 2015 at 10:55:15PM -0500, Sasha Levin wrote: It seems that this patch causes shrink to corrupt memory: Yes, it does :-( The fix can be found here: https://lkml.org/lkml/2015/2/11/347 It must have already been merged to the -mm tree: On Thu, Feb 12, 2015 at 02:14:54PM

Re: [PATCH 5/7] perf list: avoid confusion of perf output and the next command prompt

2015-02-15 Thread Yunlong Song
On 2015/2/13 22:52, Arnaldo Carvalho de Melo wrote: Em Fri, Feb 13, 2015 at 09:11:53PM +0800, Yunlong Song escreveu: Distinguish the output of 'perf list --list-opts' or 'perf --list-cmds' with the next command prompt, which also happens in other cases (e.g. record, report ...). Example

[PATCH 0/2] [media] mantis: Fix goto labels

2015-02-15 Thread Silvan Jegen
I found two issues regarding goto labels in the mantis driver when checking a smatch warning and addressed them in two separate patches. Please be aware that these patches have only been compile-tested since I do not have access to the corresponding hardware. Silvan Jegen (2): [media] mantis:

[PATCH 1/2] [media] mantis: Move jump label to activate dead code

2015-02-15 Thread Silvan Jegen
Due to a misplaced goto label mantis_uart_exit is never called. Adjusting the label position (while correcting its numbering) changes this. This issue was found using the smatch static checker. Signed-off-by: Silvan Jegen s.je...@gmail.com --- drivers/media/pci/mantis/mantis_cards.c | 5 +++--

[PATCH v4 4/4] rtc: Remove redundant rtc_valid_tm() from rtc_resume()

2015-02-15 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org rtc_read_time() has already judged valid tm by rtc_valid_tm(), so just remove it. Signed-off-by: Xunlei Pang pang.xun...@linaro.org --- drivers/rtc/class.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c

Re: [PATCH v3 1/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-02-15 Thread Sneeker Yeh
Hi Alan: thanks for comment it, and sorry that a little bit late for replying, 2015-02-12 23:18 GMT+08:00 Alan Stern st...@rowland.harvard.edu: On Thu, 12 Feb 2015, Mathias Nyman wrote: On 25.01.2015 10:13, Sneeker Yeh wrote: This issue is defined by a three-way race at disconnect, between

Re: [PATCH 00/14] Add support to STMicroelectronics STM32 family

2015-02-15 Thread Andreas Färber
Hi Maxime, Am 12.02.2015 um 18:45 schrieb Maxime Coquelin: This patchset adds basic support for STMicroelectronics STM32 series MCUs. STM32 MCUs are Cortex-M CPU, used in various applications (consumer electronics, industrial applications, hobbyists...). Datasheets, user and programming

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-02-15 Thread Pavel Machek
On Wed 2015-01-21 20:38:46, Henrik Rydberg wrote: Hi Benjamin, - there is a fragmentation problem: we would have to fix the bug in xorg-synaptics (which is slowly waiting for its death), libinput, ChromeOS, Qt Embedded, Kivy (I think), etc... Indeed, this is the problem I wanted to

Re: [PATCH resend v5 6/6] KVM: nVMX: Enable nested posted interrupt processing

2015-02-15 Thread Wincy Van
On Sun, Feb 15, 2015 at 2:27 PM, Yong Wang yong.y.w...@linux.intel.com wrote: On Tue, Feb 03, 2015 at 11:58:17PM +0800, Wincy Van wrote: If vcpu has a interrupt in vmx non-root mode, we will kick that vcpu to inject interrupt timely. With posted interrupt processing, the kick intr is not

Re: [PATCH v3 1/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-02-15 Thread Sneeker Yeh
hi Mathias: thanks for reviewing these patch, and sorry for replying lately~ 2015-02-12 21:50 GMT+08:00 Mathias Nyman mathias.ny...@intel.com: On 25.01.2015 10:13, Sneeker Yeh wrote: This issue is defined by a three-way race at disconnect, between 1) Class driver interrupt endpoint

Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-15 Thread Patrik Bachan aka DiGGiT
2015-02-15 11:21 GMT+01:00 Pavel Machek pa...@ucw.cz: Hi! By default, output goes to loudspeaker (top right relative to keyboard). Any ideas how to switch it to the speaker on the left or wired headset? Because I suspect that echo cancelation is not going to be simple...

[GIT PULL] Staging driver patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit e36f014edff70fc02b3d3d79cead1d58f289332e: Linux 3.19-rc7 (2015-02-01 20:07:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.20-rc1 for you to fetch changes up to

[GIT PULL] TTY/Serial patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc: Linux 3.19-rc5 (2015-01-18 18:02:20 +1200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.20-rc1 for you to fetch changes up to

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-15 Thread Frederic Weisbecker
On Sun, Feb 15, 2015 at 03:43:28PM +0800, Huang Ying wrote: FYI, we noticed the below changes on commit a18b5d01819235629289212ad428a5ee2b40f0d9 (sched: Fix missing preemption opportunity) +--+++ |

Re: clk mux get_parent return type

2015-02-15 Thread Måns Rullgård
Rhyland Klein rkl...@nvidia.com writes: I saw a series of patches posted last year by Ambresh which addresses (at least mostly) changing the return type of clk_mux_get_parent. Namely, this series changing it to an int from an u8.

Re: clk mux get_parent return type

2015-02-15 Thread Måns Rullgård
Rhyland Klein rkl...@nvidia.com writes: I saw a series of patches posted last year by Ambresh which addresses (at least mostly) changing the return type of clk_mux_get_parent. Namely, this series changing it to an int from an u8.

[PATCH v4 2/4] time: Fix a bug in timekeeping_suspend() with no persistent clock

2015-02-15 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org When there's no persistent clock, normally timekeeping_suspend_time should always be zero, but this can break in timekeeping_suspend(). At T1, there was a system suspend, so old_delta was assigned T1. After some time, one time adjustment happened, and

[PATCH v4 3/4] time: rtc: Don't bother into rtc_resume() for the nonstop clocksource

2015-02-15 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org If a system does not provide a persistent_clock(), the time will be updated on resume by rtc_resume(). With the addition of the non-stop clocksources for suspend timing, those systems set the time on resume in timekeeping_resume(), but may not provide a

[PATCH v4 1/4] time: Add needed macros for timekeeping_inject_sleeptime64()

2015-02-15 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org timekeeping_inject_sleeptime64() is only used by RTC suspend/resume, so embrace it in RTC related macros. Signed-off-by: Xunlei Pang pang.xun...@linaro.org --- kernel/time/timekeeping.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

2015-02-15 Thread Kalle Valo
Arend van Spriel ar...@broadcom.com writes: On 02/15/15 04:27, Pat Erley wrote: On 02/14/2015 08:40 PM, Fu, Zhonghui wrote: Any comments to this patch? Can it be accepted? I assume that patches are queued up until after the merge window that we are currently in. That's right. In the

[GIT PULL] USB driver patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit e36f014edff70fc02b3d3d79cead1d58f289332e: Linux 3.19-rc7 (2015-02-01 20:07:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.20-rc1 for you to fetch changes up to

[GIT PULL] Driver core patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit 26bc420b59a38e4e6685a73345a0def461136dce: Linux 3.19-rc6 (2015-01-25 20:04:41 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.20-rc1 for you to fetch changes up to

[GIT PULL] char/misc driver patches for 3.20-rc1

2015-02-15 Thread Greg KH
The following changes since commit ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc: Linux 3.19-rc5 (2015-01-18 18:02:20 +1200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.20-rc1 for you to fetch changes up to

[PATCH] of: Add prompt for OF_OVERLAY config

2015-02-15 Thread Matwey V. Kornilov
Signed-off-by: Matwey V. Kornilov mat...@sai.msu.ru --- drivers/of/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index b5e0c87..fdca685 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -85,7 +85,7 @@ config

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-15 Thread Frederic Weisbecker
On Sun, Feb 15, 2015 at 03:43:28PM +0800, Huang Ying wrote: FYI, we noticed the below changes on commit a18b5d01819235629289212ad428a5ee2b40f0d9 (sched: Fix missing preemption opportunity) Huang, Can you please test the following patch and check if it still crashes? Thanks. diff --git

Re: [PATCH v5 0/5] drivers: bus: Add Simple Power-Managed Bus

2015-02-15 Thread Simon Horman
this up in the renesas tree. It is part of the renesas-devel-20150215-v3.19 tag. [snip] -- 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

[PATCH] clk: check for invalid parent index of orphans in __clk_init()

2015-02-15 Thread Mans Rullgard
If a mux clock is initialised (by hardware or firmware) with an invalid parent, its -get_parent() can return an out of range index. For example, the generic mux clock attempts to return -EINVAL, which due to the u8 return type ends up a rather large number. Using this index with the

Re: [PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register

2015-02-15 Thread Matwey V. Kornilov
2015-02-13 5:08 GMT+03:00 Stanimir Varbanov svarba...@mm-sol.com: Hi, On 02/12/2015 11:07 AM, Matwey V. Kornilov wrote: 2015-02-11 12:19 GMT+03:00 Stanimir Varbanov svarba...@mm-sol.com: please don't top posting. On 02/11/2015 10:38 AM, Matwey V. Kornilov wrote:HI It sounds reasonable,

Re: [PATCH 12/14] ARM: dts: Introduce STM32F429 MCU

2015-02-15 Thread Maxime Coquelin
Hi Philipp, 2015-02-13 20:18 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Am Freitag, den 13.02.2015, 17:41 +0100 schrieb Maxime Coquelin: 2015-02-13 17:25 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Maxime, Am Freitag, den 13.02.2015, 16:59 +0100 schrieb Maxime Coquelin: Hi

Re: [PATCH 02/14] ARM: ARMv7M: Enlarge vector table to 256 entries

2015-02-15 Thread Maxime Coquelin
2015-02-13 11:00 GMT+01:00 Uwe Kleine-König u.kleine-koe...@pengutronix.de: On Fri, Feb 13, 2015 at 09:42:46AM +0100, Maxime Coquelin wrote: Hi Geert, 2015-02-12 21:34 GMT+01:00 Geert Uytterhoeven ge...@linux-m68k.org: On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin

[PATCH] Documentation: Fix trivial typo in comment.

2015-02-15 Thread Sharon Dvir
Changed 'keysroke' to 'keystroke' Signed-off-by: Sharon Dvir sharon.dv...@mail.huji.ac.il --- diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index 259a4d5..aee6de2 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c @@ -774,7 +774,7 @@ static bool sysrq_handle_keypress(struct

Re: [PATCH RFC v3 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-15 Thread Michael Kerrisk (man-pages)
On 02/13/2015 10:53 AM, Omar Sandoval wrote: On Fri, Feb 13, 2015 at 05:03:56PM +0800, Fam Zheng wrote: Hi all, This is the updated series for the new epoll system calls, with the cover letter rewritten which includes some more explanation. Comments are very welcome! Original Motivation

[PATCH 2/2] [media] mantis: Use correct goto labels for cleanup on error

2015-02-15 Thread Silvan Jegen
After calling mantis_pci_init we have to jump to fail2 in order to call the corresponding mantis_pci_exit. Similarly, after calling mantis_get_mac we have already called mantis_pci_init and mantis_i2c_init so we need to jump to fail3 if we want to call the corresponding exit functions.

[GIT PULL] UBI and UBIFS updates for v3.20

2015-02-15 Thread Richard Weinberger
Linus, the following changes since commit c59c961ca511dc7ee2f4f7e9c224d16f5c76ca6e: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2015-01-27 19:12:38 -0800) are available in the git repository at: git://git.infradead.org/linux-ubifs.git for-linus-v3.20 for you

Buisness Proposal For you Contact: mao_cha...@outlook.com

2015-02-15 Thread William Parker
*CSIR-NGRI ** Disclaimer ** CSIR-NGRI This email, together with any files or attachments transmitted with it, is intended solely for the addressee. If you are not the intended recipient, please delete the email and notify the sender /originator immediately. Please

Re: [PATCH] perf config : Adding a command 'config' with a option '--list' and a document for it.

2015-02-15 Thread Namhyung Kim
Hi Taewoong, On Sun, Feb 15, 2015 at 09:25:53PM +0900, TaeWoong Song wrote: I have a question about man page. Although I added perf-config.txt file in Documentaion folder, I've guessed perf-config man page might not be registered. Because of this $ sudo ./perf help config No manual

[Regression]: mm: nommu: Memory leak introduced with commit mm/nommu: use alloc_pages_exact() rather than its own implementation

2015-02-15 Thread Maxime Coquelin
Hi Joonsoon, I am currently working on STM32 microcontroller family upstream. The STM32 family is ARM Cortex-M based, so no MMU. As user-space, I use a ramdisk with a statically-linked busybox installed. On v3.19, I am facing a memory leak. Each time I run a command one page is lost. Here an

Re: [PATCH V4] x86 spinlock: Fix memory corruption on completing completions

2015-02-15 Thread Oleg Nesterov
On 02/15, Raghavendra K T wrote: On 02/13/2015 09:02 PM, Oleg Nesterov wrote: @@ -772,7 +773,8 @@ __visible void kvm_lock_spinning(struct arch_spinlock *lock, __ticket_t want) * check again make sure it didn't become free while * we weren't looking. */ - if

Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-15 Thread Pavel Machek
On Sun 2015-02-15 12:08:02, Pali Rohár wrote: On Sunday 15 February 2015 11:21:52 Pavel Machek wrote: Hi! By default, output goes to loudspeaker (top right relative to keyboard). Any ideas how to switch it to the speaker on the left or wired headset? Because I suspect that echo

Re: [PATCH V5] x86 spinlock: Fix memory corruption on completing completions

2015-02-15 Thread Oleg Nesterov
Well, I regret I mentioned the lack of barrier after enter_slowpath ;) On 02/15, Raghavendra K T wrote: @@ -46,7 +46,8 @@ static __always_inline bool static_key_false(struct static_key *key); static inline void __ticket_enter_slowpath(arch_spinlock_t *lock) { - set_bit(0, (volatile

Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-15 Thread Pali Rohár
On Sunday 15 February 2015 17:20:29 Pavel Machek wrote: On Sun 2015-02-15 12:08:02, Pali Rohár wrote: On Sunday 15 February 2015 11:21:52 Pavel Machek wrote: Hi! By default, output goes to loudspeaker (top right relative to keyboard). Any ideas how to switch it to the speaker on

Bad Page State In File System Related Opeartions (3.10.35)

2015-02-15 Thread Kai
While doing data transfer between several hosts with different file systems/protocols, I always get errors as below: [ 5257.087865] BUG: Bad page state in process ftpd pfn:2150f [ 5257.093524] page:ea749b48 count:0 mapcount:0 mapping: (null) index:0x2 [ 5257.101547] page

Re: [PATCH V5] x86 spinlock: Fix memory corruption on completing completions

2015-02-15 Thread Raghavendra K T
* Raghavendra K T raghavendra...@linux.vnet.ibm.com [2015-02-15 11:25:44]: Resending the V5 with smp_mb__after_atomic() change without bumping up revision ---8--- From 0b9ecde30e3bf5b5b24009fd2ac5fc7ac4b81158 Mon Sep 17 00:00:00 2001 From: Raghavendra K T raghavendra...@linux.vnet.ibm.com Date:

Re: Dell ALPS patches for Dell Latitude 7250 7450

2015-02-15 Thread Pali Rohár
On Wednesday 11 February 2015 08:38:58 Hans de Goede wrote: Thanks for this and the other related mail. I also have an alps.c directly from alps themselves which adds support for v8 and v9 protocols. The problem is that like with v7 the code is not really in a state where we want to take it as

[PATCH] serial: 8250: Revert tty: serial: 8250_core: read only RX if there is something in the FIFO

2015-02-15 Thread Sebastian Andrzej Siewior
This reverts commit 0aa525d11859c1a4d5b78fdc704148e2ae03ae13. The conditional RX-FIFO read seems to cause spurious interrupts and we see just: |serial8250: too much work for irq29 The previous behaviour was default for decades and Marvell's 88f6282 SoC might not be the only that relies on it.

Re: [PATCH V5] x86 spinlock: Fix memory corruption on completing completions

2015-02-15 Thread Raghavendra K T
On 02/15/2015 09:47 PM, Oleg Nesterov wrote: Well, I regret I mentioned the lack of barrier after enter_slowpath ;) On 02/15, Raghavendra K T wrote: @@ -46,7 +46,8 @@ static __always_inline bool static_key_false(struct static_key *key); static inline void

Re: [LKP] [SUNRPC] c4a7ca77494: +6.0% fsmark.time.involuntary_context_switches, no primary result change

2015-02-15 Thread Trond Myklebust
Hi guys, On Sun, Feb 15, 2015 at 2:57 AM, Huang Ying ying.hu...@intel.com wrote: FYI, we noticed the below changes on commit c4a7ca774949960064dac11b326908f28407e8c3 (SUNRPC: Allow waiting on memory allocation) testbox/testcase/testparams:

Re: [PATCH] com20020-pci: add support for eae single card

2015-02-15 Thread David Miller
From: Michael Grzeschik m.grzesc...@pengutronix.de Date: Fri, 13 Feb 2015 13:03:50 +0100 Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH net] vhost_net: fix wrong iter offset when setting number of buffers

2015-02-15 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Sun, 15 Feb 2015 16:35:17 +0800 In commit ba7438aed924 (vhost: don't bother copying iovecs in handle_rx(), kill memcpy_toiovecend()), we advance iov iter fixup sizeof(struct virtio_net_hdr) bytes and fill the number of buffers after doing the socket

Re: Dell ALPS patches for Dell Latitude 7250 7450

2015-02-15 Thread Hans de Goede
Hi, On 15-02-15 17:38, Pali Rohár wrote: On Wednesday 11 February 2015 08:38:58 Hans de Goede wrote: Thanks for this and the other related mail. I also have an alps.c directly from alps themselves which adds support for v8 and v9 protocols. The problem is that like with v7 the code is not

[PATCH net] vhost_net: fix wrong iter offset when setting number of buffers

2015-02-15 Thread Jason Wang
In commit ba7438aed924 (vhost: don't bother copying iovecs in handle_rx(), kill memcpy_toiovecend()), we advance iov iter fixup sizeof(struct virtio_net_hdr) bytes and fill the number of buffers after doing the socket recvmsg(). This work well but was broken after commit 6e03f896b52c (Merge

[RFC PATCH 2/3] early kprobes: x86: add definition for vmlinux.lds use.

2015-02-15 Thread Wang Nan
This patch defines MAX_OPTINSN_SIZE, MAX_INSN_SIZE and KPROBE_OPCODE_SIZE for x86 for vmlinux.lds.S use. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/x86/kernel/vmlinux.lds.S | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/vmlinux.lds.S

Re: [PATCH 6/7] perf list: extend raw-dump to certain kind of events

2015-02-15 Thread Yunlong Song
On 2015/2/13 22:55, Arnaldo Carvalho de Melo wrote: Em Fri, Feb 13, 2015 at 09:11:54PM +0800, Yunlong Song escreveu: Extend 'perf list --raw-dump' to 'perf list --raw-dump [hw|sw|cache |tracepoint|pmu|event_glob]' in order to show the raw-dump of a certain kind of events rather than all of the

Re: [PATCHv3] HID: sony: Enable Gasia third-party PS3 controllers

2015-02-15 Thread Antonio Ospite
On Tue, 10 Feb 2015 14:52:52 +0200 Lauri Kasanen c...@gmx.com wrote: Without this, my Gasia Co.,Ltd PS(R) Gamepad would not send any events. Now everything works including the leds. Based on work by Andrew Haines and Antonio Ospite. cc: Antonio Ospite a...@ao2.it cc: Andrew Haines

[LKP] [x86_64, entry] 2a23c6b8a9c: +3.5% aim9.creat-clo.ops_per_sec, -64.5% aim9.time.user_time

2015-02-15 Thread Huang Ying
FYI, we noticed the below changes on commit 2a23c6b8a9c42620182a2d2cfc7c16f6ff8c42b4 (x86_64, entry: Use sysret to return to userspace when possible) testbox/testcase/testparams: lkp-wsx02/aim9/performance-300s-creat-clo b926e6f61a26036e 2a23c6b8a9c42620182a2d2cfc

[PATCH 05/10] xen/blkback: separate ring information out of struct xen_blkif

2015-02-15 Thread Bob Liu
This patch separate ring information from struct xen_blkif to an new struct xen_blkif_ring to make preparation for real multi hardware queues supporting. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com Signed-off-by: Bob Liu bob@oracle.com --- drivers/block/xen-blkback/blkback.c |

[PATCH 08/10] xen/blkfront: negotiate hardware queue number with backend

2015-02-15 Thread Bob Liu
The max number of hardware queues for xen/blkfront is num_online_cpus() or set by module parameter, while the number xen/blkback supported is notified through xenstore(multi-queue-max-queues). The negotiated number was the smaller one, and was written back to xen/blkback as multi-queue-num-queues.

[PATCH 07/10] xen/blkback: pseudo support for multi hardware queues

2015-02-15 Thread Bob Liu
Prepare patch for multi hardware queues, the ring number was mandatory set to 1. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com Signed-off-by: Bob Liu bob@oracle.com --- drivers/block/xen-blkback/common.h | 3 +- drivers/block/xen-blkback/xenbus.c | 368

[PATCH 09/10] xen/blkback: get hardware queue number from blkfront

2015-02-15 Thread Bob Liu
Backend advertise the max number it supported to multi-queue-max-queues, and read the negotiate value from multi-queue-num-queues. Signed-off-by: Bob Liu bob@oracle.com --- drivers/block/xen-blkback/blkback.c | 8 drivers/block/xen-blkback/xenbus.c | 36

[PATCH 10/10] xen/blkfront: use work queue to fast blkif interrupt return

2015-02-15 Thread Bob Liu
Move the request complete logic out of blkif_interrupt() to a work queue, after that we can replace 'spin_lock_irq' with 'spin_lock' so that irq won't be disabled too long in blk_mq_queue_rq(). No more warning like this: INFO: rcu_sched detected stalls on CPUs/tasks: { 7} (detected by 0, t=15002

[PATCH 06/10] xen/blkfront: pseudo support for multi hardware queues

2015-02-15 Thread Bob Liu
Prepare patch for multi hardware queues, the ring number was mandatory set to 1. Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com Signed-off-by: Bob Liu bob@oracle.com --- drivers/block/xen-blkfront.c | 408 +-- 1 file changed, 234

[PATCH 02/10] xen/blkfront: drop legacy block layer support

2015-02-15 Thread Bob Liu
As Christoph suggested, remove the legacy support similar to most drivers coverted (virtio, mtip, and nvme). Signed-off-by: Arianna Avanzini avanzini.aria...@gmail.com Signed-off-by: Bob Liu bob@oracle.com --- drivers/block/xen-blkfront.c | 167 +-- 1

Re: [PATCH 2/3] arm/dts/ls1021a: Add DCU dts node

2015-02-15 Thread jianwei.w...@freescale.com
My careless, I'll add big―endia to fsl,dcfb.txt next version. 发件人: Wood Scott-B07421 发送时间: 2015年2月14日 1:28:08 收件人: Wang Jianwei-B52261 抄送: dri-de...@lists.freedesktop.org; jbar...@virtuousgeek.org; linux-kernel@vger.kernel.org;

Re: [PATCH 2/7] perf list: sort the output of 'perf list' to view more clearly

2015-02-15 Thread Yunlong Song
On 2015/2/13 22:45, Arnaldo Carvalho de Melo wrote: Em Fri, Feb 13, 2015 at 09:11:50PM +0800, Yunlong Song escreveu: return; + +if (evt_num_known) { +evt_list = zalloc(sizeof(char *) * evt_num); +if (!evt_list) +goto out_enomem; +}

Re: [PATCH v3 00/15] Revert h8300 archtecture

2015-02-15 Thread Paul Bolle
On Sun, 2015-02-15 at 16:49 +0900, Yoshinori Sato wrote: Yoshinori Sato (15): h8300: Assembly headers. h8300: UAPI headers h8300: Exception and Interrupt handling h8300: kernel booting h8300: Process and signal h8300 CPU depend helpers h8300: miscellaneous functions h8300:

[PATCH 2/2] dgnc: Move DG_PART definition from Makefile to dgnc_driver.h

2015-02-15 Thread Cass May
Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h Signed-off-by: Cass May c...@cassm.net --- drivers/staging/dgnc/Makefile | 2 -- drivers/staging/dgnc/dgnc_driver.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 03/14] clocksource: Add ARM System timer driver

2015-02-15 Thread Andreas Färber
Am 12.02.2015 um 18:45 schrieb Maxime Coquelin: This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Signed-off-by: Maxime Coquelin mcoquelin.st...@gmail.com --- .../devicetree/bindings/arm/system_timer.txt | 15 + drivers/clocksource/Kconfig

Re: [PATCH 06/14] drivers: reset: Add STM32 reset driver

2015-02-15 Thread Andreas Färber
Am 12.02.2015 um 18:45 schrieb Maxime Coquelin: The STM32 MCUs family IP can be reset by accessing some shared registers. The specificity is that some reset lines are used by the timers. At timer initialization time, the timer has to be reset, that's why we cannot use a regular driver.

Re: [PATCH] Input: ALPS: Move v7 packet info to Documentation and v6 packet info

2015-02-15 Thread Dmitry Torokhov
On Wed, Feb 11, 2015 at 08:38:13AM +0100, Hans de Goede wrote: Hi, On 10-02-15 13:43, Pali Rohár wrote: This patch move all packet info from driver source code to documentation and adds info about v6 packet format (from driver source code). Signed-off-by: Pali Rohár pali.ro...@gmail.com

Re: [PATCH][v3.2 stable tree] dcache: Balance rcu_read_lock in have_submounts()

2015-02-15 Thread Ben Hutchings
On Thu, 2015-02-12 at 00:28 -0500, Steven Rostedt wrote: On Wed, 11 Feb 2015 03:15:37 + Ben Hutchings b...@decadent.org.uk wrote: I've reviewed locking contexts in all three functions that I changed when backporting deal with deadlock in d_walk(). It's actually worse than you say:

[GIT PULL] CRIS changes for 3.20

2015-02-15 Thread Jesper Nilsson
Hi Linus! Please pull the below changes for some small CRIS fixes for 3.20. The following changes since commit c59c961ca511dc7ee2f4f7e9c224d16f5c76ca6e: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2015-01-27 19:12:38 -0800) are available in the git repository

Re: [PATCH 6/9] nbd: Restructure debugging prints

2015-02-15 Thread Joe Perches
On Sun, 2015-02-15 at 23:20 +0100, Markus Pargmann wrote: On Fri, Feb 13, 2015 at 03:48:06AM -0800, Joe Perches wrote: On Fri, 2015-02-13 at 12:24 +0100, Markus Pargmann wrote: On Fri, Feb 13, 2015 at 02:05:27AM -0800, Joe Perches wrote: On Fri, 2015-02-13 at 10:58 +0100, Markus Pargmann

Re: [PATCH] powerpc: re-enable dynticks

2015-02-15 Thread Michael Ellerman
On Fri, 2015-02-13 at 13:38 -0600, Paul Clarke wrote: implement arch_irq_work_has_interrupt() for powerpc Commit 9b01f5bf3 introduced a dependency on IRQ work self-IPIs for full dynamic ticks to be enabled, by expecting architectures to implement a suitable arch_irq_work_has_interrupt()

[PATCH] usb: dwc3: Moved PCI IDS to linux/pci_ids.h

2015-02-15 Thread Joseph Kogut
Moved DWC3 PCI IDS to linux/pci_ids.h per the FIXME. Signed-off-by: Joseph Kogut joseph.ko...@gmail.com --- drivers/usb/dwc3/dwc3-pci.c | 10 +- include/linux/pci_ids.h | 8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c

  1   2   3   4   5   >