Re: [PATCH v6 4/4] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-05 Thread Stefano Stabellini
On Fri, 5 Apr 2013, Stefano Stabellini wrote: > On Fri, 5 Apr 2013, Nicolas Pitre wrote: > > On Fri, 5 Apr 2013, Stefano Stabellini wrote: > > > > > Split xen_guest_init in two functions, one of them (xen_early_init) is > > > going to be called very early from setup_arch. > > > > > > Change machi

[PATCH] firmware,IB/qib: revert firmware file move

2013-04-05 Thread Mike Marciniszyn
Commit e2eed58 ("IB/qib: change QLogic to Intel") moved a firmware file potentially breaking the ABI. This patch reverts that aspect of the fix as well as reverting the firmware name as used in qib. Reported-by: David Woodhouse Signed-off-by: Mike Marciniszyn --- drivers/infiniband/hw/qib/qib_

Re: Version number policy!

2013-04-05 Thread Eugene Krasnikov
Good point regarding timestamp. When it comes to feature bitmap do you have an example of such a bitmap from carl9170? Why not to rely always on major version? 2013/4/5 Christian Lamparter : > On Friday 05 April 2013 10:19:00 Luis R. Rodriguez wrote: >> On Thu, Apr 4, 2013 at 11:27 AM, Adrian Cha

Re: [PATCH v6 4/4] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-05 Thread Stefano Stabellini
On Fri, 5 Apr 2013, Nicolas Pitre wrote: > On Fri, 5 Apr 2013, Stefano Stabellini wrote: > > > Split xen_guest_init in two functions, one of them (xen_early_init) is > > going to be called very early from setup_arch. > > > > Change machine_desc->smp_init to xen_smp_init if Xen is present on the >

Re: [PATCH] [TRIVIAL] FIX: unintended variable name reuse

2013-04-05 Thread PaX Team
On 5 Apr 2013 at 18:17, Jan-Simon Möller wrote: > Cleanup a variable name reuse. > > > Fix suggested by PaX Team Reviewed-by: PaX Team > Signed-off-by: Jan-Simon Möller > --- > arch/x86/kernel/cpu/perf_event_intel_uncore.c | 16 > 1 file changed, 8 insertions(+), 8 deleti

Re: [PATCH v2 1/4] dcache: Don't take unnecessary lock in d_count update

2013-04-05 Thread Al Viro
> @@ -635,22 +640,14 @@ struct dentry *dget_parent(struct dentry *dentry) > { > struct dentry *ret; > > -repeat: > - /* > - * Don't need rcu_dereference because we re-check it was correct under > - * the lock. > - */ > rcu_read_lock(); > - ret = dentry->d_paren

[RFC PATCH 1/1] mm: Another attempt to monitor task's memory changes

2013-04-05 Thread Pavel Emelyanov
Hello, This is another attempt (previous one was [1]) to implement support for memory snapshot for the the checkpoint-restore project (http://criu.org). Let me remind what the issue is. << EOF To create a dump of an application(s) we save all the information about it to files, and the biggest pa

Re: [PATCH resend] fs/proc: Move kfree outside pde_unload_lock

2013-04-05 Thread Nathan Zimmer
On 04/04/2013 03:44 PM, Al Viro wrote: On Thu, Apr 04, 2013 at 12:12:05PM -0500, Nathan Zimmer wrote: Ok I am cloning the tree now. It does look like the patches would conflict. I'll run some tests and take a deeper look. FWIW, I've just pushed there a tentative patch that switches to hopefull

Re: Version number policy!

2013-04-05 Thread Christian Lamparter
On Friday 05 April 2013 10:19:00 Luis R. Rodriguez wrote: > On Thu, Apr 4, 2013 at 11:27 AM, Adrian Chadd wrote: > > Here's my first take on the version number policy: > > > > https://github.com/qca/open-ath9k-htc-firmware/wiki/VersionPolicy > > The summary: > > > > * major version number changes

[GIT PULL] SPI updates for v3.9

2013-04-05 Thread Mark Brown
The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git tags/spi-fix-v3.9-rc5 for you to fetch changes up to 1ad849aee5f5335

Re: [GIT PULL] Sound fixes for 3.9-rc6

2013-04-05 Thread Mark Brown
On Fri, Apr 05, 2013 at 09:06:43AM -0700, Linus Torvalds wrote: > Argh, Takashi, you're usually so reliable... > But you actually meant for me to pull the sound-3.9 tag, didn't you? > That "for-linus" branch isn't a signed tag.. > Please double-check your scripts, Probably needs a git upgrade -

[PATCH v2 1/4] dcache: Don't take unnecessary lock in d_count update

2013-04-05 Thread Waiman Long
The current code takes the dentry's d_lock lock whenever the d_count reference count is being updated. In reality, nothing big really happens until d_count goes to 0 in dput(). So it is not necessary to take the lock if the reference count won't go to 0. Without using a lock, multiple threads may

[PATCH RFC v2 2/4] dcache: introduce a new sequence read/write lock type

2013-04-05 Thread Waiman Long
The current sequence lock supports 2 types of lock users: 1. A reader who wants a consistent set of information and is willing to retry if the information changes. The information that the reader needs cannot contain pointers, because any writer could invalidate a pointer that a reader wa

[PATCH v2 0/4] dcache: make dcache more scalable on large system

2013-04-05 Thread Waiman Long
Change log: v1->v2 - Include performance improvement in the AIM7 benchmark results because of this patch. - Modify dget_parent() to avoid taking the lock, if possible, to further improve AIM7 benchmark results. During some perf-record sessions of the kernel running the high_systime worklo

[PATCH v2 RFC 3/4] dcache: change rename_lock to a sequence read/write lock

2013-04-05 Thread Waiman Long
The d_path() and related kernel functions currently take a writer lock on rename_lock because they need to follow pointers. By changing rename_lock to be the new sequence read/write lock, a reader lock can be taken and multiple d_path() threads can proceed concurrently without blocking each other.

[PATCH v2 4/4] dcache: don't need to take d_lock in prepend_path()

2013-04-05 Thread Waiman Long
The d_lock was used in prepend_path() to protect dentry->d_name from being changed under the hood. As the caller of prepend_path() has to take the rename_lock before calling into it, there is no chance that d_name will be changed. The d_lock lock is only needed when the rename_lock is not taken. S

Re: Beyond inotify recursive watches

2013-04-05 Thread Ramkumar Ramachandra
Jan Kara wrote: > Hum, I have somewhat hard time to understand what do you mean by > 'magically optimized syscalls'. What should happen in VFS to speedup your > load? In retrospect, I think this is a terrible hack to begin with. Tuning the filesystem specifically for git repositories is inelega

[PATCH v4 1/7] fcntl: Introduce new O_DENY* open flags

2013-04-05 Thread Pavel Shilovsky
This patch adds 3 flags: 1) O_DENYREAD that doesn't permit read access, 2) O_DENYWRITE that doesn't permit write access, 3) O_DENYDELETE that doesn't permit delete or rename, Network filesystems CIFS, SMB2.0, SMB3.0 and NFSv4 have such flags - this change can benefit cifs and nfs modules as well a

[PATCH v4 3/7] CIFS: Add O_DENY* open flags support

2013-04-05 Thread Pavel Shilovsky
Construct share_access value from O_DENY* flags and send it to the server. Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsglob.h | 16 +++- fs/cifs/dir.c | 3 +++ fs/cifs/file.c | 4 fs/locks.c | 8 4 files changed, 30 insertions(+), 1 deletion(-) d

[PATCH v4 5/7] NFSv4: Add O_DENY* open flags support

2013-04-05 Thread Pavel Shilovsky
by passing these flags to NFSv4 open request. Signed-off-by: Pavel Shilovsky --- fs/locks.c| 6 +++--- fs/nfs/internal.h | 3 ++- fs/nfs/nfs4proc.c | 2 ++ fs/nfs/nfs4xdr.c | 21 + fs/nfs/super.c| 3 ++- 5 files changed, 26 insertions(+), 9 deletions(-) diff

[PATCH v4 2/7] CIFS: Add share_access parm to open request

2013-04-05 Thread Pavel Shilovsky
and simplify CIFSSMBOpen params. Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsacl.c | 8 fs/cifs/cifsglob.h | 2 +- fs/cifs/cifsproto.h | 8 fs/cifs/cifssmb.c | 50 +++--- fs/cifs/dir.c | 12 ++-- fs/cifs/file.

[PATCH v4 0/7] Add O_DENY* support for VFS and CIFS/NFS

2013-04-05 Thread Pavel Shilovsky
Main changes from the previous one: 1) O_DENYMAND is removed, sharelock mount option is introduced. 2) Patch fcntl.h and VFS patches are united into one. 3) flock/LOCK_MAND is disabled for sharelock mounts. This patchset adds support of O_DENY* flags for Linux fs layer. These flags can be used by

Re: [PATCH] myri_sbus: remove firmware

2013-04-05 Thread David Miller
From: Paul Bolle Date: Fri, 05 Apr 2013 16:23:02 +0200 > Support for MyriCOM Gigabit Ethernet cards was removed in v3.1. Remove > the firmware too. > > Signed-off-by: Paul Bolle Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH v4 7/7] locks: Disable LOCK_MAND support for MS_SHARELOCK mounts

2013-04-05 Thread Pavel Shilovsky
Signed-off-by: Pavel Shilovsky --- fs/locks.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/locks.c b/fs/locks.c index ea5813c..8a59afb 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1722,6 +1722,12 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) if (!f.file)

[PATCH v4 4/7] CIFS: Use NT_CREATE_ANDX command for forcemand mounts

2013-04-05 Thread Pavel Shilovsky
forcemand mount option now lets us use Windows mandatory style of byte-range locks even if server supports posix ones - switches on Windows locking mechanism. Share flags is another locking mehanism provided by Windows semantic that can be used by NT_CREATE_ANDX command. This patch combines all Win

[PATCH v4 6/7] NFSD: Pass share reservations flags to VFS

2013-04-05 Thread Pavel Shilovsky
that maps them into O_DENY flags and make them visible for applications that use O_DENYMAND opens. Signed-off-by: Pavel Shilovsky --- fs/locks.c | 1 + fs/nfsd/nfs4state.c | 46 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git

Re: GFS2: Pull request (fixes)

2013-04-05 Thread Linus Torvalds
On Fri, Apr 5, 2013 at 9:27 AM, David Teigland wrote: > On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: >> Please consider pulling the following changes, > > There's some mixup here that should be cleared up first. > >> David Teigland (2): >> GFS2: Fix unlock of fcntl lock

Re: GFS2: Pull request (fixes)

2013-04-05 Thread Steven Whitehouse
Hi, On Fri, 2013-04-05 at 12:27 -0400, David Teigland wrote: > On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: > > Please consider pulling the following changes, > > There's some mixup here that should be cleared up first. > > > David Teigland (2): > > GFS2: Fix unlock o

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Joe Perches
On Fri, 2013-04-05 at 18:39 +0200, Paul Bolle wrote: > On Fri, 2013-04-05 at 09:35 -0700, Joe Perches wrote: > > On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: > > > -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG > > > > pr_debug/dev_dbg/nfc_dev_dbg logging messages > > depend on this. > > Thanks.

Re: Version number policy!

2013-04-05 Thread Eugene Krasnikov
Hi Adrian, This is the patch with new wmi command to support build number. Please let me know if it's ok so i can send it as pull request: >From 2591efa83bd24a807e3d93c4c8e1bf5c570737e1 Mon Sep 17 00:00:00 2001 From: Eugene Krasnikov Date: Fri, 5 Apr 2013 18:37:26 +0200 Subject: [PATCH] Add WMI_

Re: [PATCH] MFD: rtsx_pcr, fix probe fail path

2013-04-05 Thread Samuel Ortiz
Hi Jiry, On Thu, Apr 04, 2013 at 09:34:11PM +0200, Jiri Slaby wrote: > When rtsx_pci_acquire_irq fails in rtsx_pci_probe, we forget to > disable an MSI (if we enabled it). This results in this warning on the > next attempt to load the module: > WARNING: at drivers/pci/msi.c:834 pci_enable_msi_bloc

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Paul Bolle
On Fri, 2013-04-05 at 09:35 -0700, Joe Perches wrote: > On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: > > -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG > > pr_debug/dev_dbg/nfc_dev_dbg logging messages > depend on this. Thanks. But then a NFC_DEBUG symbol needs to be added, because now the DEBUG

[PATCH] sched: Fix 32bit race in sched_clock_remote()

2013-04-05 Thread Peter Zijlstra
Thomas spotted a nasty 32bit race in sched_clock_remote() after way too many hours of debugging weirdness. What happens is that sched_clock_remote() does regular machine word reads of sched_clock_data::clock; this appears safe since we use cmpxchg64() to update the variable and any half-read value

Re: [PATCH v3 00/22] x86, ACPI, numa: Parse numa info early

2013-04-05 Thread Thomas Renninger
On Thursday, April 04, 2013 08:09:46 PM Yinghai Lu wrote: ... > can you try > > git checkout -b for-x86-mm origin/for-x86-mm That worked out much better :) I see these changes in e820 table, the first part is probably unrelated: BIOS-e820: [mem 0x-0x0009bbff] usable ...

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Joe Perches
On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: > There's no Kconfig symbol NFC_DEBUG. Besides, there doesn't seem to be > any nfc code that uses a DEBUG macro. This line can safely be removed. [] > diff --git a/drivers/nfc/Makefile b/drivers/nfc/Makefile [] > -ccflags-$(CONFIG_NFC_DEBUG) := -

Re: [PATCH v10 03/12] mfd: palmas add variant and OTP detection

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:13PM +, Ian Lartey wrote: > @@ -278,20 +329,20 @@ static void palmas_dt_to_pdata(struct i2c_client *i2c, > int ret; > u32 prop; > > - ret = of_property_read_u32(node, "ti,mux_pad1", &prop); > + ret = of_property_read_u32(node, "ti,mux

Re: [PATCH v10 0/12] Palmas updates

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:10PM +, Ian Lartey wrote: > This patchset adds to the support for the Palmas series of PMIC chips. > > Some of the patches have previously been submitted individually. > The DT bindings doc has been added first due to comments that it was missing. > > Pa

Re: GFS2: Pull request (fixes)

2013-04-05 Thread David Teigland
On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: > Please consider pulling the following changes, There's some mixup here that should be cleared up first. > David Teigland (2): > GFS2: Fix unlock of fcntl locks during withdrawn state > > Steven Whitehouse (1): > GFS

[PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Paul Bolle
There's no Kconfig symbol NFC_DEBUG. Besides, there doesn't seem to be any nfc code that uses a DEBUG macro. This line can safely be removed. Signed-off-by: Paul Bolle --- Untested. drivers/nfc/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/nfc/Makefile b/drivers/nfc/Make

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-04-05 Thread Mike Galbraith
On Fri, 2013-04-05 at 09:21 -0400, Rik van Riel wrote: > On 04/05/2013 12:38 AM, Mike Galbraith wrote: > > On Tue, 2013-03-26 at 16:00 -0400, Rik van Riel wrote: > > >> The ipc semaphore code has a nasty RCU locking tangle, with both > >> find_alloc_undo and semtimedop taking the rcu_read_lock().

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 12:47:15AM -0400, David Miller wrote: > From: Sven Joachim > Date: Wed, 03 Apr 2013 13:41:32 +0200 > > > On 2013-04-03 00:11 +0200, Greg Kroah-Hartman wrote: > > > >> 3.8-stable review patch. If anyone has any objections, please let me know. > > > > I'm seeing several c

Re: [PATCH v6 4/4] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-05 Thread Nicolas Pitre
On Fri, 5 Apr 2013, Stefano Stabellini wrote: > Split xen_guest_init in two functions, one of them (xen_early_init) is > going to be called very early from setup_arch. > > Change machine_desc->smp_init to xen_smp_init if Xen is present on the > platform. xen_smp_init just sets smp_ops to psci_smp

[PATCH] [TRIVIAL] FIX: unintended variable name reuse

2013-04-05 Thread Jan-Simon Möller
Cleanup a variable name reuse. Fix suggested by PaX Team Signed-off-by: Jan-Simon Möller --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/

[PATCH] Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"

2013-04-05 Thread Nicolas Ferre
From: Johan Hovold This reverts commit 0ef1594. This patch introduced a few races which cannot be easily fixed with a small follow-up patch. Furthermore, the SoC with the broken hardware register, which this patch intended to add support for, can only be used with device trees, which this driver

Re: [PATCH v6 2/4] arm: prefer psci_smp_ops over mdesc->smp

2013-04-05 Thread Nicolas Pitre
On Fri, 5 Apr 2013, Stefano Stabellini wrote: > If PSCI is available on the platform, prefer psci_smp_ops over the > platform smp_ops. > > Signed-off-by: Stefano Stabellini Acked-by: Nicolas Pitre > --- > arch/arm/kernel/setup.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(

Re: Beyond inotify recursive watches

2013-04-05 Thread Al Viro
On Fri, Apr 05, 2013 at 05:55:34PM +0200, Jan Kara wrote: > What your question reminds me is an idea of recursive modification time > stamp on directories. That is a time stamp that gets updated whenever > anything in the tree under the directory changes. Now this would be too > expensive to maint

Re: [GIT PULL] Sound fixes for 3.9-rc6

2013-04-05 Thread Takashi Iwai
At Fri, 5 Apr 2013 09:06:43 -0700, Linus Torvalds wrote: > > On Fri, Apr 5, 2013 at 12:46 AM, Takashi Iwai wrote: > > > > please pull sound fixes for v3.9-rc6 from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus > > Argh, Takashi, you're usually so reliable...

Re: [PATCH] mfd: abx500 move the AB8500 Kconfig fragment

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Thu, Mar 14, 2013 at 03:54:24PM +0100, Linus Walleij wrote: > From: Linus Walleij > > Move the AB8500 Kconfig fragment below the AB3100 so the > menuconfig menu gets hierarchically nested and looks nice. > Having the EZX PCAP in the middle disturbs the nice > hierarchical layout fro

[PATCH RFC] watchdog: core: don't try to stop device if not running

2013-04-05 Thread Hector Palacios
A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides, if the device has not been unregistered a critical message "watchdog

Re: [PATCH 1/3] mfd: ab3100-otp: use module_platform_driver_probe()

2013-04-05 Thread Samuel Ortiz
Hi Jingoo, On Tue, Mar 05, 2013 at 01:47:06PM +0900, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han > --- > drivers/mfd/ab3100-otp.c | 14 +- > 1 files changed, 1 insertions(+), 13

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Marek Vasut
Dear Alexandre Pereira da Silva, > On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut wrote: > > The CD line is working perfectly well on this board, so I don't get it. > > In the schematics of this board, the SSP1_DETECT pin is connected to > the green led. As I see, there is no way, the hardware can

Re: [PATCH] mmc: mxs-mmc: Add support for non-removable cards

2013-04-05 Thread Marek Vasut
Dear Mark Brown, > On Fri, Apr 05, 2013 at 08:37:39AM +0200, Marek Vasut wrote: > > btw. did you know you can let git send-email automatically handle CC for > > you so you don't have to type it into the command line by simply > > sticking > > > > Cc: Us Er > > > > in the commit message? Prefera

Re: [PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:26PM +0100, Linus Walleij wrote: > From: Gabriel Fernandez > > This patch augments the STMP driver to read the device id > from the stmpe-i2c dt alias if present. > > Cc: devicetree-disc...@lists.ozlabs.org > Signed-off-by: Gabriel Fernandez > Signed-off

Re: [PATCH V2 1/7] kbuild: create an "include chroot" for DT bindings

2013-04-05 Thread Rob Herring
On 04/04/2013 08:01 PM, Stephen Warren wrote: > On 04/04/2013 05:17 PM, Rob Herring wrote: >> On 04/03/2013 06:34 PM, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> The recent dtc+cpp support allows header files and C pre-processor >>> defines/macros to be used when compiling device tree f

Re: [GIT PULL] Sound fixes for 3.9-rc6

2013-04-05 Thread Linus Torvalds
On Fri, Apr 5, 2013 at 12:46 AM, Takashi Iwai wrote: > > please pull sound fixes for v3.9-rc6 from: > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus Argh, Takashi, you're usually so reliable... But you actually meant for me to pull the sound-3.9 tag, didn't you? That

Re: [PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:16PM +0100, Linus Walleij wrote: > From: Gabriel Fernandez > > If there is no interrupt property into stmpe node > then activate the no-irq mode by setting the irq > value to -1. > > Cc: devicetree-disc...@lists.ozlabs.org > Signed-off-by: Gabriel Fernand

Re: [PATCH 0/4 v6] arm: introduce psci_smp_ops and use them on Xen

2013-04-05 Thread Stefano Stabellini
Russell, sorry for not CC'ing you explicitly since v1 of this series, there have been quite few lengthy discussions on this topic. Do you have any opinions on this? Do you feel that this work belong to your tree, or do you want me to go via arm-soc? On Fri, 5 Apr 2013, Stefano Stabellini wrote:

Re: [PATCH v7 1/2] mfd: syscon: Removed unneeded field "dev" from private driver structure

2013-04-05 Thread Samuel Ortiz
Hi Alexander, On Wed, Mar 13, 2013 at 09:34:19PM +0400, Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > drivers/mfd/syscon.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) Both patches applied, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre ht

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Tony Lindgren
* Roger Quadros [130405 03:44]: > On 04/04/2013 07:41 PM, Tony Lindgren wrote: > > * Roger Quadros [130404 00:39]: > >> On 04/04/2013 02:42 AM, Tony Lindgren wrote: > > For v3.10, let's just make sure that USB works with DT as then > > after v3.10 we can make omap4 DT only and get rid of estimate

Re: [GIT PULL] please pull infiniband.git

2013-04-05 Thread David Woodhouse
On Mon, 2013-03-25 at 09:42 -0700, Roland Dreier wrote: > Hi Linus, > > Please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git > tags/rdma-for-linus > Vinit Agnihotri (1): > IB/qib: change QLogic to Intel > firmware/Makefile

PROBLEM: IPv6 TCP-Connections resetting

2013-04-05 Thread Tetja Rediske
Hi, [1.] One line summary of the problem: IPv6 TCP-Connections resetting [2.] Full description of the problem/report: In the last weeks we updated some of our systems to a 3.8.4 Kernel. Since then sometimes we can't connect to services running IPv6, Apache and Openssh tested. We got this on

Re: Beyond inotify recursive watches

2013-04-05 Thread Jan Kara
Hi, On Mon 18-03-13 16:18:11, Ramkumar Ramachandra wrote: > We, the Git folks, were wondering how to speed things up. In an > strace of "git status" on linux-2.6.git, we found: > > top syscalls sorted top syscalls sorted > by acc. timeby number > -

Re: [PATCH 2/4] mfd: palmas: Change the DT node property names to follow the convention

2013-04-05 Thread Samuel Ortiz
Hi, On Mon, Feb 18, 2013 at 10:42:44AM +0530, J Keerthy wrote: > DT node properties should not have "_". Replacing them by "-". > > Signed-off-by: J Keerthy > --- > drivers/mfd/palmas.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks. Cheers, Samuel. -- Inte

Re: [RESEND: PATCH]: Mfd-Initial-support-for-Texas-Instruments-AIC-family-Codecs

2013-04-05 Thread Samuel Ortiz
Hi Mehar, On Sun, Feb 17, 2013 at 05:15:38AM +, BAJWA, MEHAR wrote: > Hi Samuel, > I am re-sending the MFD support for AIC family of Audio CODECs > from Texas Instruments. The patch was tested on mfd-for-linus-3.8-1. > I would like to request that this be considered for inclusion in the ke

Re: [PATCH v4 00/21] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-04-05 Thread Tony Lindgren
* Benoit Cousson [130405 03:00]: > On 04/05/2013 10:30 AM, Benoit Cousson wrote: > > ... > > >> ARM: dts: OMAP4: Add HS USB Host IP nodes > >> ARM: dts: OMAP3: Add HS USB Host IP nodes > >> ARM: dts: omap3-beagle: Add USB Host support > > > > These 3 DTS patches are good to me, but I cann

Re: [RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-04-05 Thread Lars-Peter Clausen
On 04/05/2013 04:56 PM, Doug Anderson wrote: > Lars, > > On Fri, Apr 5, 2013 at 1:53 AM, Lars-Peter Clausen wrote: >> Since we sleep inside the protected section we need to use a mutex. > > Ah, good point. > >> It's not the timeout case I'm worried about, but the case where the transfer >> is i

Re: hang while add block device to raid1

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 04:13:40PM +0400, Vasiliy Tolstov wrote: > Hello. I'm use kernel 3.6.11 from stable tree. Which is no longer supported, can you duplicate this on the 3.8 stable tree? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH] Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 04:14:35PM +0200, Nicolas Ferre wrote: > On 04/03/2013 12:18 PM, Nicolas Ferre : > > On 04/03/2013 11:54 AM, Johan Hovold : > >> This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde. > >> > >> This patch introduced a few races which cannot be easily fixed with a > >>

New Defect(s) reported by Coverity Scan

2013-04-05 Thread Scan Subscription
Hi, Please find the latest report on new defect(s) that have been introduced to the Linux Kernel found with Coverity SCAN. Defect(s) Reported-by: Coverity Scan: ___ ** CID 996157: Logically dead code (DEADCODE) /net/mac80

Re: [PATCH 3/3] x86: kernel base offset ASLR

2013-04-05 Thread H. Peter Anvin
On 04/05/2013 01:04 AM, Ingo Molnar wrote: > > Random runtime shuffling of the kernel image - is that possible with > existing toolchains? > Yes... the question is how much work we'd be willing to go through to make it happen. One approach: the kernel already contains a linker -- used for modu

Re: [PATCH] merge_config.sh: Avoid creating unnessary source softlinks

2013-04-05 Thread Darren Hart
On 04/04/2013 12:02 PM, John Stultz wrote: > Viresh noticed when using merge_config.sh that a source softlink > was being created even when he didn't specify the -O option. > > The problem arises due to the previous commit 409f117e2d6b > which added the -O option. Basically if -O is not specifie

Re: Re: [PATCH 3/4] uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

2013-04-05 Thread Oleg Nesterov
On 04/05, Masami Hiramatsu wrote: > > Acked-by: Masami Hiramatsu Thanks! Masami, perhaps you can also answer the question I asked in 0/4 marc.info/?l=linux-kernel&m=136458107403835 ? Off-topic question... Why uprobe_perf_func() passes "addr = ip" to perf_trace_buf_submit() ? Thi

Re: [PATCH v7 2/2] mm: replace hardcoded 3% with admin_reserve_pages knob

2013-04-05 Thread Andrew Shewmaker
On Wed, Apr 3, 2013 at 9:50 PM, Simon Jeons wrote: >> FAQ >> ... >> * How do you calculate a minimum useful reserve? >> >> A user or the admin needs enough memory to login and perform >> recovery operations, which includes, at a minimum: >> >> sshd or login + bash (or some other shel

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-05 Thread Max Filippov
Hi Namjae, On Fri, Apr 5, 2013 at 11:57 AM, Namjae Jeon wrote: > Hi. Max. > > I have a question. > Your mmc host driver set to host->max_discard_to by some value instead > of not zero ? I believe it's zero, because the only place where I can see it initialized (sdhci_add_host in the drivers/mmc/

Re: [PATCH] Add non-zero module sections to sysfs

2013-04-05 Thread Sebastian Wankerl
On 04/05/13 06:00, Rusty Russell wrote: > Sebastian Wankerl writes: >> On 04/04/13 03:00, Rusty Russell wrote: >>> Sebastian Wankerl writes: Add non-zero module sections to sysfs on architectures unequal to PARISC. KGDB needs all module sections for proper module debugging. Therefore,

Re: [RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-04-05 Thread Doug Anderson
Lars, On Fri, Apr 5, 2013 at 1:53 AM, Lars-Peter Clausen wrote: > Since we sleep inside the protected section we need to use a mutex. Ah, good point. > It's not the timeout case I'm worried about, but the case where the transfer > is interrupted by the user. Even though it is rather unlikely fo

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Alexandre Pereira da Silva
On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut wrote: > The CD line is working perfectly well on this board, so I don't get it. In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the hardware can detect card removal. Am I missing something

Re: [PATCH 3/3] x86: kernel base offset ASLR

2013-04-05 Thread Borislav Petkov
On Thu, Apr 04, 2013 at 01:07:35PM -0700, Kees Cook wrote: > This creates CONFIG_RANDOMIZE_BASE, so that the base offset of the kernel > can be randomized at boot. Right, if I'm reading this whole deal correctly, I have an issue with this in the sense that if this thing is enabled by default and

[PATCH] perf: fix comments in PERF_MEM_LVL bitmask

2013-04-05 Thread Stephane Eranian
This small patch fixes a mistake in the comments for the PERF_MEM_LVL_* events. The L2, L3 bits simply represent cache levels, not hits or misses. That is encoded in PERF_MEM_LVL_MISS/PERF_MEM_LVL_HIT. Signed-off-by: Stephane Eranian --- diff --git a/include/uapi/linux/perf_event.h b/include/ua

Re: [PATCH 5/5 V2] hwspinlock/core: call pm_runtime_put in pm_runtime_get_sync failed case

2013-04-05 Thread Ohad Ben-Cohen
On Fri, Apr 5, 2013 at 4:20 PM, Li Fei wrote: > Even in failed case of pm_runtime_get_sync, the usage_count > is incremented. In order to keep the usage_count with correct > value and runtime power management to behave correctly, call > pm_runtime_put(_sync) in such case. > > In __hwspin_lock_requ

Re: [char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomas Winkler wrote: > debugfs exposes device state and list of me clients and their > properties > > Signed-off-by: Tomas Winkler > --- > V2: > 1. don't use DEBUGFS_ADD_FILE macro > 2. compile debugfs.c only if CONFIG_DEBUG_FS is set Acked-by: Arnd Bergmann > +#define

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-05 Thread Christoph Lameter
On Fri, 5 Apr 2013, Joonsoo Kim wrote: > Here goes a patch implementing Christoph's idea. > Instead of updating my previous patch, I re-write this patch on top of > your slab/next tree. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] Blackfin: bf537: use "CONFIG_SND_SOC_AD193X"

2013-04-05 Thread Guenter Roeck
On Fri, Apr 05, 2013 at 11:43:37AM +0200, Jean Delvare wrote: > On Fri, 05 Apr 2013 11:20:46 +0200, Paul Bolle wrote: > > 1) Added Jean and Guenter because they seem to take in interest in > > Blackfin's stamp files. > > Doh, no, I only express my disgust and I'd rather stay away from them > as mu

[char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Tomas Winkler
debugfs exposes device state and list of me clients and their properties Signed-off-by: Tomas Winkler --- V2: 1. don't use DEBUGFS_ADD_FILE macro 2. compile debugfs.c only if CONFIG_DEBUG_FS is set drivers/misc/mei/Makefile | 1 + drivers/misc/mei/debugfs.c | 155

Re: x86/mm/pageattr: Code without effect?

2013-04-05 Thread Borislav Petkov
On Fri, Apr 05, 2013 at 11:01:02AM +0200, Stefan Bader wrote: > When looking through some mm code I stumbled over one part in > arch/x86/mm/pageattr.c that looks somewhat bogus to me. Cannot > say what exactly the effects are, but maybe you do (or you could > explain to me why I am wrong :)). > >

Re: [PATCH v2] nfsd: fix bug on nfs4 stateid deallocation

2013-04-05 Thread J. Bruce Fields
On Thu, Apr 04, 2013 at 10:04:03PM +0800, Yanchuan Nian wrote: > On Wed, Apr 03, 2013 at 02:55:08PM -0400, J. Bruce Fields wrote: > > On Wed, Apr 03, 2013 at 06:58:43PM +0800, Yanchuan Nian wrote: > > > On Mon, Apr 01, 2013 at 09:50:44PM -0400, J. Bruce Fields wrote: > > > > On Wed, Mar 13, 2013 at

Re: block device queues, elevatoring implicit or explicit?

2013-04-05 Thread Jan Kara
On Sat 16-03-13 02:06:00, Raymond Jennings wrote: > Are all block devices fundamentally elevators or fifos or what? > > To be blunt, if a bunch of concurrent processes dump requests on a > noop queue, are they serviced fifo or in elevator order or what? > > My goal is to get a dumb elevator that

Re: linux-next: manual merge of the arm-soc tree with the xilinx tree

2013-04-05 Thread Michal Simek
On 04/05/2013 03:32 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Michal Simek wrote: Interesting. I rebased my arm-next branch based on 3.9-rc5 with some Rob's + one Arnd patch from arm-soc - clksrc/cleanup branch. I will fix my arm-next branch. The for-next branch in arm-soc is not stab

Re: [PATCH] Revert "drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR"

2013-04-05 Thread Nicolas Ferre
On 04/03/2013 12:18 PM, Nicolas Ferre : > On 04/03/2013 11:54 AM, Johan Hovold : >> This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde. >> >> This patch introduced a few races which cannot be easily fixed with a >> small follow-up patch. Furthermore, the SoC with the broken hardware >> re

RE: hv_netvsc: WARNING in softirq.c

2013-04-05 Thread Haiyang Zhang
> -Original Message- > From: Richard Genoud [mailto:richard.gen...@gmail.com] > Sent: Friday, April 05, 2013 7:00 AM > To: Haiyang Zhang > Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: hv_netvsc: WARNING in softirq.c

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Marek Vasut
Dear Shawn Guo, > On Fri, Apr 05, 2013 at 01:16:53AM -0300, Alexandre Pereira da Silva wrote: > > The imx23-olinuxino sdcard doesn't support card detect. > > So it sounds more like a "broken-cd" rather than "non-removable"? The CD line is working perfectly well on this board, so I don't get it.

Re: [PATCH 0/2] vfs: Report a mount r/o if the superblock is

2013-04-05 Thread Jan Kara
On Thu 14-03-13 12:09:18, Shea Levy wrote: > By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly > mountpoint, it is possible to have a readonly mount without MNT_READONLY > in its mnt_flags. Currently, /proc//mountinfo and statfs will > report such a mount as r/w, even though for

Re: [PATCH 1/2] efivars: Check max_size only if it is non-zero.

2013-04-05 Thread Matt Fleming
On 04/04/13 17:12, Richard Weinberger wrote: > Fair point. I'll add such a printk() to my patch and resend. Also take a look at FW_BUG. -- 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://vg

Re: [PATCHv2, RFC 20/30] ramfs: enable transparent huge page cache

2013-04-05 Thread Christoph Lameter
On Fri, 5 Apr 2013, Minchan Kim wrote: > > >> How about add a knob? > > > > > >Maybe, volunteering? > > > > Hi Minchan, > > > > I can be the volunteer, what I care is if add a knob make sense? > > Frankly sepaking, I'd like to avoid new knob but there might be > some workloads suffered from mlocke

Re: [RFC 2/2] initramfs with digital signature protection

2013-04-05 Thread Vivek Goyal
On Tue, Feb 05, 2013 at 11:55:09PM +0200, Kasatkin, Dmitry wrote: [..] > > Also I am assuming that from signed initramfs, keys will be loaded in > > appropriate keyrings and then keyring will be locked so that any > > tools from unsigned initramfs can not load additional keys. > > > > Exactly lik

Re: ext4 object already free.

2013-04-05 Thread Dave Jones
On Fri, Apr 05, 2013 at 12:25:53PM +0200, Jan Kara wrote: > > [ 93.672257] [] sys_msgctl+0x139/0x400 > > [ 93.674641] [] ? retint_swapgs+0xe/0x13 > > [ 93.677056] [] ? trace_hardirqs_on_caller+0x115/0x1a0 > > [ 93.679626] [] ? trace_hardirqs_on_thunk+0x3a/0x3f > > [ 93.682159]

Re: [RFC][PATCH 3/7] memcg: use css_get/put when charging/uncharging kmem

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:19:30, Glauber Costa wrote: > > > * __mem_cgroup_free will issue static_key_slow_dec because this > > * memcg is active already. If the later initialization fails > > * then the cgroup core triggers the cleanup so we do not have > > * to do it here. > >

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:51:10, KAMEZAWA Hiroyuki wrote: > (2013/04/03 18:12), Li Zefan wrote: > > Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). > > > > Signed-off-by: Li Zefan > > --- > > mm/memcontrol.c | 10 +- > > 1 file changed, 5 insertions(+), 5 deletions(-) >

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:28:12, Glauber Costa wrote: > On 04/03/2013 07:31 PM, Michal Hocko wrote: > > On Wed 03-04-13 17:12:21, Li Zefan wrote: > >> Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). > >> > >> Signed-off-by: Li Zefan > >> --- > >> mm/memcontrol.c | 10 +- > >

[PATCH] ipc: use list_for_each_entry for list traversing

2013-04-05 Thread Nikola Pajkovsky
the ipc/msg.c code does all list operations by hand and it open-codes the accesses, instead of using for_each_entry. Signed-off-by: Nikola Pajkovsky --- ipc/msg.c | 35 --- 1 files changed, 8 insertions(+), 27 deletions(-) diff --git a/ipc/msg.c b/ipc/msg.c ind

<    1   2   3   4   5   >