[PATCH 4.1 v2] target-core: fix return without a value

2015-11-11 Thread Mikulas Patocka
ned-off-by: Mikulas Patocka --- drivers/target/target_core_pr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-4.1.13/drivers/target/target_core_pr.c === --- linux-4.1.13.orig/drivers/target/target_core_pr.c

Re: [PATCH 4.1] target-core: fix return without a value

2015-11-11 Thread Mikulas Patocka
On Tue, 10 Nov 2015, Greg Kroah-Hartman wrote: > On Tue, Nov 10, 2015 at 06:31:47PM -0500, Mikulas Patocka wrote: > > > > > > On Tue, 10 Nov 2015, Greg Kroah-Hartman wrote: > > > > > On Tue, Nov 10, 2015 at 01:32:10PM -0500, Mikulas Patocka wrote: &g

ip rule broken in 3.10.90

2015-10-06 Thread Mikulas Patocka
Hi The patch d0550a3f2d313a5310ace03299d45ef63edfb750 ("fib_rules: fix fib rule dumps across multiple skbs") added to the kernel 3.10.90 breaks the kernel. With the patch applied, the command "ip rule" gets stuck in an infinite loop, printing the same line over and over again: 0: from all

Re: Patch "hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead" has been added to the 3.10-stable tree

2015-07-31 Thread Mikulas Patocka
On Fri, 31 Jul 2015, Joe Perches wrote: > On Fri, 2015-07-31 at 13:03 -0700, Greg KH wrote: > > On Fri, Jul 31, 2015 at 12:42:35PM -0700, Joe Perches wrote: > > > On Fri, 2015-07-31 at 12:37 -0700, gregkh@linuxfoundation.orgwrote: > > > > This is a note to let you know that I've just added the

[PATCH] x86, perf: Fix static_key bug in load_mm_cr4()

2015-07-30 Thread Mikulas Patocka
static_key bug in load_mm_cr4() Mikulas reported his K6-3 not booting. This is because the static_key API confusion struck and bit Andy, this wants to be static_key_false(). Reported-by: Mikulas Patocka Tested-by: Mikulas Patocka Signed-off-by: Peter Zijlstra (Intel

[PATCH 3.10] add dm_internal_suspend and dm_internal_resume

2015-06-03 Thread Mikulas Patocka
This is partial backport of fd2ed4d252701d3bbed4cd3e3d267ad469bb832a (only the dm_internal_suspend and dm_internal_resume functions are backported). This is needed for further patches. Mikulas commit fd2ed4d252701d3bbed4cd3e3d267ad469bb832a Author: Mikulas Patocka Date: Fri Aug 16 10:54:23

[PATCH 3.14] dm snapshot: suspend origin when doing exception handover

2015-06-03 Thread Mikulas Patocka
This is backport of b735fede8d957d9d255e9c5cf3964cfa59799637 for 3.14 kernel. commit b735fede8d957d9d255e9c5cf3964cfa59799637 Author: Mikulas Patocka Date: Thu Feb 26 11:40:35 2015 -0500 dm snapshot: suspend origin when doing exception handover In the function snapshot_resume we

[PATCH 3.10,3.14] dm snapshot: suspend merging snapshot when doing exception handover

2015-06-03 Thread Mikulas Patocka
This is backport of 09ee96b21456883e108c3b00597bb37ec512151b for 3.10 and 3.14. commit 09ee96b21456883e108c3b00597bb37ec512151b Author: Mikulas Patocka Date: Thu Feb 26 11:41:28 2015 -0500 dm snapshot: suspend merging snapshot when doing exception handover The "dm sna

[PATCH 3.10] dm snapshot: suspend origin when doing exception handover

2015-06-03 Thread Mikulas Patocka
This is backport of b735fede8d957d9d255e9c5cf3964cfa59799637 for 3.10 kernel. commit b735fede8d957d9d255e9c5cf3964cfa59799637 Author: Mikulas Patocka Date: Thu Feb 26 11:40:35 2015 -0500 dm snapshot: suspend origin when doing exception handover In the function snapshot_resume we

[PATCH 3.10,3.14] dm snapshot: allocate a per-target structure for snapshot-origin target

2015-06-03 Thread Mikulas Patocka
This is backport of 599cdf3bfbe21fe94f4416c9e54363b285c9532a for 3.10 and 3.14 kernels. The patch doesn't fix any bug but it is needed for other backported patches. commit 599cdf3bfbe21fe94f4416c9e54363b285c9532a Author: Mikulas Patocka Date: Fri Mar 14 18:42:12 2014 -0400 dm sna

[PATCH 3.15-3.18] dm thin: fix a race in thin_dtr

2015-01-02 Thread Mikulas Patocka
Hi Here I'm sending backport of patch 17181fb7a0c3a279196c0eeb2caba65a1519614b. It is suitable for stable branches 3.15 to 3.18. Mikulas commit 17181fb7a0c3a279196c0eeb2caba65a1519614b Author: Mikulas Patocka Date: Wed Nov 5 17:00:13 2014 -0500 dm thin: fix a race in thi

[PATCH] dm crypt: fix access beyond the end of allocated space

2014-09-11 Thread Mikulas Patocka
Hi This is backport of upstream commit d49ec52ff6ddcda178fc2476a109cf1bd1fa19ed. It is suitable for all stable kernels. Mikulas From: Mikulas Patocka The DM crypt target accesses memory beyond allocated space resulting in a crash on 32 bit x86 systems. This bug is very old (it dates back

[PATCH] sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue

2014-07-05 Thread Mikulas Patocka
Hi This is backport of commit fd1232b214af43a973443aec6a2808f16ee5bf70. It is suitable for all stable branches up to and including 3.14.* Mikulas commit fd1232b214af43a973443aec6a2808f16ee5bf70 Author: Mikulas Patocka Date: Tue Apr 8 21:52:05 2014 -0400 sym53c8xx_2: Set DID_REQUEUE

[PATCH] tgafb: fix mode setting with fbset

2014-05-14 Thread Mikulas Patocka
Hi This is backport of the upstream patch 624966589041deb32a2626ee2e176e8274581101. It is suitable for all stable kernels up to and including 3.13. Mikulas commit 624966589041deb32a2626ee2e176e8274581101 Author: Mikulas Patocka Date: Thu Jan 23 14:42:43 2014 -0500 tgafb: fix mode

[PATCH 3.12,3.13] __dentry_path() fixes

2014-04-29 Thread Mikulas Patocka
This is backport of the upstream commit f6500801522c61782d4990fa1ad96154cb397cd4. It is suitable for upstream series 3.12 and 3.13. (previous stable kernels don't need this because they don't have the bug). commit f6500801522c61782d4990fa1ad96154cb397cd4 Author: Al Viro Date: Sun Jan 26 12:

[PATCH 3.12] dcache: restore error on restart in prepend_path

2014-04-29 Thread Mikulas Patocka
We need to restore all variables including error (as it is done in the upstream kernel). The variable error was errorneously not restored when backporting the patch ede4cebce16f5643c61aedd6d88d9070a1d23a68. This should be applied only to the 3.12 series. Signed-off-by: Mikulas Patocka

[PATCH 3.0,3.2,3.4,3.10-stable] powernow-k6: disable cache when changing frequency

2014-04-08 Thread Mikulas Patocka
upstream commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b Author: Mikulas Patocka Date: Wed Dec 11 19:38:32 2013 -0500 powernow-k6: disable cache when changing frequency I found out that a system with k6-3+ processor is unstable during network server load. The system locks up

[PATCH 2.6.*-stable] powernow-k6: reorder frequencies

2014-04-08 Thread Mikulas Patocka
upstream commit 22c73795b101597051924556dce019385a1e2fa0 Author: Mikulas Patocka Date: Wed Dec 11 19:39:19 2013 -0500 powernow-k6: reorder frequencies This patch reorders reported frequencies from the highest to the lowest, just like in other frequency drivers. Signed

[PATCH 2.6.*-stable] powernow-k6: disable cache when changing frequency

2014-04-08 Thread Mikulas Patocka
upstram commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b Author: Mikulas Patocka Date: Wed Dec 11 19:38:32 2013 -0500 powernow-k6: disable cache when changing frequency I found out that a system with k6-3+ processor is unstable during network server load. The system locks up or

[PATCH 2.6.*-stable] powernow-k6: correctly initialize default parameters

2014-04-08 Thread Mikulas Patocka
upstream commit d82b922a4acc1781d368aceac2f9da43b038cab2 Author: Mikulas Patocka Date: Wed Dec 11 19:38:53 2013 -0500 powernow-k6: correctly initialize default parameters The powernow-k6 driver used to read the initial multiplier from the powernow register. However, there is a

[PATCH 3.0,3.2,3.4,3.10-stable] powernow-k6: correctly initialize default parameters

2014-04-08 Thread Mikulas Patocka
upstream commit d82b922a4acc1781d368aceac2f9da43b038cab2 Author: Mikulas Patocka Date: Wed Dec 11 19:38:53 2013 -0500 powernow-k6: correctly initialize default parameters The powernow-k6 driver used to read the initial multiplier from the powernow register. However, there is a

[PATCH 3.11,3.12-stable] powernow-k6: reorder frequencies

2014-04-08 Thread Mikulas Patocka
upstream commit 22c73795b101597051924556dce019385a1e2fa0 Author: Mikulas Patocka Date: Wed Dec 11 19:39:19 2013 -0500 powernow-k6: reorder frequencies This patch reorders reported frequencies from the highest to the lowest, just like in other frequency drivers. Signed

[PATCH 3.0,3.2,3.4,3.10-stable] powernow-k6: reorder frequencies

2014-04-08 Thread Mikulas Patocka
upstream commit 22c73795b101597051924556dce019385a1e2fa0 Author: Mikulas Patocka Date: Wed Dec 11 19:39:19 2013 -0500 powernow-k6: reorder frequencies This patch reorders reported frequencies from the highest to the lowest, just like in other frequency drivers. Signed

[PATCH 3.11,3.12-stable] powernow-k6: correctly initialize default parameters

2014-04-08 Thread Mikulas Patocka
upstream commit d82b922a4acc1781d368aceac2f9da43b038cab2 Author: Mikulas Patocka Date: Wed Dec 11 19:38:53 2013 -0500 powernow-k6: correctly initialize default parameters The powernow-k6 driver used to read the initial multiplier from the powernow register. However, there is a

[PATCH 3.11,3.12-stable] powernow-k6: disable cache when changing frequency

2014-04-08 Thread Mikulas Patocka
upstream commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b Author: Mikulas Patocka Date: Wed Dec 11 19:38:32 2013 -0500 powernow-k6: disable cache when changing frequency I found out that a system with k6-3+ processor is unstable during network server load. The system locks up

[PATCH 3.13-stable] powernow-k6: reorder frequencies

2014-04-08 Thread Mikulas Patocka
upstream commit 22c73795b101597051924556dce019385a1e2fa0 Author: Mikulas Patocka Date: Wed Dec 11 19:39:19 2013 -0500 powernow-k6: reorder frequencies This patch reorders reported frequencies from the highest to the lowest, just like in other frequency drivers. Signed

[PATCH 3.13-stable] powernow-k6: disable cache when changing frequency

2014-04-08 Thread Mikulas Patocka
upstream commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b Author: Mikulas Patocka Date: Wed Dec 11 19:38:32 2013 -0500 powernow-k6: disable cache when changing frequency I found out that a system with k6-3+ processor is unstable during network server load. The system locks up

[PATCH 3.13-stable] powernow-k6: correctly initialize default parameters

2014-04-08 Thread Mikulas Patocka
upstream commit d82b922a4acc1781d368aceac2f9da43b038cab2 Author: Mikulas Patocka Date: Wed Dec 11 19:38:53 2013 -0500 powernow-k6: correctly initialize default parameters The powernow-k6 driver used to read the initial multiplier from the powernow register. However, there is a

Re: [PATCH 3.12 117/133] alpha: fix broken network checksum

2014-02-17 Thread Mikulas Patocka
On Thu, 6 Feb 2014, Michael Cree wrote: > On Tue, Feb 04, 2014 at 01:08:38PM -0800, Greg Kroah-Hartman wrote: > > 3.12-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From:

Re: [PATCH] backport of: dm sysfs: fix a module unload race

2014-02-13 Thread Mikulas Patocka
On Mon, 10 Feb 2014, Greg KH wrote: > On Mon, Feb 10, 2014 at 03:02:24PM -0500, Mikulas Patocka wrote: > > > > > > On Sat, 8 Feb 2014, gre...@linuxfoundation.org wrote: > > > > > The patch below does not apply to the 3.13-stable tree. > > > If so

Re: [PATCH 3.9 and earlier] hpfs: deadlock and race in directory lseek()

2014-02-11 Thread Mikulas Patocka
On Mon, 10 Feb 2014, Greg KH wrote: > On Tue, Feb 11, 2014 at 12:06:58AM +0100, Mikulas Patocka wrote: > > Hi > > > > This is backport of patch 31abdab9c11bb1694ecd1476a7edbe8e964d94ac for > > stable kernels 3.9 and earlier. > >

[PATCH 3.9 and earlier] hpfs: deadlock and race in directory lseek()

2014-02-10 Thread Mikulas Patocka
Hi This is backport of patch 31abdab9c11bb1694ecd1476a7edbe8e964d94ac for stable kernels 3.9 and earlier. Mikulas commit 31abdab9c11bb1694ecd1476a7edbe8e964d94ac Author: Al Viro Date: Sat May 18 02:38:52 2013 -0400 hpfs: deadlock and race in directory lseek() For one thing, there'

[PATCH 3.10 and earlier] hpfs: remember free space

2014-02-10 Thread Mikulas Patocka
; thanks, > > greg k-h Hi This is backport of patches 2cbe5c76fc5e38e9af4b709593146e4b8272b69e, 275f495dbe34300d793466a7d96c70f83fbae1bc, a0c1b7596323a2323d5f5c7d2404af7b58a1ef4e for 3.10. With a small change, it can be also applied to 3.4. Signed-off-by: Mikulas Patocka --

[PATCH] backport of: dm sysfs: fix a module unload race

2014-02-10 Thread Mikulas Patocka
nks, > > greg k-h Hi Here I'm sending backported patch 2995fa78e423d7193f3b57835f6c1c75006a0315. It applies to stable kernels 3.4 - 3.13 (and maybe also on older versions). Mikulas From: Mikulas Patocka commit 2995fa78e423d7193f3b57835f6c1c75006a0315 Author: Mikulas Patocka Dat

Re: [PATCH 3.12 117/133] alpha: fix broken network checksum

2014-02-06 Thread Mikulas Patocka
On Thu, 6 Feb 2014, Michael Cree wrote: > On Tue, Feb 04, 2014 at 01:08:38PM -0800, Greg Kroah-Hartman wrote: > > 3.12-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From:

[PATCH 2.6.39-3.7] hpfs: fix warnings when the filesystem fills up

2014-01-17 Thread Mikulas Patocka
page_fault+0x22/0x30 system_call_fastpath+0x1a/0x1f Signed-off-by: Mikulas Patocka --- fs/hpfs/file.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-3.4.66/fs/hpfs/file.c === --- linux-3.4.66.orig/fs/hpfs

[PATCH 3.4 and earlier] Re: FAILED: patch "[PATCH] blk-core: Fix memory corruption if blkcg_init_queue fails" failed to apply to 3.4-stable tree

2013-12-06 Thread Mikulas Patocka
Hi Here I'm resending the upstream patch fff4996b7db7955414ac74386efa5e07fd766b50, modified for 3.4 (and earlier) stable kernels. Signed-off-by: Mikulas Patocka --- block/blk-core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-3.4.71/block/blk-c

[PATCH 3.4,3.5 and earlier] dm: fix truncated status strings

2013-12-06 Thread Mikulas Patocka
return code). Overflow is detected in retrieve_status: if the status method fills up the remaining space completely, it is assumed that buffer overflow happened. Cc: stable@vger.kernel.org Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon ---

Re: [07/65] dm bufio: avoid a possible __vmalloc deadlock

2013-06-04 Thread Mikulas Patocka
On Mon, 3 Jun 2013, Steven Rostedt wrote: > 3.6.11.5 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Mikulas Patocka > > [ Upstream commit 502624bdad3dba45dfaacaf36b7d83e39e74b2d2 ] > > This patch uses