[PATCH] drivers: infiniband: Fix compiler warning

2013-01-25 Thread Stratos Karafotis
This patch fixes the following compiler warning of uninitialized variable drivers/infiniband/hw/mlx4/qp.c: In function ‘mlx4_ib_post_send’: drivers/infiniband/hw/mlx4/qp.c:1862:62: warning: ‘vlan’ may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [PATCHv2 2/9] staging: zsmalloc: remove unsed pool name

2013-01-25 Thread Rik van Riel
On 01/07/2013 03:24 PM, Seth Jennings wrote: zs_create_pool() currently takes a name argument which is never used in any useful way. This patch removes it. Signed-off-by: Seth Jennnings Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line

Re: [PATCH v2 3/4] MODSIGN: Add -s option to sign-file

2013-01-25 Thread Michal Marek
David Howells wrote: >Michal Marek wrote: > >> This option allows to append an externally computed singature to the >> module. This is needed in setups, where the private key is not >directly >> available, but a service exists that returns signatures for given >files. >> >> Signed-off-by:

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-25 Thread Clark Williams
On Fri, 25 Jan 2013 19:36:10 +0100 Ingo Molnar wrote: > > * Clark Williams wrote: > > > > Shouldn't this be in kernel/sched/sched.h instead of the > > > (already too large) linux/sched.h? > > > > I don't think that will work be cause kernel/sysctl.c needs > > the externs and I doubt we

Re: [PATCH 1/4 v11] arm: use device tree to get smp_twd clock

2013-01-25 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 10:03:05PM +0100, Rafael J. Wysocki wrote: > On Friday, January 25, 2013 01:46:42 PM Mark Langsdorf wrote: > > From: Rob Herring > > > > Move clk setup to twd_local_timer_common_register and rely on > > twd_timer_rate being 0 to force calibration if there is no clock. > >

Re: [PATCHv2 5/9] debugfs: add get/set for atomic types

2013-01-25 Thread Greg Kroah-Hartman
On Fri, Jan 25, 2013 at 10:45:04AM -0600, Seth Jennings wrote: > On 01/07/2013 02:41 PM, Seth Jennings wrote: > > On 01/07/2013 02:32 PM, Greg Kroah-Hartman wrote: > >> On Mon, Jan 07, 2013 at 02:24:36PM -0600, Seth Jennings wrote: > >>> debugfs currently lack the ability to create attributes >

Re: [patch] sysfs: Fix build when sysfs is disabled

2013-01-25 Thread David Rientjes
On Fri, 25 Jan 2013, Rafael J. Wysocki wrote: > Can you please send me the .config that triggered those errors? It will be > useful for future build testing. > Anything with CONFIG_SYSFS disabled. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2013-01-25 Thread Andy King
> > > Our position is that VSOCK feature set is more complete and that > > > it > > > should be possible to use transports other than VMCI for VSOCK > > > traffic, should interested parties implement them, > > > > Implementing other transports requires restructing vsock (and vmci) > > first as

Re: Re: [PATCH] block: IBM RamSan 70/80 device driver.

2013-01-25 Thread Philip J. Kelleher
Hi, > > From: Joshua H Morris > > Philip J Kelleher > > > > This patch includes the device driver for the IBM RamSan family > > of PCI SSD flash storage cards. This driver will inlcude support for the > > RamSan 70 and 80. The driver presents a block device for device I/O. > > Hi, > >

Re: [PATCHv2 1/9] staging: zsmalloc: add gfp flags to zs_create_pool

2013-01-25 Thread Rik van Riel
On 01/07/2013 03:24 PM, Seth Jennings wrote: zs_create_pool() currently takes a gfp flags argument that is used when growing the memory pool. However it is not used in allocating the metadata for the pool itself. That is currently hardcoded to GFP_KERNEL. zswap calls zs_create_pool() at

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-25 Thread Russell King - ARM Linux
On Fri, Jan 25, 2013 at 12:25:07PM -0800, Greg Kroah-Hartman wrote: > On Wed, Jan 23, 2013 at 02:07:57PM +0900, Chanho Min wrote: > > On Tue, Jan 22, 2013 at 10:18 PM, Linus Walleij > > wrote: > > >> - If poll timer is activated, We use consistent DMA mappings to avoid > > >> from > > >> the

RE: [PATCH] mwifiex: don't return zero on failure paths in mwifiex_pcie_init()

2013-01-25 Thread Bing Zhao
Hi Alexey, Thanks for the patch. > If pci_iomap() fails in mwifiex_pcie_init(), it breaks off initialization, > deallocates all resources, but returns zero. > The patch adds -EIO as return value in this case. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by:

Re: [RFC 1/1] ima: digital signature verification using asymmetric keys

2013-01-25 Thread Vivek Goyal
Hi, I am trying to read and understand IMA code. How does digital signature mechanism work. IIUC, evmctl will install a file's signature in security.ima. And later process_measurement() will do following. Calculate digest of file in ima_collect_measurement() and then ima_appraise_measurement()

Re: [PATCH] pci-sysfs: replace mutex_lock with mutex_trylock to avoid potential deadlock situation

2013-01-25 Thread Yinghai Lu
On Fri, Jan 25, 2013 at 12:30 PM, Bjorn Helgaas wrote: > If we're going to fix the sysfs deadlock (and we should), I want to > either see an argument for why we don't have a problem outside of > sysfs, or I want to fix sysfs and non-sysfs at the same time. Sure. Jiang should have one patches

Re: linux-next: manual merge of the tty tree with Linus' tree

2013-01-25 Thread Greg KH
On Mon, Jan 21, 2013 at 02:46:04PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in > drivers/tty/serial/vt8500_serial.c between commit a6dd114e16cb ("tty: > serial: vt8500: fix return value check in vt8500_serial_probe()") from > Linus'

Re: [PATCH 1/4 v11] arm: use device tree to get smp_twd clock

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 01:46:42 PM Mark Langsdorf wrote: > From: Rob Herring > > Move clk setup to twd_local_timer_common_register and rely on > twd_timer_rate being 0 to force calibration if there is no clock. > Remove common_setup_called as it is no longer needed. > > Signed-off-by: Rob

[PATCH] mwifiex: don't return zero on failure paths in mwifiex_pcie_init()

2013-01-25 Thread Alexey Khoroshilov
If pci_iomap() fails in mwifiex_pcie_init(), it breaks off initialization, deallocates all resources, but returns zero. The patch adds -EIO as return value in this case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov ---

[RFC PATCH 7/6] kernel: document fast queue spinlocks

2013-01-25 Thread Rik van Riel
Document the fast queue spinlocks in a way that I can understand. Signed-off-by: Rik van Riel --- This may still not be clear to others. Please let me know if you would like me to change/enhance the documentation, so you can understand it too. kernel/queue_spinlock.c | 20

Re: linux-next: manual merge of the usb tree with Linus' tree

2013-01-25 Thread Greg KH
On Mon, Jan 21, 2013 at 01:02:19PM -0800, Greg KH wrote: > On Mon, Jan 21, 2013 at 03:07:11PM +1100, Stephen Rothwell wrote: > > Hi Greg, > > > > Today's linux-next merge of the usb tree got a conflict in > > drivers/usb/serial/io_ti.c between commit 1ee0a224bc9a ("USB: io_ti: Fix > > NULL

RE: [PATCH 2/2] staging: zcache: optional support for zsmalloc as alternate allocator

2013-01-25 Thread Dan Magenheimer
> From: Greg KH [mailto:gre...@linuxfoundation.org] > Subject: Re: [PATCH 2/2] staging: zcache: optional support for zsmalloc as > alternate allocator > > On Wed, Jan 23, 2013 at 01:46:31PM -0800, Dan Magenheimer wrote: > > "New" zcache uses zbud for all sub-page allocation which is more

Re: [patch] sysfs: Fix build when sysfs is disabled

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 12:42:34 PM Greg Kroah-Hartman wrote: > On Fri, Jan 25, 2013 at 12:13:59PM -0800, David Rientjes wrote: > > "sysfs: Functions for adding/removing symlinks to/from attribute groups" > > causes a build failure when CONFIG_SYSFS is disabled: > > > > drivers/acpi/power.c:

Re: [patch] sysfs: Fix build when sysfs is disabled

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 12:13:59 PM David Rientjes wrote: > "sysfs: Functions for adding/removing symlinks to/from attribute groups" > causes a build failure when CONFIG_SYSFS is disabled: > > drivers/acpi/power.c: In function 'acpi_power_hide_list': > drivers/acpi/power.c:463: error:

Re: [ 11/15] ahci: Add identifiers for ASM106x devices

2013-01-25 Thread Jerry Snitselaar
On Thu Jan 24 13, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Alan Cox > > commit 7b4f6ecacb14f384adc1a5a67ad95eb082c02bd1 upstream. > > They don't always appear as AHCI class devices but instead as

Re: [patch] sysfs: Fix build when sysfs is disabled

2013-01-25 Thread Greg Kroah-Hartman
On Fri, Jan 25, 2013 at 12:13:59PM -0800, David Rientjes wrote: > "sysfs: Functions for adding/removing symlinks to/from attribute groups" > causes a build failure when CONFIG_SYSFS is disabled: > > drivers/acpi/power.c: In function 'acpi_power_hide_list': > drivers/acpi/power.c:463: error:

[PATCH v3] mpt2sas/mpt3sas: prevent double free on error path

2013-01-25 Thread Jörn Engel
Changes since v1: - Adds another missing put_sas_device to _scsih_probe_boot_devices, proving the need for more coffee before sending out patches. I noticed this one when list_del was called with poisoned list pointers, but the real problem is a double-free (and a use-after-free just before

Re: [PATCH 2/3] ahci: AHCI-mode SATA patch for Intel Avoton DeviceIDs

2013-01-25 Thread Jeff Garzik
On 01/25/2013 03:01 PM, Seth Heasley wrote: This patch adds the AHCI and RAID-mode SATA DeviceIDs for the Intel Avoton SOC. Signed-off-by: Seth Heasley --- drivers/ata/ahci.c | 16 1 file changed, 16 insertions(+) applied 1-2 -- To unsubscribe from this list: send the

Re: [PATCH] driver-core: remove the duplicate assignment of kobj->parent in device_add

2013-01-25 Thread Greg KH
On Wed, Jan 23, 2013 at 01:58:30PM +0800, Wei Yang wrote: > kobject_add() will setup the kobject parent correctly. How so? > This patch removes the redundant code. I don't know, how is it redundant? What is this causing? Is it somehow slowing things down? > Tested on Lenovo T420. How? I

Re: [PATCH] pci-sysfs: replace mutex_lock with mutex_trylock to avoid potential deadlock situation

2013-01-25 Thread Bjorn Helgaas
On Fri, Jan 25, 2013 at 11:57 AM, Yinghai Lu wrote: > On Fri, Jan 25, 2013 at 9:44 AM, Bjorn Helgaas wrote: >> [+cc Yinghai] >> >> On Fri, Jan 25, 2013 at 3:02 AM, Gu Zheng > > Hi, Gu, > > Can you check if two patches in > >

Re: [tpmdd-devel] [PATCH] TPM: Work around buggy TPMs that block during continue self test

2013-01-25 Thread Jason Gunthorpe
On Tue, Jan 22, 2013 at 05:29:23PM -0600, Kent Yoder wrote: > Hi Jason, > > On Wed, Nov 21, 2012 at 3:15 PM, Jason Gunthorpe > wrote: > > We've been testing an alternative TPM for our embedded products and > > found random kernel boot failures due to time outs after the continue > > self test

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-25 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2013 at 02:07:57PM +0900, Chanho Min wrote: > On Tue, Jan 22, 2013 at 10:18 PM, Linus Walleij > wrote: > >> - If poll timer is activated, We use consistent DMA mappings to avoid from > >> the frequent cache operation of the timer function. sg->coherency is used > >> to check

Re: [PATCH 3/3] i2c-i801: SMBus patch for Intel Avoton DeviceIDs

2013-01-25 Thread Jean Delvare
On Fri, 25 Jan 2013 12:11:01 -0800, Seth Heasley wrote: > This patch adds the PCU SMBus DeviceID for the Intel Avoton SOC. > > Signed-off-by: Seth Heasley Reviewed-by: Jean Delvare > --- > Documentation/i2c/busses/i2c-i801 |1 + > drivers/i2c/busses/Kconfig|1 + >

[patch] sysfs: Fix build when sysfs is disabled

2013-01-25 Thread David Rientjes
"sysfs: Functions for adding/removing symlinks to/from attribute groups" causes a build failure when CONFIG_SYSFS is disabled: drivers/acpi/power.c: In function 'acpi_power_hide_list': drivers/acpi/power.c:463: error: implicit declaration of function 'sysfs_remove_link_from_group'

Re: [PATCH] block: IBM RamSan 70/80 device driver.

2013-01-25 Thread Jeff Moyer
"Philip J. Kelleher" writes: > From: Joshua H Morris > Philip J Kelleher > > This patch includes the device driver for the IBM RamSan family > of PCI SSD flash storage cards. This driver will inlcude support for the > RamSan 70 and 80. The driver presents a block device for device I/O.

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread rapier
Hi, My name is Chris Rapier and I'm on the Web10G dev team. We are interested in moving this into consideration for the mainline Linux kernel, in fact it's the primary goal of this project. We haven't brought this to the linux kernel community as of yet as we've not completed the

Re: [PATCH] staging/comedi: Move comedi_pci_auto_unconfig to drivers.c

2013-01-25 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2013 at 12:03:30AM +0100, Peter Huewe wrote: > Since comedi_pci_auto_unconfig cannot be inlined anymore after > staging/comedi: Use comedi_pci_auto_unconfig directly for > pci_driver.remove > is applied, it makes sense to move it drivers.c > > Signed-off-by: Peter Huewe > --- >

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread rapier
On 1/25/13 2:56 PM, valdis.kletni...@vt.edu wrote: I already looked over the patch and it looks *fairly* sane. Having said that, the best way to proceed for the performance side is probably to get some rough ballpark numbers and then get the patch into a state that's upstream-able before

RE: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-25 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, January 25, 2013 3:00 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; Greg KH; Jan Beulich (jbeul...@suse.com) > Subject: Re: [PATCH] x86: Hyper-V: register clocksource only if its advertised > >

[PATCH] inotify: Remove broken mask checks causing unmount to be EINVAL

2013-01-25 Thread Paul Gortmaker
From: Jim Somerville Running the command: inotifywait -e unmount /mnt/disk immediately aborts with a -EINVAL return code. This is however a valid parameter. This abort occurs only if unmount is the sole event parameter. If other event parameters are supplied, then the unmount event

Re: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-25 Thread Olaf Hering
On Fri, Jan 25, KY Srinivasan wrote: > Your current approach of using the "Partition Reference Counter" > feature bit is very fragile. Let us assume that future Windows guests > depend on this feature; Xen would certainly emulate this to have a > "good" emulation of Hyper-V and we are back to

Re: [PATCH] x86, perf_event: Fix build warning

2013-01-25 Thread Stephane Eranian
On Fri, Jan 25, 2013 at 6:46 PM, Borislav Petkov wrote: > From: Borislav Petkov > > Fix this one: > > arch/x86/kernel/cpu/perf_event.c: In function ‘init_hw_perf_events’: > arch/x86/kernel/cpu/perf_event.c:1508:7: warning: assignment from incompatible > pointer type [enabled by default] >

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 14:34:57 -0500, rapier said: > My name is Chris Rapier and I'm on the Web10G dev team. We are > interested in moving this into consideration for the mainline Linux > kernel, in fact it's the primary goal of this project. We haven't > brought this to the linux kernel community

Re: [PATCH 1/2] media: add support for decoder subdevs along with sensor and others

2013-01-25 Thread Sylwester Nawrocki
Hi Prahakar, On 01/25/2013 08:01 AM, Prabhakar Lad wrote: From: Manjunath Hadli A lot of SOCs including Texas Instruments Davinci family mainly use video decoders as input devices. Here the initial subdevice node from where the input really comes is this decoder, for which support is needed as

[PATCH 2/4 v11] clk, highbank: Prevent glitches in non-bypass reset mode

2013-01-25 Thread Mark Langsdorf
The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to prevent glitches. Signed-off-by: Mark Langsdorf Signed-off-by: Rob Herring Acked-by: Mike Turquette --- Changes from v6, v7, v8, v9, v10 None. Changes

[PATCH 3/4 v11] arm highbank: add support for pl320 IPC

2013-01-25 Thread Mark Langsdorf
From: Rob Herring The pl320 IPC allows for interprocessor communication between the highbank A9 and the EnergyCore Management Engine. The pl320 implements a straightforward mailbox protocol. Signed-off-by: Mark Langsdorf Signed-off-by: Rob Herring Cc: Omar Ramirez Luna Cc: Arnd Bergmann ---

[PATCH 4/4] cpufreq, highbank: add support for highbank cpufreq

2013-01-25 Thread Mark Langsdorf
Highbank processors depend on the external ECME to perform voltage management based on a requested frequency. Communication between the A9 cores and the ECME happens over the pl320 IPC channel. Signed-off-by: Mark Langsdorf Reviewed-by: Shawn Guo Reviewed-by: Mike Turquette --- Changes from

[PATCH 0/4 v11] cpufreq: add support for Calxeda ECX-1000 (highbank)

2013-01-25 Thread Mark Langsdorf
This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The EnergyCore Management Engine (ECME) on the ECX-1000 manages the voltage for the part and communications with Linux through a pl320 mailbox. clk notifications are used to control when to send messages to the ECME.

[PATCH 1/4 v11] arm: use device tree to get smp_twd clock

2013-01-25 Thread Mark Langsdorf
From: Rob Herring Move clk setup to twd_local_timer_common_register and rely on twd_timer_rate being 0 to force calibration if there is no clock. Remove common_setup_called as it is no longer needed. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v10

Re: [GIT PULL] uprobes: pre-filtering

2013-01-25 Thread Oleg Nesterov
On 01/25, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > On 01/25, Ingo Molnar wrote: > > > > > > * Srikar Dronamraju wrote: > > > > > > > The other alternative is to extend the current abi and pass > > > > the prefilter option. Should we extend the abi for userspace > > > > tracing is

Re: [PATCH 0/3, v2] x86: xor-block handling adjustments

2013-01-25 Thread H. Peter Anvin
On 01/25/2013 12:21 AM, Jan Beulich wrote: >> >> I don't see anything wrong, except that I can't *find* patch 3/3 either >> in my inbox nor on LKML... > > I can certainly resend the whole set, but our email system even > got a delivery confirmation from yours on patch 3 (other than > e.g. from

Re: [PATCH 2/2] staging: zcache: optional support for zsmalloc as alternate allocator

2013-01-25 Thread Greg KH
On Wed, Jan 23, 2013 at 01:46:31PM -0800, Dan Magenheimer wrote: > "New" zcache uses zbud for all sub-page allocation which is more flexible but > results in lower density. "Old" zcache supported zsmalloc for frontswap > pages. Add zsmalloc to "new" zcache as a compile-time and run-time option >

[PATCH v2] mpt2sas/mpt3sas: prevent double free on error path

2013-01-25 Thread Jörn Engel
Changes since v1: - Also fixes mpt3sas, thanks to Bjørn Mork. - Adds a missing put_sas_device to _scsih_probe_boot_devices - Added a newline - Moved a kref_get outside the spinlock I noticed this one when list_del was called with poisoned list pointers, but the real problem is a double-free (and

[PATCH -v4 1/5] x86,smp: move waiting on contended ticket lock out of line

2013-01-25 Thread Rik van Riel
Moving the wait loop for congested loops to its own function allows us to add things to that wait loop, without growing the size of the kernel text appreciably. Signed-off-by: Rik van Riel Reviewed-by: Steven Rostedt Reviewed-by: Michel Lespinasse Reviewed-by: Rafael Aquini --- v2: clean up

[DEBUG PATCH -v4 6/5] x86,smp: add debugging code to track spinlock delay value

2013-01-25 Thread Rik van Riel
Subject: x86,smp: add debugging code to track spinlock delay value From: Eric Dumazet This code prints out the maximum spinlock delay value and the backtrace that pushed it that far. On systems with serial consoles, the act of printing can cause the spinlock delay value to explode. It can

[PATCH -v4 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-25 Thread Rik van Riel
Many spinlocks are embedded in data structures; having many CPUs pounce on the cache line the lock is in will slow down the lock holder, and can cause system performance to fall off a cliff. The paper "Non-scalable locks are dangerous" is a good reference:

[PATCH -v4 2/5] x86,smp: proportional backoff for ticket spinlocks

2013-01-25 Thread Rik van Riel
Simple fixed value proportional backoff for ticket spinlocks. By pounding on the cacheline with the spin lock less often, bus traffic is reduced. In cases of a data structure with embedded spinlock, the lock holder has a better chance of making progress. If we are next in line behind the current

[PATCH -v4 5/5] x86,smp: limit spinlock delay on virtual machines

2013-01-25 Thread Rik van Riel
Modern Intel and AMD CPUs will trap to the host when the guest is spinning on a spinlock, allowing the host to schedule in something else. This effectively means the host is taking care of spinlock backoff for virtual machines. It also means that doing the spinlock backoff in the guest anyway can

[PATCH -v4 3/5] x86,smp: auto tune spinlock backoff delay factor

2013-01-25 Thread Rik van Riel
Many spinlocks are embedded in data structures; having many CPUs pounce on the cache line the lock is in will slow down the lock holder, and can cause system performance to fall off a cliff. The paper "Non-scalable locks are dangerous" is a good reference:

[PATCH -v4 4/5] x86,smp: keep spinlock delay values per hashed spinlock address

2013-01-25 Thread Rik van Riel
From: Eric Dumazet Eric Dumazet found a regression with the first version of the spinlock backoff code, in a workload where multiple spinlocks were contended, each having a different wait time. This patch has multiple delay values per cpu, indexed on a hash of the lock address, to avoid that

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-25 Thread Josh Triplett
On Fri, Jan 25, 2013 at 07:36:57PM +0100, Ingo Molnar wrote: > > * Josh Triplett wrote: > > > On Fri, Jan 25, 2013 at 07:45:42AM +, Jan Beulich wrote: > > > >>> On 24.01.13 at 23:28, Josh Triplett wrote: > > > > On Thu, Jan 24, 2013 at 12:34:21PM -0800, tip-bot for Jan Beulich wrote: > > >

[PATCH 3/3] i2c-i801: SMBus patch for Intel Avoton DeviceIDs

2013-01-25 Thread Seth Heasley
This patch adds the PCU SMBus DeviceID for the Intel Avoton SOC. Signed-off-by: Seth Heasley --- Documentation/i2c/busses/i2c-i801 |1 + drivers/i2c/busses/Kconfig|1 + drivers/i2c/busses/i2c-i801.c |3 +++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] generic dynamic per cpu refcounting

2013-01-25 Thread Oleg Nesterov
On 01/25, Oleg Nesterov wrote: > > > +int percpu_ref_kill(struct percpu_ref *ref) > > +{ > > ... > > + if (status == PCPU_REF_PTR) { > > + unsigned count = 0, cpu; > > + > > + synchronize_rcu(); > > + > > + for_each_possible_cpu(cpu) > > + count +=

[PATCH 2/3] ahci: AHCI-mode SATA patch for Intel Avoton DeviceIDs

2013-01-25 Thread Seth Heasley
This patch adds the AHCI and RAID-mode SATA DeviceIDs for the Intel Avoton SOC. Signed-off-by: Seth Heasley --- drivers/ata/ahci.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 7862d17..2e6530e 100644 --- a/drivers/ata/ahci.c

atl1c: networking bug - increasing counters with no data.

2013-01-25 Thread Ian Kumlien
Hi all, I have a atl1c networking card in my laptop - it's not connected since i use wifi instead. After a while of uptime it seems like it goes haywire, tools are currently reporting data transfers of ~9GB/s ifconfig eth0 eth0: flags=4099 mtu 1500 ether 48:5b:39:5e:b0:4b txqueuelen

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Tejun Heo
Hey, On Fri, Jan 25, 2013 at 07:47:47PM +0100, Paolo Bonzini wrote: > That doesn't happen. There's plenty of vendor-specific opcodes and mode > pages, not to mention out-of-band channels, e.g. work directly at the > USB level like the mode select stuff. > > IIRC IOMEGA ZIP drives had some

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 10:42:32AM -0800, Dmitry Torokhov wrote: > No, not really as EXPORT_SYMBOL_GPL() in no way implies that the code > using it lives in the mainline. I didn't say that - I said "any code (proprietary included) can link to those symbols" meaning that I cannot possibly convert

[PATCH 1/3] ata_piix: IDE-mode SATA patch for Intel Avoton DeviceIDs

2013-01-25 Thread Seth Heasley
This patch adds the IDE-mode SATA DeviceIDs for the Intel Avoton SOC. Signed-off-by: Seth Heasley --- drivers/ata/ata_piix.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 174eca6..651fa85 100644 --- a/drivers/ata/ata_piix.c +++

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 10:38:59 -0800, Dominic Hamon said: > Hello Valdis > > I actually just finished patching a fork from the kernel github repo here: > https://github.com/dominic-mlab/linux with a view to pushing it up. I > haven't pushed a patch upstream before, so any guidance is welcome. A

Re: [PATCH] pci-sysfs: replace mutex_lock with mutex_trylock to avoid potential deadlock situation

2013-01-25 Thread Yinghai Lu
On Fri, Jan 25, 2013 at 9:44 AM, Bjorn Helgaas wrote: > [+cc Yinghai] > > On Fri, Jan 25, 2013 at 3:02 AM, Gu Zheng Hi, Gu, Can you check if two patches in http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=shortlog;h=refs/heads/for-pci-root-bus-hotplug-part3 could solve

[PATCH] Staging: Comedi: amplc_dio200: Fixed Bracing Issue

2013-01-25 Thread Jake Champlin
Fixed Bracing Issue flagged by checkpatch.pl Signed-off-by: Jake Champlin --- drivers/staging/comedi/drivers/amplc_dio200.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/amplc_dio200.c b/drivers/staging/comedi/drivers/amplc_dio200.c index

[PATCH 3/3] fb: smscufx: fix hang at disconnect

2013-01-25 Thread Alexander Holler
When a device was disconnected the driver may hang at waiting for urbs it never will get. Fix this by using a timeout while waiting for the used semaphore. There is still a memory leak if a timeout happens, but at least the driver now continues his disconnect routine. Cc: Signed-off-by:

[PATCH 2/3 v2] fb: udlfb: fix hang at disconnect

2013-01-25 Thread Alexander Holler
When a device was disconnected the driver may hang at waiting for urbs it never will get. Fix this by using a timeout while waiting for the used semaphore. There is still a memory leak if a timeout happens, but at least the driver now continues his disconnect routine. Cc: Signed-off-by:

[PATCH 1/3] semaphore: introduce down_timeout_killable()

2013-01-25 Thread Alexander Holler
The name says it all, it's like down_timeout() but returns on fatal signals too. Signed-off-by: Alexander Holler --- include/linux/semaphore.h | 2 ++ kernel/semaphore.c| 37 + 2 files changed, 39 insertions(+) diff --git a/include/linux/semaphore.h

Re: [PATCH V3 RESEND RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2013-01-25 Thread Ingo Molnar
* Raghavendra K T wrote: > On 01/25/2013 04:17 PM, Ingo Molnar wrote: > > > >* Raghavendra K T wrote: > > > >>* Ingo Molnar [2013-01-24 11:32:13]: > >> > >>> > >>>* Raghavendra K T wrote: > >>> > From: Peter Zijlstra > > In case of undercomitted scenarios, especially in large

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Paolo Bonzini
Il 25/01/2013 19:13, Tejun Heo ha scritto: > I'm not sure how well I can explain this but something being in the > spec and something in wide use are two different things, and people, > including the ones in hw vendors, tend not to pay too much attention / > resources to stuff which aren't used

Re: [GIT PULL] uprobes: pre-filtering

2013-01-25 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 01/25, Ingo Molnar wrote: > > > > * Srikar Dronamraju wrote: > > > > > The other alternative is to extend the current abi and pass > > > the prefilter option. Should we extend the abi for userspace > > > tracing is obviously debatable. > > > > That's the obvious

Re: [PATCH] generic dynamic per cpu refcounting

2013-01-25 Thread Oleg Nesterov
On 01/25, Oleg Nesterov wrote: > > > +void __percpu_ref_get(struct percpu_ref *ref, bool alloc) > > +{ > > + unsigned long pcpu_count; > > + uint64_t v; > > + > > + pcpu_count = ACCESS_ONCE(ref->pcpu_count); > > + > > + if (REF_STATUS(pcpu_count) == PCPU_REF_PTR) { > > + /* for

Re: [PATCH 3/3] xen/blkback: Check for insane amounts of request on the ring.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 12:32:32PM -0500, Konrad Rzeszutek Wilk wrote: > Check that the ring does not have an insane amount of requests > (more than there could fit on the ring). .. snip.. > diff --git a/drivers/block/xen-blkback/blkback.c > b/drivers/block/xen-blkback/blkback.c > index

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2013 at 07:32:13PM +0100, Borislav Petkov wrote: > On Fri, Jan 25, 2013 at 10:12:51AM -0800, Dmitry Torokhov wrote: > > Hi Borislav, > > > > On Fri, Jan 25, 2013 at 06:59:37PM +0100, Borislav Petkov wrote: > > > From: Borislav Petkov > > > > > > Put all config options needed to

Re: [Xen-devel] [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 06:45:29PM +0100, Roger Pau Monné wrote: > On 25/01/13 18:32, Konrad Rzeszutek Wilk wrote: > > We want to be able to exit if the difference between the request > > produced (what the frontend tells us) and the requests consumed > > (what we have so far processed) is greater

Re: [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 12:32:31PM -0500, Konrad Rzeszutek Wilk wrote: > We want to be able to exit if the difference between the request > produced (what the frontend tells us) and the requests consumed > (what we have so far processed) is greater than the ring size. > > If so, we should

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 07:35:07PM +0100, Borislav Petkov wrote: > Ok, if you prefer. We can definitely make all .o's which depend on > x86_hyper also depend on CONFIG_HYPERVISOR_GUEST - this solves the > whole deal trivially. > > I'll respin the patches. ... provided, of course, nothing

Re: [tip:x86/platform] x86: Add TS-5500 platform support

2013-01-25 Thread Ingo Molnar
* Vivien Didelot wrote: > Hi Ingo, > > > This patch still appears to have some problems with certain > > (rare) LEDS .config variations: > > > > arch/x86/built-in.o: In function `ts5500_init': > > ts5500.c:(.init.text+0xdae6): undefined reference to > > `led_classdev_register' > > > >

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-25 Thread Ingo Molnar
* Josh Triplett wrote: > On Fri, Jan 25, 2013 at 07:45:42AM +, Jan Beulich wrote: > > >>> On 24.01.13 at 23:28, Josh Triplett wrote: > > > On Thu, Jan 24, 2013 at 12:34:21PM -0800, tip-bot for Jan Beulich wrote: > > >> Commit-ID: 13f0e4d2b9e2209f13d5a4122478eb79e6136870 > > >> Gitweb:

Re: [PATCH v2] sched: add a tuning knob to allow changing RR tmeslice

2013-01-25 Thread Ingo Molnar
* Clark Williams wrote: > > Shouldn't this be in kernel/sched/sched.h instead of the > > (already too large) linux/sched.h? > > I don't think that will work be cause kernel/sysctl.c needs > the externs and I doubt we want to include > kernel/sched/sched.h from there. Then at least

Re: [PATCH] mpt2sas: prevent double free on error path

2013-01-25 Thread Jörn Engel
On Thu, 24 January 2013 08:51:20 +0100, Bjørn Mork wrote: > > How about the copy of this code in drivers/scsi/mpt3sas/mpt3sas_scsih.c? > Is that safe, or does it need fixing as well? Well spotted, that appears to suffer from the same ailment. Will cook up a second patch for that. Are there any

Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis Kletnieks
I had a user who's working on tuning high-performance network file systems what the chances of upstreaming the Web10G patch to provide the RFC4898 TCP Extended Statistics MIB via netlink. Yes, it's a tad on the intrusive side, and there's performance costs attached - but so are a lot of *other*

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 10:29:25AM -0800, Dmitry Torokhov wrote: > Can't we make the balloon driver depend on CONFIG_HYPERVISOR_GUEST? We certainly can do that, AFAICT. > We do not _need_ more and have no plans to introduce new ones AFAIK, > but I think that comparing an address of a structure

Re: [PATCH Bug fix 0/5] Bug fix for physical memory hot-remove.

2013-01-25 Thread Toshi Kani
On Tue, 2013-01-22 at 19:42 +0800, Tang Chen wrote: > Here are some bug fix patches for physical memory hot-remove. All these > patches are based on the latest -mm tree. > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm > > And patch1 and patch3 are very important. >

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2013 at 07:23:35PM +0100, Borislav Petkov wrote: > On Fri, Jan 25, 2013 at 10:07:31AM -0800, Dmitry Torokhov wrote: > > > - if (x86_hyper != _hyper_ms_hyperv) > > > + if (!x86_hyper || strncmp(x86_hyper->name, "VMware", 6)) > > > return -ENODEV; > > > > I assume this is

Re: [PATCH -v2 2/2] x86: Make Linux guest support optional

2013-01-25 Thread Borislav Petkov
On Fri, Jan 25, 2013 at 10:12:51AM -0800, Dmitry Torokhov wrote: > Hi Borislav, > > On Fri, Jan 25, 2013 at 06:59:37PM +0100, Borislav Petkov wrote: > > From: Borislav Petkov > > > > Put all config options needed to run Linux as a guest behind a > > CONFIG_HYPERVISOR_GUEST menu so that they

Re: [Xen-devel] [PATCH 2/3] xen/ring: Add a new macro to detect whether there is an overflow in requests and response.

2013-01-25 Thread Konrad Rzeszutek Wilk
On Fri, Jan 25, 2013 at 06:45:29PM +0100, Roger Pau Monné wrote: > On 25/01/13 18:32, Konrad Rzeszutek Wilk wrote: > > We want to be able to exit if the difference between the request > > produced (what the frontend tells us) and the requests consumed > > (what we have so far processed) is greater

[PATCH 14/14] mm: Account for WRITEBACK_TEMP in balance_dirty_pages

2013-01-25 Thread Maxim V. Patlasov
Make balance_dirty_pages start the throttling when the WRITEBACK_TEMP counter is high enough. This prevents us from having too many dirty pages on fuse, thus giving the userspace part of it a chance to write stuff properly. Note, that the existing balance logic is per-bdi, i.e. if the fuse user

[PATCH 13/14] fuse: Turn writeback cache on

2013-01-25 Thread Maxim V. Patlasov
Introduce a bit kernel and userspace exchange between each-other on the init stage and turn writeback on if the userspace want this and mount option 'allow_wbcache' is present (controlled by fusermount). Also add each writable file into per-inode write list and call the generic_file_aio_write to

[PATCH 12/14] fuse: Fix O_DIRECT operations vs cached writeback misorder - v2

2013-01-25 Thread Maxim V. Patlasov
The problem is: 1. write cached data to a file 2. read directly from the same file (via another fd) The 2nd operation may read stale data, i.e. the one that was in a file before the 1st op. Problem is in how fuse manages writeback. When direct op occurs the core kernel code calls

[PATCH 10/14] fuse: fuse_writepage_locked() should wait on writeback

2013-01-25 Thread Maxim V. Patlasov
fuse_writepage_locked() should never submit new i/o for given page->index if there is another one 'in progress' already. In most cases it's safe to wait on page writeback. But if it was called due to memory shortage (WB_SYNC_NONE), we should redirty page rather than blocking caller.

[PATCH 11/14] fuse: fuse_flush() should wait on writeback

2013-01-25 Thread Maxim V. Patlasov
The aim of .flush fop is to hint file-system that flushing its state or caches or any other important data to reliable storage would be desirable now. fuse_flush() passes this hint by sending FUSE_FLUSH request to userspace. However, dirty pages and pages under writeback may be not visible to

[PATCH] extcon: arizona: Use regulated mode for microphone supply when detecting

2013-01-25 Thread Mark Brown
When starting microphone detection some headsets should be exposed to the fully regulated microphone bias in order to ensure that they behave in an optimal fashion. Signed-off-by: Mark Brown --- drivers/extcon/Kconfig |2 +- drivers/extcon/extcon-arizona.c | 62

[PATCH] mfd: wm5102: Fix definition of WM5102_MAX_REGISTER

2013-01-25 Thread Mark Brown
Updated in latest datasheet. Signed-off-by: Mark Brown --- drivers/mfd/wm5102-tables.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index f183eca..9933034 100644 --- a/drivers/mfd/wm5102-tables.c +++

[PATCH 09/14] fuse: Implement writepages and write_begin/write_end callbacks - v2

2013-01-25 Thread Maxim V. Patlasov
The .writepages one is required to make each writeback request carry more than one page on it. Changed in v2: - fixed fuse_prepare_write() to avoid reads beyond EOF - fixed fuse_prepare_write() to zero uninitialized part of page Original patch by: Pavel Emelyanov Signed-off-by: Maxim V.

[PATCH] mfd: wm5102: Make DSP scratch registers readable

2013-01-25 Thread Mark Brown
Signed-off-by: Mark Brown --- drivers/mfd/wm5102-tables.c |8 include/linux/mfd/arizona/registers.h | 16 2 files changed, 24 insertions(+) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index ea3e40a..1ee3a81 100644 ---

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