Re: [PATCH 3.15 000/122] 3.15.5-stable review

2014-07-12 Thread Guenter Roeck
On 07/08/2014 06:26 AM, Guenter Roeck wrote: On 07/07/2014 04:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.5 release. There are 122 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being

Re: [PATCH v3] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-12 Thread Brian Norris
Hi Bean, I see that you have sent this several times in a relatively short period, and I see that there are several comments you haven't addressed [1] [2]. It is very difficult for me to apply your patch. It seems to be an invalid patch (I think the line counts are wrong), so it doesn't apply

Re: [PATCH v3] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-12 Thread Brian Norris
On Fri, Jul 11, 2014 at 11:30:41PM -0700, Brian Norris wrote: I see that you have sent this several times in a relatively short period, and I see that there are several comments you haven't addressed [1] [2]. Wow, and I just noticed there are 3 more recent copies of this patch, with as few as

Re: [PATCH char-misc-next v3 2/8] misc: mic: add a bus driver for virtual MIC devices

2014-07-12 Thread Sudeep Dutt
On Fri, 2014-07-11 at 18:31 -0700, Greg Kroah-Hartman wrote: On Fri, Jul 11, 2014 at 06:27:20PM -0700, Greg Kroah-Hartman wrote: On Fri, Jul 11, 2014 at 02:04:20PM -0700, Sudeep Dutt wrote: This MIC virtual bus driver takes the responsibility of creating all the virtual devices connected

LOAN OFFER

2014-07-12 Thread Eric Donald
I am Eric Donald a private lender located in USA.I can help you with a loan you are looking for @ 2% interest rate,For Urgent Response Email: ericdonaldloanof...@gmail.com Eric Donald. Email: ericdonaldloanof...@gmail.com Telephone:(203)-307-0871 -- To unsubscribe from this list: send the

[PATCH v2 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
Make use of lists instead of kfifo in order to dynamically allocate task entry when someone require some delayed work, and thus preventing drm_flip_work_queue from directly calling func instead of queuing this call. This allow drm_flip_work_queue to be safely called even within irq handlers. Add

[PATCH v2 0/2] drm: rework flip-work framework

2014-07-12 Thread Boris BREZILLON
Hello, This patch series reworks the flip-work framework to make it safe when calling drm_flip_work_queue from atomic contexts. The 2nd patch of this series is optional, as it only reworks drm_flip_work_init prototype to remove unneeded size argument and return code (this function cannot fail

[PATCH v2 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-07-12 Thread Boris BREZILLON
Now that we're using lists instead of kfifo to store drm flip-work tasks we do not need the size parameter passed to drm_flip_work_init function anymore. Moreover this function cannot fail anymore, we can thus remove the return code. Modify drm_flip_work_init users to take account of these

Re: [PATCH] thunderbolt: Use kcalloc

2014-07-12 Thread Andreas Noever
On Fri, Jul 11, 2014 at 9:42 PM, Himangi Saraogi himangi...@gmail.com wrote: The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Himangi Saraogi

Re: [PATCH v2 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
On Sat, 12 Jul 2014 09:00:08 +0200 Boris BREZILLON boris.brezil...@free-electrons.com wrote: Make use of lists instead of kfifo in order to dynamically allocate task entry when someone require some delayed work, and thus preventing drm_flip_work_queue from directly calling func instead of

Re: [RESEND PATCH v2 4/5] kvm: Remove ept_identity_pagetable from struct kvm_arch.

2014-07-12 Thread Gleb Natapov
On Wed, Jul 09, 2014 at 10:08:03AM +0800, Tang Chen wrote: kvm_arch-ept_identity_pagetable holds the ept identity pagetable page. But it is never used to refer to the page at all. In vcpu initialization, it indicates two things: 1. indicates if ept page is allocated 2. indicates if a memory

Re: [PATCH v2 5/5] kvm, mem-hotplug: Do not pin apic access page in memory.

2014-07-12 Thread Gleb Natapov
On Tue, Jul 08, 2014 at 09:01:32PM +0800, Tang Chen wrote: apic access page is pinned in memory. As a result, it cannot be migrated/hot-removed. Actually, it is not necessary to be pinned. The hpa of apic access page is stored in VMCS APIC_ACCESS_ADDR pointer. When the page is migrated,

Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch

2014-07-12 Thread Greg KH
On Fri, Jul 11, 2014 at 06:57:24PM -0700, Joe Perches wrote: On Fri, 2014-07-11 at 18:53 -0700, Greg KH wrote: On Fri, Jul 11, 2014 at 06:21:27PM -0700, Joe Perches wrote: A simple script to run checkpatch --fix for various types of of cleanups. [] Anyway, try running this script on

Re: [patch 54/55] timekeeping: Provide fast and NMI safe access to CLOCK_MONOTONIC[_RAW]

2014-07-12 Thread Thomas Gleixner
On Fri, 11 Jul 2014, Mathieu Desnoyers wrote: - Original Message - From: Thomas Gleixner t...@linutronix.de To: LKML linux-kernel@vger.kernel.org Cc: John Stultz john.stu...@linaro.org, Peter Zijlstra pet...@infradead.org, Steven Rostedt rost...@goodmis.org, Mathieu Desnoyers

Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch

2014-07-12 Thread Greg KH
On Fri, Jul 11, 2014 at 06:21:27PM -0700, Joe Perches wrote: A simple script to run checkpatch --fix for various types of of cleanups. This script is useful primarily for staging. This reformats code to a more CodingStyle conforming style, compiles it, verifies that the object code hasn't

[PATCH] libata: handle IDE AMNF errors in the EH path

2014-07-12 Thread Alexey Asemov
libata-eh.c should handle AMNF error condition (error byte bit 0, usually code 0x01) in libata-eh.c along with UNC as a media error so SCSI stack can handle it properly (translation code 0x01 is already present in libata-scsi.c) but was never passed down due to lack of handling in EH.

Re: [PATCH 2/2] x86_64,signal: Remove 'fs' and 'gs' from sigcontext

2014-07-12 Thread Andy Lutomirski
On Jul 11, 2014 7:21 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Jul 11, 2014 at 9:29 AM, Andy Lutomirski l...@amacapital.net wrote: As far as I can tell, these fields have been set to zero on save and ignored on restore since Linux was imported into git. Rename them

Re: [PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-12 Thread Christian König
Am 11.07.2014 18:22, schrieb Alex Deucher: On Fri, Jul 11, 2014 at 12:18 PM, Christian König christian.koe...@amd.com wrote: Am 11.07.2014 18:05, schrieb Jerome Glisse: On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: To support HSA on KV, we need to limit the number of vmids and

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-12 Thread Jean Delvare
Hi Guenter, On Tue, 08 Jul 2014 13:05:41 -0700, Guenter Roeck wrote: On 07/08/2014 12:54 PM, Jean Delvare wrote: Just one thing I have been thinking about while reviewing the updated code... You decided to make the first SMBus block write select the maximum block length, and you always use

Re: i915: reduce noise from i915_gem_shrinker_oom when no memory freed.

2014-07-12 Thread Daniel Vetter
On Fri, Jul 11, 2014 at 07:11:43AM +0100, Chris Wilson wrote: On Thu, Jul 10, 2014 at 11:05:05PM -0400, Dave Jones wrote: When the shrinker doesn't free any memory, don't spew over and over into the logs. My fuzz tester hits this quite easily, resulting in dozens of instances of this

Re: [PATCH v4 6/7] sched: add function nr_running_cpu to expose number of tasks running on cpu

2014-07-12 Thread Kirill Tkhai
On 12.07.2014 00:33, Tim Chen wrote: This function will help a thread decide if it wants to to do work that can be delayed, to accumulate more tasks for more efficient batch processing later. However, if no other tasks are running on the cpu, it can take advantgae of the available cpu

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-12 Thread Christian König
Am 11.07.2014 23:18, schrieb Jerome Glisse: On Thu, Jul 10, 2014 at 10:51:29PM +, Gabbay, Oded wrote: On Thu, 2014-07-10 at 18:24 -0400, Jerome Glisse wrote: On Fri, Jul 11, 2014 at 12:45:27AM +0300, Oded Gabbay wrote: This patch set implements a Heterogeneous System Architecture (HSA)

[PATCH] fb: backlight: add driver for iPAQ micro backlight

2014-07-12 Thread Linus Walleij
This adds a driver for the backlight controlled by the microcontroller on the Compaq iPAQ series of handheld computers: h3100, h3600 and h3700. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/video/backlight/Kconfig | 9 drivers/video/backlight/Makefile|

Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch

2014-07-12 Thread Dan Carpenter
On Fri, Jul 11, 2014 at 06:40:16PM -0700, Joe Perches wrote: On Fri, 2014-07-11 at 18:34 -0700, Greg KH wrote: On Fri, Jul 11, 2014 at 06:21:27PM -0700, Joe Perches wrote: A simple script to run checkpatch --fix for various types of of cleanups. This script is useful primarily for

[PATCH] power: add driver for battery reading on iPaq h3xxx

2014-07-12 Thread Linus Walleij
From: Dmitry Artamonow mad_s...@inbox.ru This adds a driver for reading the battery status of the battery connected to the Atmel microcontroller on the iPAQ h3xxx series. Based on a driver from handhelds.org 2.6.21 kernel, written by Alessandro GARDICH. Signed-off-by: Dmitry Artamonow

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-12 Thread Will Deacon
Hi Rob, On Fri, Jul 11, 2014 at 09:55:14PM +0100, Rob Clark wrote: On Fri, Jul 4, 2014 at 11:29 AM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com ok, so I was working through this to try to convert my {qcom,msm}-iommu-v0 RFC over to using these

Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch

2014-07-12 Thread Joe Perches
On Sat, 2014-07-12 at 01:18 -0700, Greg KH wrote: On Fri, Jul 11, 2014 at 06:21:27PM -0700, Joe Perches wrote: A simple script to run checkpatch --fix for various types of of cleanups. [] I did the following: $ scripts/reformat_with_checkpatch.sh drivers/base/bus.c Ignore the first set

Re: [Intel-gfx] [Xen-devel] [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-07-12 Thread Daniel Vetter
On Fri, Jul 11, 2014 at 08:30:59PM +, Tian, Kevin wrote: From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] Sent: Friday, July 11, 2014 12:42 PM On Fri, Jul 11, 2014 at 08:29:56AM +0200, Daniel Vetter wrote: On Thu, Jul 10, 2014 at 09:08:24PM +, Tian, Kevin wrote:

Re: [PATCH v7 0/4] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X)

2014-07-12 Thread Russell King - ARM Linux
On Mon, Jun 30, 2014 at 12:30:51PM +0100, Daniel Thompson wrote: This patchset removes some single-platform compatibility tricks related to DEBUG_LL and, as a result, allows multi_v7_defconfig derived builds to enable DEBUG_LL. Currently the user selected kbuild setting is ignored and the

[PATCH v2] drivers: tty: Merge alloc_tty_struct and initialize_tty_struct

2014-07-12 Thread Rasmus Villemoes
The two functions alloc_tty_struct and initialize_tty_struct are always called together. Merge them into alloc_tty_struct, updating its prototype and the only two callers of these functions. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- I hope this is sufficient. Thanks, Dan and

[PATCH v2] ARM: Fix preemption disable in iwmmxt_task_enable()

2014-07-12 Thread Sebastian Hesselbarth
commit 431a84b1a4f7d1a0085d5b91330c5053cc8e8b12 (ARM: 8034/1: Disable preemption in iwmmxt_task_enable()) introduced macros {inc,dec}_preempt_count to iwmmxt_task_enable to make it run with preemption disabled. Unfortunately, other functions in iwmmxt.S also use concan_{save,dump,load} sections

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-12 Thread Daniel Vetter
On Sat, Jul 12, 2014 at 11:24:49AM +0200, Christian König wrote: Am 11.07.2014 23:18, schrieb Jerome Glisse: On Thu, Jul 10, 2014 at 10:51:29PM +, Gabbay, Oded wrote: On Thu, 2014-07-10 at 18:24 -0400, Jerome Glisse wrote: On Fri, Jul 11, 2014 at 12:45:27AM +0300, Oded Gabbay wrote:

Re: [PATCH v7 0/4] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X)

2014-07-12 Thread Russell King - ARM Linux
On Sat, Jul 12, 2014 at 11:16:02AM +0100, Russell King - ARM Linux wrote: On Mon, Jun 30, 2014 at 12:30:51PM +0100, Daniel Thompson wrote: This patchset removes some single-platform compatibility tricks related to DEBUG_LL and, as a result, allows multi_v7_defconfig derived builds to enable

[f2fs-dev][PATCH] f2fs: support -rename2()

2014-07-12 Thread Chao Yu
Now new interface -rename2() is added to VFS, here are related description: https://lkml.org/lkml/2014/2/7/873 https://lkml.org/lkml/2014/2/7/758 This patch adds function f2fs_rename2() to support -rename2() including handling both RENAME_EXCHANGE and RENAME_NOREPLACE flag. Signed-off-by: Chao

[PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-12 Thread Alexander Gordeev
There are no archs that override arch_msi_check_device() hook. Remove it as it is completely redundant. If an arch would need to check MSI/MSI-X possibility for a device it should make it within arch_setup_msi_irqs() hook. Cc: linuxppc-...@lists.ozlabs.org Cc: linux-...@vger.kernel.org

[PATCH 0/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-12 Thread Alexander Gordeev
Hello, This is a cleanup effort to get rid of useless arch_msi_check_device(). I am not sure what were the reasons for its existence in the first place, but at the moment it appears totally unnecessary. Thanks! Cc: linuxppc-...@lists.ozlabs.org Cc: linux-...@vger.kernel.org Alexander Gordeev

[PATCH 1/2] PCI/MSI/PPC: Remove arch_msi_check_device()

2014-07-12 Thread Alexander Gordeev
PowerPC is the only architecture that makes use of hook arch_msi_check_device() and does perform some checks to figure out if MSI/MSI-X could be enabled for a device. However, there are no reasons why those checks could not be done within arch_setup_msi_irqs() hook. Moving MSI checks into

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-12 Thread Rob Clark
On Sat, Jul 12, 2014 at 5:39 AM, Will Deacon will.dea...@arm.com wrote: Hi Rob, On Fri, Jul 11, 2014 at 09:55:14PM +0100, Rob Clark wrote: On Fri, Jul 4, 2014 at 11:29 AM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com ok, so I was working through

[PATCH 3/7] powerpc/powernv: replace sscanf %lx by kstrtoul 16

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/platforms/powernv/subcore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/powernv/subcore.c

[PATCH 0/7] arch/powerpc: convert single variable sscanf to kstrtotype

2014-07-12 Thread Fabian Frederick
Here is a small untested patchset to use the current string manipulation kstrtotype functions instead of sscanf like specified in checkpatch: Prefer kstrtotype to single variable sscanf autodetect base 0 has been used for both %d, %i, %ld, %lu, %u and base 16 for %lx Fabian Frederick (7):

[PATCH 1/7] powerpc: fadump: replace sscanf by kstrtoint

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/kernel/fadump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index

[PATCH 2/7] powerpc/mv64x60_pci: replace sscanf by kstrtou32

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/sysdev/mv64x60_pci.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/mv64x60_pci.c

[PATCH 4/7] powerpc/sysfs: replace sscanf by kstrtol

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/kernel/sysfs.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index

[PATCH 7/7] powerpc/pseries: replace sscanf by kstrtoul

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/platforms/pseries/power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/pseries/power.c

[PATCH 5/7] hugetlb: replace sscanf by kstrtoul

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/mm/hugetlbpage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index

Re: [PATCH v2 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Rob Clark
On Sat, Jul 12, 2014 at 3:00 AM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Make use of lists instead of kfifo in order to dynamically allocate task entry when someone require some delayed work, and thus preventing drm_flip_work_queue from directly calling func instead of queuing

[PATCH 6/7] powerpc/cell: replace sscanf by kstrtouint

2014-07-12 Thread Fabian Frederick
See checkpatch warning Prefer kstrtotype to single variable sscanf Signed-off-by: Fabian Frederick f...@skynet.be --- arch/powerpc/platforms/cell/cbe_thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/cell/cbe_thermal.c

Re: [PATCH] clk: qcom: Support bypass RCG configuration

2014-07-12 Thread Rob Clark
On Fri, Jul 11, 2014 at 4:01 PM, Stephen Boyd sb...@codeaurora.org wrote: In the case of HDMI clocks, we want to bypass the RCG's ability to divide the output clock and pass through the parent HDMI PLL rate through. Add a simple set of clk_ops to configure the RCG to do this. This removes the

Re: [RFC PATCH 1/1] rcu: use atomic_read(v) instead of atomic_add_return(0, v)

2014-07-12 Thread Paul E. McKenney
On Fri, Jul 11, 2014 at 06:32:17PM -0400, Pranith Kumar wrote: On Fri, Jul 11, 2014 at 5:43 AM, Paul E. McKenney wrote: On Thu, Jul 10, 2014 at 09:17:33PM -0400, Pranith Kumar wrote: On Wed, Jul 9, 2014 at 3:56 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: snip OK, so

Re: [PATCH] pci: Add include guard to include/linux/pci_ids.h

2014-07-12 Thread Rasmus Villemoes
Bjorn Helgaas bhelg...@google.com writes: On Thu, Jul 10, 2014 at 02:05:11PM +0200, Rasmus Villemoes wrote: Adding an include guard frees the preprocessor from reparsing over 2600 #defines in the cases where pci_ids.h is somehow included more than once. This gives a tiny-but-measurable

[PATCH v2] f2fs: Add f2fs_balance_fs for direct IO

2014-07-12 Thread Huang Ying
Otherwise, if a large amount of direct IO writes were done, the segment allocation may be failed because no enough segments are gced. Changes: v2: add f2fs_balance_fs into __get_data_block instead of f2fs_direct_IO. Signed-off-by: Huang, Ying ying.hu...@intel.com --- fs/f2fs/data.c |4 +++-

Re: [patch 36/55] misc: ioc4: Use ktime_get_ns()

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Thomas Gleixner wrote: Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(ts); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Arnd Bergmann a...@arndb.de Cc: Greg Kroah-Hartman

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Jassi Brar wrote: + + This document aims to help developers write client and controller +drivers for the API. But before we start, let us note that the +client (especially) and controller drivers are likely going to be +very platform specific because the remote

Re: [PATCH v2] drivers: tty: Merge alloc_tty_struct and initialize_tty_struct

2014-07-12 Thread Dan Carpenter
On Sat, Jul 12, 2014 at 12:55:51PM +0200, Rasmus Villemoes wrote: The two functions alloc_tty_struct and initialize_tty_struct are always called together. Merge them into alloc_tty_struct, updating its prototype and the only two callers of these functions. Signed-off-by: Rasmus Villemoes

Re: [patch 33/55] powerpc: cell: Use ktime_get_ns()

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Thomas Gleixner wrote: Replace the ever recurring: ts = ktime_get_ts(); ns = timespec_to_ns(ts); with ns = ktime_get_ns(); Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Arnd Bergmann a...@arndb.de Acked-by: Arnd Bergmann

Re: [patch 47/55] hangcheck-timer: Use ktime_get_raw_ns()

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Thomas Gleixner wrote: Use the nanoseconds based interface instead of converting timespecs. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Arnd Bergmann a...@arndb.de Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Arnd Bergmann a...@arndb.de -- To

Re: [PATCHv8 1/2] mailbox: rename pl320-ipc specific mailbox.h

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Jassi Brar wrote: From: Suman Anna s-a...@ti.com The patch 30058677 ARM / highbank: add support for pl320 IPC added a pl320 IPC specific header file as a generic mailbox.h. This file has been renamed appropriately to allow the introduction of the generic mailbox API

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-12 Thread Arnd Bergmann
On Saturday 12 July 2014, Rob Clark wrote: Was there actually a good reason for having the device link to the iommu rather than the other way around? How much would people hate it if I just ignore the generic bindings and use something that works for me instead. I mean, it isn't exactly

Re: [PATCH 1/1] drivers/base/dma-buf.c: replace dma_buf_uninit_debugfs by debugfs_remove_recursive

2014-07-12 Thread Fabian Frederick
On 10 July 2014 at 02:34 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Jun 27, 2014 at 10:32:10PM +0200, Fabian Frederick wrote: null test before debugfs_remove_recursive is not needed so one line function dma_buf_uninit_debugfs can be removed. This patch calls

Re: [PATCH v2 2/3] ARM: Use include/asm-generic/io.h

2014-07-12 Thread Arnd Bergmann
On Friday 11 July 2014, Catalin Marinas wrote: On Fri, Jul 11, 2014 at 04:31:11PM +0100, Thierry Reding wrote: diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index a78562f21aab..ef54f5c8a7ae 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h

Re: [RFC Patch V1 01/30] mm, kernel: Use cpu_to_mem()/numa_mem_id() to support memoryless node

2014-07-12 Thread Jens Axboe
On 2014-07-11 09:37, Jiang Liu wrote: When CONFIG_HAVE_MEMORYLESS_NODES is enabled, cpu_to_node()/numa_node_id() may return a node without memory, and later cause system failure/panic when calling kmalloc_node() and friends with returned node id. So use cpu_to_mem()/numa_mem_id() instead to get

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-12 Thread Rob Clark
On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 12 July 2014, Rob Clark wrote: Was there actually a good reason for having the device link to the iommu rather than the other way around? How much would people hate it if I just ignore the generic bindings and

[PATCH v4] crypto: Add Allwinner Security System crypto accelerator

2014-07-12 Thread LABBE Corentin
Hello This is the driver for the Security System included in Allwinner SoC A20. The Security System (SS for short) is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on others Allwinner SoC: - A10s and A31 diagram speak about it with

[PATCH v4 1/3] ARM: sun7i: dt: Add Security System to A20 SoC DTS

2014-07-12 Thread LABBE Corentin
The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on many Allwinner SoC. This patch enable the Security System on the Allwinner A20 SoC Device-tree. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com ---

[PATCH v4 2/3] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System

2014-07-12 Thread LABBE Corentin
This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com --- Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 + 1 file changed, 9 insertions(+) create mode 100644

[PATCH v4 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-07-12 Thread LABBE Corentin
Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin clabbe.montj...@gmail.com --- drivers/crypto/Kconfig| 17 ++

Re: linux-next: build failure after merge of the tty.current tree

2014-07-12 Thread Peter Hurley
On 07/11/2014 09:20 PM, Stephen Rothwell wrote: Hi Peter, On Fri, 11 Jul 2014 11:06:56 -0400 Peter Hurley pe...@hurleysoftware.com wrote: Sorry about that. I don't have a full cross-compiler setup for build testing. Looks like that's something I'm going to have to add. see

Re: [PATCH] serial: imx: Fix build breakage

2014-07-12 Thread Peter Hurley
On 07/11/2014 10:00 PM, Randy Dunlap wrote: On 07/11/14 17:42, Greg Kroah-Hartman wrote: On Thu, Jul 10, 2014 at 10:36:46PM -0400, Peter Hurley wrote: Fix breakage introduced by commit c557d392fbf5badd693ea1946a4317c87a26a716, 'serial: Test for no tx data on tx restart'. Signed-off-by: Peter

[PATCH] cpuidle: fix permission for driver name sysfs node

2014-07-12 Thread Mohammad Merajul Islam Molla
cpuidle driver name sysfs node is read-only. So permission should be 0444. Signed-off-by: Mohammad Merajul Islam Molla meraj.eni...@gmail.com --- drivers/cpuidle/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c index

Re: [PATCH block/for-linus] blkcg: don't call into policy draining if root_blkg is already gone

2014-07-12 Thread Shirish Pargaonkar
On Sat, 2014-07-05 at 18:43 -0400, Tejun Heo wrote: While a queue is being destroyed, all the blkgs are destroyed and its -root_blkg pointer is set to NULL. If someone else starts to drain while the queue is in this state, the following oops happens. NULL pointer dereference at

Re: [patch 54/55] timekeeping: Provide fast and NMI safe access to CLOCK_MONOTONIC[_RAW]

2014-07-12 Thread Mathieu Desnoyers
- Original Message - From: Thomas Gleixner t...@linutronix.de To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: LKML linux-kernel@vger.kernel.org, John Stultz john.stu...@linaro.org, Peter Zijlstra pet...@infradead.org, Steven Rostedt rost...@goodmis.org Sent: Saturday, July

[PATCH v3 0/2] drm: rework flip-work framework

2014-07-12 Thread Boris BREZILLON
Hello, This patch series reworks the flip-work framework to make it safe when calling drm_flip_work_queue from atomic contexts. The 2nd patch of this series is optional, as it only reworks drm_flip_work_init prototype to remove unneeded size argument and return code (this function cannot fail

[PATCH v3 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-07-12 Thread Boris BREZILLON
Make use of lists instead of kfifo in order to dynamically allocate task entry when someone require some delayed work, and thus preventing drm_flip_work_queue from directly calling func instead of queuing this call. This allow drm_flip_work_queue to be safely called even within irq handlers. Add

[PATCH v3 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-07-12 Thread Boris BREZILLON
Now that we're using lists instead of kfifo to store drm flip-work tasks we do not need the size parameter passed to drm_flip_work_init function anymore. Moreover this function cannot fail anymore, we can thus remove the return code. Modify drm_flip_work_init users to take account of these

Re: [PATCH 1/1] rcutorture: set executable bit and drop bash from Usage

2014-07-12 Thread Josh Triplett
On Fri, Jul 11, 2014 at 07:47:35PM -0400, Pranith Kumar wrote: This patch is on top of the previous changes. Set the executable bit on test scripts config2frag.sh and kvm.sh Since #!/bin/bash is set in all the scripts, drop it from the usage line as the scripts can be invoked directly.

Re: [PATCH v2 2/3] ARM: Use include/asm-generic/io.h

2014-07-12 Thread Catalin Marinas
On 12 Jul 2014, at 13:27, Arnd Bergmann a...@arndb.de wrote: On Friday 11 July 2014, Catalin Marinas wrote: On Fri, Jul 11, 2014 at 04:31:11PM +0100, Thierry Reding wrote: diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index a78562f21aab..ef54f5c8a7ae 100644 ---

Re: [PATCH v4 6/7] sched: add function nr_running_cpu to expose number of tasks running on cpu

2014-07-12 Thread Tadeusz Struk
On 07/11/2014 01:33 PM, Tim Chen wrote: +unsigned long nr_running_cpu(int cpu) +{ + if (cpumask_test_cpu(cpu, cpu_online_mask)) + return cpu_rq(cpu)-nr_running; + else + return 0; +} + EXPORT_SYMBOL? -- To unsubscribe from this list: send the line

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-12 Thread Guenter Roeck
On 07/12/2014 02:20 AM, Jean Delvare wrote: Hi Guenter, On Tue, 08 Jul 2014 13:05:41 -0700, Guenter Roeck wrote: On 07/08/2014 12:54 PM, Jean Delvare wrote: Just one thing I have been thinking about while reviewing the updated code... You decided to make the first SMBus block write select the

Re: [PATCH v3 1/2] iio: adc: add driver for Rockchip saradc

2014-07-12 Thread Jonathan Cameron
On 09/07/14 11:22, Heiko Stübner wrote: The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: Heiko Stuebner

[PATCH v2 1/8] init.h: Add __init_str / __exit_str macros

2014-07-12 Thread Mathias Krause
Add macros to be able to mark string literals used in __init / __exit functions. Signed-off-by: Mathias Krause mini...@googlemail.com --- v2: - use a better code example --- include/linux/init.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/init.h

[PATCH v2 6/8] x86, mm: e820 - mark __init strings as such

2014-07-12 Thread Mathias Krause
Make use of the pi_level() helpers to mark the strings printed during initialization for automatic release. Do so for the strings used in command line parsing as well, by using the __init_str() macro. The debug messages have been converted to printk_init(KERN_DEBUG ...) instead of pi_debug(...),

[PATCH v2 8/8] kallsyms: exclude pseudo symbols for __init / __exit strings

2014-07-12 Thread Mathias Krause
The __init_str() / __exit_str() annotations create pseudo symbols. Ignore them, they have no value for us. Signed-off-by: Mathias Krause mini...@googlemail.com --- scripts/kallsyms.c | 13 + 1 file changed, 13 insertions(+) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c

[PATCH v2 7/8] x86: setup - mark __init strings as such

2014-07-12 Thread Mathias Krause
Make use of the pi_level() helpers to mark the strings printed during initialization for automatic release. Do so for the strings used in boot parameters parsing as well, by using the __init_str() macro. The debug messages have been converted to printk_init(KERN_DEBUG ...) instead of

[PATCH v2 4/8] x86, mm: Make x86_init.memory_setup() return a const char *

2014-07-12 Thread Mathias Krause
All implementations of x86_init.memory_setup() actually return a const char *. Adjust the prototypes to reflect reality. Also add the missing __init annotation to xen_auto_xlated_memory_setup(). Signed-off-by: Mathias Krause mini...@googlemail.com --- arch/x86/include/asm/e820.h |4

[PATCH v2 0/8] Mark literal strings in __init / __exit code

2014-07-12 Thread Mathias Krause
This is v2 of the patch series initially posted here: https://lkml.org/lkml/2014/6/22/149 I've integrated Joe's idea of also providing printk_init() / printk_exit() wrappers for code that cannot (or doesn't want to) be converted to the pi_*() / pe_*() wrappers. Patches 4 and 5 are cleanup

[PATCH v2 2/8] printk: Provide pi_level / pe_level macros for __init / __exit code

2014-07-12 Thread Mathias Krause
The memory used for functions marked with __init will be released after initialization, albeit static data referenced by such code will not, if not explicitly marked this way, too. This is especially true for format strings used in messages printed by such code. Those are not marked and therefore

[PATCH v2 5/8] x86, mm: early_panic() - pass on the message as string

2014-07-12 Thread Mathias Krause
early_printk() and panic() expect a format string as first argument. Change early_panic() to pass on the message as string instead of a format string. Signed-off-by: Mathias Krause mini...@googlemail.com --- arch/x86/kernel/e820.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v2 3/8] x86, acpi: Mark __init strings as such

2014-07-12 Thread Mathias Krause
Make use of the pi_level() helpers to mark the strings printed during initialization for automatic release. Do so for the strings used in command line parsing as well, by using the __init_str() macro. Also convert the remaining printk() calls to their pr_level / pi_level counterparts. This moves

Re: [patch 54/55] timekeeping: Provide fast and NMI safe access to CLOCK_MONOTONIC[_RAW]

2014-07-12 Thread Mathieu Desnoyers
- Original Message - From: Thomas Gleixner t...@linutronix.de To: LKML linux-kernel@vger.kernel.org Cc: John Stultz john.stu...@linaro.org, Peter Zijlstra pet...@infradead.org, Steven Rostedt rost...@goodmis.org, Mathieu Desnoyers mathieu.desnoy...@efficios.com Sent: Friday, July

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-12 Thread Guenter Roeck
Hi Jean, On 07/12/2014 02:20 AM, Jean Delvare wrote: Hi Guenter, Something else: Any idea how we could inject errors ? Error path testing would be quite useful. Thanks, Guenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v3 1/2] iio: adc: add driver for Rockchip saradc

2014-07-12 Thread Heiko Stübner
Am Samstag, 12. Juli 2014, 15:35:04 schrieb Jonathan Cameron: On 09/07/14 11:22, Heiko Stübner wrote: The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into

RE: [PATCH 0/2] cpufreq: ondemand: Eliminate the deadband effect

2014-07-12 Thread Doug Smythies
On 2014.07.30 10:00 Stratos Karafotis wrote: This patchset changes slightly the calculation of target frequency to eliminate the deadband effect (explained in patch 2 changelog) that it seems to slow down the CPU in low and medium loads. Patch 1 introduces a new relation (RELATION_C) for

Re: i915: reduce noise from i915_gem_shrinker_oom when no memory freed.

2014-07-12 Thread Dave Jones
On Sat, Jul 12, 2014 at 11:23:43AM +0200, Daniel Vetter wrote: On Fri, Jul 11, 2014 at 07:11:43AM +0100, Chris Wilson wrote: On Thu, Jul 10, 2014 at 11:05:05PM -0400, Dave Jones wrote: When the shrinker doesn't free any memory, don't spew over and over into the logs. My fuzz tester

[PATCH V3 0/7] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-12 Thread K. Y. Srinivasan
In this patch set I have fixed a few bugs and implemented some enhancements. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org K. Y. Srinivasan (7): Drivers: scsi: storvsc: Change the limits to reflect the values on the host Drivers: scsi:

[PATCH 6/7] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-12 Thread K. Y. Srinivasan
Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the Windows host require this. The host validates the command and SRB flags prior to passing the command down to native driver stack. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org ---

[PATCH 7/7] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-12 Thread K. Y. Srinivasan
On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR. Correctly handle this. Note that there is sufficient sense information to support scsi error handling even in this case. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org

[PATCH V3 1/7] Drivers: scsi: storvsc: Change the limits to reflect the values on the host

2014-07-12 Thread K. Y. Srinivasan
Hyper-V hosts can support multiple targets and multiple channels and larger number of LUNs per target. Update the code to reflect this. With this patch we can correctly enumerate all the paths in a multi-path storage environment. In this version of the patch I have addressed comments from

[PATCH V3 3/7] Drivers: scsi: storvsc: Filter commands based on the storage protocol version

2014-07-12 Thread K. Y. Srinivasan
Going forward it is possible that some of the commands that are not currently implemented will be implemented on future Windows hosts. Even if they are not implemented, we are told the host will corrrectly handle unsupported commands (by returning appropriate return code and sense information).

[PATCH V3 2/7] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-12 Thread K. Y. Srinivasan
Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig h...@infradead.org Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1

[PATCH 5/7] Drivers: scsi: storvsc: Implement a timedout handler

2014-07-12 Thread K. Y. Srinivasan
On Azure, we have seen instances of unbounded I/O latencies. To deal with this issue, implement handler that can reset the timeout. Note that the host gaurantees that it will respond to each command that has been issued. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Cc:

  1   2   3   4   5   >