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

2015-02-14 Thread Huang Ying
FYI, we noticed the below changes on commit c4a7ca774949960064dac11b326908f28407e8c3 ("SUNRPC: Allow waiting on memory allocation") testbox/testcase/testparams: nhm4/fsmark/performance-1x-32t-1HDD-f2fs-nfsv4-8K-400M-fsyncBeforeClose-16d-256fpd 127b21b89f9d8ba0 c4a7ca774949960064dac11b32

[LKP] [vmstat] c3916839649: -63.9% will-it-scale.time.involuntary_context_switches, -17.6% will-it-scale.time.voluntary_context_switches, no primary result change

2015-02-14 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 c3916839649ddb3c0d541ce346360c4197898d52 ("vmstat: do not use deferrable delayed work for vmstat_update") testbox/testcase/testparams: wsm/will-it-scale/performance-malloc1

[PATCH v3 08/15] h8300: Memory management

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/mm/Makefile | 5 ++ arch/h8300/mm/fault.c | 58 +++ arch/h8300/mm/init.c | 153 + arch/h8300/mm/kmap.c | 61 arch/h8300/mm/memory.c | 54 +

[PATCH v3 04/15] h8300: kernel booting

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/boot/Makefile | 27 + arch/h8300/boot/compressed/Makefile| 37 +++ arch/h8300/boot/compressed/head.S | 48 + arch/h8300/boot/compressed/misc.c | 74 ++ arch/h8300/boot/compressed/vmlinux.lds

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

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/process.c | 170 +++ arch/h8300/kernel/ptrace.c | 203 +++ arch/h8300/kernel/signal.c | 326 3 files changed, 699 insertions(+) create mode 100644

[PATCH v3 07/15] h8300: miscellaneous functions

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/asm-offsets.c | 60 ++ arch/h8300/kernel/dma.c | 94 + arch/h8300/kernel/h8300_ksyms.c | 34 +++ arch/h8300/kernel/module.c | 70

[PATCH v3 06/15] h8300 CPU depend helpers

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/cpu/Makefile | 5 + arch/h8300/kernel/cpu/h83069/Makefile | 1 + arch/h8300/kernel/cpu/h83069/setup.c | 202 ++ arch/h8300/kernel/cpu/h8s2678/Makefile | 1 + arch/h8300/kernel/cpu/h8s2678/setup.c | 161

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

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/include/asm/Kbuild | 65 + arch/h8300/include/asm/asm-offsets.h | 1 + arch/h8300/include/asm/atomic.h| 159 arch/h8300/include/asm/bitops.h| 185 ++

[PATCH v3 09/15] h8300: library functions

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/lib/Makefile| 7 ++ arch/h8300/lib/abs.S | 20 ++ arch/h8300/lib/ashldi3.c | 58 arch/h8300/lib/ashrdi3.c | 59 arch/h8300/lib/checksum.c | 167 +

[PATCH v3 15/15] Add ELF machine

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- include/uapi/linux/elf-em.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index ae99f77..b088296 100644 --- a/include/uapi/linux/elf-em.h +++ b/include/uapi/linux/elf-em.h @@ -25,6 +25,7 @@ #define

[PATCH v3 14/15] serial: Add h8300

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index c79b43c..ed01f33 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -747,7

[PATCH v3 03/15] h8300: Exception and Interrupt handling

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/entry.S | 418 ++ arch/h8300/kernel/irq.c | 106 arch/h8300/kernel/traps.c | 166 ++ 3 files changed, 690 insertions(+) create mode 100644 arch/h8300/kernel/entry.S

[PATCH v3 10/15] h8300: Build scripts

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/Kconfig | 119 +++ arch/h8300/Kconfig.cpu | 136 arch/h8300/Kconfig.debug| 23 +++ arch/h8300/Makefile | 45 +

[PATCH v3 11/15] h8300: clock driver

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/clk/Makefile| 1 + drivers/clk/h8300/Makefile | 2 + drivers/clk/h8300/clk-h83069.c | 73 ++ drivers/clk/h8300/clk-h8s2678.c | 165 include/linux/clk-provider.h| 12 +++

[PATCH v3 02/15] h8300: UAPI headers

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/include/uapi/asm/Kbuild | 29 arch/h8300/include/uapi/asm/auxvec.h | 4 ++ arch/h8300/include/uapi/asm/byteorder.h | 6 ++ arch/h8300/include/uapi/asm/ptrace.h | 42 +++ arch/h8300/include/uapi/asm/sigcontext.h |

[PATCH v3 13/15] h8300: configs

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/configs/h8300h-sim_defconfig | 54 +++ arch/h8300/configs/h8s-sim_defconfig| 56 + 2 files changed, 110 insertions(+) create mode 100644 arch/h8300/configs/h8300h-sim_defconfig create

[PATCH v3 12/15] h8300: clocksource

2015-02-14 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/clocksource/Kconfig | 9 + drivers/clocksource/Makefile| 3 + drivers/clocksource/h8300_timer16.c | 335 ++ drivers/clocksource/h8300_timer8.c | 400

[PATCH v3 00/15] Revert h8300 archtecture

2015-02-14 Thread Yoshinori Sato
Changes for v3 - Fix clone - Add dma functions - Add missing library - Fix various errors Changes for v2 - Use Common Clock Framework - Use common unistd.h - Use common ptrace function - clocksource driver move to drivers/clocksource - some cleanup Changes for latest relase (v3.12) - standard

[LKP] [mutex] 871a6bb4916: -1.8% will-it-scale.per_process_ops, -98.3% will-it-scale.time.voluntary_context_switches, +209.6% will-it-scale.time.involuntary_context_switches

2015-02-14 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core commit 871a6bb4916fef3123b6ff749b0dc82680fb0d2a ("mutex: In mutex_spin_on_owner(), return true when owner changes") testbox/testcase/testparams:

[PATCH] ASoC: Add support for NAU8824 codec to ASoC

2015-02-14 Thread Wan Zongshun
Signed-off-by: Wan Zongshun Signed-off-by: Chih-Chiang Chang --- sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/nau8824.c | 770 + sound/soc/codecs/nau8824.h | 379 ++ 4 files changed, 1156

Re: how to optimize virtio-vhost in 10G net

2015-02-14 Thread Jason Wang
On Sun, Feb 15, 2015 at 3:30 PM, Ding Xiao wrote: I am test virtio-vhost in 10G environment host info cpu E2680@2.7GHz memory 16G network intel 82599BE os centos 7 VM info cpu 4 memory 4G network using virtio vhost os centos 7 I using pktgen to send udp package, the result like follow 64b

how to optimize virtio-vhost in 10G net

2015-02-14 Thread Ding Xiao
I am test virtio-vhost in 10G environment host info cpu E2680@2.7GHz memory 16G network intel 82599BE os centos 7 VM info cpu 4 memory 4G network using virtio vhost os centos 7 I using pktgen to send udp package, the result like follow 64b 230Mb/s 1400b 5.9Gb/s I test the speed in VMware too,

[PATCH v4] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-14 Thread Yoshinori Sato
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 Reviewed-by: Arnd Bergmann --- arch/alpha/Kconfig| 1 + arch/arm/Kconfig | 1 + arch/ia64/Kconfig |

Re: [Patch 2/3] firmware: dmi_scan: fix dmi_len type

2015-02-14 Thread Ivan Khoronzhuk
On 02/13/2015 06:12 PM, Matt Fleming wrote: On Wed, 11 Feb, at 06:12:59PM, Ard Biesheuvel wrote: Good point. Actually, I don't really see the need for patch #1, even if I agree that it would have been better to write it like you have in the first place. But leaving the dmi_len as u16 is

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

2015-02-14 Thread Fam Zheng
On Fri, 02/13 01:53, Omar Sandoval wrote: > > Discussion > > == > > > > [Note: This is the question part regarding the interface contract of > > epoll_ctl_batch. If you don't have the context of what is epoll_ctl_batch > > yet, > > please skip this part and probably start with the man

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

2015-02-14 Thread Yong Wang
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 needed, and > interrupts are fully taken care of by hardware. > > In nested vmx,

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

2015-02-14 Thread Raghavendra K T
On 02/15/2015 11:25 AM, Raghavendra K T wrote: Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(>tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */

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

2015-02-14 Thread Raghavendra K T
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(>tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail &

Re: [PATCH v4] USB:ftdi_sio: Added Pids for Actisense Usb Devices

2015-02-14 Thread Johan Hovold
On Fri, Feb 13, 2015 at 09:04:39AM +, Mark Glover wrote: > From: Mark Glover > > Only Email comments have changed since the last version of this patch. Next time you can describe patch-revision changes below the cut-off line (---) below. That way it doesn't show up in the commit message

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

2015-02-14 Thread Raghavendra K T
On 02/13/2015 09:02 PM, Oleg Nesterov wrote: On 02/13, Raghavendra K T wrote: @@ -164,7 +161,7 @@ static inline int arch_spin_is_locked(arch_spinlock_t *lock) { struct __raw_tickets tmp = READ_ONCE(lock->tickets); - return tmp.tail != tmp.head; + return tmp.tail !=

Re: [PATCH RFC v3 4/7] epoll: Add implementation for epoll_ctl_batch

2015-02-14 Thread Fam Zheng
On Fri, 02/13 19:06, Dan Rosenberg wrote: > > > + if (ncmds <= 0 || !cmds) > > + return -EINVAL; > > + cmd_size = sizeof(struct epoll_ctl_cmd) * ncmds; > > + kcmds = kmalloc(cmd_size, GFP_KERNEL); > You should probably fix the integer overflow in the calculation of the > cmd_size

[PATCH 1/2] virtio_pci_modern: type-safe io accessors

2015-02-14 Thread Michael S. Tsirkin
The spec is very clear on this: 4.1.3.1 Driver Requirements: PCI Device Layout The driver MUST access each field using the “natural” access method, i.e. 32-bit accesses for 32-bit fields, 16-bit accesses for 16-bit fields and 8-bit accesses for 8-bit fields. Add type-safe wrappers to prevent

[PATCH 2/2] virtio_pci_modern: switch to type-safe io accessors

2015-02-14 Thread Michael S. Tsirkin
As Rusty noted, we were accessing queue_enable with an incorrect width. Switch to type-safe accessors so we don't make this mistake again in the future. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci_modern.c | 83 +++--- 1 file changed, 42

[PATCH 2/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-02-14 Thread Tolga Ceylan
Code reformatting based on checkpatch.pl with --strict: Lines over 80 characters were fixed Signed-off-by: Tolga Ceylan --- drivers/staging/iio/meter/ade7854-i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/meter/ade7854-i2c.c

[PATCH 1/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-02-14 Thread Tolga Ceylan
Code reformatting based on checkpatch.pl with --strict: Alignment should match open paranthesis cases corrected Signed-off-by: Tolga Ceylan --- drivers/staging/iio/meter/ade7854-i2c.c | 34 - 1 file changed, 17 insertions(+), 17 deletions(-) diff --git

[PATCH 3/3] Staging: iio: meter: ade7854-i2c: code style improvements

2015-02-14 Thread Tolga Ceylan
Code reformatting based on checkpatch.pl with --strict: Comparison to NULL rewritten as !indio_dev Signed-off-by: Tolga Ceylan --- drivers/staging/iio/meter/ade7854-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/meter/ade7854-i2c.c

Re: [PATCH] net/core: Fix warning while make xmldocs caused by dev.c

2015-02-14 Thread David Miller
From: Masanari Iida Date: Sat, 14 Feb 2015 22:26:34 +0900 > This patch fix following warning wile make xmldocs. > > Warning(.//net/core/dev.c:5345): No description found > for parameter 'bonding_info' > Warning(.//net/core/dev.c:5345): Excess function parameter > 'netdev_bonding_info'

Re: [PATCH] net: phy: micrel: disable NAND-tree for KSZ8021,KSZ8031,KSZ8051,KSZ8081

2015-02-14 Thread David Miller
From: Sylvain Rochet Date: Fri, 13 Feb 2015 21:35:33 +0100 > NAND-tree is used to check wiring between MAC and PHY using NAND gates > on the PHY side, hence the name. > > NAND-tree initial status is latched at reset by probing the IRQ pin. > However some devices are sharing the PHY IRQ pin with

Re: [PATCH v3 2/2] sched/rt: Add check_preempt_equal_prio() logic in pick_next_task_rt()

2015-02-14 Thread Steven Rostedt
On Sun, 15 Feb 2015 10:54:25 +0800 pang.xun...@zte.com.cn wrote: > I think this can also happen for check_preempt_equal_prio(): > When RT1(current task) gets preempted by RT2, if there is a > migratable RT3 with same prio, RT3 will be pushed away instead > of RT1 afterwards, because RT1 will be

Re: [PATCH net] r8152: restore hw settings

2015-02-14 Thread David Miller
From: Hayes Wang Date: Thu, 12 Feb 2015 16:20:46 +0800 > There is a capability which let the hw could change the settings > automatically when the power change to ON. However, the USB reset > would reset the settings to the hw default, so the driver has to > restore the relative settings.

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

2015-02-14 Thread Sasha Levin
Hi Vladimir, On 01/28/2015 11:22 AM, Vladimir Davydov wrote: > SLUB's version of __kmem_cache_shrink() not only removes empty slabs, > but also tries to rearrange the partial lists to place slabs filled up > most to the head to cope with fragmentation. To achieve that, it > allocates a temporary

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

2015-02-14 Thread Pat Erley
On 02/14/2015 08:40 PM, Fu, Zhonghui wrote: Any comments to this patch? Can it be accepted? Thanks, Zhonghui On 2015/2/12 11:26, Fu, Zhonghui wrote: From a05d35ab334c20970c236fb971dae88810078c88 Mon Sep 17 00:00:00 2001 From: Fu Zhonghui Date: Thu, 12 Feb 2015 10:49:35 +0800 Subject:

[PATCH v4] dma: imx-sdma: switch to dynamic context mode after script loaded

2015-02-14 Thread Robin Gong
Below comments got from Page4724 of Reference Manual of i.mx6q: http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf --"Static context mode should be used for the first channel called after reset to ensure that the all context RAM for that channel is initialized during the context

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

2015-02-14 Thread Fu, Zhonghui
Any comments to this patch? Can it be accepted? Thanks, Zhonghui On 2015/2/12 11:26, Fu, Zhonghui wrote: > From a05d35ab334c20970c236fb971dae88810078c88 Mon Sep 17 00:00:00 2001 > From: Fu Zhonghui > Date: Thu, 12 Feb 2015 10:49:35 +0800 > Subject: [PATCH v3] brcmfmac: avoid duplicated

[PATCH] perf report: Fix branch stack mode cannot be set

2015-02-14 Thread He Kuang
When perf.data file be abtained by using 'perf record -b', perf report should use branch stack mode to generate output. But this function is broken by improper comparison between boolean and constant -1. before this patch: $perf report -b -i perf.data Samples: 16 of event 'cycles', Event count

Re: [PATCH] PM-Trace: add pm-trace support for suspending phase

2015-02-14 Thread Fu, Zhonghui
On 2015/2/13 6:24, Rafael J. Wysocki wrote: > On Thursday, February 12, 2015 12:48:06 PM Fu, Zhonghui wrote: >> On 2015/2/11 23:25, Rafael J. Wysocki wrote: >>> On Wednesday, February 11, 2015 10:43:13 PM Fu, Zhonghui wrote: From 2626594c03ca3b9884dd44073385c36f99a3651d Mon Sep 17 00:00:00

Re: [PATCH] PM-Trace: add pm-trace support for suspending phase

2015-02-14 Thread Fu, Zhonghui
On 2015/2/12 9:23, Greg Kroah-Hartman wrote: > On Wed, Feb 11, 2015 at 10:43:13PM +0800, Fu, Zhonghui wrote: >> >From 2626594c03ca3b9884dd44073385c36f99a3651d Mon Sep 17 00:00:00 2001 >> From: Zhonghui Fu >> Date: Wed, 11 Feb 2015 16:20:21 +0800 >> Subject: [PATCH] PM-Trace: add pm-trace support

[PATCH v2] PM-Trace: add pm-trace support for suspending phase

2015-02-14 Thread Fu, Zhonghui
Occasionally, the system can't come back up after suspend/resume due to problems of device suspending phase. This patch make PM_TRACE infrastructure cover device suspending phase of suspend/resume process, and the information in RTC can tell developers which device suspending function make system

[PATCH v2 2/4] HID: hid-lg4ff: Display the real wheel model and supported alternate modes through sysfs. This applies only to multimode wheels.

2015-02-14 Thread Michal Malý
Display the real wheel model and supported alternate modes through sysfs. This applies only to multimode wheels. Signed-off-by: Michal Malý --- v2: Document the sysfs interface .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 20 ++ drivers/hid/hid-lg4ff.c|

[PATCH v2 1/4] HID: hid-lg4ff: Identify Logitech gaming wheels in compatibility modes accordingly to Logitech specifications

2015-02-14 Thread Michal Malý
Logitech specification contains a general method of identifying various models of their gaming wheels while they are in "compatibility" mode. This patch implements the method instead of checking against known values of bcdDevice. Handling of the mode switch upon initialization is also adjusted so

[PATCH v2 0/4] HID: hid-lg4ff: Improve handling of Logitech multimode gaming wheels

2015-02-14 Thread Michal Malý
This patch series improves handling of various Logitech gaming wheels and allows switching between various compatibility modes which might be useful to improve compatibility with very old games and testing purposes. Signed-off-by: Michal Malý v2: - Rebased against latest linux-next -

[PATCH v2 3/4] HID: hid-lg4ff: Introduce a module parameter to disable automatic switch of Logitech gaming wheels from compatibility to native mode. This only applies to multimode wheels.

2015-02-14 Thread Michal Malý
Introduce a module parameter to disable automatic switch of Logitech gaming wheels from compatibility to native mode. This only applies to multimode wheels. Signed-off-by: Michal Malý --- drivers/hid/hid-lg.c| 6 ++ drivers/hid/hid-lg4ff.c | 4 +++- 2 files changed, 9 insertions(+), 1

[PATCH v2 4/4] HID: hid-lg4ff: Allow switching of Logitech gaming wheels between available compatibility modes through sysfs. This only applies to multimode wheels.

2015-02-14 Thread Michal Malý
Allow switching of Logitech gaming wheels between available compatibility modes through sysfs. This only applies to multimode wheels. Signed-off-by: Michal Malý --- v2: Fix a misleading error message regarding unsupported wheel mode .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 27 ++-

Re: MIPS: CONFIG_CPU_MIPS_R6?

2015-02-14 Thread Leonid Yegoshin
On 02/14/2015 09:26 AM, Paul Bolle wrote: Your commit 33d73a3d4159 ("MIPS: lib: memset: Add MIPS R6 support") is included in yesterday's linux next (ie, next-20150213). I noticed because a script I use to check linux-next spotted a trivial problem with it. It added a reference to

[PATCH 2/2] ASoC: fsl-asoc-card: Add snd_soc_of_parse_audio_routing()

2015-02-14 Thread Nicolin Chen
This patch adds snd_soc_of_parse_audio_routing() to get dapm routes configurations via Device Tree. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl-asoc-card.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index

[PATCH 1/2] ASoC: core: Add extra dapm properties for Device Tree

2015-02-14 Thread Nicolin Chen
The current helper functions, snd_soc_of_parse_audio_simple_widgets() and snd_soc_of_parse_audio_routing(), set dapm_widgets and dapm_routes without caring if they are already set by using build-in widgets and routes in the card driver. So there could be one of them, build-in one or Device Tree

Re: MIPS: CONFIG_MIPS_R6?

2015-02-14 Thread Leonid Yegoshin
On 02/14/2015 09:21 AM, Paul Bolle wrote: Your commits 430857eae56c ("MIPS: mm: Add MIPS R6 instruction encodings") and 90163242784b ("MIPS: kernel: unaligned: Add support for the MIPS R6") are included in yesterday's linux-next (ie, next-20150213). I noticed because a script I use to check

Re: [PATCH v2 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-02-14 Thread Yijing Wang
>> Also we could eliminate all arch specific pci_domain_nr() after applied this >> series. >> >> I tested this series on x86 (with or without ACPI). >> Comments and tests are warmly welcome! > > Can you push a public branch out rebased against mainline for us to pull > and test please ? OK, I

Re: [PATCH v2] Bluetooth: ath3k: Add support for 04f2:aff1 (Atheros AR5B195 combo Mini PCIe card)

2015-02-14 Thread Alexander Ploumistos
Hello Marcel, Thank you for accepting my patch and sorry I put you through so much trouble for just two variables. Until Dmitry chimed in, I was pretty sure I had followed everything in Documentation/SubmittingPatches to the letter. I also had some trouble using my fedoraproject.org alias with

Re: [PATCHv3 0/8] devfreq: Add generic exynos memory-bus frequency driver

2015-02-14 Thread Tobias Jakobi
Hello, I've tested the series on my Odroid-X2 (by adapting the TRATS2 changes), and so far I haven't seen any issues. With the system being idle one can see that the 'simple_ondemand' devfreq governor clocks down both memory busses to the lowest state. With best wishes, Tobias -- To unsubscribe

[LSM] Kernel panic - not syncing: Could not register security module

2015-02-14 Thread Fengguang Wu
Hi Kees, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git revert-2228b30d2010404a0eb4a1e8e57fe04550dd9708-2228b30d2010404a0eb4a1e8e57fe04550dd9708 commit 2228b30d2010404a0eb4a1e8e57fe04550dd9708 Author:

Re: [PATCH v2] Bluetooth: ath3k: Add support for 04f2:aff1 (Atheros AR5B195 combo Mini PCIe card)

2015-02-14 Thread Marcel Holtmann
Hi Alexander, > Add 04f2:aff1 to ath3k.c supported devices list and btusb.c blacklist, so > that the device can load the ath3k firmware and re-enumerate itself as an > AR3011 device. > > > T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01

[PATCH] gxt4500: fix 16bpp 565 mode

2015-02-14 Thread Ondrej Zary
Fix wrong colors in 16bpp 565 mode. Not sure if this is OK for big-endian systems or it breaks them. Signed-off-by: Ondrej Zary --- drivers/video/fbdev/gxt4500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/gxt4500.c b/drivers/video/fbdev/gxt4500.c

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-14 Thread Alexei Starovoitov
On Wed, Feb 11, 2015 at 11:58 PM, Hekuang wrote: > >>> eBPF is very flexible, which means it is bound to have someone use it >>> in a way you never dreamed of, and that will be what bites you in the >>> end (pun intended). >> >> understood :) >> let's start slow then with bpf+syscall and

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-14 Thread Alexei Starovoitov
On Wed, Feb 11, 2015 at 7:51 AM, Steven Rostedt wrote: > On Tue, 10 Feb 2015 22:33:05 -0800 > Alexei Starovoitov wrote: > > >> fair enough. >> Something like TRACE_MARKER(arg1, arg2) that prints >> it was hit without accessing the args would be enough. >> Without any args it is indeed a 'fast

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-14 Thread Alexei Starovoitov
On Wed, Feb 11, 2015 at 5:28 AM, Peter Zijlstra wrote: > > We're compiling the BPF stuff against the 'current' kernel headers > right? the tracex1 example is pulling kernel headers to demonstrate how bpf_fetch*() helpers can be used to walk kernel structures without debug info. The other

[PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-14 Thread Robert Jarzmik
In order to slowly transition pxa to dmaengine, the legacy code will now rely on dmaengine to request a channel. This implies that PXA architecture selects DMADEVICES and MMP_PDMA, which is not pretty. Yet it enables PXA drivers to be ported one by one, with part of them using dmaengine, and the

[PATCH RFC 0/2] Prepare smooth PXA transition to dmaengine

2015-02-14 Thread Robert Jarzmik
This is the best I could think of to smoothly transition the PXA drivers to dmaengine, driver by driver. The goal is to : - be able to port several drivers, but not _all_ of them at the same time - have both dmaengine and legacy dma code working in the same kernel - have dma chanels correctly

[PATCH RFC 1/2] dma: mmp_dma: add support for legacy transition

2015-02-14 Thread Robert Jarzmik
In order to achieve smooth transition of pxa drivers from old legacy dma handling to new dmaengine, introduce a function to "hide" dma physical channels from dmaengine. This is temporary situation where pxa dma will be handled in 2 places : - arch/arm/plat-pxa/dma.c - drivers/dma/mmp_pdma.c

[PATCH v2] mm: slub: Add SLAB_DEBUG_CRASH option

2015-02-14 Thread Chris J Arges
This option crashes the kernel whenever corruption is initially detected. This is useful when trying to use crash dump analysis to determine where memory was initially corrupted. To enable this option use slub_debug=C. [v2] Panic in slab_err and object_err instead of BUG_ON. Signed-off-by:

[PATCH] gxt4500: enable on non-PPC architectures

2015-02-14 Thread Ondrej Zary
These chips can be present at least on x86 too - Fire GL2 AGP has GXT6000P but this driver is currently limited to PPC. Enable it for all architectures and add chip configuration for little-endian. Tested on x86 with Fire GL2 AGP. Signed-off-by: Ondrej Zary --- drivers/video/fbdev/Kconfig |

Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

2015-02-14 Thread Oleg Nesterov
On 02/14, Davidlohr Bueso wrote: > > On Sat, 2015-02-14 at 21:57 +0100, Oleg Nesterov wrote: > > Perhaps... but PF_KTHREAD looks self-documented too ;) > > Well the idea was to standardize how we check for a kthreads, as opposed > to improving readability or such. Just a suggestion. I understand,

Re: [PATCH] at86rf230: assign wait_for_completion_timeout to appropriately typed var

2015-02-14 Thread Marcel Holtmann
Hi Alex, >>> return type of wait_for_completion_timeout is unsigned long not int. >>> As rc is used here only for wait_for_completion_timeout the type is simply >>> changed to unsigned long. >>> >>> Signed-off-by: Nicholas Mc Guire >> >> Acked-by: Alexander Aring >> >> Marcel, can you please

Re: [PATCH] mtd: pxa3xx_nand: fix driver when num_cs is 0

2015-02-14 Thread Robert Jarzmik
Ezequiel Garcia writes: > On 02/08/2015 05:02 PM, Robert Jarzmik wrote: >> As the devicetree binding doesn't require num_cs to exist or be strictly >> positive, and neither does the platform data case, a bug appear when >> num_cs is set to 0 and panics the kernel. ... >> Signed-off-by: Robert

[PATCH v3] ARM: pxa: fix pxa interrupts handling in DT

2015-02-14 Thread Robert Jarzmik
The commit "ARM: pxa: arbitrarily set first interrupt number" changed the first pxa interrupt to 16. As a consequence, device-tree builds got broken, because : - pxa_mask_irq() and pxa_unmask_irq() are using IRQ_BIT() - IRQ_BIT(x) calculates the interrupts as : x - PXA_IRQ(0) Before the

Re: [PATCH] ARM: pxa: pxa27x skip default device initialization with DT

2015-02-14 Thread Robert Jarzmik
Daniel Mack writes: > On 02/07/2015 10:18 PM, Robert Jarzmik wrote: >> When booting via DT, the default PXA devices must not have been probed >> before, otherwise the augmented information from the device tree is >> ignored. >> >> This is the twin commit of commit 82ce44d104dc ("ARM: pxa3xx:

Re: [PATCH] at86rf230: assign wait_for_completion_timeout to appropriately typed var

2015-02-14 Thread Alexander Aring
On Sun, Feb 08, 2015 at 10:34:34AM +0100, Alexander Aring wrote: > On Sun, Feb 08, 2015 at 03:55:00AM -0500, Nicholas Mc Guire wrote: > > return type of wait_for_completion_timeout is unsigned long not int. > > As rc is used here only for wait_for_completion_timeout the type is simply > > changed

Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

2015-02-14 Thread Davidlohr Bueso
On Sat, 2015-02-14 at 21:57 +0100, Oleg Nesterov wrote: > Perhaps... but PF_KTHREAD looks self-documented too ;) Well the idea was to standardize how we check for a kthreads, as opposed to improving readability or such. Just a suggestion. Thanks. -- To unsubscribe from this list: send the line

Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

2015-02-14 Thread Oleg Nesterov
On 02/14, Davidlohr Bueso wrote: > > On Mon, 2015-02-02 at 15:05 +0100, Oleg Nesterov wrote: > > --- a/kernel/futex.c > > +++ b/kernel/futex.c > > @@ -900,7 +900,7 @@ static int attach_to_pi_owner(u32 uval, union futex_key > > *key, > > if (!p) > > return -ESRCH; > > > > - if

[PATCH] procfs: Return -ESRCH on /proc/N/fd/* when PID N doesn't exist

2015-02-14 Thread Calvin Owens
Currently, readlink() and follow_link() for the symbolic links in /proc//fd/* will return -EACCES in the case where looking up the task finds that it does not exist. This patch inlines the logic from proc_fd_access_allowed() into these two functions such that they will return -ESRCH if the lookup

Re: [PATCH 3/5] virtio: Don't expose legacy net features when VIRTIO_NET_NO_LEGACY defined.

2015-02-14 Thread Michael S. Tsirkin
On Sun, Feb 08, 2015 at 11:59:08AM +0100, Michael S. Tsirkin wrote: > On Fri, Feb 06, 2015 at 03:36:54PM +1030, Rusty Russell wrote: > > In particular, the virtio header always has the u16 num_buffers field. > > We define a new 'struct virtio_net_modern_hdr' for this (rather than > > simply

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-14 Thread Lorenzo Pieralisi
On Sat, Feb 14, 2015 at 01:34:34AM +, Liviu Dudau wrote: > On Sat, Feb 14, 2015 at 06:55:05AM +0800, Nicolas Pitre wrote: > > On Fri, 13 Feb 2015, Liviu Dudau wrote: > > > > > On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: > > > > The vexpress tc2 power management code calls

[RFC][PATCH v4] procfs: Always expose /proc//map_files/ and make it readable

2015-02-14 Thread Calvin Owens
Currently, /proc//map_files/ is restricted to CAP_SYS_ADMIN, and is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is very useful for enumerating the files mapped into a process when the more verbose information in /proc//maps is not needed. It also allows access to file

Re: [PATCH v2 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-02-14 Thread Lorenzo Pieralisi
Hi Yijing, On Wed, Jan 21, 2015 at 12:29:55AM +, Yijing Wang wrote: > v1->v2: > Split pci_host_bridge_list into a new patch, remove .phb_probe_mode > and rework powerpc .phb_of_scan_bus() for simpilicty suggested by > Arnd. Refresh some patch description log, and add a new

[PATCH] fs: record task name which froze superblock

2015-02-14 Thread Alexey Dobriyan
Freezing and thawing are separate system calls, task which is supposed to thaw filesystem/superblock can disappear due to crash or not thaw due to a bug. Record at least task name (we can't take task_struct reference) to make support engineer's life easier. Hopefully 16 bytes per superblock isn't

Re: divide by zero oops in kernel 3.17.7

2015-02-14 Thread william
fyi, crashed again today with 3.18.5 vanilla : still crashing on 3.18.5 vanilla : Feb 13 04:06:41 gemelos kernel: divide error: [#1] SMP DEBUG_PAGEALLOC Feb 13 04:06:41 gemelos kernel: CPU: 2 PID: 24892 Comm: mysqld Not tainted 3.18.5ww7_vanilla1_debug #1 Feb 13 04:06:41 gemelos kernel:

Re: [PATCH] ARM: shmobile: Remove redundant cpu_disable implementation

2015-02-14 Thread Simon Horman
On Sat, Feb 14, 2015 at 09:58:42AM +, Magnus Damm wrote: > Hi Stephen, > > On Sat, Feb 14, 2015 at 12:41 AM, Stephen Boyd wrote: > > By default only the non-boot CPUs can be hotplugged if the > > smp_operations structure doesn't have the cpu_disable function > > pointer set.

Re: [PATCH 1/1] futex: check PF_KTHREAD rather than !p->mm to filter out kthreads

2015-02-14 Thread Davidlohr Bueso
On Mon, 2015-02-02 at 15:05 +0100, Oleg Nesterov wrote: > attach_to_pi_owner() checks p->mm to prevent attaching to kthreads and > this looks doubly wrong: > > 1. It should actually check PF_KTHREAD, kthread can do use_mm(). > > 2. If this task is not kthread and it is actually the lock owner we

[PATCH] ASLR: fix stack randomization on 64-bit systems

2015-02-14 Thread Kees Cook
From: Hector Marco-Gisbert The issue is that the stack for processes is not properly randomized on 64 bit architectures due to an integer overflow. The affected function is randomize_stack_top() in file "fs/binfmt_elf.c": static unsigned long randomize_stack_top(unsigned long stack_top) {

Re: MIPS: FP32XX_HYBRID_FPRS

2015-02-14 Thread Paul Bolle
On Sat, 2015-02-14 at 17:57 +0100, Paul Bolle wrote: > Your d8fb6537f1d4 ("MIPS: kernel: elf: Improve the overall ABI and FPU > mode checks") is included in yesterday's linux-next (ie, next-20150213). > I noticed because a script I use to check linux-next spotted a minor > problem with it. > >

Re: [PATCH 3/6] timekeeping: Make it safe to use the fast timekeeper while suspended

2015-02-14 Thread John Stultz
On Fri, Feb 13, 2015 at 10:32 PM, Rafael J. Wysocki wrote: > On Friday, February 13, 2015 05:03:51 PM John Stultz wrote: >> On Fri, Feb 13, 2015 at 10:03 AM, Rafael J. Wysocki >> wrote: >> > On Friday, February 13, 2015 08:53:38 AM John Stultz wrote: >> >> On Wed, Feb 11, 2015 at 12:03 PM,

Re: [PATCH] iio: gp2ap020a00f: Use put_unaligned_le32

2015-02-14 Thread Jonathan Cameron
On 14/02/15 11:59, Jonathan Cameron wrote: > On 11/02/15 09:17, Vaishali Thakkar wrote: >> This patch introduces the use of function put_unaligned_le32. >> >> This is done using Coccinelle and semantic patch used is as follows: >> >> @@ identifier tmp; expression ptr; expression y,e; type T; @@ >>

MIPS: CONFIG_CPU_MIPS_R6?

2015-02-14 Thread Paul Bolle
Your commit 33d73a3d4159 ("MIPS: lib: memset: Add MIPS R6 support") is included in yesterday's linux next (ie, next-20150213). I noticed because a script I use to check linux-next spotted a trivial problem with it. It added a reference to CONFIG_CPU_MIPS_R6 in comment. Should I submit the trivial

MIPS: CONFIG_MIPS_R6?

2015-02-14 Thread Paul Bolle
Your commits 430857eae56c ("MIPS: mm: Add MIPS R6 instruction encodings") and 90163242784b ("MIPS: kernel: unaligned: Add support for the MIPS R6") are included in yesterday's linux-next (ie, next-20150213). I noticed because a script I use to check linux-next spotted a problem with it. These

Re: [PATCH 2/2] Input: bcm-keypad: Add Broadcom keypad controller

2015-02-14 Thread Scott Branden
Hi Dmitry, Good review. Thanks. Commented inline. On 15-02-09 05:02 PM, Dmitry Torokhov wrote: Hi Scott, On Mon, Feb 09, 2015 at 04:07:41PM -0800, Scott Branden wrote: Add driver for Broadcom's keypad controller. Broadcom Keypad controller is used to interface a SoC with a matrix-type

Re: scsi: Implement per-cpu logging buffer

2015-02-14 Thread James Bottomley
On Sat, 2015-02-14 at 15:29 +0100, Hannes Reinecke wrote: > On 02/13/2015 04:45 PM, Josh Triplett wrote: > > On Fri, Feb 13, 2015 at 09:48:36AM +0100, Hannes Reinecke wrote: > >> On 02/12/2015 06:18 PM, Josh Triplett wrote: > >>> On Thu, Feb 12, 2015 at 02:29:35PM +0100, Hannes Reinecke wrote: >

Re: [PATCH 1/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-14 Thread Scott Branden
I didn't read this properly. Will add \n in the dev_err messages. Thanks, Scott On 15-02-14 08:36 AM, Scott Branden wrote: Hi Joe, I really don't see the missing terminating newlines in the patch or source code. The lines look the same as every other line??? Regards, Scott On 15-02-09

MIPS: FP32XX_HYBRID_FPRS

2015-02-14 Thread Paul Bolle
Your d8fb6537f1d4 ("MIPS: kernel: elf: Improve the overall ABI and FPU mode checks") is included in yesterday's linux-next (ie, next-20150213). I noticed because a script I use to check linux-next spotted a minor problem with it. That commit removed the only user of Kconfig symbol

Re: [PATCH 1/2] Input: bcm-keypad: add device tree bindings

2015-02-14 Thread Scott Branden
Hi Dmitry, Comments inline. I still have an issue with vendor prefix as there are not documented guidelines I can find in this area? On 15-02-09 04:51 PM, Dmitry Torokhov wrote: Hi Scott, On Mon, Feb 09, 2015 at 04:07:40PM -0800, Scott Branden wrote: Documents the Broadcom keypad

Re: [PATCH 1/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-14 Thread Scott Branden
Hi Joe, I really don't see the missing terminating newlines in the patch or source code. The lines look the same as every other line??? Regards, Scott On 15-02-09 04:27 PM, Joe Perches wrote: On Mon, 2015-02-09 at 16:07 -0800, Scott Branden wrote: This adds a driver for random number

  1   2   3   >