[PATCH] cciss: return 0 from driver probe function on success, not 1

2013-11-01 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com A return value of 1 is interpreted as an error. See pci_driver. in local_pci_probe(). If you're wondering how this ever could have worked, it's because it used to be the case that only return values less than zero were interpreted as failure.

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Victor Kaplansky
Paul E. McKenney paul...@linux.vnet.ibm.com wrote on 10/31/2013 05:25:43 PM: I really don't care about fair -- I care instead about the kernel working reliably. Though I don't see how putting a memory barrier without deep understanding why it is needed helps kernel reliability, I do agree that

[PATCH] cciss: return 0 from driver probe function on success, not 1

2013-11-01 Thread Stephen M. Cameron
Just resending the patch with a better change log message (as requested by Andrew Morton) and cc'ing sta...@vger.kernel.org, (as I originally had intended.) --- Stephen M. Cameron (1): cciss: return 0 from driver probe function on success, not 1 drivers/block/cciss.c |2 +- 1 files

Re: [PATCH] drivers: w1: make w1_slave::flags long to avoid casts

2013-11-01 Thread Evgeniy Polyakov
Hi everyone 31.10.2013, 13:12, Michal Nazarewicz min...@mina86.com:   int ttl;  ... w1_slave.ttl? For noisy lines this was a 'timeout' after which system considered attached device as failed, the noisier line is the longer is timeout I experimented with meters-long w1 wires and it

Re: [PATCH 4/5] input: tc3589x-keypad: support probing from device tree

2013-11-01 Thread Linus Walleij
On Thu, Oct 31, 2013 at 5:58 PM, Mark Rutland mark.rutl...@arm.com wrote: + plat = devm_kzalloc(dev, sizeof(*plat), GFP_KERNEL); + if (!plat) + return ERR_PTR(-ENOMEM); + + of_property_read_u8(np, keypad,num-columns, plat-kcol); + of_property_read_u8(np,

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread Neil Horman
On Fri, Nov 01, 2013 at 03:42:46PM +, Ben Hutchings wrote: On Thu, 2013-10-31 at 14:30 -0400, Neil Horman wrote: [...] It functions, but unfortunately the performance lost to the completely broken branch prediction that this inflicts makes it a non starter: [...] Conditional

Re: Re: Re: Re: Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-11-01 Thread Tetsuo Handa
Jim Lieb wrote: On Friday, November 01, 2013 22:24:12 Tetsuo Handa wrote: Jim Lieb wrote: Subsequent uses look like: use_creds(cached fd); followed by open/creat/mknod/write followed by use_creds(-1); Are you aware that calling commit_creds() is

Re: [Xen-devel] [PATCH net-next RFC 2/5] xen-netback: Change TX path from grant copy to mapping

2013-11-01 Thread Zoltan Kiss
On 30/10/13 21:10, Zoltan Kiss wrote: On 30/10/13 09:11, Paul Durrant wrote: +err = alloc_xenballooned_pages(MAX_PENDING_REQS, +vif-mmap_pages, +false); Since this is a per-vif allocation, is this going to scale? Good question, I'll look after this. I've talked to David

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Peter Zijlstra
On Wed, Oct 30, 2013 at 11:40:15PM -0700, Paul E. McKenney wrote: void kbuf_write(int sz, void *buf) { u64 tail = ACCESS_ONCE(ubuf-tail); /* last location userspace read */ u64 offset = kbuf-head; /* we already know where we last wrote */ u64 head = offset + sz; if

[PATCH] KVM: IOMMU: hva align mapping page size

2013-11-01 Thread Greg Edwards
When determining the page size we could use to map with the IOMMU, the page size should be aligned with the hva, not the gfn. The gfn may not reflect the real alignment within the hugetlbfs file. Most of the time, this works fine. However, if the hugetlbfs file is backed by non-contiguous huge

[PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Madper Xie
Pstore fs expects that backends provide a uniqued id which could avoid pstore making entries as duplication or denominating entries the same name. So I combine the timestamp, part and count into id. Signed-off-by: Madper Xie c...@redhat.com --- drivers/firmware/efi/efi-pstore.c | 22

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread Ben Hutchings
On Fri, 2013-11-01 at 12:08 -0400, Neil Horman wrote: On Fri, Nov 01, 2013 at 03:42:46PM +, Ben Hutchings wrote: On Thu, 2013-10-31 at 14:30 -0400, Neil Horman wrote: [...] It functions, but unfortunately the performance lost to the completely broken branch prediction that this

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-01 Thread Will Deacon
On Fri, Nov 01, 2013 at 03:01:30PM +, Mark Salter wrote: On Fri, 2013-10-11 at 08:18 -0400, Mark Salter wrote: On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: @@ -110,6 +110,7 @@ SECTIONS */ INIT_TASK_DATA(THREAD_SIZE)

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Peter Zijlstra
On Wed, Oct 30, 2013 at 11:40:15PM -0700, Paul E. McKenney wrote: The dependency you are talking about is via the if statement? Even C/C++11 is not required to respect control dependencies. This one is a bit annoying. The x86 TSO means that you really only need barrier(), ARM (recent ARM,

Re: [PATCH] cciss: return 0 from driver probe function on success, not 1

2013-11-01 Thread Jens Axboe
On 11/01/2013 10:06 AM, Stephen M. Cameron wrote: From: Stephen M. Cameron scame...@beardog.cce.hp.com A return value of 1 is interpreted as an error. See pci_driver. in local_pci_probe(). If you're wondering how this ever could have worked, it's because it used to be the case that only

RE: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread David Laight
How would you suggest replacing the jumps in this case? I agree it would be faster here, but I'm not sure how I would implement an increment using a single conditional move. I think you need 3 instructions, move a 0, conditionally move a 1 then add. I suspect it won't be a win! If you do

Re: FTDI custom VID/PID patch

2013-11-01 Thread Greg Kroah-Hartman
On Fri, Nov 01, 2013 at 05:26:38PM +0400, Алексей Крамаренко wrote: Hello Greg. It's my first patch, sorry if something wrong. Custom VID/PID for Z3X Box device, popular tool for cellphone flashing. A few meta-comments. Your patch had the tabs turned into spaces, the lines were

Re: [PATCH v2 2/4] clk: exynos5410: register clocks using common clock framework

2013-11-01 Thread Mauro Ribeiro
Nevermind, didn't read the clk-pll.c properly.. pll_35xx and pl_2550 will default to the same code. Best Regards, Mauro On Fri, Nov 1, 2013 at 1:53 PM, Mauro Ribeiro mdr...@gmail.com wrote: Is the PLL35xx driver compatible with the ones used on 5410? +static struct samsung_pll_clock

RE: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread David Laight
But broken compiler is much wider issue to be deeply discussed in this thread. I'm pretty sure that kernel have tons of very subtle code that actually creates locks and memory ordering. Such code usually just use the barrier() approach to tell gcc not to combine or move memory accesses

[PATCH 6/7] perf timechart: add support for -P and -T in timechart recording

2013-11-01 Thread Stanislav Fomichev
If we don't want either power or task events we may use -T or -P with the `perf timechart record` command to filter out events while recording to keep perf.data small. Signed-off-by: Stanislav Fomichev stfomic...@yandex-team.ru --- tools/perf/Documentation/perf-timechart.txt | 15 -

[PATCH 3/7] perf timechart: use proc_num to implement --power-only

2013-11-01 Thread Stanislav Fomichev
Don't use special flag to indicate power-only mode, just set proc_num to 0. Signed-off-by: Stanislav Fomichev stfomic...@yandex-team.ru --- tools/perf/builtin-timechart.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-timechart.c

[PATCH v2 0/7] perf timechart improvements

2013-11-01 Thread Stanislav Fomichev
This patch series adds more features to the perf timechart command: * -n option that adds possibility to limit number of tasks on SVG * -T option that adds possibility to show only tasks related info * -T and -P options now work with `perf timechart record` command to keep perf.data small * -g

Re: stec skd block driver needs updating for immutable biovec

2013-11-01 Thread Mike Snitzer
On Fri, Nov 01 2013 at 12:02pm -0400, Jens Axboe ax...@kernel.dk wrote: On 11/01/2013 09:50 AM, Christoph Hellwig wrote: On Fri, Nov 01, 2013 at 11:43:39AM -0400, Mike Snitzer wrote: All the bi_sector ones are low hanging fruit, but the conversion for skd_preop_sg_list_bio()'s bio_vec code

Re: [PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Richard Weinberger
On Fri, Nov 1, 2013 at 5:14 PM, Madper Xie c...@redhat.com wrote: Pstore fs expects that backends provide a uniqued id which could avoid pstore making entries as duplication or denominating entries the same name. So I combine the timestamp, part and count into id. Signed-off-by: Madper Xie

Re: [PATCH] cciss: return 0 from driver probe function on success, not 1

2013-11-01 Thread Tomas Henzl
On 11/01/2013 03:08 PM, scame...@beardog.cce.hp.com wrote: On Fri, Nov 01, 2013 at 06:31:10AM -0700, Andrew Morton wrote: On Fri, 01 Nov 2013 14:06:45 +0100 Tomas Henzl the...@redhat.com wrote: The problem in kernel is that the error handling in local_pci_probe and in __pci_device_probe is

Re: [PATCH net] net: flow_dissector: fail on evil iph-ihl

2013-11-01 Thread Ben Hutchings
On Fri, 2013-11-01 at 15:01 +0800, Jason Wang wrote: We don't validate iph-ihl which may lead a dead loop if we meet a IPIP skb whose iph-ihl is zero. Fix this by failing immediately when iph-ihl is evil (less than 5). This issue were introduced by commit

[PATCH v3 2/6] genirq: export percpu irq functions for module usage

2013-11-01 Thread Stephen Boyd
In the near future we're going to use these percpu irq functions in the Krait CPU EDAC driver. Export them so that the EDAC driver can be compiled as a module. Acked-by: Thomas Gleixner t...@linutronix.de Signed-off-by: Stephen Boyd sb...@codeaurora.org --- kernel/irq/manage.c | 2 ++ 1 file

[PATCH v3 3/6] ARM: Add Krait L2 accessor functions

2013-11-01 Thread Stephen Boyd
Qualcomm's Krait CPUs have a handful of L2 cache controller registers that live behind a cp15 based indirection register. First you program the indirection register (l2cpselr) to point the L2 'window' register (l2cpdr) at what you want to read/write. Then you read/write the 'window' register to do

[PATCH v3 0/6] Krait L1/L2 EDAC driver

2013-11-01 Thread Stephen Boyd
This patchset adds support for the Krait L1/L2 cache error detection hardware. The first patch fixes a generic framework bug. The next two patches lay the groundwork for this driver to be added by exporting percpu irq functions as well as adding the Krait l2 indirection register code. The next

[PATCH v3 1/6] edac: Don't try to cancel workqueue when it's never setup

2013-11-01 Thread Stephen Boyd
We only setup a workqueue for edac devices that use the polling method. We still try to cancel the workqueue if an edac_device uses the irq method though. This causes a warning from debug objects when we remove an edac device: WARNING: CPU: 0 PID: 56 at lib/debugobjects.c:260

RE: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Victor Kaplansky
David Laight david.lai...@aculab.com wrote on 11/01/2013 06:25:29 PM: gcc will do unexpected memory accesses for bit fields that are adjacent to volatile data. In particular it may generate 64bit sized (and aligned) RMW cycles when accessing bit fields. And yes, this has caused real problems.

[PATCH v3 6/6] ARM: dts: msm: Add Krait CPU/L2 nodes

2013-11-01 Thread Stephen Boyd
This allows us to probe the krait-edac driver. Acked-by: David Brown dav...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/boot/dts/qcom-msm8974.dtsi | 37 + 1 file changed, 37 insertions(+) diff --git

[PATCH v3 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-11-01 Thread Stephen Boyd
The Krait L1/L2 error reporting device is made up of two interrupts, one per-CPU interrupt for the L1 caches and one interrupt for the L2 cache. Cc: Mark Rutland mark.rutl...@arm.com Acked-by: Kumar Gala ga...@codeaurora.org Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd

[PATCH v3 5/6] edac: Add support for Krait CPU cache error detection

2013-11-01 Thread Stephen Boyd
Add support for the Krait CPU cache error detection. This is a simplified version of the code originally written by Stepan Moskovchenko[1] ported to the EDAC device framework. [1] https://www.codeaurora.org/cgit/quic/la/kernel/msm/tree/arch/arm/mach-msm/cache_erp.c?h=msm-3.4 Cc: Stepan

Re: stec skd block driver needs updating for immutable biovec

2013-11-01 Thread Jens Axboe
On 11/01/2013 10:28 AM, Mike Snitzer wrote: On Fri, Nov 01 2013 at 12:02pm -0400, Jens Axboe ax...@kernel.dk wrote: On 11/01/2013 09:50 AM, Christoph Hellwig wrote: On Fri, Nov 01, 2013 at 11:43:39AM -0400, Mike Snitzer wrote: All the bi_sector ones are low hanging fruit, but the conversion

[PATCH 7/7] perf timechart: add backtrace support

2013-11-01 Thread Stanislav Fomichev
Add -g flag to `perf timechart record` which saves callchain info in the perf.data. When generating SVG, add backtrace information to the figure details, so now it's possible to see which code path woke up the task and why some task went to sleep. Signed-off-by: Stanislav Fomichev

[PATCH 1/7] perf timechart: always try to print at least 15 tasks

2013-11-01 Thread Stanislav Fomichev
Always try to print at least 15 tasks no matter how long they run. Signed-off-by: Stanislav Fomichev stfomic...@yandex-team.ru --- tools/perf/builtin-timechart.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-timechart.c

[PATCH 4/7] perf timechart: add support for displaying only tasks related data

2013-11-01 Thread Stanislav Fomichev
In order to make SVG smaller and faster to browse add possibility to switch off power related information with -T switch. Signed-off-by: Stanislav Fomichev stfomic...@yandex-team.ru --- tools/perf/Documentation/perf-timechart.txt | 3 +++ tools/perf/builtin-timechart.c | 11

[PATCH 2/7] perf timechart: add option to limit number of tasks

2013-11-01 Thread Stanislav Fomichev
Add -n option to specify min. number of tasks to print. Signed-off-by: Stanislav Fomichev stfomic...@yandex-team.ru --- tools/perf/Documentation/perf-timechart.txt | 4 tools/perf/builtin-timechart.c | 5 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH 5/7] perf timechart: group figures and add title with details

2013-11-01 Thread Stanislav Fomichev
Add titles to figures so we can run SVG interactively in Firefox and check event details in the tooltips. This also aids exploring SVG with Inkscape because when user clicks on one part of logical figure, all parts are selected. It's also possible to read titles with Inkscape in the object

Re: [PATCH v7 0/5] clk: clock deregistration support

2013-11-01 Thread Sylwester Nawrocki
Hi Jonas, On 11/01/2013 02:56 PM, Jonas Jensen wrote: Hi, Just letting you know, the following warning from __clk_get is now printed, and not printed after revert (git revert 0b35b92fb3600a2f9ca114a6142db95f760d55f5). It is recommended to quote also human readable patch summary line, so it's

Re: [PATCH 2/2] virtio_blk: blk-mq support

2013-11-01 Thread Christoph Hellwig
Updated version to address Asias' comments and rebased ontop of block/for-next with the immutable bio changes: --- From: Jens Axboe ax...@kernel.dk Subject: virtio_blk: blk-mq support Switch virtio-blk from the dual support for old-style requests and bios to use the block-multiqueue.

Re: [RFC PATCH] ceph: Write through cache support based on fscache

2013-11-01 Thread Milosz Tanski
Li, I think it would be fantastic to see a write cache. In many workloads you ended up writing out a file and then turning around and reading it right back in on the same node. There's a few things that I would like to see. First, an mount option to turn on/off write through caching. There are

Re: [PATCH v2 2/4] clk: exynos5410: register clocks using common clock framework

2013-11-01 Thread Tomasz Figa
Hi, On Monday 14 of October 2013 19:08:23 Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com The EXYNOS5410 clocks are statically listed and registered using the Samsung specific common clock helper functions. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com

[GIT PATCH] USB fixes for 3.12-final

2013-11-01 Thread Greg KH
The following changes since commit 959f58544b7f20c92d5eb43d1232c96c15c01bfb: Linux 3.12-rc7 (2013-10-27 16:12:03 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.12-rc8 for you to fetch changes up to

Re: [PATCH 2/2] virtio_blk: blk-mq support

2013-11-01 Thread Jens Axboe
On 11/01/2013 10:45 AM, Christoph Hellwig wrote: Updated version to address Asias' comments and rebased ontop of block/for-next with the immutable bio changes: Thanks, I updated the blk-mq/drivers branch to have the for-3.13/core immutable changes and replaced the existing virtio-blk patch. --

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-01 Thread Florian Fainelli
Hello Jonas, 2013/11/1 Jonas Jensen jonas.jen...@gmail.com: The MOXA UC-711X hardware(s) has an ethernet controller that seem to be developed internally. The IC used is RTL8201CP. This patch adds an MDIO driver and also patches realtek to include RTL8201CP PHY driver. Signed-off-by: Jonas

Re: [PATCH v2 1/4] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2013-11-01 Thread Tomasz Figa
On Monday 14 of October 2013 19:08:22 Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov

Re: [PATCH v2 4/4] ARM: dts: Add initial device tree support for EXYNOS5410

2013-11-01 Thread Tomasz Figa
On Monday 14 of October 2013 19:08:25 Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add initial device tree nodes for EXYNOS5410 SoC and SMDK5410 board. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com ---

Re: Re: Re: Re: Re: Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-11-01 Thread Jim Lieb
On Saturday, November 02, 2013 01:07:59 Tetsuo Handa wrote: Jim Lieb wrote: On Friday, November 01, 2013 22:24:12 Tetsuo Handa wrote: Jim Lieb wrote: Subsequent uses look like: use_creds(cached fd); followed by open/creat/mknod/write

Re: [PATCH] extcon-gpio: add devicetree support.

2013-11-01 Thread Mark Rutland
Hi Neil, While I'm not fundamentally opposed to this binding, I have some issues with its current form and would not want to see this version hit mainline. On Fri, Nov 01, 2013 at 09:50:05AM +, NeilBrown wrote: As this device is not vendor specific, I haven't included any vendor,

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-01 Thread Kishon Vijay Abraham I
Hi Jonas, On Friday 01 November 2013 08:24 PM, Jonas Jensen wrote: The MOXA UC-711X hardware(s) has an ethernet controller that seem to be developed internally. The IC used is RTL8201CP. This patch adds an MDIO driver and also patches realtek to include RTL8201CP PHY driver. Signed-off-by:

[PATCH driver-core-next] sysfs: use generic_file_llseek() for sysfs_file_operations

2013-11-01 Thread Tejun Heo
Hey, Greg. Here's proper patch with description and SOB. I'll be traveling from tomorrow so I might not be responsive for some days. Can you please apply it once Heiko confirms it fixes the issue? Thanks! --- 8 --- 13c589d5b0ac6 (sysfs: use seq_file when reading regular files)

Re: [PATCH driver-core-next] sysfs: use generic_file_llseek() for sysfs_file_operations

2013-11-01 Thread Greg Kroah-Hartman
On Fri, Nov 01, 2013 at 01:16:53PM -0400, Tejun Heo wrote: Hey, Greg. Here's proper patch with description and SOB. I'll be traveling from tomorrow so I might not be responsive for some days. Can you please apply it once Heiko confirms it fixes the issue? Will do. Heiko, let me know if

rcu: Throttle rcu_try_advance_all_cbs() execution causes visible slowdown in ftrace switching

2013-11-01 Thread Petr Mladek
Hi, I am doing some clean up in x86 ftrace code. I check the performance by switching between different tracers and by enabling and disabling them. The operation has started to be much slower after rebasing on the kernel tip tree. Bisecting has shown that the difference was caused by the commit

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-11-01 Thread Fengguang Wu
// Sorry for the late response! I'm in marriage leave these days. :) On Tue, Oct 29, 2013 at 03:42:08PM -0700, Linus Torvalds wrote: On Tue, Oct 29, 2013 at 3:13 PM, Jan Kara j...@suse.cz wrote: So I think we both realize this is only about what the default should be. Yes. Most people

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread Neil Horman
On Fri, Nov 01, 2013 at 04:18:50PM -, David Laight wrote: How would you suggest replacing the jumps in this case? I agree it would be faster here, but I'm not sure how I would implement an increment using a single conditional move. I think you need 3 instructions, move a 0,

Re: stec skd block driver needs updating for immutable biovec

2013-11-01 Thread Mike Snitzer
On Fri, Nov 01 2013 at 12:34pm -0400, Jens Axboe ax...@kernel.dk wrote: On 11/01/2013 10:28 AM, Mike Snitzer wrote: On Fri, Nov 01 2013 at 12:02pm -0400, Jens Axboe ax...@kernel.dk wrote: On 11/01/2013 09:50 AM, Christoph Hellwig wrote: On Fri, Nov 01, 2013 at 11:43:39AM -0400, Mike

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Linus Torvalds
On Fri, Nov 1, 2013 at 7:09 AM, Yuanhan Liu yuanhan@linux.intel.com wrote: Sorry, I may be wrong again this time. But, isn't vma-anon_vma_chain list being protect by mmap_sem page_table_lock? No. The mmap_sem (and the page_table_lock) only protects a single VM instance. The anon_vma

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Davidlohr Bueso
On Fri, 2013-11-01 at 09:01 +0100, Ingo Molnar wrote: * Yuanhan Liu yuanhan@linux.intel.com wrote: Patch 1 turns locking the anon_vma's root to locking itself to let it be a per anon_vma lock, which would reduce contentions. In the same time, lock range becomes quite small then,

Re: [PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-11-01 Thread Oleg Nesterov
On 10/29, Namhyung Kim wrote: +static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n) +{ + struct vm_area_struct *vma; + unsigned long addr = user_stack_pointer(regs); + bool valid = false; + unsigned long ret = 0; + +

Re: [PATCH 2/2] ASoC: wm8962: Add EQ coefficient support

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 10:02:58AM +, Richard Fitzgerald wrote: Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2] ASoC: wm8962: Add ALC coefficient support

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 10:02:10AM +, Richard Fitzgerald wrote: Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 4/4] mm/rmap.c: move anon_vma initialization code into anon_vma_ctor

2013-11-01 Thread Linus Torvalds
On Fri, Nov 1, 2013 at 12:54 AM, Yuanhan Liu yuanhan@linux.intel.com wrote: @@ -67,19 +67,7 @@ static struct kmem_cache *anon_vma_chain_cachep; static inline struct anon_vma *anon_vma_alloc(void) { - struct anon_vma *anon_vma; - - anon_vma =

Re: [PATCH][RESEND 7/8] ASoC: davinci: use gen_pool_dma_alloc() in davinci-pcm.c

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 07:48:20PM +0800, Nicolin Chen wrote: Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Acked-by: Mark Brown broo...@linaro.org signature.asc Description: Digital signature

Re: kernel 3.11.6 general protection fault

2013-11-01 Thread MPhil. Emanoil Kotsev
Hi On Friday 01 November 2013 12:27:55 Borislav Petkov wrote: On Fri, Nov 01, 2013 at 10:18:49AM +0100, MPhil. Emanoil Kotsev wrote: On Thursday 31 October 2013 17:44:03 you wrote: Please do not top-post. Sorry for top posting No probs :). Btw, one more thing: when you reply, make

Re: [PATCH][RESEND 8/8] ASoC: pxa: use gen_pool_dma_alloc() to allocate dma buffer

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 07:48:21PM +0800, Nicolin Chen wrote: Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Acked-by: Mark Brown broo...@linaro.org signature.asc Description: Digital signature

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Linus Torvalds
On Fri, Nov 1, 2013 at 10:49 AM, Davidlohr Bueso davidl...@hp.com wrote: Andrea's last input from this kind of conversion is that it cannot be done (at least yet): https://lkml.org/lkml/2013/9/30/53 No, none of the invalidate_page users really need to sleep. If doing this makes some people not

Re: [PATCH v2] perf tools: Remove cast of non-variadic function to variadic

2013-11-01 Thread Michael Hudson-Doyle
Arnaldo Carvalho de Melo a...@redhat.com writes: Em Thu, Oct 31, 2013 at 04:47:45PM -0700, Michael Hudson-Doyle escreveu: -int percent_color_snprintf(char *bf, size_t size, const char *fmt, double percent) +int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) { -

Re: [PATCH v3] ASoC: Add pinctrl PM to components of active DAIs

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 08:16:15PM +0800, Nicolin Chen wrote: It's quite popular that more drivers are using pinctrl PM, for example: (Documentation/devicetree/bindings/arm/primecell.txt). Just like what runtime PM does, it would de-active and en-active pin group depending on whether it's

Re: [PATCH] of: Add vendor prefix for Cadence

2013-11-01 Thread Rob Herring
On 11/01/2013 10:42 AM, Soren Brinkmann wrote: Drivers like clocksource/cadence_ttc and net/macb already use the 'cdns' prefix for Cadence IP. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1

Re: [PATCH v7] clk: add MOXA ART SoCs clock driver

2013-11-01 Thread Sylwester Nawrocki
Hi Jonas, On 10/09/2013 04:54 PM, Jonas Jensen wrote: This patch adds MOXA ART SoCs clock driver support. Signed-off-by: Jonas Jensenjonas.jen...@gmail.com --- Notes: Since last version, Adam Jaremko has been helping providing info on the clock registers and the SoC in general. He's

Re: [PATCH] cpufreq: ondemand: Remove redundant return statement

2013-11-01 Thread Stratos Karafotis
On 11/01/2013 02:18 AM, Rafael J. Wysocki wrote: On Friday, November 01, 2013 12:09:16 AM Viresh Kumar wrote: On 31 October 2013 23:57, Stratos Karafotis strat...@semaphore.gr wrote: After commit dfa5bb622555d9da0df21b50f46ebdeef390041b cpufreq: ondemand: Change the calculation of target

Re: [RFC 4/9] of/irq: Refactor interrupt-map parsing

2013-11-01 Thread Grant Likely
On Thu, 31 Oct 2013 11:57:14 -0700, Olof Johansson o...@lixom.net wrote: On Wed, Oct 30, 2013 at 02:25:21PM -0700, Grant Likely wrote: (Sorry for HTML mail) Can you put #define DEBUG at the top of drivers/of/irq.c and send me the log output from before and after the commit? Here you

Re: linux-next: Tree for Nov 1 (xen_swiotllb)

2013-11-01 Thread Randy Dunlap
On 11/01/13 01:11, Stephen Rothwell wrote: Hi all, Changes since 20131031: The squashfs tree gained a build failure so I used the version from next-20131031. The block tree gained conflicts against the f2fs, aio-direct and Linus' trees and a build failure and generated several warnings

Re: Strange location and name for platform devices when device-tree is used.

2013-11-01 Thread Grant Likely
On Fri, 01 Nov 2013 16:08:36 +1100, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Fri, 2013-11-01 at 16:03 +1100, NeilBrown wrote: Do you mean we could allow multiple devices on the one bus to have the same name, but get sysfs to notice and de-duplicate by mangling one name? I

Re: linux-next: Tree for Oct 31 (crypto, rsa, mpi)

2013-11-01 Thread Randy Dunlap
On 11/01/13 08:16, David Howells wrote: Randy Dunlap rdun...@infradead.org wrote: crypto/built-in.o: In function `RSA_verify_signature': rsa.c:(.text+0x1d347): undefined reference to `mpi_get_nbits' rsa.c:(.text+0x1d354): undefined reference to `mpi_get_nbits' ... Does the attached patch

Re: [PATCH -v2 -tip] fix race between stop_two_cpus and stop_cpus

2013-11-01 Thread Prarit Bhargava
On 11/01/2013 10:47 AM, Mel Gorman wrote: On Fri, Nov 01, 2013 at 10:41:46AM -0400, Rik van Riel wrote: Subject: fix race between stop_two_cpus and stop_cpus There is a race between stop_two_cpus, and the global stop_cpus. It is possible for two CPUs to get their stopper functions queued

Re: [PATCHv2 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 03:04:48PM +0800, Xiubo Li wrote: +static int fsl_sai_set_dai_clkdiv(struct snd_soc_dai *cpu_dai, + int div_id, int div) +{ + struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); + u32 tcr2, rcr2; + + if (div_id == FSL_SAI_TX_DIV) { +

Re: [Suggestion] about latest commit for scripts/get_maintainers.pl

2013-11-01 Thread Joe Perches
On Fri, 2013-11-01 at 19:20 +0800, Chen Gang wrote: Hello Joe: Hello Chen Gang. I meet a failure about scripts/get_maintainers.pl, it is about the commit 750432d get_maintainer.pl incomplete output, if use original scripts/get_maintainer.pl, it will be OK. Please help check, thanks. I

Re: [PATCHv2 6/8] ASoC: fsl: add SGTL5000 based audio machine driver.

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 03:04:53PM +0800, Xiubo Li wrote: Conflicts: sound/soc/fsl/Makefile Ahem. + /* TODO: The SAI driver should figure this out for us */ + switch (channels) { + case 2: + snd_soc_dai_set_tdm_slot(cpu_dai, 0xfffc, 0xfffc, 2, 0); +

Re: [PATCH driver-core-next] sysfs: use generic_file_llseek() for sysfs_file_operations

2013-11-01 Thread Heiko Carstens
On Fri, Nov 01, 2013 at 10:19:13AM -0700, Greg Kroah-Hartman wrote: On Fri, Nov 01, 2013 at 01:16:53PM -0400, Tejun Heo wrote: Hey, Greg. Here's proper patch with description and SOB. I'll be traveling from tomorrow so I might not be responsive for some days. Can you please apply it

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Michel Lespinasse
On Fri, Nov 1, 2013 at 11:09 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Nov 1, 2013 at 10:49 AM, Davidlohr Bueso davidl...@hp.com wrote: Andrea's last input from this kind of conversion is that it cannot be done (at least yet): https://lkml.org/lkml/2013/9/30/53 No, none

Re: [PATCHv2 5/8] ASoC: SGTL5000: Enhance the SGTL5000 codec driver about regulator.

2013-11-01 Thread Mark Brown
On Fri, Nov 01, 2013 at 03:04:52PM +0800, Xiubo Li wrote: On VF610 series there are no regulators used, and now whether the CONFIG_REGULATOR mirco is enabled or not, for the VF610 audio patch series, the board cannot be probe successfully. And this patch will solve this issue. I don't

Re: [PATCH linux-next V2] cifs: Make big endian multiplex ID sequences monotonic on the wire

2013-11-01 Thread Steve French
This has a couple of obvious endian errors. I will correct your patch and remerge into cifs-2.6.git for-next Please always remember to run endian checks against cifs builds when submitting a patch (and make sure sparse is installed) e.g. make C=1 M=fs/cifs modules CF=-D__CHECK_ENDIAN__ diff

Re: [RFC 4/9] of/irq: Refactor interrupt-map parsing

2013-11-01 Thread Grant Likely
On Fri, 01 Nov 2013 10:53:17 -0700, Grant Likely grant.lik...@linaro.org wrote: On Thu, 31 Oct 2013 11:57:14 -0700, Olof Johansson o...@lixom.net wrote: On Wed, Oct 30, 2013 at 02:25:21PM -0700, Grant Likely wrote: (Sorry for HTML mail) Can you put #define DEBUG at the top of

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Linus Torvalds
On Fri, Nov 1, 2013 at 11:47 AM, Michel Lespinasse wal...@google.com wrote: Should copy Andrea on this. I talked with him during KS, and there are no current in-tree users who are doing such sleeping; however there are prospective users for networking (RDMA) or GPU stuff who want to use this

Re: [PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Tony Luck
+static u64 efi_generate_id(unsigned long timestamp, unsigned int part, int count) I don't think the efi_ prefix is needed here. For one thing the function is static, so no name space pollution worries. For another - it makes it look like this is some thing defined in EFI standard. If

Re: [PATCH net-next RFC 0/5] xen-netback: TX grant mapping instead of copy

2013-11-01 Thread Zoltan Kiss
On 01/11/13 10:50, Ian Campbell wrote: Does this always avoid copying when bridging/openvswitching/forwarding (e.g. masquerading etc)? For both domU-domU and domU-physical NIC? I've tested the domU-domU, domU-physical with bridge and openvswitch usecase, and now I've created a new stat counter

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread KOSAKI Motohiro
(11/1/13 3:54 AM), Yuanhan Liu wrote: Patch 1 turns locking the anon_vma's root to locking itself to let it be a per anon_vma lock, which would reduce contentions. In the same time, lock range becomes quite small then, which is bascially a call of anon_vma_interval_tree_insert(). Patch 2

Re: [PATCH linux-next V2] cifs: Make big endian multiplex ID sequences monotonic on the wire

2013-11-01 Thread Tim Gardner
On 11/01/2013 11:50 AM, Steve French wrote: This has a couple of obvious endian errors. I will correct your patch and remerge into cifs-2.6.git for-next Please always remember to run endian checks against cifs builds when submitting a patch (and make sure sparse is installed) e.g.

Re: [RFC 4/9] of/irq: Refactor interrupt-map parsing

2013-11-01 Thread Stephen Warren
On 11/01/2013 11:53 AM, Grant Likely wrote: On Thu, 31 Oct 2013 11:57:14 -0700, Olof Johansson o...@lixom.net wrote: On Wed, Oct 30, 2013 at 02:25:21PM -0700, Grant Likely wrote: (Sorry for HTML mail) Can you put #define DEBUG at the top of drivers/of/irq.c and send me the log output from

Re: [PATCH v2 17/15] slab: replace non-existing 'struct freelist *' with 'void *'

2013-11-01 Thread Christoph Lameter
On Wed, 30 Oct 2013, Joonsoo Kim wrote: There is no 'strcut freelist', but codes use pointer to 'struct freelist'. Although compiler doesn't complain anything about this wrong usage and codes work fine, but fixing it is better. I think its better to avoid void when possible. struct freelist

[PATCH] memcg: remove incorrect underflow check

2013-11-01 Thread Hugh Dickins
From: Greg Thelen gthe...@google.com When a memcg is deleted mem_cgroup_reparent_charges() moves charged memory to the parent memcg. As of v3.11-9444-g3ea67d0 memcg: add per cgroup writeback pages accounting there's bad pointer read. The goal was to check for counter underflow. The counter is

RE: [PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Seiji Aguchi
+{ + char id_str[64]; + u64 id = 0; + + sprintf(id_str, %lu%u%d, timestamp, part, count); + if (kstrtoull(id_str, 10, id)) + pr_warn(efi-pstore: failed to generate id\n); + return id; +} This is just odd. You make a string from

Re: [PATCH] drivers: w1: make w1_slave::flags long to avoid casts

2013-11-01 Thread Andrew Morton
On Fri, 01 Nov 2013 20:01:39 +0400 Evgeniy Polyakov z...@ioremap.net wrote: Now that I look at documentation, I think you are correct, but the problem is on big-endian 64-bit architectures. __The fix is still valid, but the commit message not so much. __Something along the lines of the

[PATCH] PCI: warn on driver probe return value greater than zero

2013-11-01 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Ages ago, drivers could return values greater than zero from their probe function and this would be regarded as success. Commit f3ec4f87d607f40497 PCI: change device runtime PM settings for probe and remove slightly altered this in 2010, and

Re: linux-next: Tree for Oct 30 (include/xen/swiotlb-xen.h)

2013-11-01 Thread Konrad Rzeszutek Wilk
On Wed, Oct 30, 2013 at 11:44:51AM -0700, Randy Dunlap wrote: On 10/30/13 00:45, Stephen Rothwell wrote: Hi all, News: I am now doing an arm multi_v7_defconfig build between each merge. Changes since 20131029: The arm defconfig build is fixed again. The net-next tree gained

Re: linux-next: Tree for Nov 1 (xen_swiotllb)

2013-11-01 Thread Konrad Rzeszutek Wilk
On Fri, Nov 01, 2013 at 11:16:26AM -0700, Randy Dunlap wrote: On 11/01/13 01:11, Stephen Rothwell wrote: Hi all, Changes since 20131031: The squashfs tree gained a build failure so I used the version from next-20131031. The block tree gained conflicts against the f2fs,

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread Joe Perches
On Fri, 2013-11-01 at 13:37 -0400, Neil Horman wrote: I think it would be better if we just did the prefetch here and re-addressed this area when AVX (or addcx/addox) instructions were available for testing on hardware. Could there be a difference if only a single software prefetch was done

<    5   6   7   8   9   10   11   12   13   >