Re: [PATCH 1/4] Staging: comedi: addi-data: cleanup comments in hwdrv_apci1564.c

2014-02-19 Thread Dan Carpenter
On Wed, Feb 19, 2014 at 01:36:46AM -0600, Chase Southwood wrote: > hwdrv_apci1564.c had a lot of commented out conditional statements that > were often identical to other un-commented out statements nearby, so it > should be safe to just delete all of these commented out lines. This > patch also c

Re: [PATCH 01/10] mfd: Add TI LMU driver

2014-02-19 Thread Lee Jones
> + pdata->en_gpio = of_get_named_gpio(node, "ti,enable-gpio", 0); > >>> > >>>There is a global DT property for this already. > >> > >>I've not found it yet, but I agree it looks like general property. > >>So I'll replace "ti,enable-gpio" with "ti,lmu-en-gpio". > > > >Just re-use "gpio-enable".

Re: [PATCH 00/22] scsi: Use pci_enable_msix_range()

2014-02-19 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:16:46PM +0100, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_rang

[PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Kevin Hao
In the current implementation of __of_match_node(), it will compare each given match entry against all the node's compatible strings with of_device_is_compatible(). To achieve multiple compatible strings per node with ordering from specific to generic, this requires given matches to be ordered fro

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 14:27:11, David Rientjes wrote: > On Tue, 18 Feb 2014, Michal Hocko wrote: > > > Hi, > > I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by > > 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to > > enable zone reclaim). The commit message s

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread David Rientjes
On Wed, 19 Feb 2014, Michal Hocko wrote: > > I strongly suspect that the patch is correct since powerpc node distances > > are different than the architectures you're talking about and get doubled > > for every NUMA domain that the hardware supports. > > Even if the units of the distance is dif

Re: [PATCH v3 2/6] drivers: of: add initialization code for reserved memory

2014-02-19 Thread Marek Szyprowski
Hello, On 2014-02-18 17:56, Grant Likely wrote: On Tue, 18 Feb 2014 14:37:57 +0100, Marek Szyprowski wrote: > This patch adds device tree support for contiguous and reserved memory > regions defined in device tree. > > Large memory blocks can be reliably reserved only during early boot. > This

RE: [PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support

2014-02-19 Thread Yao Yuan
> Subject: [PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support > > The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 > SoCs. > > Signed-off-by: Xiubo Li > --- For this patch series, Reviewed-by: Yuan Yao Thanks. > > > Hi Thierry, > > For this version I just r

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 15:34:05, Nishanth Aravamudan wrote: > Hi Michal, > > On 18.02.2014 [10:06:58 +0100], Michal Hocko wrote: > > Hi, > > I have just noticed that ppc has RECLAIM_DISTANCE reduced to 10 set by > > 56608209d34b (powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to > > enable zone r

Re: PROBLEM: special sense code asc,ascq=04h,0Ch abort scsi scan in the middle

2014-02-19 Thread vaughan
Hi Hannes, Sorry to bother you. Months ago, you made a patch to fix this scsi_scan abort error found on zfssa storage. Though it's only a specific storage, the logic -- not abort scsi scan process because of an inquiry failure of a LU in the middle, is helpful as a way to make our scanning more re

[PATCH 1/3 v2] regulator: tps65218: Add terminate entry for of_device_id table

2014-02-19 Thread Axel Lin
Fixes below build error: FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Axel Lin --- drivers/regulator/tps65218-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/tps65218-regulator.c b/drivers

[PATCH 2/3 v2] regulator: tps65218: Remove unnecessary regulator_unregister call

2014-02-19 Thread Axel Lin
Current code uses devm_regulator_register() so the we don't need to explicitly call regulator_unregister() in .remove. And then we don't need to save rdev pointer to tps->rdev[id]. Signed-off-by: Axel Lin --- drivers/regulator/tps65218-regulator.c | 18 -- 1 file changed, 18 dele

RE: [PATCH v2 2/4] mei: Add include of

2014-02-19 Thread Winkler, Tomas
> > We currently include in , but I'm about to > remove that from linux/pci.h, so add explicit includes where needed. > > Signed-off-by: Bjorn Helgaas > --- > drivers/misc/mei/hw-me.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/misc/mei/hw-me.h b/drivers/misc/mei/hw-

Re: [PATCH 3/3] ahci: st: Add support for ST's SATA IP

2014-02-19 Thread Lee Jones
> > Cc: Tejun Heo > > Cc: linux-...@vger.kernel.org > > Signed-off-by: Lee Jones > > Please consider basing it on top of Hans' refactored ahci_platform. > > http://www.spinics.net/lists/linux-ide/msg47628.html Okay, looks reasonable. I'm happy to do the extra work. Can I do this as a subsequ

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Tue 18-02-14 17:43:38, David Rientjes wrote: > On Tue, 18 Feb 2014, Nishanth Aravamudan wrote: > > > How about the following? > > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index 5de4337..1a0eced 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -1854,7 +1854,8 @@ s

[PATCH 1/3 v2] regulator: tps65218: Add terminate entry for of_device_id table

2014-02-19 Thread Axel Lin
Fixes below build error: FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Axel Lin --- I'm sorry that I just found I CC wrong developers in my previous mail. So here is a resend. drivers/regulator/tps65218-regulator.c | 1 + 1

[PATCH 2/3 v2] regulator: tps65218: Remove unnecessary regulator_unregister call

2014-02-19 Thread Axel Lin
Current code uses devm_regulator_register() so the we don't need to explicitly call regulator_unregister() in .remove. And then we don't need to save rdev pointer to tps->rdev[id]. Signed-off-by: Axel Lin --- drivers/regulator/tps65218-regulator.c | 18 -- 1 file changed, 18 dele

[PATCH 3/3 v2] regulator: tps65218: Add OF dependency

2014-02-19 Thread Axel Lin
This is a DT-only driver, so make it depend on OF and remove of_match_ptr in the code. Signed-off-by: Axel Lin --- drivers/regulator/Kconfig | 2 +- drivers/regulator/tps65218-regulator.c | 14 ++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/re

Re: [PATCH 1/3 v2] regulator: tps65218: Add terminate entry for of_device_id table

2014-02-19 Thread Keerthy
On Wednesday 19 February 2014 02:03 PM, Axel Lin wrote: Fixes below build error: FATAL: drivers/regulator/tps65218-regulator: struct of_device_id is not terminated with a NULL entry! Signed-off-by: Axel Lin --- I'm sorry that I just found I CC wrong developers in my previous mail. So here is a

Re: [PATCH 2/3 v2] regulator: tps65218: Remove unnecessary regulator_unregister call

2014-02-19 Thread Keerthy
On Wednesday 19 February 2014 02:04 PM, Axel Lin wrote: Current code uses devm_regulator_register() so the we don't need to explicitly call regulator_unregister() in .remove. And then we don't need to save rdev pointer to tps->rdev[id]. Acked-by: Keerthy Signed-off-by: Axel Lin --- driver

Re: [PATCH v2 1/2] USB: at91: fix the number of endpoint parameter

2014-02-19 Thread Nicolas Ferre
On 19/02/2014 03:07, Bo Shen : > In sama5d3 SoC, there are 16 endpoints, which is different with > earlier SoCs (only have 7 endpoints). The USBA_NR_ENDPOINTS micro you should read "macro". > is not suitable for sama5d3. So, get the endpoints number through > the udc->num_ep, which get from platf

Re: x86 perf's dTLB-load-misses broken on IvyBridge?

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 03:11:59PM -0800, Dave Hansen wrote: > I noticed that perf's dTLB-load-misses even t isn't working on my > Ivybridge system: > > > Performance counter stats for 'system wide': > > > > 0 dTLB-load-misses > >

Re: [PATCH v2 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-19 Thread Nicolas Ferre
On 19/02/2014 03:07, Bo Shen : > The SoCs earlier than sama5d3, they have the same number endpoints > and DMA channels. In driver code, they use the same definition > USBA_NR_ENDPOINTS for both endpoints and dma channels. However, > in sama5d3, it has different number for endpoints and DMA channels

Re: [PATCH v3] sched/deadline: Fix bad accounting of nr_running

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 09:50:12PM -0500, Steven Rostedt wrote: > > > Rationale for this odd behavior is that, when a task is throttled, it > > is removed only from the dl_rq, but we keep it on_rq (as this is not > > a "full dequeue", that is the task is not actually sleeping). But, it > > is als

[PATCH v2 0/4] Add audio card DT node support for Vybird-TWR board

2014-02-19 Thread Xiubo Li
Add audio card DT node support for Vybird-TWR board. Xiubo Li (4): ARM: dts: vf610: Add edma mux Tx and Rx support for SAI node. ARM: dts: vf610-twr: Enable SAI ALSA SoC DAI device ARM: dts: vf610-twr: Enable SGTL5000 codec. ARM: dts: vf610-twr: Add simple-card support. arch/arm/boot/dt

[PATCH v2 1/4] ARM: dts: vf610: Add edma mux Tx and Rx support for SAI node.

2014-02-19 Thread Xiubo Li
This patch adds the SAI's edma mux Tx and Rx support. Signed-off-by: Xiubo Li Cc: Shawn Guo --- arch/arm/boot/dts/vf610.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 91a7757..f08df47 100644 --- a/arch/arm/boot/dts/v

[PATCH v2 2/4] ARM: dts: vf610-twr: Enable SAI ALSA SoC DAI device

2014-02-19 Thread Xiubo Li
This patch adds and enables the SAI device. Signed-off-by: Xiubo Li Cc: Shawn Guo --- arch/arm/boot/dts/vf610-twr.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index e3a3805..bcee3bb 100644 --- a/arc

[PATCH v2 4/4] ARM: dts: vf610-twr: Add simple-card support.

2014-02-19 Thread Xiubo Li
This patch adds and enables simple-card support in DT node. Signed-off-by: Xiubo Li Cc: Shawn Guo --- arch/arm/boot/dts/vf610-twr.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 0f4b

[PATCH v2 3/4] ARM: dts: vf610-twr: Enable SGTL5000 codec.

2014-02-19 Thread Xiubo Li
This patch adds and enables SGTL5000 codec support. Signed-off-by: Xiubo Li Cc: Shawn Guo --- arch/arm/boot/dts/vf610-twr.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index bcee3bb..0f4bff5 1006

Re: [PATCH v4 0/3] qspinlock: Introducing a 4-byte queue spinlock

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 07:42:20PM -0500, Waiman Long wrote: > On 02/18/2014 04:28 PM, Peter Zijlstra wrote: > >On Tue, Feb 18, 2014 at 02:30:12PM -0500, Waiman Long wrote: > >>I will start looking at how to make it work with paravirt. Hopefully, it > >>won't take too long. > >The cheap way out is

Re: [PATCH v4 1/3] qspinlock: Introducing a 4-byte queue spinlock implementation

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 07:50:13PM -0500, Waiman Long wrote: > On 02/18/2014 04:34 PM, Peter Zijlstra wrote: > >On Tue, Feb 18, 2014 at 02:39:31PM -0500, Waiman Long wrote: > >>The #ifdef is harder to take away here. The point is that doing a 32-bit > >>exchange may accidentally steal the lock with

Re: [PATCH] gcov: fix memory allocation problem in gcov_info_dup

2014-02-19 Thread Peter Oberparleiter
On 19.02.2014 08:06, Yuan Pengfei wrote: > From: Yuan Pengfei > > If -fprofile-values option is used, ctr->num and sci_ptr->num > may be zero, resulting in zero size and cv_size, which will > cause ENOMEM when opening gcov data files in debugfs. > Signed-off-by: Yuan Pengfei I'm unaware of any

Re: [PATCH] pcie: Add Xilinx PCIe Host Bridge IP driver

2014-02-19 Thread Michal Simek
On 02/18/2014 10:32 PM, Bjorn Helgaas wrote: > [+cc Arnd] > > On Sun, Feb 16, 2014 at 8:33 AM, Srikanth Thokala wrote: >> This is the driver for Xilinx AXI PCIe Host Bridge Soft IP >> >> Signed-off-by: Srikanth Thokala >> --- >> - Rebased on v3.14.0-rc2 >> --- >> .../devicetree/bindings/pci/xil

Re: [PATCH v4 1/3] qspinlock: Introducing a 4-byte queue spinlock implementation

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 07:58:49PM -0500, Waiman Long wrote: > On 02/18/2014 04:37 PM, Peter Zijlstra wrote: > >On Tue, Feb 18, 2014 at 02:39:31PM -0500, Waiman Long wrote: > + /* > + * At the head of the wait queue now > + */ > + while (true) { > + u32 qcode; > +

[PATCH 8/9] skd: Use unified access to skdev->msix_entries throughout the code

2014-02-19 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Jens Axboe Cc: Bartlomiej Zolnierkiewicz Cc: Kyungmin Park Cc: linux-...@vger.kernel.org --- drivers/block/skd_main.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index d0550b

[PATCH 1/9] cciss: Fallback to MSI rather than to INTx if MSI-X failed

2014-02-19 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Mike Miller Cc: iss_storage...@hp.com Cc: linux-...@vger.kernel.org --- drivers/block/cciss.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 036e8ab..fc5b0a4 100644 --- a/driver

[PATCH 0/9] block: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Cc: Jens Axboe Cc: Mike Miller Cc: Asai Thambi S P Cc:

[PATCH 6/9] skd: Fix out of array boundary access

2014-02-19 Thread Alexander Gordeev
When enabling MSI-X, interrupts are requested for SKD_MAX_MSIX_COUNT entries in skdev->msix_entries array, while the number of actually allocated entries is skdev->msix_count. This might lead to an out of boundary access in case number of allocated entries is less than SKD_MAX_MSIX_COUNT. This upda

[PATCH 9/9] skd: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Jens Axboe Cc: Bart

[PATCH 7/9] skd: Fix incomplete cleanup of MSI-X interrupt

2014-02-19 Thread Alexander Gordeev
When enabling MSI-X interrupts fails due to lack of memory the call to pci_disable_msix() is missed and the device is left with MSI-X interrupts enabled while the driver assumes otherwise. This update fixes the described misbehaviour and cleans up the code of skd_release_msix() function. Signed-of

[PATCH 3/9] mtip32xx: Remove superfluous call to pci_disable_msi()

2014-02-19 Thread Alexander Gordeev
There is no need to call pci_disable_msi() in case the previous call to pci_enable_msi() failed Signed-off-by: Alexander Gordeev Cc: Jens Axboe Cc: Asai Thambi S P Cc: linux-...@vger.kernel.org --- drivers/block/mtip32xx/mtip32xx.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)

[PATCH 4/9] mtip32xx: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Jens Axboe Cc: Asai

[PATCH 5/9] rsxx: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Joshua Morris Cc: P

[PATCH 2/9] cciss: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Mike Miller Cc: iss

Re: [PATCH] drm/i915/opregion: work around buggy firmware that provides 8+ output devices

2014-02-19 Thread Aaron Lu
On 02/19/2014 03:33 PM, Matthew Garrett wrote: > On Wed, Feb 19, 2014 at 03:31:29PM +0800, Aaron Lu wrote: > >> DID2 is in system memory region and has some assigned value like 0x400 >> when we read it. For this case it is easy since there is only one output >> device that is of type LVDS so we ca

Re: [PATCH -mm 0/3] fix numa vs kvm scalability issue

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 05:12:43PM -0500, r...@redhat.com wrote: > The NUMA scanning code can end up iterating over many gigabytes > of unpopulated memory, especially in the case of a freshly started > KVM guest with lots of memory. > > This results in the mmu notifier code being called even when

Re: [PATCH] sched: keep quiescent cpu out of idle balance loop

2014-02-19 Thread Peter Zijlstra
On Wed, Feb 19, 2014 at 01:20:30PM +0800, Lei Wen wrote: > Since cpu which is put into quiescent mode, would remove itself > from kernel's sched_domain. So we could use search sched_domain > method to check whether this cpu don't want to be disturbed as > idle load balance would send IPI to it. >

[PATCH v20 08/10] Add 32 bit VDSO time support for 32 bit kernel

2014-02-19 Thread Stefani Seibold
This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vdso.h | 3 ++ arch/x86/include/

[PATCH v20 05/10] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-19 Thread Stefani Seibold
There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso/vclock_gettime.c b/arch/x8

[PATCH v20 00/10] Final: Add 32 bit VDSO time function support

2014-02-19 Thread Stefani Seibold
This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fast and a reliable way, be

[PATCH v20 01/10] Make vsyscall_gtod_data handling x86 generic

2014-02-19 Thread Stefani Seibold
This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/Kconfig

[PATCH v20 02/10] Add new func _install_special_mapping() to mmap.c

2014-02-19 Thread Stefani Seibold
The _install_special_mapping() is the new base function for install_special_mapping(). This function will return a pointer of the created VMA or a error code in an ERR_PTR() This new function will be needed by the for the vdso 32 bit support to map the additonal vvar and hpet pages into the 32 bit

Re: pci-3.14 resource alloc

2014-02-19 Thread Steven Newbury
On Tue, 2014-02-18 at 23:29 +0100, Rafael J. Wysocki wrote: > On Tuesday, February 18, 2014 10:52:54 AM Yinghai Lu wrote: > > On Tue, Feb 18, 2014 at 2:08 AM, Steven Newbury > > wrote: > > >> > > > >> > There's no pci bridge/bus hotplug though. Docking doesn't reveal the > > >> > pci-e->pci bridg

[PATCH v20 06/10] cleanup __vdso_gettimeofday

2014-02-19 Thread Stefani Seibold
This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions

[PATCH v20 04/10] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-19 Thread Stefani Seibold
This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock

[PATCH v20 09/10] Add 32 bit VDSO time support for 64 bit kernel

2014-02-19 Thread Stefani Seibold
This patch add the VDSO time support for the IA32 Emulation Layer. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is some type hacking necessary for optimal performance. The vsyscall_gtod_data struture mus

[PATCH v20 07/10] introduce VVAR marco for vdso32

2014-02-19 Thread Stefani Seibold
This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vvar.h | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h index 0a534ea..52c79f

[PATCH v20 03/10] revamp vclock_gettime.c

2014-02-19 Thread Stefani Seibold
This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 85 +- 1

Re: ppc: RECLAIM_DISTANCE 10?

2014-02-19 Thread Michal Hocko
On Wed 19-02-14 00:20:21, David Rientjes wrote: > On Wed, 19 Feb 2014, Michal Hocko wrote: > > > > I strongly suspect that the patch is correct since powerpc node distances > > > are different than the architectures you're talking about and get doubled > > > for every NUMA domain that the hardwa

Re: [PATCH akpm] mm: include VM_MIXEDMAP flag in the VM_SPECIAL list to avoid m(un)locking

2014-02-19 Thread Vlastimil Babka
On 02/16/2014 03:59 PM, Daniel Borkmann wrote: From: Vlastimil Babka [ 4366.519657] [ cut here ] [ 4366.519709] kernel BUG at mm/mlock.c:528! [ 4366.519742] invalid opcode: [#1] SMP [ 4366.519782] Modules linked in: ccm arc4 iwldvm [...] [ 4366.520488] video [ 4366

Re: [PATCH] backing_dev: Fix hung task on sync

2014-02-19 Thread Jan Kara
On Tue 18-02-14 17:55:48, Tejun Heo wrote: > Hello, > > On Fri, Feb 14, 2014 at 08:12:17PM -0800, Derek Basehore wrote: > > bdi_wakeup_thread_delayed used the mod_delayed_work function to schedule > > work > > to writeback dirty inodes. The problem with this is that it can delay work > > that >

RE: [PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support

2014-02-19 Thread li.xi...@freescale.com
> Subject: RE: [PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support > > > Subject: [PATCHv9 1/4] pwm: Add Freescale FTM PWM driver support > > > > The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 > > SoCs. > > > > Signed-off-by: Xiubo Li > > --- > > For this patch se

[PATCH] f2fs: fix to do build_stat prior to the recovery procedure

2014-02-19 Thread Jaegeuk Kim
At the end of the recovery procedure, write_checkpoint is called and updates the cp count which is managed by f2fs stat. But, previously build_stat() is called after the recovery procedure, which results in: BUG: unable to handle kernel NULL pointer dereference at 012c IP: [] write_che

Re: [PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-19 Thread Sougata Santra
On Tue, 2014-02-18 at 14:06 -0800, Andrew Morton wrote: > On Mon, 17 Feb 2014 14:20:47 +0200 Sougata Santra wrote: > > > > > Concurrent access to alloc_blocks in hfsplus_inode_info is > > protected by extents_lock mutex. This patch fixes two > > instances where alloc_blocks modification was not

Re: [PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
Hello Josh, On Tue, Feb 18, 2014 at 05:02:10PM -0600, Josh Cartwright wrote: > Hello Johannes, > > On Tue, Feb 18, 2014 at 04:34:12PM +0100, Johannes Thumshirn wrote: > [..] > > +++ b/drivers/mcb/mcb-core.c > > @@ -0,0 +1,420 @@ > > +/* > > + * MEN Chameleon Bus. > > + * > > + * Copyright (C) 2013

Re: mm: OS boot failed when set command-line kmemcheck=1

2014-02-19 Thread Xishi Qiu
On 2014/2/19 15:49, David Rientjes wrote: > On Wed, 19 Feb 2014, Xishi Qiu wrote: > >> Hi all, >> >> CONFIG_KMEMCHECK=y and set command-line "kmemcheck=1", I find OS >> boot failed. The kernel is v3.14.0-rc3 >> >> If set "kmemcheck=1 nowatchdog", OS will boot successfully. >> > > I have automat

Re: [PATCH 01/17] amba: Let runtime PM callbacks be available for CONFIG_PM

2014-02-19 Thread Russell King - ARM Linux
On Tue, Feb 04, 2014 at 04:58:42PM +0100, Ulf Hansson wrote: > Convert to the SET_PM_RUNTIME_PM macro while defining the runtime PM > callbacks. This means the callbacks becomes available for both > CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME, which is needed by drivers and > power domains. This patch i

[PATCHv9 Resend 2/4] ARM: dts: vf610: Add Freescale FTM PWM node.

2014-02-19 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported. Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer Reviewed-by: Yuan Yao --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/

[PATCHv9 Resend 0/4] Add Freescale FTM PWM driver

2014-02-19 Thread Xiubo Li
Resend this patch series, just adding the missing and new Reviewed-by and Acked-by infomation of this patch series. Xiubo Li (4): pwm: Add Freescale FTM PWM driver support ARM: dts: vf610: Add Freescale FTM PWM node. ARM: dts: vf610-twr: Enables FTM PWM device. Documentation: Add device t

[PATCHv9 Resend 3/4] ARM: dts: vf610-twr: Enables FTM PWM device.

2014-02-19 Thread Xiubo Li
Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer Reviewed-by: Yuan Yao --- arch/arm/boot/dts/vf610-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index c3a3237..d5c6a39 100644 --- a/arch/arm/boot/dts/vf610-twr

[PATCHv9 Resend 1/4] pwm: Add Freescale FTM PWM driver support

2014-02-19 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Reviewed-by: Sascha Hauer Reviewed-by: Yuan Yao --- drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm

[PATCHv9 Resend 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2014-02-19 Thread Xiubo Li
This adds the binding documentation for Freescale FlexTimer Module (FTM) PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer Reviewed-by: Yuan Yao Acked-by: Kumar Gala --- .../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 34 ++

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread Torvald Riegel
On Tue, 2014-02-18 at 23:48 +, Peter Sewell wrote: > On 18 February 2014 20:43, Torvald Riegel wrote: > > On Tue, 2014-02-18 at 12:12 +, Peter Sewell wrote: > >> Several of you have said that the standard and compiler should not > >> permit speculative writes of atomics, or (effectively) t

Re: [PATCH 2/3] mcb: Add PCI carrier for MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 05:20:17PM -0600, Josh Cartwright wrote: > On Tue, Feb 18, 2014 at 04:34:13PM +0100, Johannes Thumshirn wrote: > > Add support for MCB over PCI devices. Both PCI attached on-board Chameleon > > FPGAs > > as well as CompactPCI based MCB carrier cards are supported with this

user/sys ticks for process exceeds overall user/sys ticks

2014-02-19 Thread Peter Hofer
Hello everyone, I am trying to determine what fraction of the whole system's user and sys time are consumed by a specific process, over a period of time. Hence, I read the respective tick counts from the first lines of /proc/stat and /proc//stat at the start and end of that period and compute del

Re: [Xen-devel] [RFC v2 4/4] xen-netback: skip IPv4 and IPv6 interfaces

2014-02-19 Thread Ian Campbell
On Tue, 2014-02-18 at 12:16 -0800, Luis R. Rodriguez wrote: > On Mon, Feb 17, 2014 at 6:36 AM, Zoltan Kiss wrote: > > Also, the backend is not necessarily Dom0, you can connect two guests with > > backend/frontend pairs. > > Can you elaborate a bit more on this type of setup? The domain providin

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Jiang Liu
Hi Maarten, Forgot to refresh my working tree. Please help to apply this patch on top of previous one to solve a compilation bug. diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/no index c6c7d0d..83face3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_acpi.c +++

Re: [Xen-devel] [RFC v2 0/4] net: bridge / ip optimizations for virtual net backends

2014-02-19 Thread Ian Campbell
On Tue, 2014-02-18 at 11:43 -0800, Luis R. Rodriguez wrote: > > New motivation: removing IPv4 and IPv6 from the backend interfaces can > save up a lot of boiler plate run time code, triggers from ever taking > place, and simplifying the backend interaces. If there is no use for > IPv4 and IPv6 int

Re: 3.12.9-rt13: BUG: soft lockup

2014-02-19 Thread Thomas Gleixner
On Fri, 14 Feb 2014, Fernando Lopez-Lezcano wrote: > I could try to boot one of the machines into 3.12.xrtyy, replicate the > conditions and wait. What should I look for if I can catch this in the act? dmesg and sysrq-t output would be a good start I guess. Thanks, tglx -- To unsubscribe

Re: [PATCH net-next v5 0/9] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-02-19 Thread Ian Campbell
On Mon, 2014-01-20 at 21:24 +, Zoltan Kiss wrote: > A long known problem of the upstream netback implementation that on the TX > path (from guest to Dom0) it copies the whole packet from guest memory into > Dom0. That simply became a bottleneck with 10Gb NICs, and generally it's a > huge perfom

Re: [PATCH v7 4/8] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-02-19 Thread Maxime Ripard
Hi Hans, On Tue, Feb 18, 2014 at 09:49:21PM +0100, Hans de Goede wrote: > Hi, > > On 02/18/2014 04:37 PM, Maxime Ripard wrote: > > > > >>+ > >>+ for (i = 0; i < data->sg_len; i++) { > >>+ pdes[i].config = SDXC_IDMAC_DES0_CH | SDXC_IDMAC_DES0_OWN | > >>+S

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread Torvald Riegel
On Tue, 2014-02-18 at 22:52 +0100, Peter Zijlstra wrote: > > > 4.Some drivers allow user-mode code to mmap() some of their > > > state. Any changes undertaken by the user-mode code would > > > be invisible to the compiler. > > > > A good point, but a compiler that doesn't try to (inco

[PATCH] target_core_alua: silence GCC warning

2014-02-19 Thread Paul Bolle
On Tue, 2014-02-18 at 10:02 +0100, Geert Uytterhoeven wrote: > *** WARNINGS *** > > 188 regressions: > [...] > + /scratch/kisskb/src/drivers/target/target_core_alua.c: warning: > 'alua_ascq' may be used uninitialized in this function [-Wuninitialized]: => > 773:18 This one popped up on my

Re: [PATCH] hfsplus: fix concurrent acess of alloc_blocks

2014-02-19 Thread sougata santra
On 02/19/2014 12:06 AM, Andrew Morton wrote: On Mon, 17 Feb 2014 14:20:47 +0200 Sougata Santra wrote: Concurrent access to alloc_blocks in hfsplus_inode_info is protected by extents_lock mutex. This patch fixes two instances where alloc_blocks modification was not protected with this lock. Th

Re: [Xen-devel] [RFC v2 1/4] bridge: enable interfaces to opt out from becoming the root bridge

2014-02-19 Thread Ian Campbell
On Tue, 2014-02-18 at 13:02 -0800, Luis R. Rodriguez wrote: > On Sun, Feb 16, 2014 at 10:57 AM, Stephen Hemminger > wrote: > > On Fri, 14 Feb 2014 18:59:37 -0800 > > "Luis R. Rodriguez" wrote: > > > >> From: "Luis R. Rodriguez" > >> > >> It doesn't make sense for some interfaces to become a root

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

2014-02-19 Thread Ian Campbell
On Tue, 2014-02-18 at 18:46 +, David Vrabel wrote: > On 18/02/14 17:40, Ian Campbell wrote: > > On Mon, 2014-01-20 at 21:24 +, Zoltan Kiss wrote: > >> > >> @@ -344,8 +346,26 @@ struct xenvif *xenvif_alloc(struct device *parent, > >> domid_t domid, > >>vif->pending_prod = MAX_PENDING_R

RE: [char-misc-next 01/11 RESEND] mei: add mei_hbuf_acquire wrapper

2014-02-19 Thread Winkler, Tomas
> > This patch fails to apply to my char-misc-next branch (I've pulled in > 3.14-rc3 into this branch now): > checking file drivers/misc/mei/amthif.c > checking file drivers/misc/mei/client.c > Hunk #4 FAILED at 681. > Hunk #5 succeeded at 815 (offset -2 lines). > Hu

Re: [PATCH] target_core_alua: silence GCC warning

2014-02-19 Thread Geert Uytterhoeven
On Wed, Feb 19, 2014 at 10:52 AM, Paul Bolle wrote: > - ret = core_alua_state_nonoptimized(cmd, cdb, > - nonop_delay_msecs, &alua_ascq); > + core_alua_state_nonoptimized(cmd, cdb, nonop_delay_msecs); I suggest making core_alua_stat

[PATCH] Fix smatch warning

2014-02-19 Thread Philipp Reisner
Hi Jens, After I posted to pull request, we got a report about a smatch warning, which was not CCed to you or the lkml. It is not a bug right now, but a mistake that could easily become a bug as we move forward. Normally I would keep this in my queue until the next batch. Just to be prepared in c

[PATCH] drbd: Fix future possible NULL pointer dereference

2014-02-19 Thread Philipp Reisner
From: Andreas Gruenbacher Right now every resource has exactly one connection. But we are preparing for dynamic connections. I.e. in the future thre can be resources without connections. However smatch points this out as 'variable dereferenced before check', which is correct. This issue was int

Re: [PATCH] Documentation: update kmemleak.txt

2014-02-19 Thread Catalin Marinas
On Sun, Feb 16, 2014 at 04:42:05PM +, Wang YanQing wrote: > Update Documentatin/kmemleak.txt to > reflect the following changes: > > Commit b69ec42b1b194cc88f04b3fbcda8d3f93182d6c3 > ("Kconfig: clean up the long arch list for the DEBUG_KMEMLEAK config option") > make we can't check supported a

Re: [PATCH 1/3] drivers: Introduce MEN Chameleon Bus

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 01:48:19PM -0800, Greg Kroah-Hartman wrote: > On Tue, Feb 18, 2014 at 04:34:12PM +0100, Johannes Thumshirn wrote: > > The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik > > FPGA based devices. It is used to identify MCB based IP-Cores within > > an FPGA and

Re: [PATCH net-next v5 1/9] xen-netback: Introduce TX grant map definitions

2014-02-19 Thread Ian Campbell
On Tue, 2014-02-18 at 20:36 +, Zoltan Kiss wrote: > On 18/02/14 17:06, Ian Campbell wrote: > > On Mon, 2014-01-20 at 21:24 +, Zoltan Kiss wrote: > >> This patch contains the new definitions necessary for grant mapping. > > > > Is this just adding a bunch of (currently) unused functions? Tha

Re: [PATCH] target_core_alua: silence GCC warning

2014-02-19 Thread Paul Bolle
On Wed, 2014-02-19 at 10:59 +0100, Geert Uytterhoeven wrote: > On Wed, Feb 19, 2014 at 10:52 AM, Paul Bolle wrote: > > - ret = core_alua_state_nonoptimized(cmd, cdb, > > - nonop_delay_msecs, &alua_ascq); > > + core_alua_state_nonopt

Re: [PATCH] sched/deadline: Update total bandwidth when adding new task

2014-02-19 Thread Juri Lelli
On 02/19/2014 03:56 AM, Steven Rostedt wrote: > While debugging the crash with the bad nr_running accounting, I hit > another bug where, after running my sched deadline test, I was getting > failures to take a CPU offline. It was giving me a -EBUSY error. > > Adding a bunch of trace_printk()s arou

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-19 Thread Krzysztof Kozlowski
On Wed, 2014-02-19 at 13:08 +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 09:12:09AM +0100, Krzysztof Kozlowski wrote: > > On Tue, 2014-02-18 at 09:35 +0900, Mark Brown wrote: > > > > I don't understand the above? Are you saying that suspend mode actually > > > turns off the regulator or som

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Maarten Lankhorst
op 19-02-14 05:53, Jiang Liu schreef: On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of usi

Re: [PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 07:17:04PM +, Jonathan Cameron wrote: > > > On February 18, 2014 3:34:14 PM GMT+00:00, Johannes Thumshirn > wrote: > >Add support for MEN 16z188 ADC IP Core on MCB FPGAs. > > > >Signed-off-by: Johannes Thumshirn > Looks pretty good apart from the nitpicks. One more li

[PATCH] xhci: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. This update also cleans up a bit xhci_setup_msi() and xhci

[PATCH] ioat: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Dan Williams Cc: Vi

  1   2   3   4   5   6   7   >