[PATCH] arch: arm64: kernel: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler()

2013-06-21 Thread Chen Gang
If 'COMPAT' not defined, aarch32_break_handler() cannot pass compiling, so need add '#ifdef' for it just like the header file has done. The related make: make ARCH=arm64 randconfig make ARCH=arm64 menuconfig make ARCH=arm64 V=1 EXTRA_CFLAGS=-W The related error:

[PATCH] arch: sparc: kernel: check the memory length before use strcpy().

2013-06-21 Thread Chen Gang
For the related next strcpy(), the destination length is less than 512, but the source maximize length may be 'OPROMMAXPARAM' (4096) which is more than 512. One work flow may: openprom_sunos_ioctl() -> if (cmd == OPROMSETOPT) getstrings() -> will alloc buffer with size 'OPROMMAXPARAM'.

Re: [PATCH 04/11] tracing: fix disabling of soft disable

2013-06-21 Thread Tom Zanussi
On Fri, 2013-06-21 at 16:14 -0500, Tom Zanussi wrote: > On Fri, 2013-06-21 at 16:39 -0400, Steven Rostedt wrote: > > On Fri, 2013-06-21 at 20:12 +0900, Masami Hiramatsu wrote: > > > (2013/06/21 3:31), Tom Zanussi wrote: > > > > The comment on the soft disable 'disable' case of > > > >

Re: RFC: named anonymous vmas

2013-06-21 Thread Colin Cross
On Fri, Jun 21, 2013 at 10:12 PM, Kyungmin Park wrote: > On Sat, Jun 22, 2013 at 8:42 AM, Colin Cross wrote: >> One of the features of ashmem (drivers/staging/android/ashmem.c) that >> hasn't gotten much discussion about moving out of staging is named >> anonymous memory. >> >> In Android,

Re: RFC: named anonymous vmas

2013-06-21 Thread Kyungmin Park
On Sat, Jun 22, 2013 at 8:42 AM, Colin Cross wrote: > One of the features of ashmem (drivers/staging/android/ashmem.c) that > hasn't gotten much discussion about moving out of staging is named > anonymous memory. > > In Android, ashmem is used for three different features, and most > users of it

Re: [PATCH 03/11] tracing: add soft disable for syscall events

2013-06-21 Thread Jovi Zhang
On Sat, Jun 22, 2013 at 4:22 AM, Steven Rostedt wrote: > On Fri, 2013-06-21 at 14:53 +0800, zhangwei(Jovi) wrote: >> On 2013/6/21 2:31, Tom Zanussi wrote: >> > Add support for SOFT_DISABLE to syscall events. >> > >> > The original SOFT_DISABLE patches didn't add support for soft disable >> > of

Re: [PATCH v2] PowerPC: kernel: need return the related error code when failure occurs

2013-06-21 Thread Chen Gang
Hello Maintainers: Please help check this patch whether is OK, when you have time. Thanks. On 05/21/2013 05:20 PM, Chen Gang wrote: > > When error occurs, need return the related error code to let upper > caller know about it. > > ppc_md.nvram_size() can return the error code (e.g.

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alex Williamson
On Sat, 2013-06-22 at 13:16 +1000, Alexey Kardashevskiy wrote: > On 06/22/2013 12:57 PM, Alex Williamson wrote: > > On Sat, 2013-06-22 at 12:44 +1000, Alexey Kardashevskiy wrote: > >> On 06/22/2013 11:26 AM, Alex Williamson wrote: > >>> On Sat, 2013-06-22 at 11:16 +1000, Alexey Kardashevskiy

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
On Fri, Jun 21, 2013 at 7:07 PM, Joel A Fernandes wrote: > Hi Sekhar, > > On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori wrote: >> Joel, >> >> On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >>> From: Joel A Fernandes >>> >>> This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA

[PATCH v2] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
Fixup for linux-davinci/soc-v2 branch. Please ignore v1 and use this. Returning a pointer to a variable in the setup_from_dt function is causing dangling pointer dereferences. This causes boot to fail on AM33XX. Add ninfo to the caller's stack and just return the kzalloc'ed ptr from the calling

[GIT PULL] target fixes for v3.10-rc7

2013-06-21 Thread Nicholas A. Bellinger
Hello Linus, Here are the current target-pending fixes queued for v3.10-rc7 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master Included is the recent tcm_qla2xxx residual underrun length fix from Roland, along with Joern's

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alexey Kardashevskiy
On 06/22/2013 12:57 PM, Alex Williamson wrote: > On Sat, 2013-06-22 at 12:44 +1000, Alexey Kardashevskiy wrote: >> On 06/22/2013 11:26 AM, Alex Williamson wrote: >>> On Sat, 2013-06-22 at 11:16 +1000, Alexey Kardashevskiy wrote: Cool, thanks! So we will need only this (to be called

Re: [PATCH v5 0/7] PCI: Change assign unassigned resources per root bus bassis

2013-06-21 Thread Yinghai Lu
On Fri, May 31, 2013 at 11:03 PM, Yinghai Lu wrote: > BenH reported that there is some assign unassigned resource problem > in powerpc. > > It turns out after > | commit 0c5be0cb0edfe3b5c4b62eac68aa2aa15ec681af > | Date: Thu Feb 23 19:23:29 2012 -0800 > | > |PCI: Retry on IORESOURCE_IO type

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alex Williamson
On Sat, 2013-06-22 at 12:44 +1000, Alexey Kardashevskiy wrote: > On 06/22/2013 11:26 AM, Alex Williamson wrote: > > On Sat, 2013-06-22 at 11:16 +1000, Alexey Kardashevskiy wrote: > >> Cool, thanks! > >> > >> So we will need only this (to be called from KVM), and that will be it, > >> right? > >

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
>> > config TI_EDMA >> > tristate "TI EDMA support" >> > default m if 'ARCH_DAVINCI || ARCH_OMAP1 || ARCH_OMAP2 >> > select DMA_ENGINE >> > select DMA_VIRTUAL_CHANNELS >> >> >> MMC depends on EDMA specially on AM33xx there's no PIO mode AFAIK. The >> 'm' option will

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Jiang Liu
On 06/22/2013 08:13 AM, Rafael J. Wysocki wrote: > On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: >> On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: >>> On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: 2013/6/19 Rafael J. Wysocki : > OK, let's try to untangle

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alexey Kardashevskiy
On 06/22/2013 11:26 AM, Alex Williamson wrote: > On Sat, 2013-06-22 at 11:16 +1000, Alexey Kardashevskiy wrote: >> Cool, thanks! >> >> So we will need only this (to be called from KVM), and that will be it, >> right? > > For what? This is not the external lock you're looking for. As I've >

Re: [PATCHv v3] power: Include additional information in pm_print_times

2013-06-21 Thread Joe Perches
On Sat, 2013-06-22 at 02:24 +0200, Rafael J. Wysocki wrote: > Namely, there are tools that use these messages to create suspend/resume time > charts and they will stop working after the proposed changes. dmesg output isn't guaranteed to be stable. -- To unsubscribe from this list: send the line

[PATCHv2 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-06-21 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 ---

[PATCHv2 1/2] ARM: msm: Add support for MSM8974

2013-06-21 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile|3 ++- arch/arm/boot/dts/msm8974.dts | 24

[PATCH 1/1] staging/speakup/kobjects.c: Code improvement.

2013-06-21 Thread Raphael S. Carvalho
Well, there is no need to use strcmp since we can make a test of similar semantic by using the var_id field of param. I moved the test into the VAR_NUM:VAR_TIME case since VAR_STRING will never be "voice". spk_xlate isn't used anymore (in line 608), then there is no difference between using cp

Re: frequent softlockups with 3.10rc6.

2013-06-21 Thread Dave Jones
On Fri, Jun 21, 2013 at 09:59:49PM +0200, Oleg Nesterov wrote: > I am puzzled. And I do not really understand > > hardirqs last enabled at (2380318): [] > restore_args+0x0/0x30 > hardirqs last disabled at (2380319): [] > apic_timer_interrupt+0x6a/0x80 > softirqs last

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alex Williamson
On Sat, 2013-06-22 at 11:16 +1000, Alexey Kardashevskiy wrote: > Cool, thanks! > > So we will need only this (to be called from KVM), and that will be it, right? For what? This is not the external lock you're looking for. As I've mentioned, the file can only hold the group, but that doesn't

Re: [PATCH] vfio: Limit group opens

2013-06-21 Thread Alexey Kardashevskiy
Cool, thanks! So we will need only this (to be called from KVM), and that will be it, right? int vfio_group_iommu_id_from_file(struct file *filep) ... On 06/22/2013 07:12 AM, Alex Williamson wrote: > vfio_group_fops_open attempts to limit concurrent sessions by > disallowing opens once

How to get AP tx bitrate from STA side?

2013-06-21 Thread ghostrain
Hello there! I have an AP xmitting data to STA. What I am trying to do is somehow get the bitrate AP uses for xmission from STA side, which is just like what "iw dev wlan0 link" does. But I need a kernel function so that I can grab this bitrate in driver and therefore do some other stuff. Your

Re: [PATCHv v3] power: Include additional information in pm_print_times

2013-06-21 Thread Shuah Khan
On 06/21/2013 06:15 PM, Rafael J. Wysocki wrote: > On Monday, June 17, 2013 01:36:35 PM Shuah Khan wrote: >> Change __device_suspend() path to include driver name and the ops that >> get run for a device. This additional information helps associate the >> driver and the type of pm_ops the device

Re: [PATCH 0/2] rwsem: performance enhancements for systems with many cores

2013-06-21 Thread Davidlohr Bueso
On Fri, 2013-06-21 at 17:25 -0700, Michel Lespinasse wrote: > On Fri, Jun 21, 2013 at 5:00 PM, Davidlohr Bueso > wrote: > > On Fri, 2013-06-21 at 16:51 -0700, Tim Chen wrote: > >> In this patchset, we introduce two optimizations to read write semaphore. > >> The first one reduces cache bouncing

Re: [PATCH] power/reset: Make the vexpress driver optional on arm and arm64

2013-06-21 Thread Anton Vorontsov
On Mon, Jun 10, 2013 at 04:12:01PM +0100, Pawel Moll wrote: > The driver can be used on either arm or arm64 platforms, but > the latter doesn't have any platform-specific configuration > options, so it must be possible to manually enable the driver. > > Signed-off-by: Pawel Moll > Acked-by:

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-06-21 Thread Bin Gao
On 6/19/2013 3:13 AM, Wolfram Sang wrote: Even you prefer to extend v4l2, you still need this helper. The idea is just to move the unregister/register from a specific ISP driver to v4l2. I think you misunderstood my pionts somehow. Let me clarfiy a little bit: Current solution: 1. Platform

Re: randconfig build errors with next-20130620, in several drivers/media

2013-06-21 Thread Laurent Pinchart
Hi, On Thursday 20 June 2013 11:52:44 Jim Davis wrote: > Building with the attached random configuration file generates errors in > both > > drivers/media/v4l2-core > drivers/media/usb/uvc > > LD init/built-in.o > /home/jim/linux-next/linux/drivers/media/v4l2-core/videobuf2-core.c:2577:

Re: [PATCH 0/2] rwsem: performance enhancements for systems with many cores

2013-06-21 Thread Michel Lespinasse
On Fri, Jun 21, 2013 at 5:00 PM, Davidlohr Bueso wrote: > On Fri, 2013-06-21 at 16:51 -0700, Tim Chen wrote: >> In this patchset, we introduce two optimizations to read write semaphore. >> The first one reduces cache bouncing of the sem->count field >> by doing a pre-read of the sem->count and

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-21 Thread Yinghai Lu
On Fri, Jun 21, 2013 at 2:30 PM, Mike Travis wrote: > > > On 6/21/2013 11:50 AM, Greg KH wrote: >> On Fri, Jun 21, 2013 at 11:44:22AM -0700, Yinghai Lu wrote: >>> On Fri, Jun 21, 2013 at 10:03 AM, H. Peter Anvin wrote: On 06/21/2013 09:51 AM, Greg KH wrote: I suspect the cutoff

[PATCH staging-next] zram: remove zram_sysfs file (v2)

2013-06-21 Thread Sergey Senozhatsky
Move zram sysfs code to zram drv and remove zram_sysfs.c file. This gives ability to make static a number of previously exported zram functions, used from zram sysfs, e.g. internal zram zram_meta_alloc/free(). We also can drop zram_drv wrapper functions, used from zram sysfs: e.g.

Re: [PATCH 1/2] rwsem: check the lock before cpmxchg in down_write_trylock and rwsem_do_wake

2013-06-21 Thread Davidlohr Bueso
On Sat, 2013-06-22 at 08:10 +0800, Alex Shi wrote: > On 06/22/2013 07:51 AM, Tim Chen wrote: > > Doing cmpxchg will cause cache bouncing when checking > > sem->count. This could cause scalability issue > > in a large machine (e.g. a 80 cores box). > > > > A pre-read of sem->count can mitigate

Re: [PATCHv v3] power: Include additional information in pm_print_times

2013-06-21 Thread Rafael J. Wysocki
On Monday, June 17, 2013 01:36:35 PM Shuah Khan wrote: > Change __device_suspend() path to include driver name and the ops that > get run for a device. This additional information helps associate the > driver and the type of pm_ops the device uses in the suspend path very > quickly, which will aid

Re: [PATCH 1/2] rwsem: check the lock before cpmxchg in down_write_trylock and rwsem_do_wake

2013-06-21 Thread Alex Shi
On 06/22/2013 07:51 AM, Tim Chen wrote: > Doing cmpxchg will cause cache bouncing when checking > sem->count. This could cause scalability issue > in a large machine (e.g. a 80 cores box). > > A pre-read of sem->count can mitigate this. > > Signed-off-by: Alex Shi > Signed-off-by: Tim Chen Hi

Re: [PATCH v12 00/11] DMA Engine support for AM33XX

2013-06-21 Thread Joel A Fernandes
Hi Sekhar, On Fri, Jun 21, 2013 at 5:27 AM, Sekhar Nori wrote: > Joel, > > On 6/21/2013 2:36 AM, Joel A Fernandes wrote: >> From: Joel A Fernandes >> >> This series is remaining of Matt Porter's EDMA patches for AM33XX EDMA >> support >> with changes for few pending review comments on v11

Re: [BUGFIX v2 0/4] fix bug 56531, 59501 and 59581

2013-06-21 Thread Rafael J. Wysocki
On Saturday, June 22, 2013 12:54:21 AM Jiang Liu wrote: > On 06/21/2013 03:06 AM, Rafael J. Wysocki wrote: > > On Wednesday, June 19, 2013 11:18:41 AM Alexander E. Patrakov wrote: > >> 2013/6/19 Rafael J. Wysocki : > >>> OK, let's try to untangle this a bit. > >>> > >>> If you applyt patches [1/4]

[PATCH] ARM: common: edma: Fix dangling pointer dereference

2013-06-21 Thread Joel A Fernandes
Returning a pointer to a variable in the setup_from_dt function is causing dangling pointer dereferences. This causes boot to fail on AM33XX. Add ninfo to the caller's stack and just return the kzalloc'ed ptr from the calling function. Seen on linux-davinci/soc-v2 branch. Cc: Sekhar Nori

Re: [PATCH 2/2] rwsem: do optimistic spinning for writer lock acquisition

2013-06-21 Thread Davidlohr Bueso
On Fri, 2013-06-21 at 16:51 -0700, Tim Chen wrote: > Introduce in this patch optimistic spinning for writer lock > acquisition in read write semaphore. The logic is > similar to the optimistic spinning in mutex but without > the MCS lock queueing of the spinner. This provides a > better chance

Re: [PATCH 0/2] rwsem: performance enhancements for systems with many cores

2013-06-21 Thread Davidlohr Bueso
On Fri, 2013-06-21 at 16:51 -0700, Tim Chen wrote: > In this patchset, we introduce two optimizations to read write semaphore. > The first one reduces cache bouncing of the sem->count field > by doing a pre-read of the sem->count and avoid cmpxchg if possible. > The second patch introduces similar

Re: [PATCH 0/2] *** SUBJECT HERE ***

2013-06-21 Thread Greg KH
On Sat, Jun 22, 2013 at 01:08:12AM +0200, Anders Hammarquist wrote: > In a message of Wed, 19 Jun 2013 15:53:15 -0700, Greg KH writes: > >I think you forgot a Subject :) > > Indeed. I blame it on my first fight with git format-patch ;-) > > >On Wed, Jun 19, 2013 at 02:05:07AM +0200, Anders

[PATCH 0/2] rwsem: performance enhancements for systems with many cores

2013-06-21 Thread Tim Chen
In this patchset, we introduce two optimizations to read write semaphore. The first one reduces cache bouncing of the sem->count field by doing a pre-read of the sem->count and avoid cmpxchg if possible. The second patch introduces similar optimistic spining logic in the mutex code for the writer

[PATCH 2/2] rwsem: do optimistic spinning for writer lock acquisition

2013-06-21 Thread Tim Chen
Introduce in this patch optimistic spinning for writer lock acquisition in read write semaphore. The logic is similar to the optimistic spinning in mutex but without the MCS lock queueing of the spinner. This provides a better chance for a writer to acquire the lock before being we block it and

[PATCH 1/2] rwsem: check the lock before cpmxchg in down_write_trylock and rwsem_do_wake

2013-06-21 Thread Tim Chen
Doing cmpxchg will cause cache bouncing when checking sem->count. This could cause scalability issue in a large machine (e.g. a 80 cores box). A pre-read of sem->count can mitigate this. Signed-off-by: Alex Shi Signed-off-by: Tim Chen --- include/asm-generic/rwsem.h |8

Re: [PATCH staging-next] zram: remove zram_sysfs file

2013-06-21 Thread Sergey Senozhatsky
On (06/21/13 15:10), Greg Kroah-Hartman wrote: > > Move zram sysfs code to zram drv and remove zram_sysfs file. > > This gives ability to make static a number of previously exported > > zram functions, used from zram sysfs, e.g. internal zram > > zram_meta_alloc/free(). We also can drop several

Re: [PATCH 3/5] drivers/misc: rf/ad9361: AD9361 device driver for Radio phy

2013-06-21 Thread pankaj chauhan
On 6/20/2013 4:05 PM, pankaj chauhan wrote: On 6/19/2013 6:27 PM, Lars-Peter Clausen wrote: On 06/17/2013 10:09 AM, akhil.go...@freescale.com wrote: From: Akhil Goyal AD9361 is a radio phy(RFIC) for radio networks. This phy can support LTE-FDD/LTE-TDD and WCDMA networks. The RFIC can convert

[PATCH v2] dmatest: masking tests for channel capabilities

2013-06-21 Thread Jubin Mehta
The current dmatest module tests all the hardware capabilities (MEMCPY, XOR and PQ) supported by a particular DMA channel and these tests are performed concurrently by default. This patch allows the user to enable or disable the test performed for any particular capability. The mask bits for

RFC: named anonymous vmas

2013-06-21 Thread Colin Cross
One of the features of ashmem (drivers/staging/android/ashmem.c) that hasn't gotten much discussion about moving out of staging is named anonymous memory. In Android, ashmem is used for three different features, and most users of it only care about one feature at a time. One is volatile ranges,

Re: [PATCH] pinctrl: establish pull-up/pull-down terminology

2013-06-21 Thread Heiko Stübner
Am Samstag, 22. Juni 2013, 01:30:18 schrieb Laurent Pinchart: > Hi Stephen, > > On Friday 21 June 2013 13:06:47 Stephen Warren wrote: > > On 06/20/2013 06:38 AM, James Hogan wrote: > > > On 19/06/13 23:03, Stephen Warren wrote: > > >> On 06/16/2013 04:45 AM, Linus Walleij wrote: > > >>> From:

Re: [PATCH] pinctrl: establish pull-up/pull-down terminology

2013-06-21 Thread Laurent Pinchart
Hi Stephen, On Friday 21 June 2013 13:06:47 Stephen Warren wrote: > On 06/20/2013 06:38 AM, James Hogan wrote: > > On 19/06/13 23:03, Stephen Warren wrote: > >> On 06/16/2013 04:45 AM, Linus Walleij wrote: > >>> From: Linus Walleij > >>> > >>> It is counter-intuitive to have "0" mean disable in

Re: linux-next: Tree for Jun 21 (netdev: openvswitch)

2013-06-21 Thread Jesse Gross
On Fri, Jun 21, 2013 at 8:22 AM, Randy Dunlap wrote: > On 06/21/13 01:17, Stephen Rothwell wrote: >> Hi all, >> >> Happy solstice! >> >> Changes since 20130620: >> > > when CONFIG_INET is not enabled: > > CC net/openvswitch/flow.o > In file included from net/openvswitch/flow.c:43:0: >

Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ]

2013-06-21 Thread Sedat Dilek
4 (ipc/sem.c: cacheline align the semaphore structures), does >> reverting any of those instead of "ipc,msg: shorten critical region in >> msgrcv" help at all? Also, anything reported in dmesg? >> > > First, I reverted all IPC patches from akpm-tree within -next. >

Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ]

2013-06-21 Thread Sedat Dilek
tered an error: Invalid argument >> >> >> > >> > Hmmm those really shouldn't be related to the message queue changes. Are >> > you sure you got the right bisect? >> > >> > Manfred has a few ipc/sem.c patches in linux-next, starting at commit >

Re: [PATCHv3/RESEND 4/4] clocksource: arch_timer: Add support for memory mapped timers

2013-06-21 Thread Thomas Gleixner
On Fri, 21 Jun 2013, Stephen Boyd wrote: > On 06/21/13 14:18, Thomas Gleixner wrote: > > Something in my little brain yells: function pointer > > > > You can't be serious about hacking nested if/else/switch constructs > > into a hot path. > > > > Why not making your cpu data: > > > > struct

Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ]

2013-06-21 Thread Davidlohr Bueso
linux-next, starting at commit > > c50df1b4 (ipc/sem.c: cacheline align the semaphore structures), does > > reverting any of those instead of "ipc,msg: shorten critical region in > > msgrcv" help at all? Also, anything reported in dmesg? > > > > First, I reverte

Re: [PATCH 0/2] *** SUBJECT HERE ***

2013-06-21 Thread Anders Hammarquist
In a message of Wed, 19 Jun 2013 15:53:15 -0700, Greg KH writes: >I think you forgot a Subject :) Indeed. I blame it on my first fight with git format-patch ;-) >On Wed, Jun 19, 2013 at 02:05:07AM +0200, Anders Hammarquist wrote: >> This patch set adds the product id to the driver, and makes the

Re: [PATCH 2/4] time: add a notifier chain for when the system time is stepped

2013-06-21 Thread Thomas Gleixner
On Fri, 21 Jun 2013, David Vrabel wrote: > On 21/06/13 08:57, Thomas Gleixner wrote: > > On Thu, 20 Jun 2013, David Vrabel wrote: > > > >> From: David Vrabel > >> > >> The high resolution timer code gets notified of step changes to the > >> system time with clock_was_set() or

Re: [PATCHv3/RESEND 4/4] clocksource: arch_timer: Add support for memory mapped timers

2013-06-21 Thread Stephen Boyd
On 06/21/13 14:18, Thomas Gleixner wrote: > On Fri, 21 Jun 2013, Stephen Boyd wrote: >> /* >> * Architected system timer support. >> @@ -46,13 +73,69 @@ static bool arch_timer_use_virtual = true; >> static inline void arch_timer_reg_write(int access, int reg, u32 val, >>

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974

2013-06-21 Thread Stephen Boyd
On 06/21, Rohit Vaswani wrote: > diff --git a/arch/arm/boot/dts/msm8974.dts b/arch/arm/boot/dts/msm8974.dts > new file mode 100644 > index 000..d9c10d4 > --- /dev/null > +++ b/arch/arm/boot/dts/msm8974.dts > @@ -0,0 +1,23 @@ > +/dts-v1/; > + > +/include/ "skeleton.dtsi" > + > +/ { > +

Re: [ 29/48] mm: migration: add migrate_entry_wait_huge()

2013-06-21 Thread Satoru Takeuchi
At Fri, 21 Jun 2013 14:47:27 +0200, Michal Hocko wrote: > > On Thu 20-06-13 18:52:43, Satoru Takeuchi wrote: > > Hi Naoya, > > > > At Tue, 18 Jun 2013 09:17:55 -0700, > > Greg Kroah-Hartman wrote: > > > > > > From: Greg Kroah-Hartman > > > > > > 3.9-stable review patch. If anyone has any

Re: hanging, and possible exploit/ddos from LAN for RTL and other cards (watchdog netdev)

2013-06-21 Thread Francois Romieu
opensou...@tigusoft.pl : > On Sunday 16 June 2013 18:39:21 Francois Romieu wrote: > > Thank you for feedback. We provide XID, IRQ and additional info below. Executive summary: 1. affected Realtek nics are 8168evl (XID 0c900800) and an old PCI (XID 1800) 2. failing marvell nic resorts to

Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ]

2013-06-21 Thread Sedat Dilek
, starting at commit > c50df1b4 (ipc/sem.c: cacheline align the semaphore structures), does > reverting any of those instead of "ipc,msg: shorten critical region in > msgrcv" help at all? Also, anything reported in dmesg? > First, I reverted all IPC patches from akpm-tree withi

[PATCH] drm: always provide debugfs function prototypes

2013-06-21 Thread Arnd Bergmann
It is generally considered bad style to enclose function prototypes in header files in #ifdef. This case illustrates why that is: The tegra host1x driver calls into the debugfs functions if CONFIG_DEBUG_FS is enabled, but that code is otherwise already discarded by the compiler, so leaving the

Re: [ 29/48] mm: migration: add migrate_entry_wait_huge()

2013-06-21 Thread Satoru Takeuchi
At Thu, 20 Jun 2013 10:02:13 -0700, Greg Kroah-Hartman wrote: > > On Thu, Jun 20, 2013 at 06:52:43PM +0900, Satoru Takeuchi wrote: > > Hi Naoya, > > > > At Tue, 18 Jun 2013 09:17:55 -0700, > > Greg Kroah-Hartman wrote: > > > > > > From: Greg Kroah-Hartman > > > > > > 3.9-stable review patch.

Re: [PATCHv2 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-06-21 Thread Fabio Estevam
On Thu, Jun 20, 2013 at 3:57 PM, Alexandre Belloni wrote: > From: Maxime Ripard > > The ADCs connected to this bus have been experiencing some timeout > issues when using the iMX28 i2c controller. Switching back to bitbanging > solves this. Could you please investigate this timeout issue? The

Re: [PATCH] staging: line6: avoid __sync_fetch_and_{and,or}

2013-06-21 Thread Randy Dunlap
On 06/21/13 12:55, Arnd Bergmann wrote: > __sync_fetch_and_and and __sync_fetch_and_or are functions that are provided > by gcc and depending on the target architecture may be implemented in libgcc, > which is not always available in the kernel. This leads to a build failure > on ARMv5: and on

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Arnd Bergmann
On Friday 21 June 2013, Joel A Fernandes wrote: > Hi Arnd, > > On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann wrote: > > On Friday 21 June 2013, Joel A Fernandes wrote: > >> I think we are talking about different things, I agree the 'select > >> DMADEVICES' can be dropped but lets please keep

Re: [PATCH staging-next] zram: remove zram_sysfs file

2013-06-21 Thread Greg Kroah-Hartman
On Fri, Jun 21, 2013 at 06:29:14PM +0300, Sergey Senozhatsky wrote: > Move zram sysfs code to zram drv and remove zram_sysfs file. > This gives ability to make static a number of previously exported > zram functions, used from zram sysfs, e.g. internal zram > zram_meta_alloc/free(). We also can

Re: linux-next: Tree for Jun 21 [ BROKEN ipc/ipc-msg ]

2013-06-21 Thread Davidlohr Bueso
red has a few ipc/sem.c patches in linux-next, starting at commit c50df1b4 (ipc/sem.c: cacheline align the semaphore structures), does reverting any of those instead of "ipc,msg: shorten critical region in msgrcv" help at all? Also, anything reported in dmesg? > The issue is

Re: clocksource with changing frequency?

2013-06-21 Thread Sören Brinkmann
Thanks for your answers. Sören -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH][GIT PULL] trace,x86: Move creation of irq tracepoints from apic.c to irq.c

2013-06-21 Thread H. Peter Anvin
On 06/21/2013 02:28 PM, Steven Rostedt wrote: > On Fri, 2013-06-21 at 14:13 -0700, H. Peter Anvin wrote: >> On 06/21/2013 02:09 PM, Steven Rostedt wrote: >>> Call Trace: >>> [] do_fork+0xa8/0x260 >>> [] ? trace_preempt_on+0x2a/0x2f >>> [] ? trace_hardirqs_on_thunk+0x3a/0x3f >> >> This bit of

Re: [PATCH v12 05/11] edma: config: Enable config options for EDMA

2013-06-21 Thread Joel A Fernandes
Hi Arnd, On Fri, Jun 21, 2013 at 1:44 PM, Arnd Bergmann wrote: > On Friday 21 June 2013, Joel A Fernandes wrote: >> I think we are talking about different things, I agree the 'select >> DMADEVICES' can be dropped but lets please keep the default y option >> (not adding new select statements,

[PATCH] pinctrl: msm: Add support for MSM TLMM pinmux

2013-06-21 Thread Hanumant Singh
Add a new device tree enabled pinctrl driver for Qualcomm MSM SoC's. This driver provides an extensible framework to interface all MSM's that use a TLMM pinmux, with the pinctrl subsytem. This driver is split into two parts: the pinctrl interface and the TLMM version specific implementation. The

[PATCH] Minor patch for drivers/misc/mei/pci-me.c: Delete stray dev_err() calls.

2013-06-21 Thread Charles Anthony
The pci-me.c code contains 2 dev_err() calls which are apparently left over from debugging; they do not represent actual error conditions. They do produce messages in a "quiet" kernel, and add ERROR entries to the logger. Signed-off-by: "charles anthony" Linux 3.10-rc6 ---

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-21 Thread Mike Travis
On 6/21/2013 1:08 PM, H. Peter Anvin wrote: > Is this init code? 32K of unconditional runtime addition isn't completely > trivial. The delay functions that move memory to the absent list are __init but the read back of the list and memory insertion are not. BTW, this option is only available

Re: power-efficient scheduling design

2013-06-21 Thread Arjan van de Ven
On 6/21/2013 2:23 PM, Catalin Marinas wrote: oops sorry I misread your mail (lack of early coffee I suppose) I can see your point of having a thing for "did we ask for all the performance we could ask for" prior to doing a load balance (although, for power efficiency, if you have two tasks

[RFC PATCH V2 5/8] ARM: dts: OMAP4: add voltage processor nodes

2013-06-21 Thread Nishanth Menon
OMAP443x, OMAP446x SoC use same offsets for voltage processor, however their voltage characteristics differ a little. Introduce the voltage processor nodes for the same. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4.dtsi| 43 +++

[RFC PATCH V2 6/8] ARM: dts: TWL6030/OMAP4: Add OMAP voltage path linkage

2013-06-21 Thread Nishanth Menon
OMAP4430 and 4460 platforms use TWL6030 to power voltage rails. However, on 4460, we use twl6030 only for iva and core voltage rails. Introduce an twl6030_omap4.dtsi to be able to reuse the base definition for all OMAP4 platforms and the delta change only for panda-es platform which is based on

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-21 Thread Mike Travis
On 6/21/2013 11:50 AM, Greg KH wrote: > On Fri, Jun 21, 2013 at 11:44:22AM -0700, Yinghai Lu wrote: >> On Fri, Jun 21, 2013 at 10:03 AM, H. Peter Anvin wrote: >>> On 06/21/2013 09:51 AM, Greg KH wrote: >>> >>> I suspect the cutoff for this should be a lot lower than 8 TB even, more >>> like 128

[RFC PATCH V2 7/8] ARM: dts: omap4-panda-es: add TPS62361 supply for vdd_mpu

2013-06-21 Thread Nishanth Menon
Unlike other OMAP4 platforms including the the "vanilla" PandaBoard, PandaBoard-ES uses TPS62361 to supply vdd_mpu. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4-panda-es.dts | 18 ++ arch/arm/boot/dts/tps62361_omap.dtsi | 18 ++ 2 files changed,

[RFC PATCH V2 1/8] regulator: Introduce OMAP regulator to control PMIC over VC/VP

2013-06-21 Thread Nishanth Menon
Texas Instrument's OMAP SoC generations since OMAP3-5 introduced an TI custom hardware block to better facilitate and standardize integration of Power Management ICs which communicate over I2C. In fact, many custom PMICs were designed to be usable over this interface. On the other hand, generic

[RFC PATCH V2 0/8] regulator/OMAP: support VC/VP support in dts

2013-06-21 Thread Nishanth Menon
Hi, Texas Instrument's OMAP Processor have a dedicated hardware module which is customised to operate with Power Management IC(PMIC) over an dedicated I2C. The communication involves a few SoC internal modules as follows: PMIC - The power management chip on the dedicated I2C (sometimes called

[RFC PATCH V2 3/8] PM / AVS: Introduce support for OMAP Voltage Processor(VP) with device tree nodes

2013-06-21 Thread Nishanth Menon
Texas Instrument's OMAP SoC generations since OMAP3-5 introduced an TI custom hardware block to better facilitate and standardize integration of Power Management ICs which communicate over I2C called Voltage Processor(VP). This is an specialized hardware block meant to support PMIC chips only

Re: [PATCH v5 0/5] clk: implement remuxing during set_rate

2013-06-21 Thread James Hogan
On 21 June 2013 18:04, Mike Turquette wrote: > Quoting James Hogan (2013-06-13 09:05:57) >> This patchset adds support for automatic selection of the best parent >> for a clock mux, i.e. the one which can provide the closest clock rate >> to that requested. It can be disabled by a new

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-21 Thread Mike Travis
On 6/21/2013 12:00 PM, Yinghai Lu wrote: > On Fri, Jun 21, 2013 at 11:44 AM, Greg Kroah-Hartman > wrote: >> On Fri, Jun 21, 2013 at 11:36:21AM -0700, Yinghai Lu wrote: >>> On Fri, Jun 21, 2013 at 9:25 AM, Nathan Zimmer wrote: This rfc patch set delays initializing large sections of memory

Re: [PATCH][GIT PULL] trace,x86: Move creation of irq tracepoints from apic.c to irq.c

2013-06-21 Thread Steven Rostedt
On Fri, 2013-06-21 at 14:13 -0700, H. Peter Anvin wrote: > On 06/21/2013 02:09 PM, Steven Rostedt wrote: > > Call Trace: > > [] do_fork+0xa8/0x260 > > [] ? trace_preempt_on+0x2a/0x2f > > [] ? trace_hardirqs_on_thunk+0x3a/0x3f > > This bit of the call chain seems a little odd, no? Doesn't the

[RFC PATCH V2 2/8] PM / AVS: Introduce support for OMAP Voltage Controller(VC) with device tree nodes

2013-06-21 Thread Nishanth Menon
Texas Instrument's OMAP SoC generations since OMAP3-5 introduced an TI custom hardware block to better facilitate and standardize integration of Power Management ICs which communicate over I2C called Voltage Controller(VC). This is an specialized hardware block meant to support PMIC chips and is

[RFC PATCH V2 8/8] ARM: dts: OMAP4-panda-es: use tps regulator as cpu0 supply

2013-06-21 Thread Nishanth Menon
TPS62361 is used for cpufreq regulation. As part of this change use labels that can be used to reference cpu0 to setup it's supply. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4-panda-es.dts |4 arch/arm/boot/dts/omap4.dtsi |4 ++--

Re: [PATCH][GIT PULL] trace,x86: Move creation of irq tracepoints from apic.c to irq.c

2013-06-21 Thread Steven Rostedt
On Fri, 2013-06-21 at 17:09 -0400, Steven Rostedt wrote: > On Fri, 2013-06-21 at 13:31 -0400, Steven Rostedt wrote: > > > My testing also triggered another bug, but I'm not sure it's related to > > these patches or something that already existed. I'm currently > > investigating it now. > > > I

[RFC PATCH V2 4/8] ARM: dts: OMAP4: add voltage controller nodes

2013-06-21 Thread Nishanth Menon
OMAP443x, OMAP446x SoC use same offsets for voltage controller, however their voltage characteristics differ a little. Introduce the voltage controller nodes for the same. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4.dtsi| 26 ++

Re: [PATCH 1/4] hrtimers: provide a hrtimers_late_resume() call

2013-06-21 Thread Thomas Gleixner
On Fri, 21 Jun 2013, David Vrabel wrote: > On 21/06/13 15:32, Thomas Gleixner wrote: > However, since hrtimers require the use of a one-shot ticker and when > one-shot timers are resumed they are armed to fire immediately (see > tick_resume_oneshot()) this interrupt is sufficient to kick the

Re: power-efficient scheduling design

2013-06-21 Thread Catalin Marinas
On 21 June 2013 16:38, Arjan van de Ven wrote: > On 6/21/2013 1:50 AM, Morten Rasmussen wrote: >> A hint when a task is moved to a new cpu is too late if the migration >> shouldn't have happened at all. If the scheduler knows that the cpu is >> able to switch to a higher p-state it can decide to

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-21 Thread Mike Travis
On 6/21/2013 11:36 AM, Yinghai Lu wrote: > On Fri, Jun 21, 2013 at 9:25 AM, Nathan Zimmer wrote: >> This rfc patch set delays initializing large sections of memory until we have >> started cpus. This has the effect of reducing startup times on large memory >> systems. On 16TB it can take over

Re: [PATCHv3/RESEND 4/4] clocksource: arch_timer: Add support for memory mapped timers

2013-06-21 Thread Thomas Gleixner
On Fri, 21 Jun 2013, Stephen Boyd wrote: > /* > * Architected system timer support. > @@ -46,13 +73,69 @@ static bool arch_timer_use_virtual = true; > static inline void arch_timer_reg_write(int access, int reg, u32 val, > struct clock_event_device *clk) >

Re: [PATCH 2/2] Make non-linear GPIO ranges accesible from gpiolib

2013-06-21 Thread Stephen Warren
On 06/20/2013 05:57 AM, Christian Ruppert wrote: > Hello Stephen, > > On Wed, Jun 19, 2013 at 12:27:56PM -0600, Stephen Warren wrote: >> On 06/19/2013 12:10 PM, Stephen Warren wrote: >>> On 06/14/2013 03:12 AM, Christian Ruppert wrote: On Thu, Jun 13, 2013 at 03:38:09PM -0600, Stephen Warren

Re: [PATCH 04/11] tracing: fix disabling of soft disable

2013-06-21 Thread Tom Zanussi
On Fri, 2013-06-21 at 16:39 -0400, Steven Rostedt wrote: > On Fri, 2013-06-21 at 20:12 +0900, Masami Hiramatsu wrote: > > (2013/06/21 3:31), Tom Zanussi wrote: > > > The comment on the soft disable 'disable' case of > > > __ftrace_event_enable_disable() states that the soft disable bit > > >

Re: [PATCH][GIT PULL] trace,x86: Move creation of irq tracepoints from apic.c to irq.c

2013-06-21 Thread H. Peter Anvin
On 06/21/2013 02:09 PM, Steven Rostedt wrote: > Call Trace: > [] do_fork+0xa8/0x260 > [] ? trace_preempt_on+0x2a/0x2f > [] ? trace_hardirqs_on_thunk+0x3a/0x3f This bit of the call chain seems a little odd, no? -hpa -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] vfio: Limit group opens

2013-06-21 Thread Alex Williamson
vfio_group_fops_open attempts to limit concurrent sessions by disallowing opens once group->container is set. This really doesn't do what we want and allow for inconsistent behavior, for instance a group can be opened twice, then a container set giving the user two file descriptors to the group.

[PATCH] vfio/type1: Fix missed frees and zero sized removes

2013-06-21 Thread Alex Williamson
With hugepage support we can only properly aligned and sized ranges. We only guarantee that we can unmap the same ranges mapped and not arbitrary sub-ranges. This means we might not free anything or might free more than requested. The vfio unmap interface started storing the unmapped size to

  1   2   3   4   5   6   7   8   9   10   >