Re: [PATCH v4 1/2] aio: make kiocb-private NUll in init_sync_kiocb()

2012-07-04 Thread Joel Becker
On Fri, Jun 29, 2012 at 06:49:43PM +0800, Junxiao Bi wrote: On 06/29/2012 05:22 PM, Joel Becker wrote: On Thu, Jun 28, 2012 at 03:39:56PM -0700, Andrew Morton wrote: On Wed, 27 Jun 2012 17:09:54 +0800 Junxiao Bi junxiao...@oracle.com wrote: Ocfs2 uses kiocb.*private as a flag of

[PATCH 1/3] [RFC] hrtimer: Fix clock_was_set so it is safe to call from irq context

2012-07-04 Thread John Stultz
NOTE:This is a prerequisite patch that's required to address the widely observed leap-second related futex/hrtimer issues. Currently clock_was_set() is unsafe to be called from irq context, as it calls on_each_cpu(). This causes problems when we need to adjust the time from update_wall_time().

[PATCH 0/3][RFC] Fix for leapsecond caused futex issue (v4)

2012-07-04 Thread John Stultz
Ok, made a few tweaks to address issues caught by Prarit's and my testing. This has run for a number of hours now w/ my leap-a-day.c test on a few machines. I'd really appreciate any extra testing, review, or acks at this point. I'm targeting mid-late Thursday (to give folks in the US a chance to

[PATCH 3/3] [RFC] hrtimer: Update hrtimer base offsets each hrtimer_interrupt

2012-07-04 Thread John Stultz
This patch introduces a new funciton which captures the CLOCK_MONOTONIC time, along with the CLOCK_REALTIME and CLOCK_BOOTTIME offsets at the same moment. This new function is then used in place of ktime_get() when hrtimer_interrupt() is expiring timers. This ensures that any changes to realtime

[PATCH 2/3] [RFC] time: Fix leapsecond triggered hrtimer/futex load spike issue

2012-07-04 Thread John Stultz
As widely reported on the internet, some Linux systems after the leapsecond was inserted are experiencing futex related load spikes (usually connected to MySQL, Firefox, Thunderbird, Java, etc). An apparent for this issue workaround is running: $ date -s `date` Credit:

Re: [PATCH 0/3][RFC] Fix for leapsecond caused futex issue (v4)

2012-07-04 Thread John Stultz
On 07/03/2012 11:21 PM, John Stultz wrote: Ok, made a few tweaks to address issues caught by Prarit's and my testing. This has run for a number of hours now w/ my leap-a-day.c test on a few machines. I'd really appreciate any extra testing, review, or acks at this point. I'm targeting mid-late

[PATCH 1/4] usbdevfs: Correct amount of data copied to user in processcompl_compat

2012-07-04 Thread Hans de Goede
iso data buffers may have holes in them if some packets were short, so for iso urbs we should always copy the entire buffer, just like the regular processcompl does. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Alan Stern st...@rowland.harvard.edu CC: stable@vger.kernel.org ---

Re: [Ocfs2-devel] [PATCH v4 2/2] ocfs2: clear unaligned io flag when dio fails

2012-07-04 Thread Joel Becker
On Wed, Jun 27, 2012 at 05:09:55PM +0800, Junxiao Bi wrote: The unaligned io flag is set in the kiocb when an unaligned dio is issued, it should be cleared even when the dio fails, or it may affect the following io which are using the same kiocb. Signed-off-by: Junxiao Bi

Re: [Ocfs2-devel] [PATCH v4 2/2] ocfs2: clear unaligned io flag when dio fails

2012-07-04 Thread Junxiao Bi
On 07/04/2012 03:34 PM, Joel Becker wrote: On Wed, Jun 27, 2012 at 05:09:55PM +0800, Junxiao Bi wrote: The unaligned io flag is set in the kiocb when an unaligned dio is issued, it should be cleared even when the dio fails, or it may affect the following io which are using the same kiocb.

Re: [PATCH] mm: setup pageblock_order before it's used by sparse

2012-07-04 Thread Mel Gorman
On Wed, Jul 04, 2012 at 09:40:30AM +0800, Jiang Liu wrote: It's a bit ugly calling set_pageblock_order() from both sparse_init() and from free_area_init_core(). Can we find a single place from which to call it? It looks like here: --- a/init/main.c~a +++ a/init/main.c @@ -514,6

Re: [PATCH v2] ARM: Orion: Fix WDT compile for Dove and MV78xx0

2012-07-04 Thread Arnd Bergmann
On Friday 29 June 2012, Nicolas Pitre wrote: On Fri, 29 Jun 2012, Andrew Lunn wrote: Commit 0fa1f0609a0c1fe8b2be3c0089a2cb48f7fda521 (ARM: Orion: Fix Virtual/Physical mixup with watchdog) broke the Dove MV78xx0 build. Although these two SoC don't use the watchdog, the shared platform

[PATCH 0/3 STABLE] udf: Do not crash on corrupted media

2012-07-04 Thread Jan Kara
Hi, these patches went upstream recently and they improve UDF handling of corrupted media. These patches are adjusted to work with 3.0 kernel (udf_err() is called udf_error() in that kernel). Honza -- To unsubscribe

[PATCH 3/3] udf: Fortify loading of sparing table

2012-07-04 Thread Jan Kara
Add sanity checks when loading sparing table from disk to avoid accessing unallocated memory or writing to it. Signed-off-by: Jan Kara j...@suse.cz --- fs/udf/super.c | 86 ++- 1 files changed, 53 insertions(+), 33 deletions(-) Index:

Re: [PATCH 0/3 STABLE] udf: Do not crash on corrupted media

2012-07-04 Thread Greg KH
On Wed, Jul 04, 2012 at 01:01:36PM +0200, Jan Kara wrote: Hi, these patches went upstream recently and they improve UDF handling of corrupted media. These patches are adjusted to work with 3.0 kernel (udf_err() is called udf_error() in that kernel). What are the git commit ids of

[PATCH 3/4] gpiolib: wm8994: Pay attention to the value set when enabling as output

2012-07-04 Thread Mark Brown
Not paying attention to the value being set is a bad thing because it means that we'll not set the hardware up to reflect what was requested. Not setting the hardware up to reflect what was requested means that the caller won't get the results they wanted. ` Signed-off-by: Mark Brown

Patch Upstream: igbvf: fix divide by zero

2012-07-04 Thread Gregs git-bot
commit: 0e90b49ca4b891f085b57559a3071a4feefb496c From: Mitch A Williams mitch.a.willi...@intel.com Date: Sat, 30 Jun 2012 00:23:19 + Subject: igbvf: fix divide by zero Using ethtool -C ethX rx-usecs 0 crashes with a divide by zero. Refactor this function to fix this issue and make it more

Patch Upstream: clk: fix parent validation in __clk_set_parent()

2012-07-04 Thread Gregs git-bot
commit: 863b13271f1608ab3af6f7a371047d9a66693e38 From: Rajendra Nayak rna...@ti.com Date: Tue, 3 Jul 2012 12:11:41 +0530 Subject: clk: fix parent validation in __clk_set_parent() The below commit introduced a bug in __clk_set_parent() which could cause it to *skip* the parent validation which

Patch Upstream: net: qmi_wwan: fix Oops while disconnecting

2012-07-04 Thread Gregs git-bot
commit: d9b8706843a501034d09bea63ca6723a2ed02b11 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no Date: Thu, 21 Jun 2012 23:11:18 + Subject: net: qmi_wwan: fix Oops while disconnecting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit

Patch Upstream: mac80211: correct behaviour on unrecognised action frames

2012-07-04 Thread Gregs git-bot
commit: 4b5ebccc40843104d980f0714bc86bfcd5568941 From: Johannes Berg johannes.b...@intel.com Date: Wed, 27 Jun 2012 15:38:56 +0200 Subject: mac80211: correct behaviour on unrecognised action frames When receiving an individually addressed action frame, the receiver is required to return it to the

Patch Upstream: ath9k: enable serialize_regmode for non-PCIE AR9287

2012-07-04 Thread Gregs git-bot
commit: 7508b657967cf664b5aa0f6367d05016e7e3bc2a From: Panayiotis Karabassis pan...@gmail.com Date: Tue, 26 Jun 2012 23:37:17 +0300 Subject: ath9k: enable serialize_regmode for non-PCIE AR9287 https://bugzilla.kernel.org/show_bug.cgi?id=42903 Based on the work of fyn...@gmail.com Signed-off-by:

Patch Upstream: rtlwifi: rtl8192cu: New USB IDs

2012-07-04 Thread Gregs git-bot
commit: f63d7dabd5da9ef41f28f6d69b29bc084db0ca5a From: Larry Finger larry.fin...@lwfinger.net Date: Mon, 25 Jun 2012 18:01:12 -0500 Subject: rtlwifi: rtl8192cu: New USB IDs The latest Realtek driver for the RTL8188CU and RTL8192CU chips adds three new USB IDs. Reported-by: Xose Vazquez Perez

Patch Upstream: NFC: Return from rawsock_release when sk is NULL

2012-07-04 Thread Gregs git-bot
commit: 03e934f620101ca2cfc9383bd76172dd3e1f8567 From: Eric Dumazet eduma...@google.com Date: Tue, 12 Jun 2012 00:47:58 +0200 Subject: NFC: Return from rawsock_release when sk is NULL Sasha Levin reported following panic : [ 2136.383310] BUG: unable to handle kernel NULL pointer dereference at

Patch Upstream: NFC: Prevent multiple buffer overflows in NCI

2012-07-04 Thread Gregs git-bot
commit: 67de956ff5dc1d4f321e16cfbd63f5be3b691b43 From: Dan Rosenberg dan.j.rosenb...@gmail.com Date: Mon, 25 Jun 2012 16:05:27 +0200 Subject: NFC: Prevent multiple buffer overflows in NCI Fix multiple remotely-exploitable stack-based buffer overflows due to the NCI code pulling length fields

Patch Upstream: ath9k: fix dynamic WEP related regression

2012-07-04 Thread Gregs git-bot
commit: bed3d9c0b71f9afbfec905cb6db3b9f16be29d4d From: Felix Fietkau n...@openwrt.org Date: Sat, 23 Jun 2012 19:23:31 +0200 Subject: ath9k: fix dynamic WEP related regression commit 7a532fe7131216a02c81a6c1b1f8632da1195a58 ath9k_hw: fix interpretation of the rx KeyMiss flag This commit used the

Patch Upstream: mwifiex: fix WPS eapol handshake failure

2012-07-04 Thread Gregs git-bot
commit: f03ba7e9a24e5e9efaad56bd1713b994ea556b16 From: Stone Piao piao...@marvell.com Date: Wed, 20 Jun 2012 20:21:11 -0700 Subject: mwifiex: fix WPS eapol handshake failure After association, STA will go through eapol handshake with WPS enabled AP. It's observed that WPS handshake fails with

Patch Upstream: mwifiex: fix 11n rx packet drop issue

2012-07-04 Thread Gregs git-bot
commit: 925839243dc9aa4ef25305f5afd10ed18258a4ac From: Stone Piao piao...@marvell.com Date: Wed, 20 Jun 2012 20:21:10 -0700 Subject: mwifiex: fix 11n rx packet drop issue Currently we check the sequence number of last packet received against start_win. If a sequence hole is detected, start_win is

Patch Upstream: mac80211: clear ifmgd-bssid only after building DELBA

2012-07-04 Thread Gregs git-bot
commit: 88a9e31c506c00c8b7a2f1611406d0e38dcb33b3 From: Eliad Peller el...@wizery.com Date: Fri, 1 Jun 2012 11:14:03 +0300 Subject: mac80211: clear ifmgd-bssid only after building DELBA ieee80211_set_disassoc() clears ifmgd-bssid before building DELBA frames, resulting in frames with invalid bssid

Linux 3.2.22

2012-07-04 Thread Ben Hutchings
I'm announcing the release of the 3.2.22 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.2.22

2012-07-04 Thread Ben Hutchings
diff --git a/Documentation/stable_kernel_rules.txt b/Documentation/stable_kernel_rules.txt index 21fd05c..e1f856b 100644 --- a/Documentation/stable_kernel_rules.txt +++ b/Documentation/stable_kernel_rules.txt @@ -12,6 +12,12 @@ Rules on what kind of patches are accepted, and which ones are not,