Re: [PATCH 11/11] ext4: add cross rename support

2014-01-20 Thread Michael Kerrisk (man-pages)
On Mon, Jan 20, 2014 at 12:39 PM, Miklos Szeredi mik...@szeredi.hu wrote: On Sat, Jan 18, 2014 at 5:27 PM, J. Bruce Fields bfie...@fieldses.org wrote: On Sat, Jan 18, 2014 at 07:49:29AM +0100, Miklos Szeredi wrote: On Fri, Jan 17, 2014 at 11:08 PM, J. Bruce Fields bfie...@fieldses.org wrote:

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
On 20 January 2014 15:35, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Jan 20, 2014 at 02:32:34PM +0530, Tushar Behera wrote: uart_register_driver call binds the driver to a specific device node through tty_register_driver call. This should typically happen during device

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread James Hogan
Hi Chen, On 19/01/14 10:07, Chen Gang wrote: BTW: this patch is related with another patch which is discussing (so I have cc that patch to you and Greg too): if we could sure that it is a compiler's feature issue, we will skip this patch. If you're referring to the #pragma pack portability

Re: [PATCH v7 1/6] MCS Lock: Restructure the MCS lock defines and locking code into its own file

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:16PM -0800, Tim Chen wrote: +/* + * We don't inline mcs_spin_lock() so that perf can correctly account for the + * time spent in this lock function. + */ +static noinline +void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) But given a

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Juri Lelli
On 01/20/2014 12:24 PM, Henrik Austad wrote: On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments of the sched_dl scheduling class

Re: [PATCH v7 3/6] MCS Lock: Move mcs_lock/unlock function into its own file

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:24PM -0800, Tim Chen wrote: copy to kernel/locking/mcs_spinlock.c index 96f14299..44fb092 100644 --- a/include/linux/mcs_spinlock.h +++ b/kernel/locking/mcs_spinlock.c +/* + * asm/processor.h may define arch_mutex_cpu_relax(). + * If it is not defined,

Re: [PATCH v7 5/6] MCS Lock: allow architectures to hook in to contended paths

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:31PM -0800, Tim Chen wrote: +#ifndef arch_mcs_spin_lock_contended +/* + * Using smp_load_acquire() provides a memory barrier that ensures + * subsequent operations happen after the lock is acquired. + */ +#define arch_mcs_spin_lock_contended(l)

Re: [PATCH net-next v2] xen-netback: Rework rx_work_todo

2014-01-20 Thread Zoltan Kiss
Any reviews on this one? It fixes an important lockup situation, so either this or some other fix should go in soon. On 15/01/14 17:11, Zoltan Kiss wrote: The recent patch to fix receive side flow control (11b57f) solved the spinning thread problem, however caused an another one. The receive

[PATCH 07/24] GFS2: Use range based functions for rgrp sync/invalidation

2014-01-20 Thread Steven Whitehouse
Each rgrp header is represented as a single extent on disk, so we can calculate the position within the address space, since we are using address spaces mapped 1:1 to the disk. This means that it is possible to use the range based versions of filemap_fdatawrite/wait and for invalidating the page

[PATCH 14/24] GFS2: Add hints to directory leaf blocks

2014-01-20 Thread Steven Whitehouse
This patch adds four new fields to directory leaf blocks. The intent is not to use them in the kernel itself, although perhaps we may be able to use them as hints at some later date, but instead to provide more information for debug/fsck use. One new field adds a pointer to the inode to which the

GFS2: Pre-pull patch posting (merge window)

2014-01-20 Thread Steven Whitehouse
Hi, Here are the pending patches for the merge window which are currently in the GFS2 tree. The main topics this time are allocation, in the form of Bob's improvements when searching resource groups and several updates to quotas which should increase scalability. The quota changes follow on from

[PATCH 02/24] GFS2: Drop inadequate rgrps from the reservation tree

2014-01-20 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This is just basically a resend of a patch I posted earlier. It didn't change from its original, except in diff offsets, etc: This patch fixes a bug in the GFS2 block allocation code. The problem starts if a process already has a multi-block reservation,

[PATCH 23/24] GFS2: Small cleanup

2014-01-20 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This is a small cleanup to function gfs2_rgrp_go_lock so that it uses rgd instead of its more complicated twin. Signed-off-by: Bob Peterson rpete...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/rgrp.c

[PATCH 22/24] GFS2: Don't use ENOBUFS when ENOMEM is the correct error code

2014-01-20 Thread Steven Whitehouse
Al Viro has tactfully pointed out that we are using the incorrect error code in some cases. This patch fixes that, and also removes the (unused) return value for glock dumping. * gfs2_iget() - ENOBUFS instead of ENOMEM. ENOBUFS is No buffer space available (POSIX.1 (XSI STREAMS option))

[PATCH 24/24] GFS2: revert GFS2: d_splice_alias() can't return error

2014-01-20 Thread Steven Whitehouse
From: J. Bruce Fields bfie...@fieldses.org 0d0d110720d7960b77c03c9f2597faaff4b484ae asserts that d_splice_alias() can't return error unless it was given an IS_ERR(inode). That was true of the implementation of d_splice_alias, but this is really a problem with d_splice_alias: at a minimum it

[PATCH 17/24] GFS2: Use RCU/hlist_bl based hash for quotas

2014-01-20 Thread Steven Whitehouse
Prior to this patch, GFS2 kept all the quotas for each super block in a single linked list. This is rather slow when there are large numbers of quotas. This patch introduces a hlist_bl based hash table, similar to the one used for glocks. The initial look up of the quota is now lockless in the

[PATCH 21/24] GFS2: Fix kbuild test robot reported warning

2014-01-20 Thread Steven Whitehouse
Well I don't get the same warning locally as the kbuild robot, but I guess this should fix the problem, anyway. Here is the warning: head: 2d9e72303d538024627fb1fe2cbde48aec12acc0 commit: ee2411a8db49a21bc55dc124e1b434ba194c8903 [19/20] GFS2: Clean up quota slot allocation config: make

[PATCH 20/24] GFS2: Move quota bitmap operations under their own lock

2014-01-20 Thread Steven Whitehouse
Gradually, the global qd_lock is being used for less and less. After this patch it will only be used for the per super block list whose purpose is to allow syncing of changes back to the master quota file from the local quota changes file. Fixing up that process to make it more efficient will be

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Russell King - ARM Linux
On Mon, Jan 20, 2014 at 05:23:21PM +0530, Tushar Behera wrote: On 20 January 2014 15:35, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Jan 20, 2014 at 02:32:34PM +0530, Tushar Behera wrote: uart_register_driver call binds the driver to a specific device node through

[PATCH 18/24] GFS2: Only run logd and quota when mounted read/write

2014-01-20 Thread Steven Whitehouse
While investigating a rather strange bit of code in the quota clean up function, I spotted that the reason for its existence was that when remounting read only, we were not stopping the quotad thread, and thus it was possible for it to still have a reference to some of the quotas in that case.

[PATCH 19/24] GFS2: Clean up quota slot allocation

2014-01-20 Thread Steven Whitehouse
Quota slot allocation has historically used a vector of pages and a set of homegrown find/test/set/clear bit functions. Since the size of the bitmap is likely to be based on the default qc file size, thats a couple of pages at most. So we ought to be able to allocate that as a single chunk, with a

[PATCH 15/24] GFS2: Add initialization for address space in super block

2014-01-20 Thread Steven Whitehouse
Spotted by Andy Price. This should fix the odd messages from lockdep caused by 70d4ee94b370c5ef54d0870600f16bd92d18013c Signed-off-by: Steven Whitehouse swhit...@redhat.com Cc: Andrew Price anpr...@redhat.com diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 94aab31..3b820b6 100644

[PATCH 12/24] GFS2: Increase i_writecount during gfs2_setattr_chown

2014-01-20 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch calls get_write_access in function gfs2_setattr_chown, which merely increases inode-i_writecount for the duration of the function. That will ensure that any file closes won't delete the inode's multi-block reservation while the function is

[PATCH 16/24] GFS2: No need to invalidate pages for a dio read

2014-01-20 Thread Steven Whitehouse
We recently fixed the writeback of pages prior to performing direct i/o, however the initial fix was perhaps a bit heavy handed. There is no need to invalidate pages if the direct i/o is only a read, since they will be identical to what has been flushed to disk anyway. Signed-off-by: Steven

[PATCH 08/24] GFS2: Use only a single address space for rgrps

2014-01-20 Thread Steven Whitehouse
Prior to this patch, GFS2 had one address space for each rgrp, stored in the glock. This patch changes them to use a single address space in the super block. This therefore saves (sizeof(struct address_space) * nr_of_rgrps) bytes of memory and for large filesystems, that can be significant. It

[PATCH 13/24] GFS2: For exhash conversion, only one block is needed

2014-01-20 Thread Steven Whitehouse
For most cases, only a single new block is needed when we reach the point of converting from stuffed to exhash directory. The exception being when the file name is so long that it will not fit within the new leaf block. So this patch adds a simple test for that situation so that we do not need to

[PATCH 11/24] GFS2: Remember directory insert point

2014-01-20 Thread Steven Whitehouse
When we look to see if there is enough space to add a dir entry without allocation, we have then been repeating the same search later when we do the actual insertion. This patch caches the details of the location in the gfs2_diradd structure, so that we do not have to repeat the search. This will

[PATCH 10/24] GFS2: Consolidate transaction blocks calculation for dir add

2014-01-20 Thread Steven Whitehouse
There are three cases where we need to calculate the number of blocks to reserve in a transaction involving linking an inode into a directory. The one in rename is a bit more complicated, but the basis of it is the same as for link and create. So it makes sense to move this calculation into a

[PATCH 09/24] GFS2: Add directory addition info structure

2014-01-20 Thread Steven Whitehouse
The intent is that this structure will hold the information required when adding entries to a directory (linking). To start with, it will contain only the number of blocks which are required to link the new entry into the directory. The current calculation returns either 0 or the maximim number of

[PATCH 04/24] GFS2: Clean up releasepage

2014-01-20 Thread Steven Whitehouse
For historical reasons, we drop and retake the log lock in -releasepage() however, since there is no reason why we cannot hold the log lock over the whole function, this allows some simplification. In particular, pinning a buffer is only ever done under the log lock, so it is possible here to

[PATCH 03/24] GFS2: Implement a rgrp has no extents longer than X scheme

2014-01-20 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com With the preceding patch, we started accepting block reservations smaller than the ideal size, which requires a lot more parsing of the bitmaps. To reduce the amount of bitmap searching, this patch implements a scheme whereby each rgrp keeps track of the

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Luca Abeni
Hi Juri, On 01/20/2014 11:40 AM, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments of the sched_dl scheduling class and of the SCHED_DEADLINE policy. [...] + References:

Re: [PATCH 04/20] ARM64 / ACPI: Introduce arm_core.c and its related head file

2014-01-20 Thread Hanjun Guo
On 2014-1-18 0:56, Sudeep Holla wrote: On 17/01/14 12:24, Hanjun Guo wrote: Introduce arm_core.c and its related head file, after this patch, we can get ACPI tables from firmware on ARM64 now. Signed-off-by: Al Stone al.st...@linaro.org Signed-off-by: Graeme Gregory graeme.greg...@linaro.org

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread Dan Carpenter
Ah. From so metag is a new arch and not a compiler like the changelog says. On Mon, Jan 20, 2014 at 11:56:47AM +, James Hogan wrote: struct a { struct b { unsigned int x; unsigned short y; } x; unsigned short y; } __packed; This is not

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:36PM -0800, Tim Chen wrote: This patch adds Kconfig entries to allow architectures to hook into the MCS lock/unlock functions in the contended case. From: Will Deacon will.dea...@arm.com Signed-off-by: Will Deacon will.dea...@arm.com --- arch/Kconfig

[PATCH 05/24] GFS2: Remove gfs2_quota_change_host structure

2014-01-20 Thread Steven Whitehouse
There is only one place this is used, when reading in the quota changes at mount time. It is not really required and much simpler to just convert the fields from the on-disk structure as required. There should be no functional change as a result of this patch. Signed-off-by: Steven Whitehouse

[PATCH 06/24] GFS2: Remove test which is always true

2014-01-20 Thread Steven Whitehouse
Since gfs2_inplace_reserve() is always called with a valid alloc parms structure, there is no need to test for this within the function itself - and in any case, after we've all ready dereferenced it anyway. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Steven Whitehouse

[PATCH 01/24] GFS2: If requested is too large, use the largest extent in the rgrp

2014-01-20 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com Here is a second try at a patch I posted earlier, which also implements suggestions Steve made: Before this patch, GFS2 would keep searching through all the rgrps until it found one that had a chunk of free blocks big enough to satisfy the size hint, which

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread James Hogan
On 20/01/14 12:30, Dan Carpenter wrote: Ah. From so metag is a new arch and not a compiler like the changelog says. On Mon, Jan 20, 2014 at 11:56:47AM +, James Hogan wrote: struct a { struct b { unsigned int x; unsigned short y; } x;

[RFC v2 PATCH 03/11] sched: define TOPOLOGY_SD_FLAGS

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com TOPOLOGY_SD_FLAGS contains all SD flags which provide topology related information towards the scheduler. All other SD flags describe scheduler behavioural aspects. The aim of TOPOLOGY_SD_FLAGS is to be able to check that the arch only specifies

[RFC v2 PATCH 02/11] sched: export cpu_smt_mask() and cpu_cpu_mask()

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com Move cpu_smt_mask() and cpu_cpu_mask() from scheduler code into the include/linux/topology.h so that an arch can use them for specifying cpu masks for its topology info array. Signed-off-by: Dietmar Eggemann dietmar.eggem...@arm.com ---

[RFC v2 PATCH 11/11] sched: un-export struct sched_domain

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com Since all occurrences of SD_FOO_INIT have been deleted, there is no need to export struct sched_domain any more. Signed-off-by: Dietmar Eggemann dietmar.eggem...@arm.com --- include/linux/sched.h | 87

[RFC v2 PATCH 00/11] change scheduler domain hierarchy set-up

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com This patch-set cleans up the scheduler domain (sd) level initialisation code. It is based on the idea of Peter Zijlstra to use a single sd init function sketched here: https://lkml.org/lkml/2013/11/5/239 The sd level data for conventional (SMT,

[RFC v2 PATCH 10/11] sched: delete sd ptr arg in arch_scale_freq_power()

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com The ARM arch_scale_freq_power function is the only one outside the core scheduler code using struct sched_domain. This argument is not used in the call chain. This patch deletes it to make it possible to un-export struct sched_domain.

[RFC v2 PATCH 09/11] sched: provide SD_ASYM_PACKING via topology info table

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com The provision of the sd topology flag SD_ASYM_PACKING is shifted from the weak function arch_sd_sibling_asym_packing() towards an arch specific topology info table. Signed-off-by: Dietmar Eggemann dietmar.eggem...@arm.com ---

[RFC v2 PATCH 01/11] sched: define sched_domain_topology_info

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com The idea behind creating the struct sched_domain_topology_info is to be able to only export the scheduler data which can be changed by the arch. Exporting the existing struct sched_domain_topology_level means that we also have to expose struct

[RFC v2 PATCH 07/11] sched: consolidate sched_init_numa() and sched_init_conv()

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com Consolidate sched_init_numa() and sched_init_conv() into one function sched_init_topology(). Signed-off-by: Dietmar Eggemann dietmar.eggem...@arm.com --- kernel/sched/core.c | 164 +-- 1 file

[RFC v2 PATCH 06/11] sched: delete redundant sd init macros

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com This patch deletes all occurrences of SD_SIBLING_INIT, SD_MC_INIT, SD_BOOK_INIT and SD_CPU_INIT. The SD_NODE_INIT in arch/metag/include/asm/topology.h seems to be leftover, probably because the metag arch got introduced at the same time (v3.9) the

[RFC v2 PATCH 08/11] sched: introduce a func ptr for sd topology flags

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com To be able to set sd topology flags via the topology_info[] table dependent on runtime information (cpu feature or per cpu), this patch changes the provision of the sd topology flags from a simple int to a func ptr. The default flags func ptr for

[RFC v2 PATCH 04/11] sched: replace SD_INIT_FUNC with sd_init()

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com This patch incorporates struct sched_domain_topology_info info into struct sched_domain_topology_level. It updates sd_init_numa() to reflect the change that conventional (SMT, MC, BOOK, CPU) level initialization relies on the topology_info[] array

[git pull] m68k updates for 3.14

2014-01-20 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

[RFC v2 PATCH 05/11] sched: add a name to sched_domain_topology_info

2014-01-20 Thread dietmar . eggemann
From: Dietmar Eggemann dietmar.eggem...@arm.com With this patch, an arbitrary name for a sd level has to be specified in the topology info table. This feature is still only active if CONFIG_SCHED_DEBUG is set. Signed-off-by: Dietmar Eggemann dietmar.eggem...@arm.com --- include/linux/sched.h |

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Shevchenko, Andriy
On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: As mentioned by Andy, we are using *_noirq verion

Re: [RFC/RFT][PATCH 4/5] ACPI / LPSS: Support for device latency tolerance PM QoS

2014-01-20 Thread Rafael J. Wysocki
On Monday, January 20, 2014 01:15:19 PM Mika Westerberg wrote: On Fri, Jan 17, 2014 at 03:46:40PM +0100, Rafael J. Wysocki wrote: @@ -415,11 +472,12 @@ static int acpi_lpss_platform_notify(str return 0; } - if (action == BUS_NOTIFY_ADD_DEVICE) + if (action ==

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread Dan Carpenter
On Mon, Jan 20, 2014 at 12:37:57PM +, James Hogan wrote: On 20/01/14 12:30, Dan Carpenter wrote: Ah. From so metag is a new arch and not a compiler like the changelog says. On Mon, Jan 20, 2014 at 11:56:47AM +, James Hogan wrote: struct a { struct b {

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread Dan Carpenter
Are you sure it's padding the unions, and not just treating the unions as structs? What is the size of this union? union a { int x; short y; }; regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

RE: [PATCH net-next v2] xen-netback: Rework rx_work_todo

2014-01-20 Thread Paul Durrant
-Original Message- From: Zoltan Kiss Sent: 20 January 2014 12:23 To: Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jonathan Davies Cc: Paul Durrant Subject: Re: [PATCH net-next v2] xen-netback: Rework rx_work_todo Any

Re: [PATCH] dma: fix vchan_cookie_complete() debug print

2014-01-20 Thread Vinod Koul
On Mon, Jan 20, 2014 at 11:28:22AM +, Russell King - ARM Linux wrote: On Mon, Jan 20, 2014 at 03:29:17PM +0530, Vinod Koul wrote: On Fri, Dec 06, 2013 at 04:42:09PM +0100, Jonas Jensen wrote: vd-tx.cookie is set zero on dma_cookie_complete(), save to local before printing it.

[RFC PATCH V2] fs null_blk: Null pointer deference problem in alloc_page_buffers

2014-01-20 Thread Raghavendra K T
If we load the null_blk module with bs=8k we get following oops: [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 3819.812387] IP: [81170aa5] create_empty_buffers+0x28/0xaf [ 3819.812527] PGD 219244067 PUD 215a06067 PMD 0 [ 3819.812640] Oops:

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Vinod Koul
On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew,

[GIT] Security subsystem changes for 3.14

2014-01-20 Thread James Morris
Changes for this kernel include maintenance updates for Smack, SELinux (and several networking fixes), IMA and TPM. Please pull. The following changes since commit d8ec26d7f8287f5788a494f56e8814210f0e64be: Linux 3.13 (2014-01-19 18:40:07 -0800) are available in the git repository at:

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Stephen Rothwell
Hi Sedat, On Mon, 20 Jan 2014 09:46:55 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Mon, Jan 20, 2014 at 9:42 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Mon, Jan 20, 2014 at 4:51 AM, Stephen Rothwell s...@canb.auug.org.au wrote: On Sat, 18 Jan 2014 10:46:06 +0100 Mike Galbraith

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-20 Thread Michal Hocko
On Fri 17-01-14 13:11:54, Tejun Heo wrote: cgroup_subsys is a bit messier than it needs to be. * The name of a subsys can be different from its internal identifier defined in cgroup_subsys.h. Most subsystems use the matching name but three - cpu, memory and perf_event - use different

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
On Mon, Jan 20, 2014 at 01:15:51PM +0100, Juri Lelli wrote: On 01/20/2014 12:24 PM, Henrik Austad wrote: On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage and

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 01:30:30PM +0100, Peter Zijlstra wrote: Then again, people seem to whinge if you don't keep these Kbuild files sorted, but manually sorting 29 files is just not something I like to do. This seems to do it.. gawk '/^generic-y/ { i = 3; do {

Re: [PATCH 3/3] perf tools: bring back old behavior when NO_DEMAGLE doesn't link with libbfd

2014-01-20 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 20, 2014 at 03:39:40PM +0400, Stanislav Fomichev escreveu: This commit reverts part of the 3e6a147deef9 perf tools: Separate lbfd check out of NO_DEMANGLE condition which always links perf with libbfd. I'd like to preserve old behavior when NO_DEMAGLE does not link with it, because

Re: [PATCH] dma: fix vchan_cookie_complete() debug print

2014-01-20 Thread Russell King - ARM Linux
On Mon, Jan 20, 2014 at 05:33:01PM +0530, Vinod Koul wrote: On Mon, Jan 20, 2014 at 11:28:22AM +, Russell King - ARM Linux wrote: On Mon, Jan 20, 2014 at 03:29:17PM +0530, Vinod Koul wrote: On Fri, Dec 06, 2013 at 04:42:09PM +0100, Jonas Jensen wrote: vd-tx.cookie is set zero on

Re: [PATCH] pwm: add support for Intel Low Power Subsystem PWM

2014-01-20 Thread One Thousand Gnomes
+static int pwm_lpss_config(struct pwm_chip *chip, struct pwm_device *pwm, + int duty_ns, int period_ns) +{ + struct pwm_lpss_chip *lpwm = to_lpwm(chip); + u8 on_time_div; + unsigned long c = clk_get_rate(lpwm-clk); + unsigned long long base_unit, hz = 10UL; +

Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

2014-01-20 Thread One Thousand Gnomes
(and why not just use EPERM, it has the meaning you want already) We need to determine if we have a share reservation error to map it accurately in file servers and wine. Ok Shouldn't this also check for CAP_SYS_DAC or some similar permission so that root can override such a mess (eg to

Re: [PATCH] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-20 Thread Srikanth Thokala
Hi Arnd, Sorry for the duplication. Ccing others. On Mon, Jan 20, 2014 at 5:09 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 20 January 2014, Srikanth Thokala wrote: On Fri, Jan 17, 2014 at 9:43 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 16 January 2014, Srikanth Thokala wrote:

Re: [PATCH 2/5] efi: Dump the EFI page table

2014-01-20 Thread Matt Fleming
On Sat, 18 Jan, at 12:48:15PM, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de This is very useful for debugging issues with the recently added pagetable switching code for EFI virtual mode. Signed-off-by: Borislav Petkov b...@suse.de Tested-by: Toshi Kani toshi.k...@hp.com ---

[PATCH v3] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-20 Thread Vivek Gautam
Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Thereby, removing old phy-samsung-usb3 driver and related code used untill now which was based on usb/phy

Re: [PATCH] drivers: staging: lustre: lustre: include: add __attribute__((packed)) for the related union

2014-01-20 Thread James Hogan
On 20/01/14 13:01, Dan Carpenter wrote: It would be easy enough to make the compiler complain about any union which would normally have size which is not a multiple of 4. Warning: union will be padded with 2 bytes unless __attribute__((packed)). Otherwise you will be fighting this for

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Luca Abeni
Hi all, On 01/20/2014 02:16 PM, Henrik Austad wrote: [...] + The typical -deadline task is composed of a computation phase (instance) + which is activated on a periodic or sporadic fashion. The expected (maximum) + duration of such computation is called the task's runtime; the time interval +

Re: [PATCH 2/5] efi: Dump the EFI page table

2014-01-20 Thread Borislav Petkov
On Mon, Jan 20, 2014 at 01:38:02PM +, Matt Fleming wrote: +config EFI_PGT_DUMP + bool Dump the EFI pagetable + depends on EFI X86_PTDUMP + ---help--- + Enable this if you want to dump the EFI page table before + enabling virtual mode. This can be used to debug

[GIT PULL] x86/apic changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus # HEAD: 5b4d1dbc24bb6fd7179ada0f47be34e27e64decb x86, apic: Make disabled_cpu_apicid static read_mostly, fix typos Two main changes: - Improve

Re: [PATCH 5/5] efi: Split efi_enter_virtual_mode

2014-01-20 Thread Matt Fleming
On Sat, 18 Jan, at 12:48:18PM, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de ... into a kexec flavor for better code readability and simplicity. The original one was getting ugly with ifdeffery. Signed-off-by: Borislav Petkov b...@suse.de Tested-by: Toshi Kani

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-20 Thread Vivek Gautam
Hi Kishon, [...] Right. While 3.0 block(PIPE3) can be used for Super Speed, 2.0 block(UTMI+) can be used for High speed. It should then come under *single IP muliple PHY* category similar to what Sylwester has done. [...] The idea is to model the driver as close to the hardware

Re: [PATCH 5/5] efi: Split efi_enter_virtual_mode

2014-01-20 Thread Borislav Petkov
On Mon, Jan 20, 2014 at 01:44:07PM +, Matt Fleming wrote: +void __init kexec_enter_virtual_mode(void) +{ Could this be static for now? Didn't you wanna do arch/x86/platform/efi/kexec.c anyway? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --

RE: [PATCH] isci: reformulate for_each_isci_host macro to fix an oops

2014-01-20 Thread Dorau, Lukasz
On Thursday, January 16, 2014 2:16 PM Lukasz Dorau lukasz.do...@intel.com wrote: The loop 'for' in macro 'for_each_isci_host' (drivers/scsi/isci/init.c:717) is executed more times than it can be. Regardless the condition: 'id ARRAY_SIZE(to_pci_info(pdev)-hosts)'

Re: [PATCH] NFSv4.1: PNFS_BLOCK_NONE_DATA should be handle properly in bl_add_merge_extent?

2014-01-20 Thread Christoph Hellwig
On Mon, Jan 20, 2014 at 06:07:28PM +0800, shaobingqing wrote: In the current code, extents would not delete from the bl_extents list when lseg is removed from layout. Now one extent's lseg is deleted and its type is PNFS_BLOCK_NONE_DATA, while a layoutget request get a extent with the same

[GIT PULL] x86/asm changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: a740576a4abf933de8f50787f24f24456cebd761 x86: Slightly tweak the access_ok() C variant for better code Misc optimizations. Thanks,

Re: [PATCH v7 2/6] MCS Lock: optimizations and extra comments

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:20PM -0800, Tim Chen wrote: Remove unnecessary operation and make the cmpxchg(lock, node, NULL) == node check in mcs_spin_unlock() likely() as it is likely that a race did not occur most of the time. It might be good to describe why the node-locked=1 is thought

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-20 Thread Christoph Hellwig
On Thu, Jan 16, 2014 at 09:07:21AM +1100, Dave Chinner wrote: Yes, I think it can be done relatively simply. We'd have to change the code in xfs_file_aio_write_checks() to check whether EOF zeroing was required rather than always taking an exclusive lock (for block aligned IO at EOF sub-block

Re: [PATCH v7 0/6] MCS Lock: MCS lock code cleanup and optimizations

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:04PM -0800, Tim Chen wrote: This is an update of the MCS lock patch series posted in November. Aside from the smallish gripes I posted about; Acked-by: Peter Zijlstra pet...@infradead.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-20 Thread Lei Wen
Hi Viresh, On Wed, Jan 15, 2014 at 5:27 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Hi Again, I am now successful in isolating a CPU completely using CPUsets, NO_HZ_FULL and CPU hotplug.. My setup and requirements for those who weren't following the earlier mails: For networking

Re: [PATCH 10/20] ARM64 / ACPI: Enumerate possible/present CPU set and map logical cpu id to APIC id

2014-01-20 Thread Hanjun Guo
On 2014年01月18日 01:37, Sudeep Holla wrote: On 17/01/14 12:25, Hanjun Guo wrote: When boot the kernel with MADT, the cpu possible and present sets should be enumerated for later smp initialization. The logic cpu id maps to APIC id (GIC id) is also implemented, it is needed for acpi processor

[GIT PULL] x86/build changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-build-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus # HEAD: 6f34152f54bcf63a49ea701643c81f5b2168fec8 x86, boot: Move intcall() to the .inittext section Misc smaller improvements. Thanks,

[GIT PULL] x86/cleanups for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-cleanups-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus # HEAD: d139336700a5f3a560da235e4dfcd286773025d4 x86, cpu, amd: Fix a shadowed variable situation Misc cleanups. Thanks, Ingo

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Shevchenko, Andriy
On Mon, 2014-01-20 at 17:37 +0530, Vinod Koul wrote: On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul

Re: [PATCH 1/3] ACPI / idle: Move idle_boot_override out of the arch directory

2014-01-20 Thread Hanjun Guo
On 2014年01月18日 21:47, Rafael J. Wysocki wrote: On Saturday, January 18, 2014 11:52:18 AM Hanjun Guo wrote: On 2014-1-18 11:45, Hanjun Guo wrote: On 2014-1-17 20:06, Sudeep Holla wrote: On 17/01/14 02:03, Hanjun Guo wrote: Move idle_boot_override out of the arch directory to be a single enum

Re: [PATCH v3 1/2] i2c: qup: Add device tree bindings information

2014-01-20 Thread Rob Herring
On Fri, Jan 17, 2014 at 5:03 PM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: From: Ivan T. Ivanov iiva...@mm-sol.com The Qualcomm Universal Peripherial (QUP) wraps I2C mini-core and provide input and output FIFO's for it. I2C controller can operate as master with supported bus

[PATCH v6 02/10] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-20 Thread Roger Quadros
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

[PATCH v6 00/10] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-20 Thread Roger Quadros
Hi Benoit Tony, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It depends on the TI Clock DT conversion patches [1] and is based on 3.13 [1] - http://article.gmane.org/gmane.linux.ports.arm.kernel/293147 Tested on: - OMAP5 uEVM - Pandaboard ES Rev. B1 -

[PATCH v6 07/10] ARM: dts: omap5: Update omap-usb-host node

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi

[PATCH v6 04/10] mfd: omap-usb-host: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects certained named clocks. Add this information to the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-host.txt | 23

[PATCH v6 03/10] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-01-20 Thread Roger Quadros
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v6 05/10] mfd: omap-usb-tll: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-tll driver needs one clock for each TLL channel. Add this information to the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/mfd/omap-usb-tll.txt | 10

[PATCH v6 10/10] ARM: OMAP2+: Remove legacy_init_ehci_clk()

2014-01-20 Thread Roger Quadros
The necessary clock phandle for the EHCI clock is now provided via device tree so we no longer need this legacy method. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c | 16 1 file changed, 16 deletions(-) diff --git

[PATCH v6 09/10] ARM: dts: omap5-uevm: Provide USB PHY clock

2014-01-20 Thread Roger Quadros
The HS USB 2 PHY gets its clock from AUXCLK1. Provide this information. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5-uevm.dts | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts

  1   2   3   4   5   6   7   8   9   10   >