3.7-rc6 soft lockup in kswapd0

2012-11-22 Thread George Spelvin
I'm having an interesting issue with a uniprocessor Pentium 4 machine locking up overnight. 3.6.5 didn't do that, but 3.7-rc6 is not doing so well. It's kind of a funny lockup. Some things work: - TCP SYN handshake - Alt-SysRq And others don't: - Caps lock - Shift-PgUp - Alt-Fn - Screen unbla

Re: [PATCH] ezusb: add dependency to USB

2012-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2012 at 07:10:50PM +0100, Rene Buergel wrote: > This fixes an error during modpost, when ezusb is built into the kernel while > USB is built as module. > > Signed-off-by: René Bürgel > -- > diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig > index a8f0523..fecde69

[PATCH 0/4] video: vt8500: cleanup and use of devm_ apis

2012-11-22 Thread Tushar Behera
Patch 1 fixes a possible memory leak in the driver. Rest 3 patches add/update usage of devm_ apis. These patches are only build-tested. Tushar Behera (4): video: vt8500: Fix memory leak in probe function video: vt8500: Fix invalid free of devm_ allocated data video: vt8500: Convert to use d

Re: [POC] recoverable fault injection

2012-11-22 Thread Akinobu Mita
2012/11/22 Johannes Berg : > This idea has been floating around in my head for a long time now ... > > I was thinking: what if we could do fault injection during regular > testing, at least on those code paths that are not supposed to have side > effects when they fail? Now obviously this isn't all

[PATCH 2/2] ASoC: Davinci: machine: Add device tree binding

2012-11-22 Thread Hebbar, Gururaja
From: "Hebbar, Gururaja" Device tree support for Davinci Machine driver When the board boots with device tree, the driver will receive card, codec, dai interface details (like the card name, DAPM routing map, phandle for the audio components described in the dts file, codec mclk speed). The card

[PATCH v2] video console: add a driver for lcd2s character display

2012-11-22 Thread Lars Poeschel
From: Lars Poeschel This driver allows to use a lcd2s 20x4 character display as a linux console output device. Signed-off-by: Lars Poeschel --- drivers/video/console/Kconfig| 10 ++ drivers/video/console/Makefile |1 + drivers/video/console/lcd2scon.c | 360 +++

Re: memory-cgroup bug

2012-11-22 Thread azurIt
>> i'm using memory cgroup for limiting our users and having a really >> strange problem when a cgroup gets out of its memory limit. It's very >> strange because it happens only sometimes (about once per week on >> random user), out of memory is usually handled ok. > >What is your memcg configurati

RE: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-22 Thread Sethi Varun-B16395
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Alex Williamson > Sent: Tuesday, November 20, 2012 11:50 PM > To: Alexey Kardashevskiy > Cc: Benjamin Herrenschmidt; Paul Mackerras; linuxppc- > d...@lists.ozlabs.or

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-22 Thread Yinghai Lu
On Thu, Nov 22, 2012 at 7:59 AM, H. Peter Anvin wrote: > Looks good to me. > has problem with old kexec, it only copy header from bzImage include setup_header as boot_param. ea 05 00 c0 07 8c c8 8e d8 8e c0 8e d0 31 e4 fb |.1..| 0010 fc be 2d 00 ac 20 c0 74 09 b4 0e

[PATCH v4 3/3] ARM: mx27: Add VPU support

2012-11-22 Thread Fabio Estevam
mx27 has a VPU (Video Processing Unit) block that allows doing H264/MPEG4 decoding and encoding in hardware. Add support for it in a common SoC file instead of per board file. Also make sure to not register the VPU driver for the MX27Lite version as this one does not contain the VPU controller.

[PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Viresh Kumar
From: Vipul Kumar Samar This patch extends existing DT support for stmpe devices. Bindings are mentioned in binding document. Signed-off-by: Vipul Kumar Samar Signed-off-by: Viresh Kumar --- V1->V2: -- - Partial DT support was already there, which i missed earlier. - Now, this patch is an

vdso && cr (Was: arch_check_bp_in_kernelspace: fix the range check)

2012-11-22 Thread Oleg Nesterov
On 11/22, Amnon Shiloh wrote: > > Now however, that "vsyscall" was effectively replaced by vdso, it > creates a new problem for me and probably for anyone else who uses > some form of checkpoint/restore: Oh, sorry, I can't help here. I can only add Cyrill and Pavel, they seem to enjoy trying to so

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Lee Jones
> > Big fat NACK. > > > > You've just overwritten the current implementation with your own. > > Please take time to understand the mechanisms in place before > > you submit any changes or additions to it. > > :) > > My fault. Comments on all overwritten stuff accepted Okay, great. > >> diff --g

Re: [PATCH v3 2/2] therma: exynos: Supports thermal tripping

2012-11-22 Thread jonghwa3 . lee
Hi, On 2012년 11월 22일 09:43, Jonghwan Choi wrote: > Hi~ > > data->base + EXYNOS_THD_TEMP_RISE); @@ -665,6 +672,8 @@ static void exynos_tmu_control(struct >> platform_device *pdev, bool on) con &= ~(EXYNOS_TMU_TRIP_MODE_MASK | EXYN

RE: Re: [PATCH] extcon : callback function to read cable property

2012-11-22 Thread Tc, Jenny
> The "RFC" patch for this feature is now shown at: > http://git.kernel.org/?p=linux/kernel/git/mzx/extcon.git;a=commit;h=5655a > eef83addaec77a3b9387a3dd18b6c146dd5 > (Note that "for-add-feature" branch is sort of "RFC" branch) > > I'm now considering relaying notifications of data updates possib

Re: [PATCH] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-22 Thread Ilya Zykov
On 22.11.2012 1:30, Alan Cox wrote: Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrottle driver, we can get forever throttled driver, because after request, we will have empty b

Re: [PATCH] serial:ifx6x60:Delete SPI timer when shut down port

2012-11-22 Thread Alan Cox
On Thu, 22 Nov 2012 16:43:07 +0800 chao bi wrote: > > When shut down SPI port, it's possible that MRDY has been asserted > and a SPI timer was activated waiting for SRDY assert, in the case, > it needs to delete this timer. > > Signed-off-by: Chen Jun > Signed-off-by: channing > --- > driver

Re: [V2 PATCH 1/3] staging: ozwpan: Remove redundant null check before kfree in ozpd.c

2012-11-22 Thread Rupesh Gujare
On 21/11/12 21:48, Greg KH wrote: On Wed, Nov 21, 2012 at 05:26:12PM +, Rupesh Gujare wrote: On 21/11/12 16:19, Dan Carpenter wrote: When someone sends a patch there are a several possible responses: 1) Ack the patch. 2) Request that the submitter redo it. The downside is that no one l

[PATCH V2 1/2] mfd: stmpe: Use devm_*() routines

2012-11-22 Thread Viresh Kumar
This patch frees stmpe driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar --- V1->V2: -- - Rebased over latest for-next from Samuel - updated additi

RE: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-22 Thread Philip, Avinash
On Thu, Nov 22, 2012 at 16:13:52, Artem Bityutskiy wrote: > On Wed, 2012-11-21 at 07:01 +, Philip, Avinash wrote: > > > I am not sure how this dependency has to be handled for this series, > > > let me know whether you still want it to be made over l2-mtd? > > > > Artem, > > > > Is it possibl

Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-22 Thread Yoshihiro YUNOMAE
Hi Marcelo, (2012/11/21 7:51), Marcelo Tosatti wrote: On Tue, Nov 20, 2012 at 07:36:33PM +0900, Yoshihiro YUNOMAE wrote: Hi Marcelo, Sorry for the late reply. (2012/11/17 4:15), Marcelo Tosatti wrote: On Wed, Nov 14, 2012 at 05:26:10PM +0900, Yoshihiro YUNOMAE wrote: Thank you for commentin

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Viresh Kumar
On 22 November 2012 16:54, Lee Jones wrote: >> diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt >> b/Documentation/devicetree/bindings/mfd/stmpe.txt >> +Optional properties: >> +- irq-trigger: IRQ trigger to use for the interrupt to the host >> +- irq-invert-polarity: bool, IRQ line i

Re: [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process

2012-11-22 Thread Alan Cox
On Thu, 22 Nov 2012 06:19:23 -0500 Jun Chen wrote: > > This patch add modem power off function in the reboot process > according registering reboot callback to the reboot_notifier_list. > Also realizing the spi shutdown function. Need to unregister the reboot notifier in the ifx_spi_exit path.

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Lee Jones
> From: Vipul Kumar Samar > > This patch extends existing DT support for stmpe devices. Bindings are > mentioned > in binding document. > > Signed-off-by: Vipul Kumar Samar > Signed-off-by: Viresh Kumar > --- > V1->V2: > -- > - Partial DT support was already there, which i missed earlier.

Re: [PATCH 2/2] regulator: add a regulator driver for the AS3711 PMIC

2012-11-22 Thread Mark Brown
On Wed, Nov 21, 2012 at 07:21:11PM +0100, Guennadi Liakhovetski wrote: > + if (!pdata) { > + dev_err(&pdev->dev, "No platform data, exiting...\n"); > + return -ENODEV; > + } There's no reason to require platform data, the driver can still support readback of the cu

Re: Linux 3.7-rc6

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 12:18 PM, Henrik Rydberg wrote: >> My apologies for the long delay in answering, I've somehow mixed up >> different bugreports and thought I've sent you a patch to test >> already. Anyway, please test >> >> https://patchwork.kernel.org/patch/1728111/ > > Tested-by: Henr

Re: [PATCH 11/58] tty: Mark sysfs_attr_ns static

2012-11-22 Thread Greg Kroah-Hartman
On Sun, Nov 18, 2012 at 09:27:50PM -0800, Josh Triplett wrote: > Nothing outside of fs/sysfs/file.c references this function, so mark it > static. > > Signed-off-by: Josh Triplett > --- > fs/sysfs/file.c |4 ++-- Your Subject: is a bit wrong, this isn't a tty patch :( I'll go clean it up..

[PATCH v4 01/31] iov_iter: move into its own file

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This moves the iov_iter functions in to their own file. We're going to be working on them in upcoming patches. They become sufficiently large, and remain self-contained, to justify seperating them from the rest of the huge mm/filemap.c. Signed-off-by: Dave Kleikamp Acked-by:

Re: [PATCH 0/4] video: vt8500: cleanup and use of devm_ apis

2012-11-22 Thread Tony Prisk
On Thu, 2012-11-22 at 12:12 +0530, Tushar Behera wrote: > Patch 1 fixes a possible memory leak in the driver. > Rest 3 patches add/update usage of devm_ apis. > > These patches are only build-tested. > > Tushar Behera (4): > video: vt8500: Fix memory leak in probe function > video: vt8500: Fi

[PATCH v4 18/31] fs: use read_iter and write_iter rather than aio_read and aio_write

2012-11-22 Thread Dave Kleikamp
File systems implementing read_iter & write_iter should not be required to keep aio_read and aio_write as well. The vfs should always call read/write_iter if they exist. This will make it easier to remove the aio_read/write operation in the future. Signed-off-by: Dave Kleikamp Cc: Alexander Viro

Re: [PATCH] mtd cs553x_nand: Initialise ecc.strength before nand_scan()

2012-11-22 Thread Artem Bityutskiy
On Thu, 2012-11-22 at 10:42 +1100, Nathan Williams wrote: > Loading cs553x_nand with Hynix H27U1G8F2BTR NAND flash causes this bug: > > kernel BUG at drivers/mtd/nand/nand_base.c:3345! Pushed to l2-mtd.git, added Cc: sta...@vgen.kernel.org [3.4+] Thanks! -- Best Regards, Artem Bityutskiy si

[ 28/83] ASoC: dapm: Use card_list during DAPM shutdown

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Misael Lopez Cruz commit 445632ad6dda42f4d3f9df2569a852ca0d4ea608 upstream. DAPM shutdown incorrectly uses "list" field of codec struct while iterating over probed components (codec_dev_list).

Re: [GIT PULL] extcon fixes for Linux 3.7 rc6

2012-11-22 Thread MyungJoo Ham
On Wed, Nov 21, 2012 at 11:35 PM, Greg KH wrote: > On Wed, Nov 21, 2012 at 08:15:25PM +0900, MyungJoo Ham wrote: >> The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: >> >> Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) >> >> are available in the git repository at: >> git:

[ 138/171] libceph: initialize msgpool message types

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit d50b409fb8698571d8209e5adfe122e287e31290) Initialize the type field for messages in a msgpool. The caller was doing this for osd ops, but not for the reply

[ 160/171] libceph: recheck con state after allocating incoming message

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 6139919133377652992a5fe134e22abce3e9c25e) We drop the lock when calling the ->alloc_msg() con op, which means we need to (a) not clobber con->in_msg without

[ 006/171] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying commit 90b5c1d7c45eeb622302680ff96ed30c1a2b6f0e upstream. If a PCI device and its parents are put into D3cold, unbinding the device will trigger deadlock as follow: - driver_unbind

Re: [PATCH] of: Have of_device_add call platform_device_add rather than device_add

2012-11-22 Thread Jason Gunthorpe
On Thu, Nov 22, 2012 at 03:36:21PM +, Grant Likely wrote: > Hmm... I've not tried it with assigned-address. I tried with two sibling > platform devices using just the 'reg' property. That the kernel will > complain about. For powerpc-only, the patch I posted allows the device > to get register

[PATCH 1/2] serial: mxs-auart: disable the Receive Timeout Interrupt when DMA is enabled

2012-11-22 Thread Huang Shijie
When the DMA is enabled, the Receive Timeout interrupt is very easy to be arised in the 3M baud rate. The interrupt handler (aka mxs_auart_irq_handle) will call mxs_auart_rx_chars() to handle the received data. This is not right, we can not get the correct data from the RXFIFO now, the data have b

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-22 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 10:47 PM, Yinghai Lu wrote: > On Wed, Nov 21, 2012 at 9:58 PM, H. Peter Anvin wrote: >> Yes, lets... >> >> >>> also do you still think need to move ext_ramdisk... ext_cmd_line_ptr >>> from setup_header to boot_param ? >> how about: diff --git a/arch/x86/include/asm/bootp

Re: [PATCH 1/9] vfs: Handle O_SYNC AIO DIO in generic code properly

2012-11-22 Thread Jan Kara
On Wed 21-11-12 13:29:01, Christoph Hellwig wrote: > On Wed, Nov 21, 2012 at 11:58:05AM -0500, Jeff Moyer wrote: > > > I'd like to use this as a vehicle to revisit how dio completions work. > > > > I don't like the sound of that. ;-) It sounds like this bugfix may get > > further delayed by the

[PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-22 Thread Michal Kubecek
If all slaves of a balance-rr bond with ARP monitor are enslaved with down link state, bond keeps down state even after slaves go up. This is caused by bond_enslave() setting curr_active_slave to first slave not taking into account its link state. As bond_loadbalance_arp_mon() uses curr_active_sla

Re: [PATCH] PM / devfreq: missing rcu_read_lock() added for find_device_opp()

2012-11-22 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@hallyn.com): > Quoting MyungJoo Ham (myungjoo@samsung.com): > > opp_get_notifier() uses find_device_opp(), which requires to > > held rcu_read_lock. In order to keep the notifier-header > > valid, we have added rcu_read_lock(). > > Well, to be honest, the opp lo

Re: [PATCH v4 0/3] ACPI 5 support for GPIO, SPI and I2C

2012-11-22 Thread Linus Walleij
On Wed, Nov 21, 2012 at 10:31 PM, Rafael J. Wysocki wrote: > This patchset has been around for quite a while and went through a few > iterations, so I think it's as good as it gets at this point. > > I wonder if the GPIO / SPI / I2C maintainers have any objections against it or > would like the p

Re: [PATCH 3.6.6 0/3] i82975x_edac: fatal bug fixed

2012-11-22 Thread Mauro Carvalho Chehab
Hi Arvind, Em Thu, 22 Nov 2012 14:52:35 +0530 Arvind R escreveu: > Subject: [PATCH 3.6.6 0/3] i82975x_edac: fatal bug fixed > > This patchset fixes fatal crash caused by i82975x_edac driver. > It consists of 3 parts: > 1. Move the debug code to conform to the edac_core standard >instead of

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-22 Thread Grant Likely
On Wed, Nov 21, 2012 at 10:00 AM, Alex Courbot wrote: > On Wednesday 21 November 2012 16:48:45 Tomi Valkeinen wrote: >> If the power-off sequence disables a regulator that was supposed to be >> enabled by the power-on sequence (but wasn't enabled because of an >> error), the regulator_disable is s

[ 156/171] libceph: revoke mon_client messages on session restart

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 4f471e4a9c7db0256834e1b376ea50c82e345c3c) Revoke all mon_client messages when we shut down the old connection. This is mostly moot since we are re-using the

[ 005/171] mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 1f98ab7fef48a2968f37f422c256c9fbd978c3f0 upstream. Fixes more wifi status skb leaks, leading to hostapd/wpa_supplicant hangs. Signed-off-by: Felix Fietkau Signed-off-by:

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-22 Thread Zhang Rui
On Thu, 2012-11-22 at 10:11 +0530, Amit Kachhap wrote: > On 22 November 2012 06:52, Zhang Rui wrote: > > On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: > >> This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL > >> and THERMAL_TREND_DROP_FULL. This thermal trend

Re: [PATCH v3] cpufreq: ondemand: handle SW coordinated CPUs

2012-11-22 Thread Fabio Baltieri
Hello Rafael, thanks for the review! I only have one concern before sending a v4: On Thu, Nov 22, 2012 at 01:10:15AM +0100, Rafael J. Wysocki wrote: > > @@ -627,32 +659,41 @@ static void do_dbs_timer(struct work_struct *work) > > delay -= jiffies % delay; > >

[ 05/38] ptp: update adjfreq callback description

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. This patch updates the adjfreq callback description to include a note that the delta in ppb is always relative to the base

[ 03/83] xfs: drop buffer io reference when a bad bio is built

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit d69043c42d8c6414fa28ad18d99973aa6c1c2e24 upstream. Error handling in xfs_buf_ioapply_map() does not handle IO reference counts correctly. We increment the b_io_remaining cou

[ 039/171] r8169: Fix WoL on RTL8168d/8111d.

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Cyril Brulebois commit b00e69dee4ccbb3a19989e3d4f1385bc2e3406cd upstream. This regression was spotted between Debian squeeze and Debian wheezy kernels (respectively based on 2.6.32 and 3.2). Mo

[ 22/83] ALSA: hda - Fix invalid connections in VT1802 codec

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ef4da45828603df57e5e21b8aa21a66ce309f79b upstream. VT1802 codec provides the invalid connection lists of NID 0x24 and 0x33 containing the routes to a non-exist widget 0x3e.

[ 24/83] ALSA: hda - Add new codec ALC668 and ALC900 (default name ALC1150)

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 19a62823eae453619604636082085812c14ee391 upstream. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_rea

[ 032/171] ipv4: avoid undefined behavior in do_ip_setsockopt()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang [ Upstream commit 0c9f79be295c99ac7e4b569ca493d75fdcc19e4e ] (1< Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/ipv4/ip_sockglue.c | 35 +

Re: drivers/usb/usb-skeleton.c:117:3: error: label ‘out_err’ used but not define

2012-11-22 Thread Greg Kroah-Hartman
On Sun, Nov 18, 2012 at 12:06:31PM -0200, Thiago Farina wrote: > On Sun, Nov 18, 2012 at 1:41 AM, Greg Kroah-Hartman > wrote: > >> If not, what would be the right fix? > > > > Properly define out_err. > > > > I thought this all got fixed up recently, what kernel version are you > > looking at? > >

Re: [PATCH v2 1/3] CLK: get rid of HAVE_CLK_PREPARE

2012-11-22 Thread Shawn Guo
On Wed, Nov 21, 2012 at 09:34:40PM -0800, Dmitry Torokhov wrote: > HAVE_CLK_PREPARE is automatically selected by COMMON_CLK and the only > platform that explicitly selects HAVE_CLK_PREPARE is MXS which has been > switched to common clk framework, so we can delete this option now. > > As part of th

[ 115/171] libceph: fix NULL dereference in reset_connection()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter (cherry picked from commit 26ce171915f348abd1f41da1ed139d93750d987f) We dereference "con->in_msg" on the line after it was set to NULL. Signed-off-by: Dan Carpenter Reviewed-by:

Re: [PATCH v4 0/3] ACPI 5 support for GPIO, SPI and I2C

2012-11-22 Thread Mark Brown
On Wed, Nov 21, 2012 at 10:31:15PM +0100, Rafael J. Wysocki wrote: > I wonder if the GPIO / SPI / I2C maintainers have any objections against it or > would like the patches to be modified somehow? > If not, then I'd like to take it for v3.8 into the linux-pm.git tree, because > the patches depend

[PATCH v4 05/31] iov_iter: hide iovec details behind ops function pointers

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This moves the current iov_iter functions behind an ops struct of function pointers. The current iov_iter functions all work with memory which is specified by iovec arrays of user space pointers. This patch is part of a series that lets us specify memory with bio_vec arrays of

Re: [PATCH v3 2/2] therma: exynos: Supports thermal tripping

2012-11-22 Thread Amit Kachhap
On 22 November 2012 07:48, wrote: > Hi, > On 2012년 11월 22일 09:43, Jonghwan Choi wrote: >> Hi~ >> >> > data->base + EXYNOS_THD_TEMP_RISE); > @@ -665,6 +672,8 @@ static void exynos_tmu_control(struct >>> platform_device > *pdev, bool on) >

[GIT PULL] GPIO patch stack for v3.8

2012-11-22 Thread Linus Walleij
Hi Grant, to avoid any mess during the v3.8 merge window, could you please pull this patch stack to your GPIO branch for v3.8? All these patches have been resting in linux-next and are reviewed and ACKed by maintainers. A more verbose description is in the signed tag. Some confusion stems from t

[PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process

2012-11-22 Thread Jun Chen
This patch add modem power off function in the reboot process according registering reboot callback to the reboot_notifier_list. Also realizing the spi shutdown function. Signed-off-by: Bi Chao Signed-off-by: Chen Jun --- drivers/tty/serial/ifx6x60.c | 39 ++

Re: [PATCH] ipv6: adapt connect for repair move

2012-11-22 Thread Pavel Emelyanov
On 11/22/2012 03:13 PM, Andrey Vagin wrote: > This is work the same as for ipv4. > > All other hacks about tcp repair are in common code for ipv4 and ipv6, > so this patch is enough for repairing ipv6 connections. > > Cc: "David S. Miller" > Cc: Alexey Kuznetsov > Cc: James Morris > Cc: Hideak

[PATCH] ipv6: adapt connect for repair move

2012-11-22 Thread Andrey Vagin
This is work the same as for ipv4. All other hacks about tcp repair are in common code for ipv4 and ipv6, so this patch is enough for repairing ipv6 connections. Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: Pavel Emelyanov Signed-

Re: [PATCH v3 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-11-22 Thread Zhang Rui
On Tue, 2012-11-20 at 09:57 +0900, Jonghwan Choi wrote: > [0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. > > Signed-off-by: Jonghwan Choi I don't know why but the patch format seems to be a mess. please resend the patch. thanks, rui > --- > drivers/thermal/exynos_thermal

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-22 Thread Jiri Slaby
On 11/22/2012 12:00 AM, Greg KH wrote: > On Wed, Nov 21, 2012 at 11:43:34PM +0100, Jiri Slaby wrote: >> On 11/21/2012 03:46 PM, Greg KH wrote: >>> On Wed, Nov 21, 2012 at 10:49:07AM +0530, Sachin Kamat wrote: --- a/drivers/tty/vt/consolemap.c +++ b/drivers/tty/vt/consolemap.c @@ -410

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-22 Thread Sachin Kamat
On 22 November 2012 06:08, Greg KH wrote: > On Thu, Nov 22, 2012 at 12:17:00AM +0100, Jiri Slaby wrote: >> On 11/22/2012 12:00 AM, Greg KH wrote: >> > On Wed, Nov 21, 2012 at 11:43:34PM +0100, Jiri Slaby wrote: >> >> On 11/21/2012 03:46 PM, Greg KH wrote: >> >>> On Wed, Nov 21, 2012 at 10:49:07AM

[PATCH 0/2] ARM/ASoC: Davinci: Device Tree Update

2012-11-22 Thread Hebbar, Gururaja
From: "Hebbar, Gururaja" 1. Add pinctrl for McASP Module 2. Add DT support for Davinci machine platform (resend) Second commit is a resend after re-basing on latest broonie-asoc/for-next (v3.7-rc6) Hebbar, Gururaja (2): ASoC: davinci-mcasp: Add pinctrl support ASoC: Davinci: machine: Add de

[PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" - This patch adds device tree support for fuelgauge driver - optimize bm devices platform_data usage and of_probe(...) Note: of_probe() routine for battery managed devices is made common across all bm drivers. - test status: - interrupt numbers assigned differs betwe

[PATCH 3/4] mfd: ab8500: add devicetree support for charger

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch adds device tree support for ab8500-charger driver Signed-off-by: Rajanikanth H.V --- Documentation/devicetree/bindings/mfd/ab8500.txt | 14 .../bindings/power_supply/ab8500/charger.txt | 25 +++ arch/arm/boot/dts/dbx5x0.dtsi

[PATCH 4/4] mfd: ab8500: add devicetree support for chargalg

2012-11-22 Thread Rajanikanth H.V
From: "Rajanikanth H.V" This patch adds device tree support for charging algorithm driver Signed-off-by: Rajanikanth H.V --- .../bindings/power_supply/ab8500/chargalg.txt | 16 ++ arch/arm/boot/dts/dbx5x0.dtsi |5 ++ drivers/mfd/ab8500-core.c

[PATCH v4 10/31] dio: Convert direct_IO to use iov_iter

2012-11-22 Thread Dave Kleikamp
Change the direct_IO aop to take an iov_iter argument rather than an iovec. This will get passed down through most filesystems so that only the __blockdev_direct_IO helper need be aware of whether user or kernel memory is being passed to the function. Signed-off-by: Dave Kleikamp --- Documentati

Re: [PATCH 2/5] Input: bu21013_ts - Move GPIO init and exit functions into the driver

2012-11-22 Thread Lee Jones
On Wed, 21 Nov 2012, Dmitry Torokhov wrote: > Hi Lee, > > On Wed, Nov 14, 2012 at 01:47:14PM +, Lee Jones wrote: > > @@ -272,6 +276,60 @@ static irqreturn_t bu21013_gpio_irq(int irq, void > > *device_data) > > } > > > > /** > > + * bu21013_gpio_board_init() - configures the touch panel >

[PATCH] PM / devfreq: missing rcu_read_lock() added for find_device_opp()

2012-11-22 Thread MyungJoo Ham
opp_get_notifier() uses find_device_opp(), which requires to held rcu_read_lock. In order to keep the notifier-header valid, we have added rcu_read_lock(). Reported-by: Kees Cook Signed-off-by: MyungJoo Ham --- drivers/devfreq/devfreq.c | 26 -- 1 files changed, 20 ins

Re: [PATCH] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-22 Thread Alan Cox
> Function reset_buffer_flags() also invoked during the > ioctl(...,TCFLSH,..). At the time of request we can have full buffers > and throttled driver too. If we don't unthrottle driver, we can get > forever throttled driver, because after request, we will have > empty buffers and throttled driver

[PATCH v4 28/31] udf: convert file ops from aio_read/write to read/write_iter

2012-11-22 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp Cc: Jan Kara --- fs/udf/file.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/udf/file.c b/fs/udf/file.c index c4164dc..a5d69c0 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -133,8 +133,8 @@ const struct address_space_operations

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-22 Thread Zhang Rui
On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: > This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL > and THERMAL_TREND_DROP_FULL. This thermal trend can be used to quickly > jump to the upper or lower cooling level instead of incremental increase > or decrease.

Re: Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
Hi Daniel, > >> My apologies for the long delay in answering, I've somehow mixed up > >> different bugreports and thought I've sent you a patch to test > >> already. Anyway, please test > >> > >> https://patchwork.kernel.org/patch/1728111/ > > > > Tested-by: Henrik Rydberg > > Can you please

[net] pps: fix a use-after-free memory bug.

2012-11-22 Thread Jeff Kirsher
From: Jacob Keller In the pps_core subsystem, the pps structure is being freed by "pps_device_destruct" before the character device is removed by pps_unregister_source. This was discovered by enabling SLUB memory poisoning. The simple fix is to move kfree(pps) back into pps_unregister_source inst

[PATCH v4 09/31] dio: create a dio_aligned() helper function

2012-11-22 Thread Dave Kleikamp
From: Zach Brown __blockdev_direct_IO() had two instances of the same code to determine if a given offset wasn't aligned first to the inode's blkbits and then to the underlying device's blkbits. This was confusing enough but we're about to add code that performs the same check on offsets in bve

[PATCH v4 08/31] iov_iter: let callers extract iovecs and bio_vecs

2012-11-22 Thread Dave Kleikamp
From: Zach Brown direct IO treats memory from user iovecs and memory from arrays of kernel pages very differently. User memory is pinned and worked with in batches while kernel pages are always pinned and don't require additional processing. Rather than try and provide an abstraction that inclu

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-22 Thread Grant Likely
On Wed, 21 Nov 2012 13:23:06 +0900, Alex Courbot wrote: > Hi Grant, > > On Wednesday 21 November 2012 05:54:29 Grant Likely wrote: > > > With the advent of the device tree and of ARM kernels that are not > > > board-tied, we cannot rely on these board-specific hooks anymore but > > > > This isn'

[PATCH v4 21/31] ext4: add support for read_iter and write_iter

2012-11-22 Thread Dave Kleikamp
use the generic_file_read_iter(), create ext4_file_write_iter() based on ext4_file_write(), and make ext4_file_write() a wrapper around ext4_file_write_iter(). Signed-off-by: Dave Kleikamp Cc: Zach Brown Cc: "Theodore Ts'o" Cc: Andreas Dilger Cc: linux-e...@vger.kernel.org --- fs/ext4/file.c

[PATCH] bdi: Track users that require stable page writes

2012-11-22 Thread Darrick J. Wong
How's this look to everyone? No more user-writable flag, and most of the helper functions are gone. (Are these emails even getting through?) --D --- This creates a per-backing-device flag that tracks whether or not pages must be held immutable during writeout. Eventually it will be used to waiv

[PATCH] writeback: fix a typo in comment

2012-11-22 Thread Yan Hong
Signed-off-by: Yan Hong --- fs/fs-writeback.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 51ea267..e9e619a 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -1032,7 +1032,7 @@ int bdi_writeback_thread(void *data)

[PATCH] [trivial] mips: lantiq: Fix typo endianess in dma.c

2012-11-22 Thread Masanari Iida
Correct spelling typo ENDIANESS to ENDIANNESS in arc/mips/lantiq/xway/dma.c Signed-off-by: Masanari Iida --- arch/mips/lantiq/xway/dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c index 55d2c4f..0f7228d 1006

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-22 Thread Andrew Cooper
On 22/11/12 17:47, H. Peter Anvin wrote: > The other thing that should be considered here is how utterly > preposterous the notion of doing in-guest crash dumping is in a system > that contains a hypervisor. The reason for kdump is that on bare metal > there are no other options, but in a hyper

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-22 Thread Yinghai Lu
On Thu, Nov 22, 2012 at 10:37 AM, H. Peter Anvin wrote: >> looks we only can use [0x30,0x3c), [0x1e8, 0x1f0), but in boot_params, >> they >> are apm_bios_info, and alt_mem_k... > > > ... which I suspect get set by said kexec botch. > > >> so looks we still have to use setup_header instead. > > > W

Re: [git pull] drm fixes

2012-11-22 Thread Linus Torvalds
On Wed, Nov 21, 2012 at 6:34 PM, Dave Airlie wrote: > > its vmware/nouveua/radeon/intel/ttm scattered. Hmm. That's not what I see. I just see nouveau and soem PCI ID addition. > 21 files changed, 108 insertions(+), 31 deletions(-) I get 14 files changed, 70 insertions(+), 21 deletions(-) pr

[PATCH v2 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

2012-11-22 Thread Dmitry Torokhov
We'll need to invoke clk_disable_unprepare() via a pointer in our devm_* conversion so let's uninline the pair. Signed-off-by: Dmitry Torokhov --- drivers/clk/clk.c | 23 +++ include/linux/clk.h | 53 +++-- 2 files changed, 54

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Viresh Kumar
On 22 November 2012 21:16, Lee Jones wrote: >> >> diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt >> >> b/Documentation/devicetree/bindings/mfd/stmpe.txt >> >> +- irq-over-gpio: bool, true if gpio is used to get irq >> >> +- irq-gpios: gpio number over which irq will be requested (si

[PATCH 2/2] serial: mxs-auart: unmap the scatter list before we copy the data

2012-11-22 Thread Huang Shijie
We should first unmap the DMA scatter list for receiving data, and then copy the data from the DMA buffer. The old code misses unmap the scatter list for RX. This patch fixes it. Signed-off-by: Huang Shijie Tested-by: Lauri Hintsala --- drivers/tty/serial/mxs-auart.c |2 ++ 1 files change

[PATCH] pkt_sched: QFQ Plus: fair-queueing service at DRR cost

2012-11-22 Thread Paolo Valente
This patch turns QFQ into QFQ+, a variant of QFQ that provides the following two benefits: 1) QFQ+ is faster than QFQ, 2) differently from QFQ, QFQ+ correctly schedules also non-leaves classes in a hierarchical setting. A detailed description of QFQ+, plus a performance comparison with DRR and QFQ,

Re: [PATCH] PM / devfreq: missing rcu_read_lock() added for find_device_opp()

2012-11-22 Thread Serge E. Hallyn
Quoting MyungJoo Ham (myungjoo@samsung.com): > opp_get_notifier() uses find_device_opp(), which requires to > held rcu_read_lock. In order to keep the notifier-header > valid, we have added rcu_read_lock(). > Reviewed-by: Serge Hallyn > Reported-by: Kees Cook > Signed-off-by: MyungJoo Ham

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-22 Thread H. Peter Anvin
On 11/22/2012 10:50 AM, Yinghai Lu wrote: ok, I will use 0xc0 instead, and at the same time try to fix that from kexec. then user will still have chance to use old kexec tools without enable CONFIG_EFI_STUB in kernel. If we can get the sentinel hack to work that would probably be useful, bu

Re: [PATCH v6 0/9] Cleanup & new features for compiler*.h and bug.h

2012-11-22 Thread Borislav Petkov
On Tue, Nov 20, 2012 at 02:42:03PM -0600, danielfsan...@att.net wrote: > > include/linux/bug.h | 47 ++-- > include/linux/compiler-gcc.h |3 ++ > include/linux/compiler-gcc3.h |8 +++--- > include/linux/compiler-gcc4.h | 28 --

[PATCH 3.6.6 2/3] i82975x_edac: fix format problems

2012-11-22 Thread Arvind R
Subject: [PATCH 3.6.6 2/3] i82975x_edac: fix format problems This patch fixes format errors and warnings like long lines. Also, adds defines for previously hardcoded constants. Signed-off-by: Arvind R. --- drivers/edac/i82975x_edac.c | 25 - 1 file changed, 16 insertion

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-22 Thread Grant Likely
On Wed, Nov 21, 2012 at 3:12 PM, Thierry Reding wrote: > On Thu, Nov 22, 2012 at 12:02:47AM +0900, Alexandre Courbot wrote: >> Mmmm so maybe I am misinterpreting things, but it looks like we >> have just buried the power sequences here, haven't we? > > I don't think so. In fact I was just starting

Re: Problem in Page Cache Replacement

2012-11-22 Thread Fengguang Wu
Hi Jaegeuk, Sorry for the delay. I'm traveling these days.. On Wed, Nov 21, 2012 at 05:42:33PM +0800, Jaegeuk Hanse wrote: > On 11/21/2012 05:02 PM, Fengguang Wu wrote: > >On Wed, Nov 21, 2012 at 04:34:40PM +0800, Jaegeuk Hanse wrote: > >>Cc Fengguang Wu. > >> > >>On 11/21/2012 04:13 PM, metin d

  1   2   3   4   5   6   7   8   9   10   >