Re: [PATCH 2/3] cgroup: add cgroup_name() API

2013-03-04 Thread Tejun Heo
Hello, On Mon, Mar 04, 2013 at 11:02:37AM +0800, Li Zefan wrote: Yeah, that's what I meant by the anal part although it seems like c99 doesn't even allow that. Do we care tho? It seems like a logical feature which should show up in the standard eventually. Maybe it could be a problem for

Re: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-03-04 Thread Alan Stern
On Mon, 4 Mar 2013, Stephen Warren wrote: On 03/04/2013 12:55 AM, Venu Byravarasu wrote: Stephen Warren wrote at Thursday, February 28, 2013 11:47 PM: On 02/27/2013 11:36 PM, Venu Byravarasu wrote: To clear any configurations made by U-Boot on Tegra USB controller, reset it before init

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Alasdair G Kergon
On Mon, Mar 04, 2013 at 08:45:48AM -0800, Paul Taysom wrote: @@ -449,8 +468,14 @@ static void verity_prefetch_io(struct dm_verity *v, struct dm_verity_io *io) hash_block_end = v-hash_blocks - 1; } no_prefetch_cluster: -

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Vivek Goyal
On Mon, Mar 04, 2013 at 10:29:19AM -0500, Vivek Goyal wrote: [..] This reduces our options but trying to make multiple policies co-exist together is just making it complicated. We can take it up again when somebody has a strong use case of using secureboot policy along with other policies.

Re: [PATCH v12 rebased] kvm: notify host when the guest is panicked

2013-03-04 Thread Gleb Natapov
On Sun, Mar 03, 2013 at 07:29:53PM -0300, Marcelo Tosatti wrote: On Sun, Mar 03, 2013 at 03:00:22PM +0200, Gleb Natapov wrote: On Fri, Mar 01, 2013 at 09:03:12PM -0300, Marcelo Tosatti wrote: On Thu, Feb 28, 2013 at 04:54:25PM +0800, Hu Tao wrote: diff --git

Re: i915 black screen introduced by ACPI changes

2013-03-04 Thread Daniel Vetter
On Mon, Mar 4, 2013 at 6:11 PM, Chris Li l...@chrisli.org wrote: To recap, the black screen first show up after the ACPI change to use widows 8 string. The i915_setmode function did not crash. The printk output from that function seems the same as the one that is in 3.6 kernel. I also include

Re: [PATCH v5 1/2] cgroup: fix cgroup_path() vs rename() race

2013-03-04 Thread Tejun Heo
On Fri, Mar 01, 2013 at 03:01:56PM +0800, Li Zefan wrote: rename() will change dentry-d_name. The result of this race can be worse than seeing partially rewritten name, but we might access a stale pointer because rename() will re-allocate memory to hold a longer name. As accessing

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-03-04 Thread Anton Vorontsov
On Mon, Mar 04, 2013 at 12:32:35PM -0500, Rhyland Klein wrote: [...] Anton, David, would you be adverse to the changing of supplied_to from being a list of batteries stored in a charger to being a list of chargers stored in batteries? I wonder if we can support both ways?.. Well, the

Re: For review: pid_namespaces(7) man page

2013-03-04 Thread Eric W. Biederman
Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: On Fri, Mar 1, 2013 at 4:35 PM, Eric W. Biederman ebied...@xmission.com wrote: Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: Hi Rob, On Fri, Mar 1, 2013 at 5:01 AM, Rob Landley r...@landley.net wrote: On 02/28/2013

Re: [PATCH 00/40] Power: AB8500: Internal development push

2013-03-04 Thread Anton Vorontsov
On Mon, Mar 04, 2013 at 11:08:24AM +0100, Samuel Ortiz wrote: [...] So, I can easily merge it, as long as MFD part is either Acked or handled somehow else. I can Ack the MFD parts, they look good to me. And then you can take the whole thing through your tree, but I'd prefer you to do so by

Re: [PATCH] nfsd: try nfsdcld client tracker in containers

2013-03-04 Thread Stanislav Kinsbursky
04.03.2013 18:47, Jeff Layton пишет: On Mon, 4 Mar 2013 10:38:45 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 01.03.2013 17:09, Jeff Layton пишет: On Fri, 01 Mar 2013 11:24:23 +0300 Stanislav Kinsbursky skinsbur...@parallels.com wrote: Currently, UMH and Legacy trackers are

[PATCH] ioatdma: make debug output more readable

2013-03-04 Thread Dave Jiang
Making OP field a hex instead of integer to make it more readable. Also add the dump out of the NEXT field. Signed-off-by: Dave Jiang dave.ji...@intel.com --- drivers/dma/ioat/dma.h|2 +- drivers/dma/ioat/dma_v3.c |3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] cgroup: avoid accessing modular cgroup subsys structure without locking

2013-03-04 Thread Tejun Heo
Hello, Li. On Fri, Mar 01, 2013 at 03:06:36PM +0800, Li Zefan wrote: /* Define the enumeration of all builtin cgroup subsystems */ #define SUBSYS(_x) _x ## _subsys_id, -#define IS_SUBSYS_ENABLED(option) IS_ENABLED(option) enum cgroup_subsys_id { +#define IS_SUBSYS_ENABLED(option)

Re: [PATCH 1/2] cgroup: no need to check css refs for release notification

2013-03-04 Thread Tejun Heo
On Fri, Mar 01, 2013 at 03:06:07PM +0800, Li Zefan wrote: We no longer fail rmdir() when there're still css refs, so we don't need to check css refs in check_for_release(). This also voids a bug. cgroup_has_css_refs() accesses subsys[i] without cgroup_mutex, so it can race with

[PATCH RFC 0/2] kvm: Better yield_to candidate using preemption notifiers

2013-03-04 Thread Raghavendra K T
This patch series further filters better vcpu candidate to yield to in PLE handler. The main idea is to record the preempted vcpus using preempt notifiers and iterate only those preempted vcpus in the handler. Note that the vcpus which were in spinloop during pause loop exit are already filtered.

[PATCH RFC 1/2] kvm: Record the preemption status of vcpus using preempt notifiers

2013-03-04 Thread Raghavendra K T
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com Note that we mark as preempted only when vcpu's task state was Running during preemption. Thanks Jiannan, Avi for preemption notifier ideas. Thanks Gleb, PeterZ for their precious suggestions. Thanks Srikar for an idea on avoiding rcu lock

[PATCH RFC 2/2] kvm: Iterate over only vcpus that are preempted

2013-03-04 Thread Raghavendra K T
From: Raghavendra K T raghavendra...@linux.vnet.ibm.com This helps in filtering out the eligible candidates further and thus potentially helps in quickly allowing preempted lockholders to run. Note that if a vcpu was spinning during preemption we filter them by checking whether they are

RE: [PATCH 1/1] mm: Export split_page().

2013-03-04 Thread KY Srinivasan
-Original Message- From: Dave Hansen [mailto:d...@linux.vnet.ibm.com] Sent: Monday, March 04, 2013 12:06 PM To: KY Srinivasan Cc: Greg KH; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; a...@firstfloor.org; akpm@linux-

[PATCH 09/11] zcache: Module license is defined twice.

2013-03-04 Thread Konrad Rzeszutek Wilk
The other (same license) is at the end of the file. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/zcache-main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c

[PATCH 05/11] zcache: Make the debug code use pr_debug

2013-03-04 Thread Konrad Rzeszutek Wilk
as if you are debugging this driver you would be using 'debug' on the command line anyhow - and this would dump the debug data on the proper loglevel. While at it also remove the unconditional #define ZCACHE_DEBUG. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad

[PATCH 01/11] zcache: s/int/bool/ on the various options.

2013-03-04 Thread Konrad Rzeszutek Wilk
There are so many, but this allows us to at least have them right in as bool. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com [v1: Rebase on ramster-zcache move] [v2: Rebase on staging/zcache: Fix/improve zcache writeback code, tie to a config option] Signed-off-by: Konrad Rzeszutek Wilk

[PATCH 08/11] zcache: Move the last of the debugfs counters out

2013-03-04 Thread Konrad Rzeszutek Wilk
We now have in zcache-main only the counters that are are not debugfs related. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/debug.h | 80 +++-

[PATCH 04/11] zcache: The last of the atomic reads has now an accessory function.

2013-03-04 Thread Konrad Rzeszutek Wilk
And now we can move the code ([inc|dec]_zcache_[*]) to their own file with a header to make them nops or feed in debugfs. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/zcache-main.c | 13 +

[PATCH 03/11] zcache: Provide accessory functions for counter decrease.

2013-03-04 Thread Konrad Rzeszutek Wilk
This way we can have all wrapped with these functions and can disable/enable this with CONFIG_DEBUG_FS. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com [v2: Rebase on top of staging/zcache: Fix/improve zcache writeback code, tie to a config option] [v3: Rebase on top of zcache: Fix compile

[PATCH 10/11] zcache/debug: Coalesce all debug under CONFIG_ZCACHE_DEBUG

2013-03-04 Thread Konrad Rzeszutek Wilk
and also define this extra attribute in the Kconfig entry. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/Kconfig | 8 drivers/staging/zcache/debug.c | 2 +-

[PATCH 02/11] zcache: Provide accessory functions for counter increase

2013-03-04 Thread Konrad Rzeszutek Wilk
This is the first step in moving the debugfs code out of the main file in-to another file. And also allow the code to run without CONFIG_DEBUG_FS defined. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com [v2: Rebase on top staging/zcache: Fix/improve zcache writeback code, tie to a config

[PATCH 07/11] zcache/debug: Use an array to initialize/use debugfs attributes.

2013-03-04 Thread Konrad Rzeszutek Wilk
It makes it neater and also allows us to piggyback on that in the zcache_dump function. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/debug.c | 163 + 1 file

[PATCH 11/11] zcache/zbud: Add incremental accessory counters

2013-03-04 Thread Konrad Rzeszutek Wilk
that are going to be used for debug fs entries. Acked-by: Dan Magenheimer dan.magenhei...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/zcache/zbud.c | 58 +-- 1 file changed, 39 insertions(+), 19 deletions(-)

[PATCH 06/11] zcache: Move debugfs code out of zcache-main.c file.

2013-03-04 Thread Konrad Rzeszutek Wilk
Note that at this point there is no CONFIG_ZCACHE_DEBUG option in the Kconfig. So in effect all of the counters are nop until that option gets re-introduced in: zcache/debug: Coalesce all debug under CONFIG_ZCACHE_DEBUG Acked-by: Dan Magenheimer dan.magenhei...@oracle.com [v1: Fixed conflicts due

[PATCH] Various fixes for zcache for v3.10

2013-03-04 Thread Konrad Rzeszutek Wilk
Now that v3.9-rc1 is out and you are enjoying your time in Hong Kong and are probabally fighting with the jet-lag, here are eleven patches that per your recommendation were deferred to v3.10. Nothing has changed with them and they just make the code easier to understand. The bulk of the code is

Re: e1000e: nic does not work properly after cold power on

2013-03-04 Thread Morten Stevens
On 04.03.2013 11:46, Mihai Donțu wrote: Hi, I apologize in advance for posting on two lists at once and for not even being subscribed to e1000-devel. Ever since upgrading to 3.8.x, I'm unable to use my wired connection (e1000e - Intel Corporation 82579LM Gigabit) immediately after power on. I

Re: user ns: arbitrary module loading

2013-03-04 Thread Eric W. Biederman
Kees Cook keesc...@google.com writes: On Mon, Mar 4, 2013 at 12:29 AM, Mathias Krause mini...@googlemail.com wrote: On Sun, Mar 03, 2013 at 09:48:50AM -0800, Kees Cook wrote: Several subsystems already have an implicit subsystem restriction because they load with aliases. (e.g. binfmt-,

Re: [PATCH 05/11] zcache: Make the debug code use pr_debug

2013-03-04 Thread Joe Perches
On Mon, 2013-03-04 at 13:18 -0500, Konrad Rzeszutek Wilk wrote: as if you are debugging this driver you would be using 'debug' on the command line anyhow - and this would dump the debug data on the proper loglevel. Please add #define pr_fmt(fmt) KBUILD_MODNAME : fmt before any #includes and

[PATCH UPDATED 28/31] workqueue: reject adjusting max_active or applying attrs to ordered workqueues

2013-03-04 Thread Tejun Heo
Adjusting max_active of or applying new workqueue_attrs to an ordered workqueue breaks its ordering guarantee. The former is obvious. The latter is because applying attrs creates a new pwq (pool_workqueue) and there is no ordering constraint between the old and new pwqs. Make

[PATCH v2 31/31] workqueue: implement sysfs interface for workqueues

2013-03-04 Thread Tejun Heo
There are cases where workqueue users want to expose control knobs to userland. e.g. Unbound workqueues with custom attributes are scheduled to be used for writeback workers and depending on configuration it can be useful to allow admins to tinker with the priority or allowed CPUs. This patch

RE: zsmalloc limitations and related topics

2013-03-04 Thread Dan Magenheimer
From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: zsmalloc limitations and related topics On 02/28/2013 07:24 AM, Dan Magenheimer wrote: Hi all -- I've been doing some experimentation on zsmalloc in preparation for my topic proposed for LSFMM13 and have run across some

Re: [PATCH 2/2] fs: Limit sys_mount to only request filesystem modules.

2013-03-04 Thread Eric W. Biederman
Vasily Kulikov seg...@openwall.com writes: (cc'ed kernel-hardening) On Sun, Mar 03, 2013 at 23:51 -0800, Eric W. Biederman wrote: Modify the request_module to prefix the file system type with fs- and add aliases to all of the filesystems that can be built as modules to match. A common

[PATCH v2 16/31] workqueue: introduce workqueue_attrs

2013-03-04 Thread Tejun Heo
Introduce struct workqueue_attrs which carries worker attributes - currently the nice level and allowed cpumask along with helper routines alloc_workqueue_attrs() and free_workqueue_attrs(). Each worker_pool now carries -attrs describing the attributes of its workers. All functions dealing with

Re: [PATCH RFC] MIPS: Build uasm-generated code only once to avoid CPU Hotplug problem

2013-03-04 Thread David Daney
On 03/04/2013 04:56 AM, Huacai Chen wrote: Currently, clear_page()/copy_page() are generated by Micro-assembler dynamically. But they are unavailable until uasm_resolve_relocs() has finished because jump labels are illegal before that. Since these functions are shared by every CPU, we only call

Re: linux-next: Tree for Mar 4 (iio)

2013-03-04 Thread Randy Dunlap
On 03/03/13 19:43, Stephen Rothwell wrote: Hi all, Changes since 20130301: on x86_64: warning: (AD7606 AD799X_RING_BUFFER MXS_LRADC IIO_ADIS_LIB_BUFFER INV_MPU6050_IIO HID_SENSOR_ACCEL_3D AD_SIGMA_DELTA AD7266 AD7298 AD7476 AD7887 AT91_ADC MAX1363 HID_SENSOR_GYRO_3D

Re: user ns: arbitrary module loading

2013-03-04 Thread Kees Cook
On Mon, Mar 4, 2013 at 10:21 AM, Eric W. Biederman ebied...@xmission.com wrote: Kees Cook keesc...@google.com writes: On Mon, Mar 4, 2013 at 12:29 AM, Mathias Krause mini...@googlemail.com wrote: On Sun, Mar 03, 2013 at 09:48:50AM -0800, Kees Cook wrote: Several subsystems already have an

Re: Latest randconfig build errors

2013-03-04 Thread Tony Lindgren
Hi Rob Felipe, * Russell King - ARM Linux li...@arm.linux.org.uk [130304 01:56]: Last nights automated ARM build found the following errors with randconfig. All information as usual at http://www.arm.linux.org.uk/developer/build/ Versatile randconfig: ERROR: irq_domain_add_simple

[PATCH RFC] vm: Adjust ifdef for TINY_RCU

2013-03-04 Thread Paul E. McKenney
There is an ifdef in page_cache_get_speculative() that checks for !SMP and TREE_RCU, which has been an impossible combination since the advent of TINY_RCU. The ifdef enables a fastpath that is valid when preemption is disabled by rcu_read_lock() in UP systems, which is the case when TINY_RCU is

Re: Latest randconfig build errors

2013-03-04 Thread Felipe Balbi
Hi, On Mon, Mar 04, 2013 at 10:46:50AM -0800, Tony Lindgren wrote: The last three are caused by incorrect use of 'select': warning: (MACH_OMAP_ZOOM2 MACH_OMAP_ZOOM3 MWAVE) selects SERIAL_8250 which has unmet direct dependencies (TTY HAS_IOMEM GENERIC_HARDIRQS) warning:

Re: Latest randconfig build errors

2013-03-04 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130304 10:56]: Hi, On Mon, Mar 04, 2013 at 10:46:50AM -0800, Tony Lindgren wrote: The last three are caused by incorrect use of 'select': warning: (MACH_OMAP_ZOOM2 MACH_OMAP_ZOOM3 MWAVE) selects SERIAL_8250 which has unmet direct dependencies (TTY

Re: [Ocfs2-users] [OCFS2] Crash at o2net_shutdown_sc()

2013-03-04 Thread Tejun Heo
Hello, On Sat, Mar 02, 2013 at 09:41:54AM +0100, richard -rw- weinberger wrote: On Fri, Mar 1, 2013 at 10:42 PM, Srinivas Eeda srinivas.e...@oracle.com wrote: Yes that was the crash I was referring to which stopped me from testing my other patch on mainline. I think the crashes started

3.9-rc1 lockup with nouveau driver

2013-03-04 Thread Christoph Lameter
[3.199957] Bluetooth: BNEP socket layer initialized [3.204441] type=1400 audit(1362422678.075:2): apparmor=STATUS operation=profile_load name=/usr/lib/cups/backend/cups-pdf pid=754 comm=apparmor_parser [3.204671] type=1400 audit(1362422678.075:3): apparmor=STATUS

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-04 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [130301 06:42]: On Fri, Mar 1, 2013 at 1:47 AM, Ивайло Димитров freemangor...@abv.bg wrote: They look similar, but they are not equivalent :). The first major difference is here (code taken from omap-smc.S) ENTRY(omap_smc2) stmfd sp!, {r4-r12,

Re: [PATCH] md/raid456: remove depends on CONFIG_EXPERIMENTAL

2013-03-04 Thread Kees Cook
On Tue, Feb 26, 2013 at 5:27 PM, Dan Williams d...@fb.com wrote: On Fri, Feb 22, 2013 at 11:40 PM, Kees Cook keesc...@chromium.org wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Mimi Zohar
On Mon, 2013-03-04 at 10:29 -0500, Vivek Goyal wrote: [...] Hi Mimi, If we decide to merge flags, then practically we modified the ima_appraise_tcb policy. ima_appraise_tcb policy expects to cache the results and we will not do that. And this conflict just grows if we are forced to add

Re: [tpmdd-devel] [PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Jason Gunthorpe
On Mon, Mar 04, 2013 at 11:41:04AM -0600, Kent Yoder wrote: .id_table = tpm_tis_i2c_table, .probe = tpm_tis_i2c_probe, .remove = tpm_tis_i2c_remove, @@ -703,11 +759,12 @@ static struct i2c_driver tpm_tis_i2c_driver = { .name = tpm_i2c_infineon,

[PATCH v2 1/4] mfd: tps65090: Fix enum in header file

2013-03-04 Thread Rhyland Klein
The enum is missing the definition for the first bit, which makes all the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit which at 0. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v2: - no changes since v1 include/linux/mfd/tps65090.h |1 + 1 file changed, 1

[PATCH v2 0/4] Add support for tps65090-charger

2013-03-04 Thread Rhyland Klein
This patchset adds support for the TPS65090-charger. This charger is registered as a subdevice of the TPS65090 PMIC. This series includes a fix for the tps65090 header file where all the interrupts were shifted by 1. Changes since v1: - cleaned up tps65090 driver per comments (mostly var

[PATCH v2 3/4] power_supply: tps65090-charger: Add binding doc

2013-03-04 Thread Rhyland Klein
This change adds the binding documentation for the tps65090-charger. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v2: - no changes since v1 .../devicetree/bindings/power_supply/tps65090.txt | 23 1 file changed, 23 insertions(+) create mode 100644

[PATCH v2 2/4] mfd: tps65090: Add resources for charger

2013-03-04 Thread Rhyland Klein
Add irq resources to pass to the charger mfd sub dev so the charger can listen for interrupts. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v2: - no changes since v1 drivers/mfd/tps65090.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/tps65090.c

[PATCH v2 4/4] power: tps65090: Add support for tps65090-charger

2013-03-04 Thread Rhyland Klein
This patch adds support for the tps65090 charger driver. This driver is responsible for controlling the charger aspect of the tps65090 mfd. Currently, this mainly consists of turning on and off the charger, but some features of the charger can be supported through this driver including: Enable

[PATCH v2] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-03-04 Thread Neil Horman
A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which contained an errata (specificially errata 53), which noted that these chipsets can't properly do

Re: linux-next: Tree for Mar 4 (iio)

2013-03-04 Thread Lars-Peter Clausen
On 03/04/2013 07:40 PM, Randy Dunlap wrote: On 03/03/13 19:43, Stephen Rothwell wrote: Hi all, Changes since 20130301: on x86_64: warning: (AD7606 AD799X_RING_BUFFER MXS_LRADC IIO_ADIS_LIB_BUFFER INV_MPU6050_IIO HID_SENSOR_ACCEL_3D AD_SIGMA_DELTA AD7266 AD7298 AD7476

Re: [PATCH v3] CAIF: fix sparse warning for caif_usb

2013-03-04 Thread David Miller
From: Silviu-Mihai Popescu silviupopescu1...@gmail.com Date: Mon, 4 Mar 2013 09:09:31 +0200 This fixes the following sparse warning: net/caif/caif_usb.c:84:16: warning: symbol 'cfusbl_create' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu

Re: cifs: bugfix for unreclaimed writeback pages in cifs_writev_requeue()

2013-03-04 Thread Jeff Layton
On Mon, 4 Mar 2013 15:04:49 + Anton Altaparmakov ai...@cam.ac.uk wrote: Hi, The below commit that is present in 3.9-rc1 is buggy. It releases the page at which point it may no longer exist and then it unlocks it afterwards. Even if you are somehow getting away with it I think it is

Re: [PATCH] tty: Correct tty buffer flush.

2013-03-04 Thread Ilya Zykov
On 03.12.2012 13:54, Ilya Zykov wrote: The root of problem is carelessly zeroing pointer(in function __tty_buffer_flush()), when another thread can use it. It can be cause of NULL pointer dereference. Main idea of the patch, this is never release last (struct tty_buffer) in the active

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Eric Paris
I think that is what he was suggesting. It reuses the integrity code but it loses the integrity flexibility. I don't think it is a good solution :-( On Mon, Mar 4, 2013 at 1:59 PM, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Mon, 2013-03-04 at 10:29 -0500, Vivek Goyal wrote: [...] Hi

Re: [PATCH] workqueue: fix possible bug which may silence the pool

2013-03-04 Thread Tejun Heo
Hello, Lai. On Sat, Mar 02, 2013 at 11:55:29PM +0800, Lai Jiangshan wrote: After we introduce multiple pools for cpu pools, a part of the comments in wq_unbind_fn() becomes wrong. It said that current worker would trigger unbound chain execution. It is wrong. current worker only belongs to

Re: nouveau shuts the machine down with v3.9-rc1 (temperature (72 C) hit the 'shutdown' threshold).

2013-03-04 Thread Martin Peres
Hi Konrad, On 04/03/2013 19:40, Konrad Rzeszutek Wilk wrote: After git merge ab7826595e9ec51a51f622c5fc91e2f59440481a (Merge tag 'mfd-3.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6) the nouveau driver ends up shutting of the machine when booting. I hadn't done a

Re: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Bjørn Mork
Matthew Dharm mdharm-...@one-eyed-alien.net writes: Frankly, I consider it appropriate. OK, I'll try to cook something up. The question is not one of reminding me of what I said earlier it's one of pointing people in the right direction. Frankly, some of the fault for this patch lies

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Vivek Goyal
On Mon, Mar 04, 2013 at 01:59:41PM -0500, Mimi Zohar wrote: On Mon, 2013-03-04 at 10:29 -0500, Vivek Goyal wrote: [...] Hi Mimi, If we decide to merge flags, then practically we modified the ima_appraise_tcb policy. ima_appraise_tcb policy expects to cache the results and we will

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-03-04 Thread Andreas Mohr
Hi, On Mon, Mar 04, 2013 at 02:34:10PM +0100, Borislav Petkov wrote: Pjooiiing! Heh, that was a broken one! Rather well-deserved though - took too much time, been too busy. Andreas, Peter, can you guys give http://lkml.org/lkml/2012/12/30/47 a run? Will fire up my HDD NOW. About time to get

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Brian Norris
On Mon, Mar 4, 2013 at 12:59 AM, Huang Shijie b32...@freescale.com wrote: 于 2013年03月04日 16:46, Artem Bityutskiy 写道: Thanks, I forgot we have this great table. BTW, please, do not forget to update it with information about these 4 chip you are adding, irrespective of the solution we end up

Re: For review: pid_namespaces(7) man page

2013-03-04 Thread Rob Landley
On 03/03/2013 10:03:55 PM, Eric W. Biederman wrote: Rob Landley r...@landley.net writes: On 03/01/2013 03:57:40 AM, Michael Kerrisk (man-pages) wrote: And yet the glibc guys insist on #define GNU_GNU_GNU_ALL_HAIL_STALLMAN in order to access this Linux-specific feature which has nothing

Re: [PATCH] Revert random: Mix cputime from each thread that exits to the pool

2013-03-04 Thread Russ Dill
On Mon, Mar 4, 2013 at 9:05 AM, Theodore Ts'o ty...@mit.edu wrote: Russ, how about this patch instead? Can you verify whether or not this fixes your issue? If so, I'll push it to Linus. - Ted Yup, fixes the circular locking dependency. Tested-by:

Re: [PATCH RFC 04/12] xen-blkfront: pre-allocate pages for requests

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:47AM +0100, Roger Pau Monne wrote: This prevents us from having to call alloc_page while we are preparing the request. Since blkfront was calling alloc_page with a spinlock held we used GFP_ATOMIC, which can fail if we are requesting a lot of pages since it is

[PATCH] staging/vt6656: Fix too large integer constant warning on 32-bit

2013-03-04 Thread Geert Uytterhoeven
drivers/staging/vt6656/card.c: In function ‘CARDqGetNextTBTT’: drivers/staging/vt6656/card.c:793: warning: integer constant is too large for ‘unsigned long’ type Commit c7b7cad0d8df823ea063c86a54316bbcbfa04a7c (staging/vt6656: Fix sparse warning constant 0xU is so big it is

[PATCH] net: netfilter: nfnetlink: Fixed warning for nfnl_get_lock

2013-03-04 Thread Alexandru Gheorghiu
Removed unused function nfnl_get_lock which fixed the following warning: net/netfilter/nfnetlink.c:65:22: warning: ‘nfnl_get_lock’ defined but not used [-Wunused-function] Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- net/netfilter/nfnetlink.c |5 - 1 file changed, 5

[PATCH v5] procfs: Improve Scaling in proc

2013-03-04 Thread Nathan Zimmer
I am currently tracking a hotlock reported by a customer on a large system, 512 cores. I am currently running 3.8-rc7 but the issue looks like it has been this way for a very long time. The offending lock is proc_dir_entry-pde_unload_lock. This patch converts the lock to use the rcu. However the

Re: [tpmdd-devel] [PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Peter Hüwe
Hi Kent, short reply from my private account - so only talking on behalf of myself. Am Montag, 4. März 2013, 18:41:04 schrieb Kent Yoder: Hi Peter, Sorry for the long delay in getting this reviewed... No problem. - for (count = 0; count MAX_COUNT; count++) { -

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Mandeep Singh Baines
+ rjw, akpm, tejun, mingo, oleg On Mon, Mar 4, 2013 at 6:23 AM, Jeff Layton jlay...@redhat.com wrote: On Mon, 4 Mar 2013 14:14:23 + Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 21:57 +0800, Ming Lei wrote: Hi, The below warning can be triggered each time

[REGRESSION] [3.9-rc1] BUG: ktpacpi_nvramd/446 still has locks held!

2013-03-04 Thread Maciej Rutecki
Last known good: 3.8.0 Bad version: 3.9-rc1 [6.116492] = [6.116614] [ BUG: ktpacpi_nvramd/446 still has locks held! ] [6.116737] 3.9.0-rc1 #1 Not tainted [6.116821] - [6.116900] 1 lock held by

Re: [PATCH] staging/vt6656: Fix too large integer constant warning on 32-bit

2013-03-04 Thread Peter Hüwe
Am Montag, 4. März 2013, 20:42:00 schrieb Geert Uytterhoeven: drivers/staging/vt6656/card.c: In function ‘CARDqGetNextTBTT’: drivers/staging/vt6656/card.c:793: warning: integer constant is too large for ‘unsigned long’ type Commit c7b7cad0d8df823ea063c86a54316bbcbfa04a7c (staging/vt6656: Fix

[GIT] Networking

2013-03-04 Thread David Miller
A moderately sized pile of fixes, some specifically for merge window introduced regressions although we others are for longer standing items and have been queued up for -stable. I'm kind of tired of all the RDS protocol bugs over the years, to be honest, it's way out of proportion to the number

Re: [PATCH] nfsd: try nfsdcld client tracker in containers

2013-03-04 Thread Jeff Layton
On Mon, 4 Mar 2013 21:56:19 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 04.03.2013 18:47, Jeff Layton пишет: On Mon, 4 Mar 2013 10:38:45 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 01.03.2013 17:09, Jeff Layton пишет: On Fri, 01 Mar 2013 11:24:23 +0300

Re: [tpmdd-devel] [PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Kent Yoder
+ +#ifdef CONFIG_OF +static const struct of_device_id tpm_tis_i2c_of_match[] = { + { .compatible = infineon,tpm_i2c_infineon, .data = (void *)0 }, + { .compatible = infineon,slb9635tt, .data = (void *)0 }, + { .compatible = infineon,slb9645tt, .data = (void *)1 }, Here name

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Mandeep Singh Baines
On Mon, Mar 4, 2013 at 7:53 AM, Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 23:33 +0800, Ming Lei wrote: Hi, CC guys who introduced the lockdep change. On Mon, Mar 4, 2013 at 11:04 PM, Jeff Layton jlay...@redhat.com wrote: I don't get it -- why is it bad to

mm/ksm.c:492: error: implicit declaration of function ‘pfn_to_nid’

2013-03-04 Thread Geert Uytterhoeven
On one of my m68k configs, v3.9-rc1 gives me: mm/ksm.c: In function ‘get_kpfn_nid’: mm/ksm.c:492: error: implicit declaration of function ‘pfn_to_nid’ It turns out linux/mmzone.h lacks a definition for pfn_to_nid() if CONFIG_DISCONTIGMEM=y. Gr{oetje,eeting}s, Geert --

Re: [PATCH 2/2] dmi_scan: Refactor dmi_scan_machine(), {smbios,dmi}_present()

2013-03-04 Thread tmhikaru
Forgive me for bothering you about this again, I know that -stable has a policy of only accepting patches once Linus has accepted them upstream, but I'm curious what's going on here. Is there something I could help with to move this along? I haven't seen any discussion about it since Feb

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Mandeep Singh Baines
On Mon, Mar 4, 2013 at 12:09 PM, Mandeep Singh Baines m...@chromium.org wrote: On Mon, Mar 4, 2013 at 7:53 AM, Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 23:33 +0800, Ming Lei wrote: Hi, CC guys who introduced the lockdep change. On Mon, Mar 4, 2013 at 11:04

[Patch v1 1/3] power_supply: Define Binding for power-supplies

2013-03-04 Thread Rhyland Klein
This property is meant to be used in device nodes which represent power_supply devices that wish to provide a list of supplies which provide them power, such as a battery listing its chargers. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v1: - changed from RFC v2 - patch v1 - made

Re: [PATCH RFC 06/12] xen-blkback: implement LRU mechanism for persistent grants

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:49AM +0100, Roger Pau Monne wrote: This mechanism allows blkback to change the number of grants persistently mapped at run time. The algorithm uses a simple LRU mechanism that removes (if needed) the persistent grants that have not been used since the last LRU

[Patch v1 3/3] power: power_supply_core: Add support for supplied_from

2013-03-04 Thread Rhyland Klein
Adding support for supplied_from char * array. This is meant to store the list of suppliers for a given supply, i.e. chargers for a battery. This list can be populated through devicetree readily as well as passed directly from the driver. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v1: -

[Patch v1 0/3] Add DT Binding for Power-Supply power-supplies property

2013-03-04 Thread Rhyland Klein
This series defines a common way for devicetree initialized power_supplies to define their relationships between chargers and supplicants. This series adds a supplied_from array to complement the supplied_to array and to allow supplies to define the list of supplies which supply them. Then once

[Patch v1 2/3] power: power_supply: Add core support for supplied_from

2013-03-04 Thread Rhyland Klein
This patch adds support for supplies to register a list of char *'s which represent the list of supplies which supply them. This is the opposite as the supplied_to list. This change maintains support for supplied_to until all drivers which make use of it already are converted. Signed-off-by:

Re: [PATCH v3 resend] procfs: Improve Scaling in proc

2013-03-04 Thread Stephen Warren
On 02/15/2013 01:47 PM, Nathan Zimmer wrote: I am currently tracking a hotlock reported by a customer on a large system, 512 cores. I am currently running 3.8-rc7 but the issue looks like it has been this way for a very long time. The offending lock is proc_dir_entry-pde_unload_lock.

[PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Borislav Petkov
Add the end of the virtual address space to its layout documentation. Signed-off-by: Borislav Petkov b...@alien8.de --- Documentation/x86/x86_64/mm.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index

[PATCH 1/5] x86, smpboot: Remove unused variable

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de The cpuinfo_x86 ptr is unused now. Drop it. Got obsolete by 69fb3676df33 (x86 idle: remove mwait_idle() and idle=mwait cmdline param) removing its only user. Signed-off-by: Borislav Petkov b...@suse.de Cc: Len Brown len.br...@intel.com ---

[PATCH 0/5] x86: Misc fixlets

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Hi guys, below a couple of minor fixlets and cleanups which have accumulated in the last months. Thanks. Borislav Petkov (5): x86, smpboot: Remove unused variable x86: Drop KERNEL_IMAGE_START x86-64, docs, mm: Add vsyscall range to virtual address space

Re: [tpmdd-devel] [PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Kent Yoder
On Mon, Mar 4, 2013 at 2:08 PM, Kent Yoder shpedoi...@gmail.com wrote: + +#ifdef CONFIG_OF +static const struct of_device_id tpm_tis_i2c_of_match[] = { + { .compatible = infineon,tpm_i2c_infineon, .data = (void *)0 }, + { .compatible = infineon,slb9635tt, .data = (void *)0 }, +

[PATCH 5/5] x86, quirks: Shut-up a long-standing gcc warning

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de So gcc nags about those since forever in randconfig builds. arch/x86/kernel/quirks.c: In function ‘ati_ixp4x0_rev’: arch/x86/kernel/quirks.c:361:4: warning: ‘b’ is used uninitialized in this function [-Wuninitialized] arch/x86/kernel/quirks.c: In function

[PATCH 2/5] x86: Drop KERNEL_IMAGE_START

2013-03-04 Thread Borislav Petkov
We have KERNEL_IMAGE_START and __START_KERNEL_map which both contain the start of the kernel text mapping's virtual address. Remove the prior one which has been replicated a lot less times around the tree. No functionality change. Signed-off-by: Borislav Petkov b...@alien8.de ---

[PATCH 4/5] x86, msr: Unify variable names

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Make sure all MSR-accessing primitives which split MSR values in two 32-bit parts have their variables called 'low' and 'high' for consistence with the rest of the code and for ease of staring. Signed-off-by: Borislav Petkov b...@suse.de ---

Re: [PATCH RESEND] char/tpm: Convert struct i2c_msg initialization to C99 format

2013-03-04 Thread Kent Yoder
On Thu, Feb 28, 2013 at 4:06 AM, Jean Delvare kh...@linux-fr.org wrote: From: Shubhrajyoti Datta omaplinuxker...@gmail.com Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in

Re: [PATCH v6 1/3] VFIO: Wrapper for getting reference to vfio_device from device

2013-03-04 Thread Alex Williamson
On Sat, 2013-03-02 at 01:16 -0600, Vijay Mohan Pandarathil wrote: - Added vfio_device_get_from_dev() as wrapper to get reference to vfio_device from struct device. - Added vfio_device_data() as a wrapper to get device_data from vfio_device. Signed-off-by:

<    5   6   7   8   9   10   11   12   13   >