Re: [RESEND RFC PATCH 3/3] ASoC: mediatek: Add AFE platform driver

2015-04-20 Thread Koro Chen
On Mon, 2015-04-20 at 21:55 +0100, Mark Brown wrote: On Mon, Apr 20, 2015 at 02:22:24PM +0800, Koro Chen wrote: On Sat, 2015-04-18 at 18:51 +0100, Mark Brown wrote: On Fri, Apr 10, 2015 at 04:14:09PM +0800, Koro Chen wrote: Ah, so the SRAM is directly memory mappable. Nice. But we

Re: [PATCH] mm/slab_common: Support the slub_debug boot option on specific object size

2015-04-20 Thread Gavin Guo
Hi Christoph, On Mon, Apr 20, 2015 at 11:40 PM, Christoph Lameter c...@linux.com wrote: On Sat, 18 Apr 2015, Gavin Guo wrote: The slub_debug=PU,kmalloc-xx cannot work because in the create_kmalloc_caches() the s-name is created after the create_kmalloc_cache() is called. The name is NULL in

[PATCH v6] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly.

2015-04-20 Thread Wang Nan
Before patch ba92732e9808df679ddf75c5ea1c0caae6d7dce2 ('perf kmaps: Check kmaps to make code more robust'), perf report and perf annotate will segfault if trace data contains kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0:

[PATCH 3/6] perf kmem: Add --live option for current allocation stat

2015-04-20 Thread Namhyung Kim
Currently perf kmem shows total (page) allocation stat by default, but sometimes one might want to see live (total alloc-only) requests/pages only. The new --live option does this by subtracting freed allocation from the stat. Acked-by: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim

[PATCH 1/6] perf kmem: Implement stat --page --caller

2015-04-20 Thread Namhyung Kim
It perf kmem support caller statistics for page. Unlike slab case, the tracepoints in page allocator don't provide callsite info. So it records with callchain and extracts callsite info. Note that the callchain contains several memory allocation functions which has no meaning for users. So

[PATCH 6/6] perf kmem: Show warning when trying to run stat without record

2015-04-20 Thread Namhyung Kim
Sometimes one can mistakenly run perf kmem stat without perf kmem record before or different configuration like recoding --slab and stat --page. Show a warning message like below to inform user: # perf kmem stat --page --caller Not found page events. Have you run 'perf kmem record --page'

[PATCH 4/6] perf kmem: Print gfp flags in human readable string

2015-04-20 Thread Namhyung Kim
Save libtraceevent output and print it in the header. # perf kmem stat --page --caller # # GFP flags # - # 0010: NI: GFP_NOIO # 00d0:K: GFP_KERNEL # 0200: NWR: GFP_NOWARN # 84d0:K|R|Z: GFP_KERNEL|GFP_REPEAT|GFP_ZERO # 000200d2:

[PATCH 5/6] perf kmem: Add kmem.default config option

2015-04-20 Thread Namhyung Kim
Currently perf kmem command will select --slab if neither --slab nor --page is given for backward compatibility. Add kmem.default config option to select the default value ('page' or 'slab'). # cat ~/.perfconfig [kmem] default = page # perf kmem stat SUMMARY (page allocator)

[PATCH 2/6] perf kmem: Support sort keys on page analysis

2015-04-20 Thread Namhyung Kim
Add new sort keys for page: page, order, migtype, gfp - existing 'bytes', 'hit' and 'callsite' sort keys also work for page. Note that -s/--sort option should be preceded by either of --slab or --page option to determine where the sort keys applies. Now it properly groups and sorts allocation

[PATCHSET 0/6] perf kmem: Implement page allocation analysis (v8)

2015-04-20 Thread Namhyung Kim
Hello, Currently perf kmem command only analyzes SLAB memory allocation. And I'd like to introduce page allocation analysis also. Users can use --slab and/or --page option to select it. If none of these options are used, it does slab allocation analysis for backward compatibility. *

Re: [PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-20 Thread Kishon Vijay Abraham I
Hi, On Tuesday 21 April 2015 01:49 AM, Arun Ramamurthy wrote: On 15-04-15 02:59 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 14 April 2015 03:40 AM, Arun Ramamurthy wrote: Some generic drivers, such as ehci, may use multiple phys and for such drivers referencing phy(s) by name(s) does

Re: [PATCH] net: dsa: mv88e6xxx: fix setup of port control 1

2015-04-20 Thread David Miller
From: Andrew Lunn and...@lunn.ch Date: Tue, 21 Apr 2015 01:05:07 +0200 On Mon, Apr 20, 2015 at 05:19:23PM -0400, Vivien Didelot wrote: mv88e6xxx_setup_port_common was writing to PORT_DEFAULT_VLAN (port offset 0x07) instead of PORT_CONTROL_1 (port offset 0x05). Hi Vivien Good catch.

Re: [PATCH] net: dsa: mv88e6xxx: use PORT_DEFAULT_VLAN

2015-04-20 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Mon, 20 Apr 2015 17:43:26 -0400 Minor, use the explicit PORT_DEFAULT_VLAN define instead of 0x07. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com Applied. -- To unsubscribe from this list: send the line

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-20 Thread Mike Galbraith
On Mon, 2015-04-20 at 14:21 -0400, Steven Rostedt wrote: I would argue than every case is different, and only the sysadmin would know the right value. Thus, just set it to one, and if that's not good enough, then the sysadmins can change it to their needs. Agreed. I don't have it turned

[alsa-devel] [PATCH v2 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-20 Thread Inha Song
This patch add support for select accessory detect mode to HPDETL or HPDETR. Arizona provides a headphone detection circuit on the HPDETL and HPDETR pins to measure the impedance of an external load connected to the headphone. Depending on board design, headphone detect pins can change to HPDETR

[alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-20 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song ideal.s...@samsung.com --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: mips build failures due to commit 8dd928915a73 (mips: fix up obsolete cpu function usage)

2015-04-20 Thread Guenter Roeck
On 04/20/2015 02:09 PM, Aaro Koskinen wrote: Hi, On Mon, Apr 20, 2015 at 12:40:28PM -0700, Guenter Roeck wrote: the upstream kernel fails to build mips:nlm_xlp_defconfig, mips:nlm_xlp_defconfig, mips:cavium_octeon_defconfig, and possibly other targets, with errors such as

Re: [PATCH V6 00/10] namespaces: log namespaces per task

2015-04-20 Thread Eric W. Biederman
Richard Guy Briggs r...@redhat.com writes: The purpose is to track namespace instances in use by logged processes from the perspective of init_*_ns by logging the namespace IDs (device ID and namespace inode - offset). In broad strokes the user interface appears correct. Things that I see

Re: [PATCH v6] perf: __kmod_path__parse: deal with kernel module names in '[]' correctly.

2015-04-20 Thread Namhyung Kim
Hi Wang, On Tue, Apr 21, 2015 at 03:33:10AM +, Wang Nan wrote: Before patch ba92732e9808df679ddf75c5ea1c0caae6d7dce2 ('perf kmaps: Check kmaps to make code more robust'), perf report and perf annotate will segfault if trace data contains kernel module information like this: # perf

RE: [PATCH v5 13/27] IB/Verbs: Reserve legacy transport type in 'dev_addr'

2015-04-20 Thread Devesh Sharma
-Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Michael Wang Sent: Monday, April 20, 2015 2:08 PM To: Roland Dreier; Sean Hefty; linux-r...@vger.kernel.org; linux- ker...@vger.kernel.org; h...@dev.mellanox.co.il Cc:

Re: [PATCH 1/2] sched: lockless wake-queues

2015-04-20 Thread George Spelvin
Is there some reason you don't use the simpler singly-linked list construction with the tail being a pointer to a pointer: Sure, that would also work. It's just a convenient simplification, already used in struct hlist_node. +/* + * Queue a task for later wake-up by wake_up_q(). If the

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

2015-04-20 Thread Li, ZhenHua
Hi Dave, I found the old mail: http://lkml.iu.edu/hypermail/linux/kernel/1410.2/03584.html Please check this and you will find the discussion. Regards Zhenhua On 04/15/2015 02:48 PM, Dave Young wrote: On 04/15/15 at 01:47pm, Li, ZhenHua wrote: On 04/15/2015 08:57 AM, Dave Young wrote:

Re: [PATCH v2 0/7] block: reread partitions changes and fix for loop

2015-04-20 Thread Ming Lei
On Mon, Apr 13, 2015 at 5:22 PM, Christoph Hellwig h...@infradead.org wrote: The series looks fine to me: Reviewed-by: Christoph Hellwig h...@lst.de Jens, could you share us if you are OK with this patchset? Thanks, -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-20 Thread Guenter Roeck
On 04/20/2015 06:54 PM, Michael Ellerman wrote: On Mon, 2015-04-20 at 12:50 -0400, David Miller wrote: From: Guenter Roeck li...@roeck-us.net Date: Mon, 20 Apr 2015 09:44:31 -0700 On Mon, Apr 20, 2015 at 12:25:19PM -0400, David Miller wrote: From: Guenter Roeck li...@roeck-us.net Date: Sun,

Re: [PATCH] Staging: comedi: fix coding style errors in daqboard2000.c

2015-04-20 Thread Gbenga Adalumo
The patch fixes a trailing whitespace and code indenting coding style errors as reported by checkpatch.pl tool. Details of the lines where the fixed errors were reported are as follows: drivers/staging/comedi/drivers/daqboard2000.c:43: ERROR: trailing whitespace

[PATCH] staging: gdm72xx: enclose complex define statement

2015-04-20 Thread Jaime Arrocha
This patch fixes the warning found by checkpatch.pl: ERROR: Macros with complex values should be enclosed in parentheses Signed-off-by: Jaime Arrocha j...@kerneldev.net --- drivers/staging/gdm72xx/usb_ids.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] mm: soft-offline: fix num_poisoned_pages counting on concurrent events

2015-04-20 Thread Naoya Horiguchi
If multiple soft offline events hit one free page/hugepage concurrently, soft_offline_page() can handle the free page/hugepage multiple times, which makes num_poisoned_pages counter increased more than once. This patch fixes this wrong counting by checking TestSetPageHWPoison for normal papes and

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-20 Thread Kishon Vijay Abraham I
Arnd, On Wednesday 15 April 2015 03:17 AM, Arnd Bergmann wrote: On Tuesday 14 April 2015 11:05:35 Arun Ramamurthy wrote: [1] - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.txt#n111 Kishon,removing select GENERIC_PHY also breaks

RE: [PATCH] dmaengine: dw: add Intel Broxton LPSS Integrated DMA support

2015-04-20 Thread Zha, Qipeng
+ dma maillist Best wishes Qipeng -Original Message- From: Zha, Qipeng Sent: Tuesday, April 21, 2015 7:34 AM To: linux-kernel@vger.kernel.org Cc: viresh.li...@gmail.com; andriy.shevche...@linux.intel.com; Westerberg, Mika; Chen, Jason CJ; Zheng, Qi; Zha, Qipeng; Zhong, Huiquan

RE: [PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-20 Thread Devesh Sharma
Hi Michael, is there a specific git branch available to pull out all the patches? -Regards Devesh -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Michael Wang Sent: Monday, April 20, 2015 1:59 PM To: Roland Dreier;

Re: [RFC 0/6] perf tools: Report event parsing errors

2015-04-20 Thread Arnaldo Carvalho de Melo
Em Sat, Apr 18, 2015 at 10:42:58PM +0200, Jiri Olsa escreveu: On Sat, Apr 18, 2015 at 07:39:27PM +0200, Ingo Molnar wrote: So since we now know exactly what's going on, we might want to drop the 'invalid or unsupported event' language as well, and make it specific: $ ./perf record

Re: [PATCH 1/3] tools build: No need to make libapi for perf explicitly

2015-04-20 Thread Arnaldo Carvalho de Melo
Em Sat, Apr 18, 2015 at 10:34:38PM +0200, Jiri Olsa escreveu: The perf build handles its dependencies by itself. Also renaming libapi libapikfs to libapi as it got changed just recently. Thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH] lib: delete lib/find_last_bit.c

2015-04-20 Thread Yury Norov
File find_next_bit.c was deleted in patch lib: move find_last_bit to lib/find_next_bit.c from Feb, 22, but not in master (commit 8f6f19dd51). This is just a fix for wrong merge. Signed-off-by: Yury Norov yury.no...@gmail.com --- lib/find_last_bit.c | 41 -

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-20 Thread Mark Brown
On Mon, Apr 20, 2015 at 08:12:36AM -0700, Kevin Cernekee wrote: On Mon, Apr 20, 2015 at 5:21 AM, Mark Brown broo...@kernel.org wrote: The same check shows up in numerous other drivers, including the one for the audio controller on my board. Sounds like either that (undisclosed) driver has

Re: [RFC 0/6] perf tools: Report event parsing errors

2015-04-20 Thread Jiri Olsa
On Mon, Apr 20, 2015 at 05:09:36PM -0300, Arnaldo Carvalho de Melo wrote: Em Sat, Apr 18, 2015 at 10:42:58PM +0200, Jiri Olsa escreveu: On Sat, Apr 18, 2015 at 07:39:27PM +0200, Ingo Molnar wrote: So since we now know exactly what's going on, we might want to drop the 'invalid or

[PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-20 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com While trying to test a Cinterion GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CDC-ACM. It turned out that I need the usbserial driver. This file is an official description

Re: [PATCH] __bitmap_parselist: fix bug in empty string handling

2015-04-20 Thread Andrew Morton
On Fri, 17 Apr 2015 14:00:04 -0400 Chris Metcalf cmetc...@ezchip.com wrote: bitmap_parselist(, mask, nmaskbits) will erroneously set bit zero in the mask. The same bug is visible in cpumask_parselist() since it is layered on top of the bitmask code, e.g. if you boot with isolcpus=, you will

[PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-20 Thread David Long
From: David A. Long dave.l...@linaro.org This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, first seen in October 2013. This version attempts to address concerns raised by reviewers and also fixes problems discovered during testing. This patchset adds support for kernel

Re: mips build failures due to commit 8dd928915a73 (mips: fix up obsolete cpu function usage)

2015-04-20 Thread Guenter Roeck
On Mon, Apr 20, 2015 at 10:06:42PM +0200, Ralf Baechle wrote: On Mon, Apr 20, 2015 at 12:40:28PM -0700, Guenter Roeck wrote: the upstream kernel fails to build mips:nlm_xlp_defconfig, mips:nlm_xlp_defconfig, mips:cavium_octeon_defconfig, and possibly other targets, with errors such as

Re: [PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-20 Thread Arun Ramamurthy
On 15-04-15 02:59 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 14 April 2015 03:40 AM, Arun Ramamurthy wrote: Some generic drivers, such as ehci, may use multiple phys and for such drivers referencing phy(s) by name(s) does not make sense. Instead of inventing new naming schemes and

Re: [PATCH] perf/x86/intel/uncore: add support for Haswell ULT IMC uncore

2015-04-20 Thread Bjorn Helgaas
On Mon, Apr 20, 2015 at 2:43 PM, Sonny Rao sonny...@chromium.org wrote: On Mon, Apr 20, 2015 at 12:34 PM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, Apr 20, 2015 at 1:58 PM, Stephane Eranian eran...@google.com wrote: On Mon, Apr 20, 2015 at 11:56 AM, Bjorn Helgaas bhelg...@google.com

Re: [PATCH 2/7] perf data: Switch to multiple cpu stream files

2015-04-20 Thread Jiri Olsa
On Mon, Apr 20, 2015 at 04:58:54PM -0300, Arnaldo Carvalho de Melo wrote: Em Sat, Apr 18, 2015 at 05:50:15PM +0200, Jiri Olsa escreveu: From: Sebastian Andrzej Siewior bige...@linutronix.de Currently we store the data into single data strea/file. The cpu if data is stored within the

[PATCH v6 1/6] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2015-04-20 Thread David Long
From: David A. Long dave.l...@linaro.org Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. Signed-off-by: David A. Long dave.l...@linaro.org --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 29 + arch/arm64/include/uapi/asm/ptrace.h | 36

[PATCH v6 4/6] arm64: kprobes instruction simulation support

2015-04-20 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org Kprobes needs simulation of instructions that cannot be stepped from different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the instruction is implemented using a copy of pt_regs.

[PATCH v6 6/6] kprobes: Add arm64 case in kprobe example module

2015-04-20 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org Add info prints in sample kprobe handlers for ARM64 Signed-off-by: Sandeepa Prabhu sandeepa.pra...@linaro.org --- samples/kprobes/kprobe_example.c | 8 1 file changed, 8 insertions(+) diff --git a/samples/kprobes/kprobe_example.c

[PATCH v6 3/6] arm64: Kprobes with single stepping support

2015-04-20 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes utilizes software breakpoint and single step debug exceptions supported on ARM v8. A software breakpoint is placed at the probe address to trap the kernel

[PATCH v6 2/6] arm64: Add more test functions to insn.c

2015-04-20 Thread David Long
From: David A. Long dave.l...@linaro.org Certain instructions are hard to execute correctly out-of-line (as in kprobes). Test functions are added to insn.[hc] to identify these. The instructions include any that use PC-relative addressing, change the PC, or change interrupt masking. For

Re: [PATCH] kernel/resource: Invalid memory access in __release_resource

2015-04-20 Thread Ricardo Ribalda Delgado
Hi Bjorn! Thanks for your promtly response. On Mon, Apr 20, 2015 at 9:28 PM, Bjorn Helgaas bhelg...@google.com wrote: [+cc Grant (author of ac80a51e2ce5)] Hi Ricardo, On Mon, Apr 20, 2015 at 06:22:52PM +0200, Ricardo Ribalda Delgado wrote: If of_platform_depopulate is called later,

Re: [PATCH] locking/rwsem: reduce spinlock contention in wakeup after up_read/up_write

2015-04-20 Thread Jason Low
On Fri, 2015-04-17 at 22:03 -0400, Waiman Long wrote: diff --git a/include/linux/osq_lock.h b/include/linux/osq_lock.h index 3a6490e..703ea5c 100644 --- a/include/linux/osq_lock.h +++ b/include/linux/osq_lock.h @@ -32,4 +32,9 @@ static inline void osq_lock_init(struct optimistic_spin_queue

Re: [PATCH] x86_64: use -mskip-rax-setup when available

2015-04-20 Thread Rasmus Villemoes
On Mon, Apr 20 2015, Borislav Petkov b...@alien8.de wrote: On Mon, Apr 20, 2015 at 02:28:16PM +0200, Rasmus Villemoes wrote: Nothing seems to have happened on the kernel side since H.J. Lu implemented this in December. Since gcc 5 is officially released I see the same patch from him from

[PATCH v6 5/6] arm64: Add kernel return probes support (kretprobes)

2015-04-20 Thread David Long
From: Sandeepa Prabhu sandeepa.pra...@linaro.org AArch64 ISA does not have instructions to pop the PC register value from the stack(like ARM v7 has ldmia {...,pc}) without using one of the general purpose registers. This means return probes cannot return to the actual return address directly

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-20 Thread George Spelvin
It's used everywhere, on servers, embedded systems, desktops, you name it. All languages have bindings for it, and it's the underpinning of a modern Linux stack. Since when? D-bus is some GUI depoendency. On my console-only servers, it's not needed, and not installed: # dpkg-query -s

Re: [GIT PULL] First batch of KVM changes for 4.1

2015-04-20 Thread Andy Lutomirski
On Mon, Apr 20, 2015 at 9:59 AM, Paolo Bonzini pbonz...@redhat.com wrote: On 17/04/2015 22:18, Marcelo Tosatti wrote: The bug which this is fixing is very rare, have no memory of a report. In fact, its even difficult to create a synthetic reproducer. But then why was the task migration

[PATCH 1/2] ARM: socfpga: dts: Add multicast bins and unicast filter entries

2015-04-20 Thread Vince Bridgers
Add multicast-filter-bins and perfect-filter-entries configuration properties to the socfpga devicetree for the Arria 10 socfpga. Signed-off-by: Vince Bridgers vbrid...@opensource.altera.com --- This patch is based on patches http://www.spinics.net/lists/devicetree/msg75270.html

[PATCH 2/2] ARM: socfpga: dts: Add tx-fifo-depth and rx-fifo-depth properties

2015-04-20 Thread Vince Bridgers
Add tx-fifo-depth and rx-fifo-depth devicetree properties for socfpga stmmac. These devicetree properties will be used to configure certain features of the stmmac on the socfpga. Signed-off-by: Vince Bridgers vbrid...@opensource.altera.com --- This patch is based on patches

[PATCH] iio:st_sensors: Fix oops when probing SPI devices

2015-04-20 Thread Alban Bedel
In SPI mode the transfer buffer is locked with a mutex. However this mutex is only initilized after the probe, but some transfer needs to be done in the probe. To fix this bug we move the mutex initialization at the beginning of the device probe. Signed-off-by: Alban Bedel

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-20 Thread Mark Brown
On Sat, Apr 18, 2015 at 01:07:07PM -0700, Kevin Cernekee wrote: On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown broo...@kernel.org wrote: Someone trying to use the atmel_wm8904 driver with something other than a wm8904 shouldn't really be expecting a good experince... The same check shows up

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-20 Thread Michal Hocko
On Fri 17-04-15 11:54:42, Andy Lutomirski wrote: On Fri, Apr 17, 2015 at 2:19 AM, Michal Hocko mho...@suse.cz wrote: On Thu 16-04-15 10:04:17, Andy Lutomirski wrote: On Thu, Apr 16, 2015 at 8:01 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Apr 16, 2015 at 4:34 PM,

[PATCH v2] perf tools: Document --children option in more detail

2015-04-20 Thread Namhyung Kim
As the --children option changes the output of perf report (and perf top) it sometimes confuses users. Add more words and examples to help understanding of the option's behavior - and how to disable it ;-). Cc: Taeung Song treeze.tae...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH 0/3] regulator: max8973: cleanups and add DT parsing for platform data

2015-04-20 Thread Laxman Dewangan
Remove redundant variables for dvs gpio validity, handle unset/default dvs gpio and add DT parsing for platform data. Laxman Dewangan (3): regulator: max8973: get rid of extra variable for gpio validity regulator: max8973: make default/unset dvs gpio as invalid gpio regulator: max8973: add

[PATCH 1/3] regulator: max8973: get rid of extra variable for gpio validity

2015-04-20 Thread Laxman Dewangan
To find that dvs-gpio is valid or not, gpio API gpio_is_valid() can be directly used instead of intermediate variable. Removing the extra variable and using the gpio_is_valid(). Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- This is same as earlier patch. Making this as part of this

[PATCH 4/7] perf tools: Move init_have_children field to struct hist_entry_tui

2015-04-20 Thread Namhyung Kim
The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the hist_entry_tui struct. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 4 ++-- tools/perf/util/sort.h | 2 +- 2 files changed, 3 insertions(+), 3

[PATCH 2/7] perf diff: Make hist_entry_diff fields union

2015-04-20 Thread Namhyung Kim
The period_ratio_delta, period_ratio and wdiff are never by used at the same time. Instead, Just one of them is accessed according to a comparison method. So make it union to reduce memory footprint. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/sort.h | 15

RE: [PATCH 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-04-20 Thread David Laight
From: Christophe Leroy Sent: 20 April 2015 06:27 Having a macro will help keep clear code. ... * We have to use the MD_xxx registers for the tablewalk because the * equivalent MI_xxx registers only perform the attribute functions. */ + +#ifdef CONFIG_8xx_CPU15 +#define

Re: [PATCH 01/16] printk: guard the amount written per line by devkmsg_read()

2015-04-20 Thread Petr Mladek
On Thu 2015-04-16 19:03:38, Tejun Heo wrote: devkmsg_read() uses 8k buffer and assumes that the formatted output message won't overrun which seems safe given LOG_LINE_MAX, the current use of dict and the escaping method being used; however, we're planning to use devkmsg formatting wider and

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-20 Thread Paul E. McKenney
On Mon, Apr 20, 2015 at 07:39:55AM +0200, Ingo Molnar wrote: * Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Apr 19, 2015 at 11:01 AM, Ingo Molnar mi...@kernel.org wrote: That's all fine and good, but why is an IPI sent to a non-existent CPU? It's not like we don't

LTP] [ANNOUNCE] The Linux Test Project has been released for APRIL 2015

2015-04-20 Thread Cyril Hrubis
testcase * New regression test for hugepage leak * Fixes all over the codebase The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at: http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20150420/ The project pages as well as GIT repository

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-20 Thread Ming Lei
On Mon, Apr 20, 2015 at 4:07 PM, Dongsu Park dongsu.p...@profitbricks.com wrote: Hi Ming, On 18.04.2015 00:23, Ming Lei wrote: Does anyone have an idea? As far as I can see, at least two problems exist: - race between timeout and CPU hotplug - in case of shared tags, during CPU online

Build regressions/improvements in v4.0

2015-04-20 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.0[1] compared to v3.19[2]. Summarized: - build errors: +11/-10 - build warnings: +148/-184 JFYI, when comparing v4.0[1] to v4.0-rc7[3], the summaries are: - build errors: +7/-2 - build warnings: +81/-34 Note that

Re: On register r/w macros/procedures of drivers/media/pci

2015-04-20 Thread Krzysztof Hałasa
Andrey Utkin andrey.ut...@corp.bluecherry.net writes: I am starting a work on driver for techwell tw5864 media grabberencoder. If this is tw6864 then I have a driver mostly completed. Actually I'm using tw6869 but I think this is very similar (4 channels instead of 8 and PCI instead of PCIe). I

Re: BUG: unable to handle kernel NULL pointer deref, bisected to 746650160

2015-04-20 Thread Torsten Luettgert
On Sun, 19 Apr 2015 18:58:41 +0200 Christoph Hellwig h...@lst.de wrote: This looks like a long standing bug in all three 3ware drivers to me, that the taking the host lock around the host_busy manipulation was hiding. Can you test the patch below? I'm running it right now and keeping my

Re: [PATCH 5/7] perf hists browser: Fix possible memory leak

2015-04-20 Thread Namhyung Kim
On Mon, Apr 20, 2015 at 10:24:15AM +0200, Jiri Olsa wrote: On Sun, Apr 19, 2015 at 01:04:13PM +0900, Namhyung Kim wrote: The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's

[PULL] cpumask complete deprecation

2015-04-20 Thread Rusty Russell
The following changes since commit 6587457b4b3d663b237a0f95ddf6e67d1828c8ea: Merge tag 'dma-buf-for-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits/dma-buf (2015-03-04 09:59:51 -0800) are available in the git repository at:

Re: On register r/w macros/procedures of drivers/media/pci

2015-04-20 Thread Krzysztof Hałasa
Andrey Utkin andrey.ut...@corp.bluecherry.net writes: Please check first digit. I mean _5_864, in your post there's 6869. Ok, I just thought it may be a typo. I can now see 5864 is a H.264 encoder, while 686x are simpler frame-grabbers only. Sorry for the noise. -- Krzysztof Halasa Research

[PATCH 1/7] perf tools: Get rid of position field from struct hist_entry

2015-04-20 Thread Namhyung Kim
It's not used anywhere, let's get rid of it. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/sort.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 846036a921dc..af192f172fa2 100644 --- a/tools/perf/util/sort.h +++

[PATCHSET 0/7] perf tools: Assorted cleanup for TUI (v2)

2015-04-20 Thread Namhyung Kim
Hello, This patches are to cleanup TUI hists browser code for later work. I moved hist_entry_diff and hist_entry_tui under an union in order to reduce memory footprint of hist entry. Also split out hist browser functions to make it easier to read. * changes in v2) - add comment on the new

[PATCH 5/7] perf hists browser: Fix possible memory leak

2015-04-20 Thread Namhyung Kim
The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's exited from a small item. Fix it by freeing all items when loop terminates. Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-20 Thread Namhyung Kim
Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected entry. When it adds an item, it also

[PATCH v2] ata: ahci_st: fixup layering violations / drvdata errors

2015-04-20 Thread Peter Griffin
Brian noticed while working on another SATA driver that uses libahci_platform, an error in this driver; it tries to the the driver data for its device, while libata also thinks it can set the driver data. See: ahci_platform_init_host() - ata_host_alloc_pinfo() - ata_host_alloc()

[PATCH v2] ata: ahci_st: fixup layering violations / drvdata errors

2015-04-20 Thread Peter Griffin
Hi Tejun / Brian, I tested the initial version of this patch (see http://patchwork.ozlabs.org/patch/459422/) on stih410 hardware, however it introduced a NULL ptr dereference, as plat_data isn't set until ahci_platform_init_host() but plat_data was being used before this in the

Re: [RFC PATCH] fs: use a sequence counter instead of file_lock in fd_install

2015-04-20 Thread Mateusz Guzik
On Sat, Apr 18, 2015 at 12:41:38PM -0700, Eric Dumazet wrote: On Sat, 2015-04-18 at 00:02 +0100, Al Viro wrote: On Sat, Apr 18, 2015 at 12:16:48AM +0200, Mateusz Guzik wrote: I would say this makes the use of seq counter impossible. Even if we decided to fall back to a lock on retry,

Re: [PATCH v2] cdc-acm: prevent infinite loop when parsing CDC headers.

2015-04-20 Thread Quentin Casasnovas
On Tue, Apr 14, 2015 at 11:25:43AM +0200, Quentin Casasnovas wrote: Phil and I found out a problem with commit: 7e860a6e7aa6 (cdc-acm: add sanity checks) Any comment on v2? Thanks, Quentin -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-20 Thread Radek Dostál
Hi Chris, On 04/20/2015 01:44 PM, Chris Wilson wrote: Ah, maybe this on top of the previous try: diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c index 88f5a74..5d22ca0 100644 --- a/drivers/gpu/drm/drm_probe_helper.c +++

Re: [PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-20 Thread Namhyung Kim
On Mon, Apr 20, 2015 at 11:46:07AM +0200, Jiri Olsa wrote: On Sun, Apr 19, 2015 at 01:04:14PM +0900, Namhyung Kim wrote: SNIP continue; case 's': - if (is_report_browser(hbt)) - goto do_data_switch; +

[GIT PULL] fbdev changes for 4.1

2015-04-20 Thread Tomi Valkeinen
Hi Linus, Please pull fbdev changes for 4.1. Tomi The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-4.1

Re: [PATCH 3/3] btrfs: set FS_SUPPORTS_SEEK_HOLE flag.

2015-04-20 Thread Al Viro
On Mon, Apr 20, 2015 at 02:48:55AM -0700, Christoph Hellwig wrote: On Mon, Apr 20, 2015 at 10:46:49AM +0100, David Howells wrote: NeilBrown ne...@suse.de wrote: Missing patch 2 of the 3-patch series? Yes. :-) Do ext4 and xfs support this, do you know? Yes. As do f2fs, ocfs2,

I want to invest

2015-04-20 Thread calv handerson
Attention Sir, I am personally contacting you based on two reasons. 1.Your knowledge in Gold Business, Am interested in buying properties houses,Building real estate and some tourist places. 2.Your ability keeping my business reationship very strictly secret as I have finalised arrangement

Re: [PATCH 07/11] powerpc/8xx: macro for handling CPU15 errata

2015-04-20 Thread leroy christophe
Le 20/04/2015 13:40, David Laight a écrit : From: Christophe Leroy Sent: 20 April 2015 06:27 Having a macro will help keep clear code. ... * We have to use the MD_xxx registers for the tablewalk because the * equivalent MI_xxx registers only perform the attribute functions. */ +

Re: [PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF

2015-04-20 Thread Chris Wilson
On Mon, Apr 20, 2015 at 01:20:05PM +0200, Radek Dostál wrote: Hi Chris, On 04/20/2015 01:00 PM, Chris Wilson wrote: Can you do a WARN_ON(list_empty(connector-modes)) here to see at what point we set up the invalid GTF mode? sure please see attached patch adding WARN_ON and corresponding

Re: [PATCH 3/7] perf tools: Move TUI-specific fields to struct hist_entry_tui

2015-04-20 Thread Namhyung Kim
Hi Jiri, On Mon, Apr 20, 2015 at 10:20:02AM +0200, Jiri Olsa wrote: On Sun, Apr 19, 2015 at 01:04:11PM +0900, Namhyung Kim wrote: Since perf diff only support stdio output, TUI fields are only accessed from perf report (or perf top). So add new struct hist_entry_tui and move those fields

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-04-20 Thread Ulrich Weigand
Anshuman Khandual khand...@linux.vnet.ibm.com wrote on 13.04.2015 10:48:57: On 04/10/2015 04:03 PM, Ulrich Weigand wrote: - You provide checkpointed FPR and VMX registers, but there doesn't seem to be any way to get at the checkpointed *VSX* registers (i.e. the part that is neither

Re: [PATCH 01/16] printk: guard the amount written per line by devkmsg_read()

2015-04-20 Thread Petr Mladek
On Mon 2015-04-20 14:11:36, Petr Mladek wrote: On Thu 2015-04-16 19:03:38, Tejun Heo wrote: devkmsg_read() uses 8k buffer and assumes that the formatted output message won't overrun which seems safe given LOG_LINE_MAX, the current use of dict and the escaping method being used; however,

Re: [PATCH] pinctrl: mediatek: mtk-common: initialize unmask

2015-04-20 Thread Sergei Shtylyov
Hello. On 04/20/2015 02:15 PM, Colin King wrote: From: Colin Ian King colin.k...@canonical.com cppcheck detected an unitialized variable: Uninitialized. [drivers/pinctrl/mediatek/pinctrl-mtk-common.c:897]: (error) Uninitialized variable: unmask unmask should be initialized to

Re: [PATCH 2/5] usb: xhci: plat: Create both HCDs before adding them

2015-04-20 Thread Mathias Nyman
Hi On 02.04.2015 15:23, Roger Quadros wrote: As xhci_hcd is now allocated by usb_create_hcd(), we don't need to add the primary HCD before creating the shared HCD. Creating the shared HCD before adding the primary HCD is particularly useful for the OTG use case so that we know at the OTG

[PATCH] tools/lib/api/Makefile: Add feature check for _FORTIFY_SOURCE

2015-04-20 Thread Dirk Gouders
For example on Gentoo systems where _FORTIFY_SOURCE is set by default, `make -C tools/perf' fails, because of the macro being redefined. Fix that by a feature-check analogous to tools/perf/config/Makefile. Signed-off-by: Dirk Gouders d...@gouders.net --- tools/lib/api/Makefile | 9 - 1

Re: On register r/w macros/procedures of drivers/media/pci

2015-04-20 Thread Andrey Utkin
On Mon, Apr 20, 2015 at 3:45 PM, Krzysztof Hałasa khal...@piap.pl wrote: Andrey Utkin andrey.ut...@corp.bluecherry.net writes: Please check first digit. I mean _5_864, in your post there's 6869. Ok, I just thought it may be a typo. I can now see 5864 is a H.264 encoder, while 686x are

Re: [PATCH] ata: ahci_st: fixup layering violations / drvdata errors

2015-04-20 Thread Peter Griffin
Hi Tejun, On Fri, 17 Apr 2015, Tejun Heo wrote: On Thu, Apr 09, 2015 at 10:43:10AM +0100, Peter Griffin wrote: Yes I can test, although not until Saturday as I only have remote access to the board today tomorrow and the hard drive isn't plugged in. What's the status on this patch?

Re: [RFC PATCH] fs: use a sequence counter instead of file_lock in fd_install

2015-04-20 Thread Mateusz Guzik
On Mon, Apr 20, 2015 at 03:06:33PM +0200, Mateusz Guzik wrote: On Sat, Apr 18, 2015 at 12:02:52AM +0100, Al Viro wrote: On Sat, Apr 18, 2015 at 12:16:48AM +0200, Mateusz Guzik wrote: I would say this makes the use of seq counter impossible. Even if we decided to fall back to a lock on

Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

2015-04-20 Thread Chen Baozi
On Mon, Apr 20, 2015 at 11:53:47AM +0100, David Vrabel wrote: On 20/04/15 11:48, Chen Baozi wrote: Make sure that xen_swiotlb_init allocates buffers that is DMA capable. Signed-off-by: Chen Baozi baoz...@gmail.com --- drivers/xen/swiotlb-xen.c | 3 ++- 1 file changed, 2

Re: [PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-20 Thread Namhyung Kim
On Mon, Apr 20, 2015 at 11:21:59AM +0200, Jiri Olsa wrote: On Sun, Apr 19, 2015 at 01:04:14PM +0900, Namhyung Kim wrote: SNIP + +static int +add_script_opt(struct popup_option *opt, char **optstr, + struct hist_browser *browser __maybe_unused, + struct thread

<    5   6   7   8   9   10   11   12   13   14   >