From b7f6c3051dee1b66b959123cad5c652146f89b86 Mon Sep 17 00:00:00 2001 From: Dan Ziemba Date: Mon, 29 Feb 2016 04:11:06 -0500 Subject: [PATCH] 4.4.3 --- .SRCINFO | 14 +++---- 0001-4.4-revert-btrfs.patch | 78 ------------------------------------- 0001-4.4-revert-xfs.patch | 39 ------------------- PKGBUILD | 12 +----- 4 files changed, 7 insertions(+), 136 deletions(-) delete mode 100644 0001-4.4-revert-btrfs.patch delete mode 100644 0001-4.4-revert-xfs.patch diff --git a/.SRCINFO b/.SRCINFO index c53ff49..81096d5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ # Generated by mksrcinfo v8 -# Thu Feb 18 18:29:26 UTC 2016 +# Fri Mar 4 04:42:31 UTC 2016 pkgbase = linux-vfio - pkgver = 4.4.2 + pkgver = 4.4.3 pkgrel = 1 url = http://www.kernel.org/ arch = i686 @@ -15,28 +15,24 @@ pkgbase = linux-vfio options = !strip source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.sign - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.4.2.xz - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.4.2.sign + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.4.3.xz + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.4.3.sign source = config source = config.x86_64 source = linux.preset source = change-default-console-loglevel.patch source = 0001-sdhci-revert.patch - source = 0001-4.4-revert-btrfs.patch - source = 0001-4.4-revert-xfs.patch source = override_for_missing_acs_capabilities.patch source = i915_317.patch sha256sums = 401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 sha256sums = SKIP - sha256sums = 5c55d48ca6b2a9b89ed786e656ed17f9a86192eba6d209fa408e0bca8de57b9c + sha256sums = 4a24c79c40b2cb820ce9f22d44f31edcbde5971432753ab0289772946ed05b7b sha256sums = SKIP sha256sums = fbbae1d873900e84d1b7ef00593fbb94fc79f078a34b22ee824bab8b0a92be64 sha256sums = 756a168bbc3bb582f0df45b977c32af53658f21d62fe15171c9ac85f52d8852a sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99 sha256sums = 5313df7cb5b4d005422bd4cd0dae956b2dadba8f3db904275aaf99ac53894375 - sha256sums = 51586b733e9f178bebe577258b6057b035eded516ffe8bf8bbb26cb0b26c4958 - sha256sums = ffbfaa192d17bfc7c6293aa9a07efe57f65177051ae3d8033d5e45a7bca2e0ad sha256sums = 975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149 sha256sums = b5a8eebbe75e1801b35d2f5197eba6f57123c224e09e97a7eb526f1fa58ac918 diff --git a/0001-4.4-revert-btrfs.patch b/0001-4.4-revert-btrfs.patch deleted file mode 100644 index 4b56e24..0000000 --- a/0001-4.4-revert-btrfs.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 80ad623edd2d0ccb47d85357ee31c97e6c684e82 Mon Sep 17 00:00:00 2001 -From: David Sterba -Date: Mon, 25 Jan 2016 11:02:06 +0100 -Subject: Revert "btrfs: clear PF_NOFREEZE in cleaner_kthread()" - -This reverts commit 696249132158014d594896df3a81390616069c5c. The -cleaner thread can block freezing when there's a snapshot cleaning in -progress and the other threads get suspended first. From the logs -provided by Martin we're waiting for reading extent pages: - -kernel: PM: Syncing filesystems ... done. -kernel: Freezing user space processes ... (elapsed 0.015 seconds) done. -kernel: Freezing remaining freezable tasks ... -kernel: Freezing of tasks failed after 20.003 seconds (1 tasks refusing to freeze, wq_busy=0): -kernel: btrfs-cleaner D ffff88033dd13bc0 0 152 2 0x00000000 -kernel: ffff88032ebc2e00 ffff88032e750000 ffff88032e74fa50 7fffffffffffffff -kernel: ffffffff814a58df 0000000000000002 ffffea000934d580 ffffffff814a5451 -kernel: 7fffffffffffffff ffffffff814a6e8f 0000000000000000 0000000000000020 -kernel: Call Trace: -kernel: [] ? bit_wait+0x2c/0x2c -kernel: [] ? schedule+0x6f/0x7c -kernel: [] ? schedule_timeout+0x2f/0xd8 -kernel: [] ? timekeeping_get_ns+0xa/0x2e -kernel: [] ? ktime_get+0x36/0x44 -kernel: [] ? io_schedule_timeout+0x94/0xf2 -kernel: [] ? io_schedule_timeout+0x94/0xf2 -kernel: [] ? bit_wait_io+0x2c/0x30 -kernel: [] ? __wait_on_bit+0x41/0x73 -kernel: [] ? wait_on_page_bit+0x6d/0x72 -kernel: [] ? autoremove_wake_function+0x2a/0x2a -kernel: [] ? read_extent_buffer_pages+0x1bd/0x203 -kernel: [] ? free_root_pointers+0x4c/0x4c -kernel: [] ? btree_read_extent_buffer_pages.constprop.57+0x5a/0xe9 -kernel: [] ? read_tree_block+0x2d/0x45 -kernel: [] ? read_block_for_search.isra.34+0x22a/0x26b -kernel: [] ? btrfs_set_path_blocking+0x1e/0x4a -kernel: [] ? btrfs_search_slot+0x648/0x736 -kernel: [] ? btrfs_lookup_extent_info+0xb7/0x2c7 -kernel: [] ? walk_down_proc+0x9c/0x1ae -kernel: [] ? walk_down_tree+0x40/0xa4 -kernel: [] ? btrfs_drop_snapshot+0x2da/0x664 -kernel: [] ? finish_task_switch+0x126/0x167 -kernel: [] ? btrfs_clean_one_deleted_snapshot+0xa6/0xb0 -kernel: [] ? cleaner_kthread+0x13e/0x17b -kernel: [] ? btrfs_item_end+0x33/0x33 -kernel: [] ? kthread+0x95/0x9d -kernel: [] ? kthread_parkme+0x16/0x16 -kernel: [] ? ret_from_fork+0x3f/0x70 -kernel: [] ? kthread_parkme+0x16/0x16 - -As this affects a released kernel (4.4) we need a minimal fix for -stable kernels. - -Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=108361 -Reported-by: Martin Ziegler -CC: stable@vger.kernel.org # 4.4 -CC: Jiri Kosina -Signed-off-by: David Sterba -Signed-off-by: Chris Mason ---- - fs/btrfs/disk-io.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c -index 26ef141..404e894 100644 ---- a/fs/btrfs/disk-io.c -+++ b/fs/btrfs/disk-io.c -@@ -1787,7 +1787,6 @@ static int cleaner_kthread(void *arg) - int again; - struct btrfs_trans_handle *trans; - -- set_freezable(); - do { - again = 0; - --- -cgit v0.12 - diff --git a/0001-4.4-revert-xfs.patch b/0001-4.4-revert-xfs.patch deleted file mode 100644 index 93eb192..0000000 --- a/0001-4.4-revert-xfs.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 3e85286e75224fa3f08bdad20e78c8327742634e Mon Sep 17 00:00:00 2001 -From: Dave Chinner -Date: Tue, 19 Jan 2016 08:21:46 +1100 -Subject: Revert "xfs: clear PF_NOFREEZE for xfsaild kthread" - -This reverts commit 24ba16bb3d499c49974669cd8429c3e4138ab102 as it -prevents machines from suspending. This regression occurs when the -xfsaild is idle on entry to suspend, and so there s no activity to -wake it from it's idle sleep and hence see that it is supposed to -freeze. Hence the freezer times out waiting for it and suspend is -cancelled. - -There is no obvious fix for this short of freezing the filesystem -properly, so revert this change for now. - -cc: # 4.4 -Signed-off-by: Dave Chinner -Acked-by: Jiri Kosina -Reviewed-by: Brian Foster -Signed-off-by: Dave Chinner ---- - fs/xfs/xfs_trans_ail.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c -index aa67339..4f18fd9 100644 ---- a/fs/xfs/xfs_trans_ail.c -+++ b/fs/xfs/xfs_trans_ail.c -@@ -497,7 +497,6 @@ xfsaild( - long tout = 0; /* milliseconds */ - - current->flags |= PF_MEMALLOC; -- set_freezable(); - - while (!kthread_should_stop()) { - if (tout && tout <= 20) --- -cgit v0.12 - diff --git a/PKGBUILD b/PKGBUILD index e730c22..2f67395 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=linux-vfio _srcname=linux-4.4 -pkgver=4.4.2 +pkgver=4.4.3 pkgrel=1 arch=('i686' 'x86_64') url="http://www.kernel.org/" @@ -19,21 +19,17 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" 'linux.preset' 'change-default-console-loglevel.patch' '0001-sdhci-revert.patch' - '0001-4.4-revert-btrfs.patch' - '0001-4.4-revert-xfs.patch' 'override_for_missing_acs_capabilities.patch' 'i915_317.patch') sha256sums=('401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2' 'SKIP' - '5c55d48ca6b2a9b89ed786e656ed17f9a86192eba6d209fa408e0bca8de57b9c' + '4a24c79c40b2cb820ce9f22d44f31edcbde5971432753ab0289772946ed05b7b' 'SKIP' 'fbbae1d873900e84d1b7ef00593fbb94fc79f078a34b22ee824bab8b0a92be64' '756a168bbc3bb582f0df45b977c32af53658f21d62fe15171c9ac85f52d8852a' 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' '5313df7cb5b4d005422bd4cd0dae956b2dadba8f3db904275aaf99ac53894375' - '51586b733e9f178bebe577258b6057b035eded516ffe8bf8bbb26cb0b26c4958' - 'ffbfaa192d17bfc7c6293aa9a07efe57f65177051ae3d8033d5e45a7bca2e0ad' '975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149' 'b5a8eebbe75e1801b35d2f5197eba6f57123c224e09e97a7eb526f1fa58ac918') validpgpkeys=( @@ -57,10 +53,6 @@ prepare() { # https://bugzilla.kernel.org/show_bug.cgi?id=106541 patch -Rp1 -i "${srcdir}/0001-sdhci-revert.patch" - # #47757 fix broken suspend from btrfs and xfs - patch -Np1 -i "${srcdir}/0001-4.4-revert-xfs.patch" - patch -Np1 -i "${srcdir}/0001-4.4-revert-btrfs.patch" - # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) # remove this when a Kconfig knob is made available by upstream # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)