[PATCH 1/1] Smack: Assign smack_known_web as default smk_in label for kernel thread's socket

2015-01-22 Thread Marcin Lis
This change fixes the bug associated with sockets owned by kernel threads. These sockets, created usually by network devices' drivers tasks, received smk_in label from the task that created them - the "floor" label in the most cases. The result was that they were not able to receive data packets

Re: [PATCH 2/2] ARM: sti: Provide DT nodes for SBC SSC[0..2]

2015-01-22 Thread Maxime Coquelin
On 01/22/2015 11:07 AM, Lee Jones wrote: The Synchronous Serial Controller is used to provide SPI. These are the ports which are located on the Stand-By Controller (SBC). Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 31 +++ 1 file

Re: [PATCH 1/2] ARM: sti: Provide DT nodes for SSC[0..4]

2015-01-22 Thread Maxime Coquelin
On 01/22/2015 11:07 AM, Lee Jones wrote: The Synchronous Serial Controller is used to provide SPI. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 54 +++ 1 file changed, 54 insertions(+) Applied, Thanks -- To unsubscribe from this

[PATCH v3 09/13] locks: add a dedicated spinlock to protect i_flctx lists

2015-01-22 Thread Jeff Layton
From: Jeff Layton We can now add a dedicated spinlock without expanding struct inode. Change to using that to protect the various i_flctx lists. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/ceph/locks.c | 8 ++--- fs/cifs/file.c | 8 ++--- fs/lockd/svcsubs.c | 12

[PATCH v3 12/13] locks: consolidate NULL i_flctx checks in locks_remove_file

2015-01-22 Thread Jeff Layton
We have each of the locks_remove_* variants doing this individually. Have the caller do it instead, and have locks_remove_flock and locks_remove_lease just assume that it's a valid pointer. Signed-off-by: Jeff Layton --- fs/locks.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)

[PATCH v3 10/13] locks: clean up the lm_change prototype

2015-01-22 Thread Jeff Layton
From: Jeff Layton Now that we use standard list_heads for tracking leases, we can have lm_change take a pointer to the lease to be modified instead of a double pointer. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/locks.c | 13 ++--- fs/nfsd/nfs4state.c | 3

[PATCH v3 00/13] locks: saner method for managing file locks

2015-01-22 Thread Jeff Layton
v3: - break out a ceph locking cleanup patch into a separate one earlier in the series - switch back to using the i_lock to protect assignment of i_flctx. Using cmpxchg() was subject to races that I couldn't quite get a grip on. Eventually I may switch it back, but it probably doesn't

[PATCH v3 05/13] locks: move flock locks to file_lock_context

2015-01-22 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/ceph/locks.c | 23 --- fs/locks.c | 54 ++--- fs/nfs/delegation.c | 19 +-- fs/nfs/nfs4state.c | 42

Re: [PATCH v2 2/2] powerpc/powernv: Skip registering log region when CONFIG_PRINTK=n

2015-01-22 Thread Pranith Kumar
On Thu, Jan 22, 2015 at 12:19 AM, Michael Ellerman wrote: > On Wed, 2015-01-21 at 21:26 -0500, Pranith Kumar wrote: >> When CONFIG_PRINTK=n, log_buf_addr_get() returns NULL and log_buf_len_get() >> return 0. Check for these return values and skip registering the dump buffer. >> >> Signed-off-by:

[PATCH v3 07/13] locks: convert lease handling to file_lock_context

2015-01-22 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/locks.c | 252 + include/linux/fs.h | 5 +- 2 files changed, 102 insertions(+), 155 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index

[PATCH v3 02/13] locks: have locks_release_file use flock_lock_file to release generic flock locks

2015-01-22 Thread Jeff Layton
From: Jeff Layton ...instead of open-coding it and removing flock locks directly. This helps consolidate the flock lock removal logic into a single spot. Signed-off-by: Jeff Layton --- fs/locks.c | 49 +++-- 1 file changed, 31 insertions(+), 18

[PATCH v3 08/13] locks: remove i_flock field from struct inode

2015-01-22 Thread Jeff Layton
From: Jeff Layton Nothing uses it anymore. Also add a forward declaration for struct file_lock to silence some compiler warnings that the removal triggers. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- include/linux/fs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v3 01/13] locks: add new struct list_head to struct file_lock

2015-01-22 Thread Jeff Layton
From: Jeff Layton ...that we can use to queue file_locks to per-ctx list_heads. Go ahead and convert locks_delete_lock and locks_dispose_list to use it instead of the fl_block list. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/locks.c | 8 +--- include/linux/fs.h

[tip:x86/apic] x86/smpboot: Move smpboot inlines to code

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: f77aa308e5a6144a47311ad6905a1a72bc0014f9 Gitweb: http://git.kernel.org/tip/f77aa308e5a6144a47311ad6905a1a72bc0014f9 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:29 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/smpboot: Move

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-22 Thread Steven Rostedt
On Thu, 22 Jan 2015 07:32:12 -0500 Tejun Heo wrote: > > That is, I need to create the following interface: > > > > tracefs_create_file() > > kernfs_create_file() > > > tracefs_create_dir() > > kernfs_create_dir() The problem is that these do not return dentry. They return kernfs_node.

[PATCH v3 11/13] locks: keep a count of locks on the flctx lists

2015-01-22 Thread Jeff Layton
From: Jeff Layton This makes things a bit more efficient in the cifs and ceph lock pushing code. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/ceph/locks.c| 11 ++- fs/cifs/file.c | 14 -- fs/locks.c | 45

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Tejun Heo
Hello, On Thu, Jan 22, 2015 at 08:45:50AM -0500, Johannes Weiner wrote: > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > index bb263d0caab3..9a09308c8066 100644 > --- a/kernel/cgroup.c > +++ b/kernel/cgroup.c > @@ -1819,8 +1819,11 @@ static struct dentry *cgroup_mount(struct > file_system_type

[PATCH v3 03/13] locks: add a new struct file_locking_context pointer to struct inode

2015-01-22 Thread Jeff Layton
From: Jeff Layton The current scheme of using the i_flock list is really difficult to manage. There is also a legitimate desire for a per-inode spinlock to manage these lists that isn't the i_lock. Start conversion to a new scheme to eventually replace the old i_flock list with a new

[tip:x86/apic] x86/smpboot: Sanitize uniprocessor init

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 613c25efbdc763ee8b9d732368106d2456279356 Gitweb: http://git.kernel.org/tip/613c25efbdc763ee8b9d732368106d2456279356 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:42 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86/smpboot:

[PATCH v3 06/13] locks: convert posix locks to file_lock_context

2015-01-22 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/ceph/locks.c | 58 +--- fs/cifs/file.c | 26 + fs/lockd/svcsubs.c | 20 ++ fs/locks.c | 108 +++-

Re: [PATCH V4 2/2] i2c-designware: Add Intel Baytrail PMIC I2C bus support

2015-01-22 Thread Mika Westerberg
On Thu, Jan 15, 2015 at 01:12:17AM -0800, David E. Box wrote: > This patch implements an I2C bus sharing mechanism between the host and > platform > hardware on select Intel BayTrail SoC platforms using the X-Powers AXP288 > PMIC. > > On these platforms access to the PMIC must be shared with

[tip:x86/apic] x86/apic: Move apic_init_uniprocessor code

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: e714a91f92ca59f7e71e7332b8ec2aa2944f629e Gitweb: http://git.kernel.org/tip/e714a91f92ca59f7e71e7332b8ec2aa2944f629e Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:37 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86/apic: Move

[tip:x86/apic] init: Get rid of x86isms

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 30b8b0066cafef274fc92462578ee346211ce7cb Gitweb: http://git.kernel.org/tip/30b8b0066cafef274fc92462578ee346211ce7cb Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:39 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 init: Get rid of

[tip:x86/apic] x86/apic: Reuse apic_bsp_setup() for UP APIC setup

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 374aab339f10f0510cec0e79d752d31d84b08aa2 Gitweb: http://git.kernel.org/tip/374aab339f10f0510cec0e79d752d31d84b08aa2 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:44 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86/apic: Reuse

[tip:x86/apic] x86: Consolidate boot cpu timer setup

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 9c4d9c73dd380ecfe1893600174f96d0eb068997 Gitweb: http://git.kernel.org/tip/9c4d9c73dd380ecfe1893600174f96d0eb068997 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:45 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86: Consolidate

[tip:x86/apic] x86/smpboot: Move apic init code to apic.c

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 05f7e46d2aac359b6bcfc06b302bdd03ca0bcada Gitweb: http://git.kernel.org/tip/05f7e46d2aac359b6bcfc06b302bdd03ca0bcada Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:40 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86/smpboot: Move

[tip:x86/apic] x86/smpboot: Cleanup ioapic handling

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: ef4c59a4b64c62f977187cae444aee25bebb02fe Gitweb: http://git.kernel.org/tip/ef4c59a4b64c62f977187cae444aee25bebb02fe Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:35 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:56 +0100 x86/smpboot:

[PATCH v6 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-22 Thread Chunyan Zhang
Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64 platform. This driver also support earlycon. This patch also replaced the spaces between the macros and their values with the tabs in serial_core.h Originally-by: Lanqing Liu Signed-off-by: Orson Zhai

[PATCH v3 13/13] locks: update comments that refer to inode->i_flock

2015-01-22 Thread Jeff Layton
Signed-off-by: Jeff Layton --- fs/locks.c | 2 +- include/linux/fs.h | 19 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 2fc36b3772a0..4d0d41163a50 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -2212,7 +2212,7 @@ again:

[tip:x86/apic] x86/ioapic: Add proper checks to setp/ enable_IO_APIC()

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: a46f5c89274245e42834dc976896444efd53ccdc Gitweb: http://git.kernel.org/tip/a46f5c89274245e42834dc976896444efd53ccdc Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:32 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/ioapic: Add

[tip:x86/apic] x86/apic: Sanitize ioapic handling

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 35e4c6d30e6f69745d77afd5f63203ad440bed12 Gitweb: http://git.kernel.org/tip/35e4c6d30e6f69745d77afd5f63203ad440bed12 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:34 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/apic: Sanitize

[tip:x86/apic] x86/ioapic: Provide stub functions for IOAPIC%3Dn

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 8686608336e11276d72d020cb0b67bee70d9a5cd Gitweb: http://git.kernel.org/tip/8686608336e11276d72d020cb0b67bee70d9a5cd Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:30 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/ioapic: Provide

[tip:x86/apic] x86/x2apic: Split enable and setup function

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 659006bf3ae37a08706907ce1a36ddf57c9131d2 Gitweb: http://git.kernel.org/tip/659006bf3ae37a08706907ce1a36ddf57c9131d2 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:26 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/x2apic: Split

[tip:x86/apic] x86/x2apic: Use state information for disable

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 6d2d49d2cd0199ce298d111ee7fd405af3344a70 Gitweb: http://git.kernel.org/tip/6d2d49d2cd0199ce298d111ee7fd405af3344a70 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:27 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/x2apic: Use

[PATCH v3 04/13] ceph: move spinlocking into ceph_encode_locks_to_buffer and ceph_count_locks

2015-01-22 Thread Jeff Layton
From: Jeff Layton There is only a single call site for each of these functions, and the caller takes the i_lock prior to calling them and drops it just afterward. Move the spinlocking into the functions instead. Signed-off-by: Jeff Layton Acked-by: Christoph Hellwig --- fs/ceph/locks.c

[tip:x86/apic] x86/x2apic: Disable x2apic from nox2apic setup

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 44e25ff9e6912347a1a54c757fc75681d0dc42d0 Gitweb: http://git.kernel.org/tip/44e25ff9e6912347a1a54c757fc75681d0dc42d0 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:24 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/x2apic: Disable

[tip:x86/apic] x86/x2apic: Clarify remapping mode for x2apic enablement

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 62e61633daeb0b53f0506aa6e170e2e4cc75cd65 Gitweb: http://git.kernel.org/tip/62e61633daeb0b53f0506aa6e170e2e4cc75cd65 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:21 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/x2apic: Clarify

[tip:x86/apic] x86/x2apic: Add proper state tracking

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 12e189d3cfa4c64de758bde18626184bf32c65fc Gitweb: http://git.kernel.org/tip/12e189d3cfa4c64de758bde18626184bf32c65fc Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:22 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:55 +0100 x86/x2apic: Add

[tip:x86/apic] x86/x2apic: Move code in conditional region

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 55eae7de727e9ecc814853ec364fbbb352c337df Gitweb: http://git.kernel.org/tip/55eae7de727e9ecc814853ec364fbbb352c337df Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:19 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/x2apic: Move

[tip:x86/apic] x86/apic: Make disable x2apic work really

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 9aa16365275a272283acbda665634ca3dc8b46fe Gitweb: http://git.kernel.org/tip/9aa16365275a272283acbda665634ca3dc8b46fe Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:16 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/apic: Make

[tip:x86/apic] x86/apic: Check x2apic early

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: d524165cb8dbb2ce5916cd7682236b9324ae2644 Gitweb: http://git.kernel.org/tip/d524165cb8dbb2ce5916cd7682236b9324ae2644 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:17 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/apic: Check

[tip:x86/apic] x86/apic: Avoid open coded x2apic detection

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 8d80696060eedf49c080c0f2cf39a20ae7e787f9 Gitweb: http://git.kernel.org/tip/8d80696060eedf49c080c0f2cf39a20ae7e787f9 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:09 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/apic: Avoid

[tip:x86/apic] x86/ioapic: Check x2apic really

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 2ca5b40479246087695d9e6343075b47ee6887ea Gitweb: http://git.kernel.org/tip/2ca5b40479246087695d9e6343075b47ee6887ea Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:14 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/ioapic: Check

[tip:x86/apic] x86/apic: Move x2apic code to one place

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: bfb050702990d6a2033d072cb2af583aee5c6fc5 Gitweb: http://git.kernel.org/tip/bfb050702990d6a2033d072cb2af583aee5c6fc5 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:12 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/apic: Move

[tip:x86/apic] x86/apic: Make x2apic_mode depend on CONFIG_X86_X2APIC

2015-01-22 Thread tip-bot for Thomas Gleixner
Commit-ID: 81a46dd8249d7fa72a8557e58a38aa984e6b5e16 Gitweb: http://git.kernel.org/tip/81a46dd8249d7fa72a8557e58a38aa984e6b5e16 Author: Thomas Gleixner AuthorDate: Thu, 15 Jan 2015 21:22:11 + Committer: Thomas Gleixner CommitDate: Thu, 22 Jan 2015 15:10:54 +0100 x86/apic: Make

Re: [PATCH 1/1] NVMe: Do not take nsid while a passthrough IO command is being issued via a block device file descriptor

2015-01-22 Thread Keith Busch
On Wed, 21 Jan 2015, Yan Liu wrote: For IO passthrough command, it uses an IO queue associated with the device. Actually, this patch does not modify that part. This patch is not really focused on io queues; instead, it is more about namespace protection from other namespace's user ios. The

Re: [PATCH V4 1/2] i2c-designware: Add i2c bus locking support

2015-01-22 Thread Mika Westerberg
On Thu, Jan 15, 2015 at 01:12:16AM -0800, David E. Box wrote: > Adds support for acquiring and releasing a hardware bus lock in the i2c > designware core transfer function. This is needed for i2c bus controllers > that are shared with but not controlled by the kernel. > > Signed-off-by: David E.

Re: [PATCH] SATA: OCTEON: support SATA on OCTEON platform

2015-01-22 Thread Rob Herring
On Wed, Jan 21, 2015 at 11:17 AM, David Daney wrote: > On 01/21/2015 08:54 AM, Mark Rutland wrote: >> >> On Mon, Jan 19, 2015 at 07:16:28PM +, David Daney wrote: > > [...] > > @@ -67,6 +76,7 @@ static const struct of_device_id ahci_of_match[] = { > { .compatible =

Re: [PATCH 1/1] i2c: i2c-st: Rename clock reference to something that exists

2015-01-22 Thread Wolfram Sang
On Thu, Aug 28, 2014 at 03:02:03PM +0100, Lee Jones wrote: > CLK_S_ICN_REG_0 hasn't existed for a while now. This was renamed > over a few commits, then finally removed in commit 5aa02b9 (ARM: > STi: DT: STiH415: Remove unused CLK_S_ICN_REG_0 fixed clock). > > Signed-off-by: Lee Jones Applied

Re: [PATCH v2 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-22 Thread Steven Rostedt
On Wed, 21 Jan 2015 21:26:08 -0500 Pranith Kumar wrote: > There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() > for when CONFIG_PRINTK is not set causing build failures. > > This patch adds these dummy routines at the appropriate location. > > Signed-off-by: Pranith

Re: [PATCH 1/1] i2c: i2c-st: Rename clock reference to something that exists

2015-01-22 Thread Wolfram Sang
On Thu, Jan 22, 2015 at 12:18:19PM +, Lee Jones wrote: > Wolfram, > > This patch has been on the list since forever. For reasons :) a) It was not CCed to the i2c list, so it doesn't show up in patchwork which does the patch tracking for me. b) I was always under the impression that Maxime

Re: [PATCH v2 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-22 Thread Petr Mladek
On Wed 2015-01-21 21:26:08, Pranith Kumar wrote: > There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() > for when CONFIG_PRINTK is not set causing build failures. > > This patch adds these dummy routines at the appropriate location. > > Signed-off-by: Pranith Kumar

[PATCH] lib/kstrtox.c Stop parsing integer on overflow

2015-01-22 Thread Anshul Garg
From: Anshul Garg While converting string representation to integer break the loop if overflow is detected. Signed-off-by: Anshul Garg --- lib/kstrtox.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/kstrtox.c b/lib/kstrtox.c index ec8da78..6f30209 100644 ---

Re: KVM: HAVE_KVM_ARCH_DIRTY_LOG_PROTECT?

2015-01-22 Thread Paolo Bonzini
On 22/01/2015 10:19, Paul Bolle wrote: > Your commit ba0513b5b8ff ("KVM: Add generic support for dirty page > logging") is included in today's linux-next (ie, next-20150122). I > noticed because a script I use to check linux-next spotted a problem > with it. > >

Re: [Xen-devel] [RFC v3 2/2] x86/xen: allow privcmd hypercalls to be preempted

2015-01-22 Thread Steven Rostedt
On Thu, 22 Jan 2015 11:50:10 + Andrew Cooper wrote: > On 22/01/15 02:17, Luis R. Rodriguez wrote: > > --- a/drivers/xen/events/events_base.c > > +++ b/drivers/xen/events/events_base.c > > @@ -32,6 +32,8 @@ > > #include > > #include > > #include > > +#include > > +#include > > > >

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-22 Thread Sergei Shtylyov
Hello. On 1/22/2015 4:49 PM, Kalle Valo wrote: >From 04d3fa673897ca4ccbea6c76836d0092dba2484a Mon Sep 17 00:00:00 2001 From: Zhonghui Fu Date: Tue, 20 Jan 2015 11:14:13 +0800 Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation WiFi chip has 2 SDIO functions, and PM core

Payment

2015-01-22 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] lib/kstrtox.c clean kstrtoll function

2015-01-22 Thread Anshul Garg
From: Anshul Garg Instead of having same code for negative and postive integer, use sign variable for integer parsing. Signed-off-by: Anshul Garg --- lib/kstrtox.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/lib/kstrtox.c b/lib/kstrtox.c

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-22 Thread Kalle Valo
"Fu, Zhonghui" writes: >>From 04d3fa673897ca4ccbea6c76836d0092dba2484a Mon Sep 17 00:00:00 2001 > From: Zhonghui Fu > Date: Tue, 20 Jan 2015 11:14:13 +0800 > Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation > > WiFi chip has 2 SDIO functions, and PM core will trigger > twice

Re: [PATCH] x86: change cachemode symbols to non-gpl to avoid breaking out-of-tree modules

2015-01-22 Thread Steven Noonan
On Thu, Jan 22, 2015 at 3:43 AM, Juergen Gross wrote: > Commit 281d4078bec366d60990add9d91a952953bd0d72 ("x86: Make page > cache mode a real type") introduced the symbols __cachemode2pte_tbl > and __pte2cachemode_tbl and exported them via EXPORT_SYMBOL_GPL. > This will break building out-of-tree

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Johannes Weiner
On Wed, Jan 21, 2015 at 04:39:55PM +, Will Deacon wrote: > On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: > > On 10/01/15 08:55, Vladimir Davydov wrote: > > > The problem is that the memory cgroup controller takes a css reference > > > per each charged page and does not

Re: [PATCH 01/13] kdbus: add documentation

2015-01-22 Thread David Herrmann
Hi Michael On Thu, Jan 22, 2015 at 11:18 AM, Michael Kerrisk (man-pages) wrote: > On 01/21/2015 05:58 PM, Daniel Mack wrote: Also, the context the kdbus commands operate on originate from a mountable special-purpose file system. >>> >>> It's not clear to me how this point implies any

[PATCH v6 1/2] Documentation: DT: Add bindings for Spreadtrum SoC Platform

2015-01-22 Thread Chunyan Zhang
Adds Spreadtrum's prefix "sprd" to vendor-prefixes file. Adds the devicetree binding documentations for Spreadtrum's sc9836-uart and SC9836 SoC based on the Sharkl64 Platform which is a 64-bit SoC Platform of Spreadtrum. Signed-off-by: Chunyan Zhang Signed-off-by: Orson Zhai ---

[PATCH v6 0/2] Add Spreadtrum SoC bindings and serial driver support

2015-01-22 Thread Chunyan Zhang
This patch-set split the last version, and addressed the review comments from last version on serial driver code. Changes from v5: - Used Spreadtrum instead of SPRD in menus - Changed TTY name to 'ttyS' - Moved uart_register_driver() to probe() - Added spinlock as

Re: [PATCH] lib/kstrtox.c break if overflow is detected

2015-01-22 Thread Anshul Garg
Dear Mr. Levente , Thanks for the reply. I will segregate this patch in two different patches. I will send these patches again. Thanks Anshul Garg On Thu, Jan 22, 2015 at 1:09 AM, Levente Kurusa wrote: > Hi, > > On Wed, Jan 21, 2015 at 11:26:26AM -0800, Anshul Garg wrote: >> From: Anshul

Re: perf: behavior of poll() changed in 3.18

2015-01-22 Thread Jiri Olsa
On Thu, Jan 22, 2015 at 01:53:35AM -0500, Vince Weaver wrote: > On Wed, 21 Jan 2015, Jiri Olsa wrote: > > > > However if we revert this code, we'll loose nice (and standard) way > > to check if the event is still valid.. not sure how to handle this. > > there's likely no need to revert as my

Re: [PATCH 1/2] drm/rockchip: vop use is_enabled instead of dpms mode

2015-01-22 Thread Daniel Vetter
On Thu, Jan 22, 2015 at 04:56:09PM +0800, Mark yao wrote: > On 2015年01月22日 15:33, Daniel Vetter wrote: > >On Thu, Jan 22, 2015 at 03:05:32PM +0800, Mark Yao wrote: > >>drm dpms have many power modes: ON,OFF,SUSPEND,STANDBY, etc. > >>but vop only have enable/disable mode, maybe case such bug: > >>

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-22 Thread Roger Quadros
Felipe, On 20/01/15 21:02, Felipe Balbi wrote: > On Mon, Jan 19, 2015 at 07:52:17PM +0200, Roger Quadros wrote: >> Hi, >> >> On DRA7 EVMs the USB ID pin is connected to a GPIO line. The USB drivers >> (dwc3 + dwc3-omap) depend on extcon framework to get the USB cable state >> (USB or USB-Host) to

Re: [PATCH 1/5] extcon: gpio-usb: Introduce gpio usb extcon driver

2015-01-22 Thread Roger Quadros
Hi Chanwoo, On 21/01/15 07:28, Chanwoo Choi wrote: > Hi Roger, > > On 01/20/2015 02:52 AM, Roger Quadros wrote: >> This driver observes the USB ID pin connected over a GPIO and >> updates the USB cable extcon states accordingly. >> >> The existing GPIO extcon driver is not suitable for this

Re: [PATCH RFC 2/2] perf: convert: fix duplicate field names and avoid reserved keywords.

2015-01-22 Thread Jiri Olsa
On Thu, Jan 22, 2015 at 01:36:43PM +0800, Wang Nan wrote: > (If Steven Rostedt accept the previous patch which introduce a priv > field to 'struct format_field', we can use a relative simple method > for name conversion. If not , perf must track name conversion by > itself.) > > Some

[PATCH] cifs: fix MUST SecurityFlags filtering

2015-01-22 Thread Niklas Cassel
If CONFIG_CIFS_WEAK_PW_HASH is not set, CIFSSEC_MUST_LANMAN and CIFSSEC_MUST_PLNTXT is defined as 0. When setting new SecurityFlags without any MUST flags, your flags would be overwritten with CIFSSEC_MUST_LANMAN (0). Signed-off-by: Niklas Cassel --- fs/cifs/cifs_debug.c | 6 -- 1 file

[PATCH] mm/slub: suppress BUG messages for kmem_cache_alloc/kmem_cache_free

2015-01-22 Thread Andrey Skvortsov
After commit d2dc80750ee "mm/slub: optimize alloc/free fastpath by removing preemption on/off" and if CONFIG_DEBUG_PREEMPT is set, then huge amount of BUG messages like these happen: BUG: using smp_processor_id() in preemptible [] code: kjournald/171 caller is kmem_cache_alloc+0x41/0x132

Re: [Xen-devel] [RFC v3 2/2] x86/xen: allow privcmd hypercalls to be preempted

2015-01-22 Thread Julien Grall
Hi Luis, On 22/01/15 02:17, Luis R. Rodriguez wrote: > diff --git a/drivers/xen/events/events_base.c > b/drivers/xen/events/events_base.c > index b4bca2d..23c526b 100644 > --- a/drivers/xen/events/events_base.c > +++ b/drivers/xen/events/events_base.c > @@ -32,6 +32,8 @@ > #include > #include

Re: [patch 11/23] x86/x2apic: Split enable and setup function

2015-01-22 Thread Thomas Gleixner
On Fri, 16 Jan 2015, Borislav Petkov wrote: > On Thu, Jan 15, 2015 at 09:22:26PM -, Thomas Gleixner wrote: > > +/* Called from cpu_init() to enable x2apic on (secondary) cpus */ > > +void x2apic_setup(void) > > +{ > > + /* > > +* If x2apic is not in ON state, disable it if already

Re: [PATCHv2] driver core: property: support for generic property

2015-01-22 Thread Heikki Krogerus
Hi, On Tue, Jan 13, 2015 at 02:00:28PM +0200, Heikki Krogerus wrote: > +/** > + * struct dev_gen_prop - Generic Device Property > + * @name: property name > + * @val: value array > + * > + * Used when of_node and acpi_node are missing. > + */ > +struct dev_gen_prop { > + enum dev_prop_type

[PATCH v2] sched_clock: Avoid deadlock during read from NMI

2015-01-22 Thread Daniel Thompson
Currently it is possible for an NMI (or FIQ on ARM) to come in and read sched_clock() whilst update_sched_clock() has locked the seqcount for writing. This results in the NMI handler locking up when it calls raw_read_seqcount_begin(). This patch fixes that problem by providing banked clock data

Re: [PATCH 2/2] livepatch: disable/enable_patch manners for interdependent patches

2015-01-22 Thread Josh Poimboeuf
On Thu, Jan 22, 2015 at 05:54:23PM +0800, Li Bin wrote: > On 2015/1/22 16:39, Li Bin wrote: > > On 2015/1/22 11:51, Josh Poimboeuf wrote: > >> On Thu, Jan 22, 2015 at 08:42:29AM +0800, Li Bin wrote: > >>> On 2015/1/21 22:08, Jiri Kosina wrote: > On Wed, 21 Jan 2015, Li Bin wrote: > By

Re: [PATCH RESEND] char:ipmi: Free ipmi_recv_msg messages from the linked list,recv_msgs for the function,ipmi_release in the file,ipmi_devintf.c

2015-01-22 Thread Corey Minyard
Patch is queued for 3.20. Thanks. -corey On 01/19/2015 09:14 PM, Nicholas Krause wrote: > This adds a loop through the elements in the linked list, recv_msgs using > list_for_entry_safe in order to free messages in this list. In addition > we are using the safe version of this marco in order

Re: [PATCH 1/1] 8250_core.c

2015-01-22 Thread Peter Hurley
[ +cc linux-serial, Greg, Frans ] Hi Dick, On 01/22/2015 12:56 AM, Dick Hollenbeck wrote: > This was generated from 3.14 kernel, but since its so small it will likely > apply to newer > kernels without issue. Thanks for finding this. In addition to Frans' comments, I've expanded the patch

Re: Perf tests for hw events

2015-01-22 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 22, 2015 at 12:40:14PM +, Matt Fleming escreveu: > Folks, > > In the process of writing perf support for Intel's Cache QoS Monitoring > feature [0] I've had to write my own userland tests to drive tools/perf > and indirectly the kernel internals. I'm now getting requests for these

Re: Perf tests for hw events

2015-01-22 Thread Jiri Olsa
On Thu, Jan 22, 2015 at 12:40:14PM +, Matt Fleming wrote: > Folks, > > In the process of writing perf support for Intel's Cache QoS Monitoring > feature [0] I've had to write my own userland tests to drive tools/perf > and indirectly the kernel internals. I'm now getting requests for these >

[PATCH] [trivial] treewide: Fix typo in printk messages

2015-01-22 Thread Masanari Iida
This patch fix spelling typo in printk messages. Signed-off-by: Masanari Iida --- arch/powerpc/perf/hv-24x7.c | 2 +- drivers/clk/samsung/clk.c| 2 +- drivers/gpu/drm/drm_atomic.c | 4 ++--

Re: [Xen-devel] [RFC v3 2/2] x86/xen: allow privcmd hypercalls to be preempted

2015-01-22 Thread David Vrabel
On 22/01/15 03:18, Andy Lutomirski wrote: >> --- a/drivers/xen/events/events_base.c >> +++ b/drivers/xen/events/events_base.c >> @@ -32,6 +32,8 @@ >> #include >> #include >> #include >> +#include >> +#include >> >> #ifdef CONFIG_X86 >> #include >> @@ -1243,6 +1245,17 @@ void

Re: [PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-22 Thread Daniel Lezcano
On 01/21/2015 07:36 AM, Baruch Siach wrote: Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for

Re: [PATCH v5 1/5] ARM: mediatek: Add config options for mediatek SoCs.

2015-01-22 Thread Matthias Brugger
2015-01-21 6:28 GMT+01:00 Hongzhou Yang : > From: Yingjoe Chen > > The upcoming MTK pinctrl driver have a big pin table for each SoC > and we don't want to bloat the kernel binary if we don't need it. > Add config options so we can build for one SoC only. > > Acked-by: Linus Walleij >

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-22 Thread Tejun Heo
On Wed, Jan 21, 2015 at 11:35:53PM -0500, Steven Rostedt wrote: > On Thu, 22 Jan 2015 04:23:30 + > Al Viro wrote: > > > I would recommend against that - kernfs is overburdened by their need > > to accomodate cgroup weirdness. IMO it's not a good model for > > anything, other than an

Re: [PATCH] block: Remove annoying "unknown partition table" message

2015-01-22 Thread Boaz Harrosh
On 01/22/2015 02:39 PM, Boaz Harrosh wrote: > From: Boaz Harrosh > > As Christoph put it: > Can we just get rid of the warnings? It's fairly annoying as devices > without partitions are perfectly fine and very useful. > > Me too I see this message every VM boot for ages on all my >

Re: [PATCH v7 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2015-01-22 Thread Hanjun Guo
Hi Marc, We (Tomasz, Suravee and me) are working on supporting stacked domain on ACPI, and rework GIC ACPI related patch, before we going further, we need your guidance to see if we are going the right direction. - You said that we spread GIC related code every where, so how about put all

Re: [PATCH v3 1/3] media: fix au0828 compile error from au0828_boards initialization

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, Thanks for the patch. On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote: > au0828 picked up UNSET from videobuf-core.h and fails to compile > if videobuf-core.h isn't included. Change it to use -1U instead > to fix the problem. > > drivers/media/usb/au0828/au0828-cards.c:47:17:

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, Thanks for the patch. On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote: > Convert au0828 to use videobuf2. Tested with NTSC. > Tested video and vbi devices with xawtv, tvtime, > and vlc. Ran v4l2-compliance to ensure there are > no regressions. video now has no failures and vbi > has

Re: [PATCH v3] hrtimers: calculate expires_next after all timers are executed

2015-01-22 Thread Stanislav Fomichev
Hi Thomas, Slightly tested your version (with Vignesh's fixes), no issues so far, thanks! -- 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

Payment

2015-01-22 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line "unsubscribe

Perf tests for hw events

2015-01-22 Thread Matt Fleming
Folks, In the process of writing perf support for Intel's Cache QoS Monitoring feature [0] I've had to write my own userland tests to drive tools/perf and indirectly the kernel internals. I'm now getting requests for these tests from various people and it occurs to me that they should probably

Re: perf: easily crash kernel with rapl event close

2015-01-22 Thread Stephane Eranian
On Thu, Jan 22, 2015 at 2:17 AM, Peter Zijlstra wrote: > On Wed, Jan 21, 2015 at 09:13:11PM -0800, Stephane Eranian wrote: >> Vince, >> >> On Wed, Jan 21, 2015 at 10:55 AM, Vince Weaver >> wrote: >> > Hello >> > >> > on my haswell system, running 3.19-rc5, and with >> > echo "0" >

[PATCH] block: Remove annoying "unknown partition table" message

2015-01-22 Thread Boaz Harrosh
From: Boaz Harrosh As Christoph put it: Can we just get rid of the warnings? It's fairly annoying as devices without partitions are perfectly fine and very useful. Me too I see this message every VM boot for ages on all my devices. Would love to just remove it. For me a partition-table is

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-22 Thread Tejun Heo
On Thu, Jan 22, 2015 at 07:32:12AM -0500, Tejun Heo wrote: > > Yes, I can study the code, but I was hoping that there was some > > kernfs.txt that described how to create a new fs with it. It just saves > > time if there was a document than having to read the code and perhaps > > use it in a way

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for "acpi" and pass acpi=force to enable ACPI

2015-01-22 Thread Daniel Kiper
On Wed, Jan 21, 2015 at 04:10:00PM +, Stefano Stabellini wrote: > On Wed, 21 Jan 2015, Catalin Marinas wrote: > > On Tue, Jan 20, 2015 at 07:20:06PM +, Stefano Stabellini wrote: > > > On Tue, 20 Jan 2015, Hanjun Guo wrote: > > > > How about the patch (just RFC, maybe it is horrible :) )

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-22 Thread Tejun Heo
Hey, Steven. On Wed, Jan 21, 2015 at 10:51:09PM -0500, Steven Rostedt wrote: > > Tejun would know best, he wrote it :) > > Oh good, as Bugs Bunny would say "where's the doc?" (or was that > "what's up doc"?) I didn't write any while extracting it out of sysfs. Sorry about that. I should get

Re: [PATCH 10/10] clocksource: Add some debug info about clocksources being registered

2015-01-22 Thread Prarit Bhargava
On 01/21/2015 07:51 PM, John Stultz wrote: > On Fri, Jan 9, 2015 at 6:02 PM, Stephen Boyd wrote: >> On 01/09/2015 04:34 PM, John Stultz wrote: >>> diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c >>> index 9a0b951..c641aa7 100644 >>> --- a/kernel/time/clocksource.c >>> +++

Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs

2015-01-22 Thread Tejun Heo
Hello, Al. On Thu, Jan 22, 2015 at 04:23:30AM +, Al Viro wrote: > I would recommend against that - kernfs is overburdened by their need to > accomodate cgroup weirdness. IMO it's not a good model for anything, other That's not true. The two big items where sysfs is complicated are the

<    2   3   4   5   6   7   8   9   10   11   >