[RFC PATCH 5/6] stop_machine: change stop_two_cpus() just use stop_cpu(), kill lg_double_lock/unlock

2015-06-25 Thread Oleg Nesterov
Now that stop_cpus() is not exclusive if cpumask's don't overlap, we can turn stop_two_cpus() into a trivial wrapper on top of stop_cpus(). Note: if zalloc_cpumask_var(cpumask, GFP_KERNEL) is not an option, we can reimplement this function using stop_work_{alloc,free}_one(). Signed-off-by: Oleg

Re: [GIT PULL] ext4 changes for 4.2-rc1

2015-06-25 Thread Theodore Ts'o
[ I renamed ext4_follow_link() to ext4_encrypted_follow_link() in the merge resolution, to make it clear that that function is _only_ used for encrypted symlinks. The function doesn't actually work for non-encrypted symlinks at all, and they use the generic helpers

[PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string

2015-06-25 Thread Walter Lozano
This patch fixes the compatible string for adxl345 digital accelerometer after the deprecation of compatible string adxl345x. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RFC PATCH 0/6] stop_machine: kill stop_cpus_mutex and stop_cpus_lock

2015-06-25 Thread Oleg Nesterov
As always, forgot to mention... Also. We can turn these stop_work_alloc/stop_work_free into the generic helpers which (I think) can have more users. On 06/26, Oleg Nesterov wrote: On 06/25, Peter Zijlstra wrote: On Tue, Jun 23, 2015 at 07:24:16PM +0200, Oleg Nesterov wrote:

[lkp] [usb] 56aa45adcc5: Fixed: WARNING: at kernel/mutex.c:199 mutex_lock_nested+0x121/0x349()

2015-06-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 56aa45adcc5b793369e535a4b7177f1c7314b577 (usb: gadget: make usb functions to load before gadget driver) This commit fixed an warning as below: [8.571726] [ cut

Re: [RFC PATCH 1/2] regmap: add configurable lock class key for lockdep

2015-06-25 Thread Nicolas Boichat
On Thu, Jun 25, 2015 at 11:59 PM, Lars-Peter Clausen l...@metafoo.de wrote: [...] diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 116655d..09aaaf5 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -135,6 +135,12 @@ typedef void (*regmap_unlock)(void *);

Re: [PATCH v7 5/9] PCI: Add pci_iomap_wc() variants

2015-06-25 Thread Benjamin Herrenschmidt
On Thu, 2015-06-25 at 21:40 +, Casey Leedom wrote: Ah, thanks. I see now that the __raw_*() APIs don't do any of the Endian Swizzling. Unfortunately the *_relaxed() APIs on PowerPC are just defined as the normal *() routines. From arch/powerpc/include/asm/io.h: /* * We

Call for Topics and Sponsors

2015-06-25 Thread Hui Zhu
* Call for Topics and Sponsors Workshop on Open Source Development Tools 2015 Beijing, China Sep. 12, 2015 (TBD) HelloGCC Work Group (www.hellogcc.org) *

Re: [overlayfs] lockdep splat after mounting overlayfs over overlayfs

2015-06-25 Thread Xu Wang
On Thu, Jun 25, 2015 at 10:24 AM, Xu Wang x...@redhat.com wrote: I've accidentally mounted one overlayfs over another and got obvious warning from lockdep: i_mutex lockdep classes are per-fs-type. # mount -t overlay overlay 1 -o upperdir=1_upper,workdir=1_work,lowerdir=1_lower # mount

Re: [PATCH 1/2] gpio: altera: kill bogus dependency on GPIO_GENERIC

2015-06-25 Thread Tien Hock Loh
Acked-by: Tien Hock Loh th...@altera.com On Sun, 2015-06-21 at 08:48 +0900, Masahiro Yamada wrote: Adding Tien. 2015-06-19 20:31 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: The driver gpio-altera.c does not depend on gpio-generic.c at all. Drop unneeded select GPIO_GENERIC.

Re: [PATCH v3 16/19] staging: sm750fb: fix brace placement

2015-06-25 Thread Sudip Mukherjee
On Thu, Jun 25, 2015 at 02:27:02PM -0700, Juston Li wrote: On Thu, Jun 25, 2015 at 1:31 PM, Dan Carpenter dan.carpen...@oracle.com wrote: Patchset was responded by Greg's patch bot, I'll resend when I figure out why. Greg will not apply any patch since the merge window is open. That

Re: [PATCH v3 11/19] staging: sm750fb: consistent spacing around operators

2015-06-25 Thread Sudip Mukherjee
On Thu, Jun 25, 2015 at 09:26:00AM -0700, Juston Li wrote: On Thu, Jun 25, 2015 at 4:56 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Wed, Jun 24, 2015 at 09:25:12AM -0700, Juston Li wrote: snip 2) Considering that you are giving consitent space around operators, then

Re: [GIT PULL] Mailbox changes for v4.2

2015-06-25 Thread Jassi Brar
On Fri, Jun 26, 2015 at 7:10 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, Jun 25, 2015 at 8:58 AM, Jassi Brar jassisinghb...@gmail.com wrote: http://git.linaro.org/landing-teams/working/fujitsu/integration.git mailbox-for-next So just looking at this pull request (and my

Re: [PATCH] hugetlb:Make the function vma_shareable bool

2015-06-25 Thread Mike Kravetz
On 06/25/2015 06:19 PM, Nicholas Krause wrote: This makes the function vma_shareable bool now due to this particular function only ever returning either one or zero as its return value. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- mm/hugetlb.c | 6 +++--- 1 file changed, 3

Re: [RFC PATCH v8 46/49] perf tools: Add prologue for BPF programs for fetching arguments

2015-06-25 Thread Wangnan (F)
On 2015/6/24 20:31, Wang Nan wrote: [SNIP] diff --git a/tools/perf/util/bpf-prologue.h b/tools/perf/util/bpf-prologue.h new file mode 100644 index 000..3f77606 --- /dev/null +++ b/tools/perf/util/bpf-prologue.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2015, He Kuang heku...@huawei.com + *

[PATCH] Staging: rtl8192u: Replace memset with eth_zero_addr

2015-06-25 Thread Vaishali Thakkar
Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. Note that the 6 in the third argument of memset appears to represent an ethernet address size (ETH_ALEN). The Coccinelle semantic patch that makes this change is as

[RFC PATCH 3/6] stop_machine: introduce stop_work_alloc() and stop_work_free()

2015-06-25 Thread Oleg Nesterov
A separate and intentionally suboptimal patch to simplify the review of this and the next changes. And the new helpers, stop_work_alloc(cpumask) and stop_work_free(cpumask), should be called if the caller is going to use cpu_stopper-stop_work's. Note that 2 callers can never deadlock even if

[RFC PATCH 4/6] stop_machine: kill stop_cpus_mutex

2015-06-25 Thread Oleg Nesterov
Change the users of stop_cpus_mutex to rely on stop_work_alloc() and stop_work_free(). This means that 2 stop_cpus() can run in parallel as long a their cpumask's do not overlap. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/stop_machine.c | 16 ++-- 1 files changed, 6

[RFC PATCH 0/6] stop_machine: kill stop_cpus_mutex and stop_cpus_lock

2015-06-25 Thread Oleg Nesterov
On 06/25, Peter Zijlstra wrote: On Tue, Jun 23, 2015 at 07:24:16PM +0200, Oleg Nesterov wrote: lock_stop_cpus_works(cpumask) { for_each_cpu(cpu, cpumask) mutex_lock(per_cpu(cpu_stopper_task, cpu).work_mutex); }

[RFC PATCH 2/6] stop_machine: don't do for_each_cpu() twice in queue_stop_cpus_work()

2015-06-25 Thread Oleg Nesterov
queue_stop_cpus_work() can do everything in one for_each_cpu() loop. This simplifies this code a bit, and this is also preparation for the locking changes. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/stop_machine.c | 17 +++-- 1 files changed, 7 insertions(+), 10

[RFC PATCH 1/6] stop_machine: move cpu_stopper_task and stop_cpus_work into struct cpu_stopper

2015-06-25 Thread Oleg Nesterov
Multpiple DEFINE_PER_CPU's do not make sense, move all the per-cpu variables into struct cpu_stopper. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/stop_machine.c | 17 + 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/kernel/stop_machine.c

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-25 Thread Hui Wang
On 06/25/2015 07:02 PM, Jan Kiszka wrote: On 2015-06-24 10:46, Hui Wang wrote: On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道: Most Thinkpad Edge series laptops use

Re: [PATCH v2 16/17] libnvdimm: Add sysfs numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 05:37 -0400, Dan Williams wrote: From: Toshi Kani toshi.k...@hp.com Add support of sysfs 'numa_node' to I/O-related NVDIMM devices under /sys/bus/nd/devices, regionN, namespaceN.0, and bttN. When bttN is not set up, its numa_node returns -1 (NUMA_NO_NODE). An example

[PATCH 2/3] ARM: socfpga: dts: Fix entries order

2015-06-25 Thread Walter Lozano
This patch reorders the nodes alphabetically Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

[PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

2015-06-25 Thread Walter Lozano
This patch fixes the formating of DTS bindings for the adxl34x digital accelerometer. Signed-off-by: Walter Lozano wal...@vanguardiasur.com.ar --- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v8 0/9] pci: add pci_iomap_wc() and pci_ioremap_wc_bar()

2015-06-25 Thread Benjamin Herrenschmidt
On Wed, 2015-06-24 at 18:22 -0700, Luis R. Rodriguez wrote: Although I had test compiled this before just to be safe I went ahead and successfully test-compiled this set with allmodconfig, specially since I've now removed the exports for the devres routines. Please let me know if these

Re: lzo: check for length overrun in variable length encoding backport

2015-06-25 Thread Florian Fainelli
Le 06/24/15 22:30, Willy Tarreau a écrit : Hi Florian, On Wed, Jun 24, 2015 at 09:48:46PM -0700, Florian Fainelli wrote: Hi, Could you backport this commit: 72cf90124e87d975d0b2114d930808c58b4c05e4 (lzo: check for length overrun in variable length encoding.) into stable kernels older than

[PATCH] drivers/scsi: fix macro in sg

2015-06-25 Thread 冯力
This patch fix the macro transport_class_to_sdev to the resonable name and use the macro. Signed-off-by: vonnyfly lifeng1...@gmail.com --- drivers/scsi/sg.c |6 +++--- include/scsi/scsi_device.h |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

RE: [PATCH v1 0/7] input: cyapa: instruction of cyapa patches.patch

2015-06-25 Thread Dudley Du
Hi Dmitry, Jmmahler, All, Is there any review points or comments on the v1 patches? Thanks in advance, Dudley V1 patches mainly have following updates compared with V0 patches: 1) This patch series is generated base on code base linux-next 20150612, so fix the patch v0 6/7 failed to apply

Re: [RFC PATCH 1/2] regmap: add configurable lock class key for lockdep

2015-06-25 Thread Nicolas Boichat
On Fri, Jun 26, 2015 at 12:08 AM, Mark Brown broo...@kernel.org wrote: [...] As far as I can tell we're likely to end up needing a key per regmap or something similar. Since the number of lockdep classes itself is also limited we should avoid creating extra lockdep classes when we can. I

Re: [PATCH 2/2] gpio: altera: fix return value of altera_gpio_remove()

2015-06-25 Thread Tien Hock Loh
Acked-by: Tien Hock Loh th...@altera.com On Wed, 2015-06-17 at 20:59 +0900, Masahiro Yamada wrote: The remove callback never succeeds, which seems odd. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- I wonder why nobody has pointed this out before me. I am suspecting

Re: [PATCH 1/2] gpio: altera: use of_mm_gpiochip_remove() to fix memory leak

2015-06-25 Thread Tien Hock Loh
Acked-by: Tien Hock Loh th...@altera.com On Wed, 2015-06-17 at 20:59 +0900, Masahiro Yamada wrote: This driver calls of_mm_gpiochip_add() to add a memory mapped gpio chip. So, of_mm_gpiochip_remove() should be used when removing it. The direct call of gpiochip_remove() misses unmapping the

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-25 Thread Jan Kiszka
On 2015-06-26 04:22, Hui Wang wrote: On 06/25/2015 07:02 PM, Jan Kiszka wrote: On 2015-06-24 10:46, Hui Wang wrote: On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道:

[PATCH] Staging: rtl8192e: Replace memset with eth_zero_addr

2015-06-25 Thread Vaishali Thakkar
Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. Note that the 6 in the third argument of memset appears to represent an ethernet address size (ETH_ALEN). The Coccinelle semantic patch that makes this change is as

[PATCH 1/1] scripts/spelling.txt: Adding misspelled word for check.

2015-06-25 Thread Maninder Singh
misspelled words for check:- chcek chck cehck I myself did these spell mistakes in changelog for patches, Thus suggesting to add in spelling.txt, so that checkpatch.pl warns it earlier. References:- ./arch/powerpc/kernel/exceptions-64e.S:456: . . . make sure you chcek

Re: [PATCH v3 11/19] staging: sm750fb: consistent spacing around operators

2015-06-25 Thread Juston Li
On Thu, Jun 25, 2015 at 9:05 PM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Usually I use the checkpatch which is in linux-next. That will be the latest version. If you compare, last commit on checkpatch of staging tree was on April 16th, where as last commit in linux-next is on June

Re: [PATCH v4] powerpc/rcpm: add RCPM driver

2015-06-25 Thread Scott Wood
On Tue, 2015-06-23 at 16:07 +0800, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com There is a RCPM (Run Control/Power Management) in Freescale QorIQ series processors. The device performs tasks associated with device run control and power management. The

Re: [PATCH 3/4] blk-mq: establish new mapping before cpu starts handling requests

2015-06-25 Thread Akinobu Mita
2015-06-26 0:40 GMT+09:00 Ming Lei tom.leim...@gmail.com: On Thu, 25 Jun 2015 21:49:43 +0900 Akinobu Mita akinobu.m...@gmail.com wrote: For example, there is a single hw queue (hctx) and two CPU queues (ctx0 for CPU0, and ctx1 for CPU1). Now CPU1 is just onlined and a request is inserted

linux-next: manual merge of the arc tree with Linus' tree

2015-06-25 Thread Stephen Rothwell
Hi Vineet, Today's linux-next merge of the arc tree got a conflict in: include/asm-generic/barrier.h between commits: ab3f02fc2372 (locking/arch: Add WRITE_ONCE() to set_mb()) b92b8b35a2e3 (locking/arch: Rename set_mb() to smp_store_mb()) from Linus' tree and commit: 470c27e4695a

Re: [RFC PATCH 10/12] mm: add the buddy system interface

2015-06-25 Thread Kamezawa Hiroyuki
On 2015/06/25 18:44, Xishi Qiu wrote: On 2015/6/10 11:06, Kamezawa Hiroyuki wrote: On 2015/06/09 19:04, Xishi Qiu wrote: On 2015/6/9 15:12, Kamezawa Hiroyuki wrote: On 2015/06/04 22:04, Xishi Qiu wrote: Add the buddy system interface for address range mirroring feature. Allocate mirrored

Re: [PATCH V6 08/17] perf tools: Add Intel PT support

2015-06-25 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 25, 2015 at 10:45:57AM -0300, Arnaldo Carvalho de Melo escreveu: Em Thu, Jun 25, 2015 at 04:37:01PM +0300, Adrian Hunter escreveu: On 23/06/15 18:15, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 23, 2015 at 09:29:34AM +0300, Adrian Hunter escreveu: On 23/06/15 02:00, Arnaldo

Re: [PATCH 6/6] mtd: docg3: Don't do ERR_PTR(0)

2015-06-25 Thread Brian Norris
On Thu, Jun 25, 2015 at 07:14:18PM +0200, Robert Jarzmik wrote: From 20002639eac1bd7a81b0613c4bd15ae7522c269d Mon Sep 17 00:00:00 2001 From: Robert Jarzmik robert.jarz...@free.fr Date: Thu, 25 Jun 2015 19:07:48 +0200 Subject: [PATCH] MAINTAINERS: mtd: docg3: add docg3 maintainer Add myself

[git pull] drm tree for 4.2

2015-06-25 Thread Dave Airlie
Hi Linus, This is the main drm pull request for v4.2. I've one other new driver from freescale on my radar, it's been posted and reviewed, I'd just like to get someone to give it a last look, so maybe I'll send it or maybe I'll leave it. There is no major nouveau changes in here, Ben was

Re: [RFC PATCH 0/3] restartable sequences: fast user-space percpu critical sections

2015-06-25 Thread Mathieu Desnoyers
- On Jun 24, 2015, at 10:54 PM, Paul Turner p...@google.com wrote: On Wed, Jun 24, 2015 at 5:07 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Jun 24, 2015 at 3:26 PM, Paul Turner p...@google.com wrote: This is a fairly small series demonstrating a feature we've found to be quite

RE: [PATCH v2 03/28] ACPICA: Hardware: Enable 64-bit firmware waking vector for selected FACS.

2015-06-25 Thread Zheng, Lv
Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Friday, June 26, 2015 9:21 AM On Thursday, June 25, 2015 12:29:02 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, June 25, 2015 7:24 AM To: Zheng, Lv [cut]

[RFC PATCH] arm64: bpf: fix endianness conversion bugs

2015-06-25 Thread Xi Wang
Upper bits should be zeroed in endianness conversion: - even when there's no need to change endianness (i.e., BPF_FROM_BE on big endian or BPF_FROM_LE on little endian); - after rev16. This patch fixes such bugs by emitting extra instructions to clear upper bits. Cc: Zi Shen Lim

Re: [RFC v2 3/3] mm: make swapin readahead to improve thp collapse rate

2015-06-25 Thread Rik van Riel
On 06/24/2015 08:33 AM, Vlastimil Babka wrote: On 06/22/2015 03:37 AM, Rik van Riel wrote: On 06/21/2015 02:11 PM, Kirill A. Shutemov wrote: On Sat, Jun 20, 2015 at 02:28:06PM +0300, Ebru Akagunduz wrote: + __collapse_huge_page_swapin(mm, vma, address, pmd, pte); + And now the pages we

Re: [RFC PATCH 10/12] mm: add the buddy system interface

2015-06-25 Thread Xishi Qiu
On 2015/6/26 7:54, Kamezawa Hiroyuki wrote: On 2015/06/25 18:44, Xishi Qiu wrote: On 2015/6/10 11:06, Kamezawa Hiroyuki wrote: On 2015/06/09 19:04, Xishi Qiu wrote: On 2015/6/9 15:12, Kamezawa Hiroyuki wrote: On 2015/06/04 22:04, Xishi Qiu wrote: Add the buddy system interface for address

Re: [PATCH 2/6] GICv3: Add ITS entry to THUNDER dts

2015-06-25 Thread Chalamarla, Tirumalesh
Hi Marc, Any feed back on this. Do you want me to submit this as a separate patch?so that it is easy for getting acceptance. Thanks, Tirumalesh. On Sep 24, 2014, at 8:37 AM, Robert Richter r...@kernel.org wrote: From: Tirumalesh Chalamarla tchalama...@cavium.com The PCIe host

Re: [PATCH v2 1/1] mm: move -mremap() from file_operations to vm_operations_struct

2015-06-25 Thread Oleg Nesterov
On 06/26, Kirill A. Shutemov wrote: --- a/mm/mremap.c +++ b/mm/mremap.c @@ -276,8 +276,8 @@ static unsigned long move_vma(struct vm_area_struct *vma, need_rmap_locks); if (moved_len old_len) { err = -ENOMEM; - } else if

Re: [PATCH v2 05/28] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-25 Thread Rafael J. Wysocki
On Thursday, June 25, 2015 12:43:39 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, June 25, 2015 7:57 AM [cut] +/*** + * + * FUNCTION:

AT91 timer/counter as clock output from devicetree

2015-06-25 Thread Michael Welling
I have run into situation with AT91 based products where I am at a loss as to how to properly approproach implementing a driver/solution. Several boards that I have dealt with are using the AT91's timer/counter pins to emulate a simple clock output. Currently, the only way I have found to

[PATCH] USB: cp210x: add ID for Aruba Networks controllers

2015-06-25 Thread Peter Sanford
Add the USB serial console device ID for Aruba Networks 7xxx series controllers which have a USB port for their serial console. Signed-off-by: Peter Sanford pe...@sanford.io --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/cp210x.c

RE: [PATCH v2 05/28] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-25 Thread Zheng, Lv
Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Friday, June 26, 2015 8:44 AM On Thursday, June 25, 2015 12:43:39 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, June 25, 2015 7:57 AM [cut]

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 23:42 +, Williams, Dan J wrote: On Thu, 2015-06-25 at 16:55 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 15:34 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 15:00 -0700, Dan Williams

Re: [PATCH v5 1/3] video: fbdev: atyfb: clarify ioremap() base and length used

2015-06-25 Thread Luis R. Rodriguez
On Fri, Jun 26, 2015 at 02:11:03AM +0300, Ville Syrjälä wrote: On Thu, Jun 25, 2015 at 04:06:45PM -0700, Luis R. Rodriguez wrote: On Thu, Jun 25, 2015 at 4:04 PM, Ville Syrjälä syrj...@sci.fi wrote: it doesn't hurt too much since smem_len gets overwritten later in aty_init(). That's

Re: [PATCH] extcon: arizona: Declare 3-pole jack if we detect open circuit on mic

2015-06-25 Thread Chanwoo Choi
On 06/26/2015 12:47 AM, Charles Keepax wrote: Detecting an open-circuit on the microphone pin, usually means the headset has a microphone but the cable is faulty. Currently the code will simply stop detecting and declare nothing in this situation. It is better to declare this as headphones

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Dan Williams
On Thu, Jun 25, 2015 at 5:55 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 23:42 +, Williams, Dan J wrote: On Thu, 2015-06-25 at 16:55 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 15:34 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani

linux-next: manual merge of the vfs tree with the ceph tree

2015-06-25 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/ceph/dir.c between commit: fdd4e15838e5 (ceph: rework dcache readdir) from the ceph tree and commit: dc3f4198eac1 (make simple_positive() public) from the vfs tree. I fixed it up (I think - see below) and can carry

Re: [RFC][PATCH] prctl: Add PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread.

2015-06-25 Thread Arjan van de Ven
On 6/25/2015 4:24 PM, John Stultz wrote: From: Ruchi Kandoi kandoiru...@google.com This patch has been in the Android tree for ahwile, and I've not seen it posted for review. Unfortunately the PR_SET_TIMERSLACK_PID value has collided many times w/ upstream (first w/ PR_SET_THP_DISABLE, and

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 18:08 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 5:55 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 23:42 +, Williams, Dan J wrote: On Thu, 2015-06-25 at 16:55 -0600, Toshi Kani wrote: : Now, how do I unbind BTT? I did the following as a

[PATCH v2] drm/rockchip: import dma_buf to gem

2015-06-25 Thread Mark Yao
We want to display a buffer allocated by other driver, need import the buffer to gem. Signed-off-by: Mark Yao mark@rock-chips.com --- Changes in v2: Adviced by Russell King - check sgt-nents == 1 when get iova from scatterlist - remove unused dma_map_sg/dma_unmap_sg,

Re: [GIT PULL] Mailbox changes for v4.2

2015-06-25 Thread Linus Torvalds
On Thu, Jun 25, 2015 at 8:58 AM, Jassi Brar jassisinghb...@gmail.com wrote: http://git.linaro.org/landing-teams/working/fujitsu/integration.git mailbox-for-next So just looking at this pull request (and my previous merges from you) it does strike me that you seem to be one of the few people

RE: [PATCH v2 05/28] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-25 Thread Zheng, Lv
Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Friday, June 26, 2015 9:41 AM On Friday, June 26, 2015 12:51:39 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Friday, June 26, 2015 8:44 AM On Thursday, June 25,

Re: kexec crash kernel running with watchdog enabled

2015-06-25 Thread Hidehiro Kawai
Hi, (2015/06/25 1:31), dwal...@fifo99.com wrote: On Wed, Jun 24, 2015 at 03:52:48PM +0900, Masami Hiramatsu wrote: Hi, On 2015/06/23 23:05, dwal...@fifo99.com wrote: Hi, There was a commit in kernel/panic.c which altered when the kexec crash kernel is executed, commit

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Williams, Dan J
On Thu, 2015-06-25 at 16:55 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 15:34 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 15:00 -0700, Dan Williams wrote: Yes, I see no problem with bound BTTs and their device

Re: [PATCH V6 08/17] perf tools: Add Intel PT support

2015-06-25 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 25, 2015 at 08:56:34PM -0300, Arnaldo Carvalho de Melo escreveu: Will do the same tests with intel_pt as well, on a remote machine, add examples to the changeset logs and everything going well, aim for pushing for Ingo soon, So, I asked for callchains, with: perf record -g -e

Re: [PATCH v2 03/28] ACPICA: Hardware: Enable 64-bit firmware waking vector for selected FACS.

2015-06-25 Thread Rafael J. Wysocki
On Thursday, June 25, 2015 12:29:02 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, June 25, 2015 7:24 AM To: Zheng, Lv [cut] In fact, I don't see why we need to redefine the symbols at all. Couldn't

Re: [RFC] kthread_create_on_node is failing to honor the node choice

2015-06-25 Thread Lai Jiangshan
On 06/26/2015 05:44 AM, Nathan Zimmer wrote: In kthread_create_on_node we set_cpus_allowed to cpu_all_mask regardless of what the node is requested. This seems incorrect. Signed-off-by: Nathan Zimmer nzim...@sgi.com Cc: Andrew Morton a...@linux-foundation.org Cc: Nishanth Aravamudan

[PATCH 1/1] pci: xgene: Enable huge outbound bar support

2015-06-25 Thread Duc Dang
X-Gene PCIe controllers support huge outbound BARs (with size upto 64GB). This patch configures additional 1 outbound BAR for X-Gene PCIe controllers with size larger than 4GB. This is required to support devices that request huge outbound memory (nVidia K40 as an example) Signed-off-by: Duc Dang

Re: [PATCH v2 05/28] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-25 Thread Rafael J. Wysocki
On Friday, June 26, 2015 12:51:39 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Friday, June 26, 2015 8:44 AM On Thursday, June 25, 2015 12:43:39 AM Zheng, Lv wrote: Hi, Rafael From: Rafael J. Wysocki [mailto:r...@rjwysocki.net]

Re: Stop SSD from waiting for Spinning up disk...

2015-06-25 Thread Martin Steigerwald
Am Mittwoch, 24. Juni 2015, 18:41:52 schrieb Greg Kroah-Hartman: On Thu, Jun 25, 2015 at 07:55:45AM +0800, Jeff Chua wrote: On Thu, Jun 25, 2015 at 12:28 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jun 25, 2015 at 12:22:47AM +0800, Jeff Chua wrote: Both sda and

Re: [PATCH 1/2] dt-bindings: mediatek: Add MT8173 cpufreq driver binding

2015-06-25 Thread Pi-Cheng Chen
Hi Matthias and Mark, May I have some review comments for this patch from you to get this series moving forwards? Thanks. Pi-Cheng On Wed, Jun 24, 2015 at 9:06 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Adding Mike's new email address.. On 23-06-15, 23:31, Pi-Cheng Chen wrote: On Mon,

[PATCH] dts: ls1021a: Add dts nodes for eTSEC0, eTSEC1 and eTSEC2

2015-06-25 Thread Alison Wang
This patch adds generic dts nodes for eTSEC0, eTSEC1 and eTSEC2. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com Signed-off-by: Alison Wang alison.w...@freescale.com --- arch/arm/boot/dts/ls1021a-qds.dts | 20 ++ arch/arm/boot/dts/ls1021a-twr.dts | 20 ++

Re: [GIT PULL] f2fs updates for v4.2

2015-06-25 Thread Al Viro
On Thu, Jun 25, 2015 at 05:33:34AM +0100, Al Viro wrote: Said that, f2fs_symlink() looks odd - we create a directory entry *before* doing page_symlink(). And if it (or encryption) fails, I don't see anything that would remove that new directory entry. What are we ending up with in such

Re: kdbus: to merge or not to merge?

2015-06-25 Thread Martin Steigerwald
Am Mittwoch, 24. Juni 2015, 19:20:27 schrieb Linus Torvalds: On Wed, Jun 24, 2015 at 7:14 PM, Steven Rostedt rost...@goodmis.org wrote: I don't think it will complicate things even if the API changes. The distros will have to deal with that fall out. Mainline only cares about its own

Re: Panic when cpu hot-remove

2015-06-25 Thread Jiang Liu
On 2015/6/18 15:54, fandongdong wrote: 在 2015/6/18 15:27, fandongdong 写道: 在 2015/6/18 13:40, Jiang Liu 写道: On 2015/6/17 22:36, Alex Williamson wrote: On Wed, 2015-06-17 at 13:52 +0200, Joerg Roedeljoro wrote: On Wed, Jun 17, 2015 at 10:42:49AM +, 范冬冬 wrote: Hi maintainer, We

linux-next: Tree for Jun 25

2015-06-25 Thread Stephen Rothwell
Hi all, Changes since 20150624: The net-next tree lost its build failure. The drm tree lost its build failure. The modules tree still had its build failure so I applied a supplied patch and gained another build failure for which I applied another patch. The akpm tree gained a build failure

Re: [PATCH v2 0/4] net: dsa: mv88e6352: add support for VLAN Table Unit

2015-06-25 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Wed, 24 Jun 2015 14:50:55 -0400 This patchset brings full support for hardware VLANs in DSA, and the Marvell 88E6352 and compatible switch chips. As I clearly announced on net-next yesterday, the net-next tree is now closed.

Re: [PATCH] staging: speakup: replace simple_strtoul() with kstrtoint()

2015-06-25 Thread Dan Carpenter
Probably once you start writing a patch you will figure it out. :) keymap_store() is a crap function. We have the cp1 pointer that points to the end of two back to back 3 char arrays. The name cp1 is because it is the second copy of the cp buffer which is a copy of the buf buffer. Since it is

[RFC v2 1/4] scripts: add stackusage script

2015-06-25 Thread Rasmus Villemoes
The current checkstack.pl script has a few problems, stemming from the overly simplistic attempt at parsing objdump output with regular expresions: For example, on x86_64 it doesn't take the push instruction into account, making it consistently underestimate the real stack use, and it also doesn't

[RFC v2 3/4] kbuild: remove *.su files generated by -fstack-usage

2015-06-25 Thread Rasmus Villemoes
Make sure 'make clean' removes *.su files generated by the gcc option -fstack-usage. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6c6f14628f32..81f1d74848cc 100644 --- a/Makefile +++ b/Makefile

Re: [overlayfs] lockdep splat after mounting overlayfs over overlayfs

2015-06-25 Thread Konstantin Khlebnikov
On Thu, Jun 25, 2015 at 10:24 AM, Xu Wang x...@redhat.com wrote: I've accidentally mounted one overlayfs over another and got obvious warning from lockdep: i_mutex lockdep classes are per-fs-type. # mount -t overlay overlay 1 -o upperdir=1_upper,workdir=1_work,lowerdir=1_lower # mount -t

[RFC v2 2/4] .gitignore: add *.su pattern

2015-06-25 Thread Rasmus Villemoes
Ignore the *.su files generated by using the gcc option -fstack-usage. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4ad4a98b884b..9e51ead66a55 100644 --- a/.gitignore +++ b/.gitignore @@

[RFC v2 4/4] scripts: add stackdelta script

2015-06-25 Thread Rasmus Villemoes
This adds a simple perl script for reading two files as produced by the stackusage script and computing the changes in stack usage. For example: $ scripts/stackusage -o /tmp/old.su CC=gcc-4.7 -j8 fs/ext4/ $ scripts/stackusage -o /tmp/new.su CC=gcc-5.0 -j8 fs/ext4/ $ scripts/stackdelta

[PATCH] mmc: dw_mmc: handle data blocks than 4kB if IDMAC is used

2015-06-25 Thread Alexey Brodkin
As per DW MobileStorage databook each descriptor can transfer up to 4kB of data in chained mode, moreover buffer size that is put in des1 is limited to 13 bits, i.e. for example on attempt to IDMAC_SET_BUFFER1_SIZE(desc, 8192) size value that's effectively written will be 0. On the platform with

[PATCH] gpio: zynq: Fix problem with unbalanced pm_runtime_enable

2015-06-25 Thread Michal Simek
Add missing pm_runtime_disabled to remove(). Error log: root@zynqmp:~# modprobe gpio_zynq root@zynqmp:~# lsmod Not tainted gpio_zynq 7086 0 - Live 0xffbffc00a000 root@zynqmp:~# rmmod gpio_zynq root@zynqmp:~# lsmod Not tainted root@zynqmp:~# modprobe gpio_zynq [ 246.924438] zynq-gpio

Re: [PATCH V2 2/2] mfd: 88pm88x: initialize 88pm886/88pm880 base support

2015-06-25 Thread Lee Jones
On Fri, 12 Jun 2015, Yi Zhang wrote: 88pm886 and 88pm880 are combo PMIC chip, which integrates regulator, onkey, rtc, gpadc, charger, fuelgauge function; this patch add the basic support for them, adding related resource, such as interrupt, preparing for the client-device driver

Re: [PATCH v6 09/12] KVM: arm64: introduce vcpu-arch.debug_ptr

2015-06-25 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Fri, Jun 19, 2015 at 01:23:47PM +0100, Alex Bennée wrote: This introduces a level of indirection for the debug registers. Instead of using the sys_regs[] directly we store registers in a structure in the vcpu. As we are no longer tied

Re: kdbus: to merge or not to merge?

2015-06-25 Thread Greg KH
On Wed, Jun 24, 2015 at 10:39:52AM -0700, David Lang wrote: On Wed, 24 Jun 2015, Ingo Molnar wrote: And the thing is, in hindsight, after such huge flamewars, years down the line, almost never do I see the following question asked: 'what were we thinking merging that crap??'. If any

Re: [GIT PULL] f2fs updates for v4.2

2015-06-25 Thread Al Viro
On Wed, Jun 24, 2015 at 10:50:10PM -0700, Jaegeuk Kim wrote: Right, I missed merging the fix-up patch in linux-next into my pull-request. At a glance, I think there is no problem; except 80 column width, though. Also, agreed that I need to take a look at deleting the dentry to deal with

Re: [PATCH v6 10/12] KVM: arm64: guest debug, HW assisted debug support

2015-06-25 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Fri, Jun 19, 2015 at 01:23:48PM +0100, Alex Bennée wrote: This adds support for userspace to control the HW debug registers for guest debug. In the debug ioctl we copy the IMPDEF defined number of s/defined// registers into a new

Re: [GIT PULL] f2fs updates for v4.2

2015-06-25 Thread Jaegeuk Kim
On Thu, Jun 25, 2015 at 07:32:36AM +0100, Al Viro wrote: On Wed, Jun 24, 2015 at 10:50:10PM -0700, Jaegeuk Kim wrote: Right, I missed merging the fix-up patch in linux-next into my pull-request. At a glance, I think there is no problem; except 80 column width, though. Also, agreed that

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-06-25 Thread Paul Bolle
On Wed, 2015-06-24 at 10:57 +0800, Alex Hung wrote: --- /dev/null +++ b/drivers/platform/x86/asus-rbtn.c +MODULE_ALIAS(acpi*:ATK4001:*); This looked odd. It turned out this is the pattern that scripts/mod/file2alias.c::do_acpi_entry() creates. +static const struct acpi_device_id

RE: [PATCH] iommu/arm-smmu: Fix bug in ARM_SMMU_FEAT_TRANS_OPS condition check

2015-06-25 Thread Sricharan
Hi, -Original Message- From: linux-arm-kernel [mailto:linux-arm-kernel- boun...@lists.infradead.org] On Behalf Of Baptiste Reynal Sent: Tuesday, June 23, 2015 5:43 PM To: Sricharan R Cc: linux-arm-...@vger.kernel.org; Linux IOMMU; Will Deacon; open list; moderated list:ARM SMMU

Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

2015-06-25 Thread Pali Rohár
On Wednesday 24 June 2015 22:01:38 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150506 04:45]: On Wednesday 06 May 2015 13:04:01 Arnd Bergmann wrote: It needs to be done in this code, so system_rev variable is set properly... What I mean is which code accesses

Re: [PATCH 11/12] [media] tsin: c8sectpfe: Add Kconfig and Makefile for the driver.

2015-06-25 Thread Paul Bolle
On Wed, 2015-06-24 at 16:11 +0100, Peter Griffin wrote: --- /dev/null +++ b/drivers/media/tsin/c8sectpfe/Makefile +c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o + +obj-$(CONFIG_DVB_C8SECTPFE) += c8sectpfe.o + +ifneq ($(CONFIG_DVB_C8SECTPFE),) + c8sectpfe-y +=

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-06-25 Thread Geert Uytterhoeven
On Tue, Jun 23, 2015 at 10:20 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Mar 23, 2015 at 11:29 PM, Walter Lozano wal...@vanguardiasur.com.ar wrote: On Mon, Mar 23, 2015 at 12:03 AM, Dinh Nguyen dingu...@opensource.altera.com wrote: On 3/19/15 4:27 PM, Walter Lozano wrote:

Re: [PATCH] sched: split sched_switch trace event into two

2015-06-25 Thread Peter Zijlstra
On Wed, Jun 24, 2015 at 04:19:33PM -0700, Cong Wang wrote: Currently we only have one sched_switch trace event for task switching, which is generated very early during task switch. When we try to monitor per-container events, this is not what we expect. Adjust your expectations? For

[tip:perf/core] perf tests: Add test for make install with prefix

2015-06-25 Thread tip-bot for Jiri Olsa
Commit-ID: eb30d2c5077b30f9f8e00eb2e5fadba18b148538 Gitweb: http://git.kernel.org/tip/eb30d2c5077b30f9f8e00eb2e5fadba18b148538 Author: Jiri Olsa jo...@kernel.org AuthorDate: Mon, 22 Jun 2015 14:50:51 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Mon, 22 Jun 2015

<    2   3   4   5   6   7   8   9   10   11   >