diff options
author | graysky | 2022-09-08 15:02:05 -0400 |
---|---|---|
committer | graysky | 2022-09-08 15:02:05 -0400 |
commit | c4282c0734d80a3025e511751b63b52cff9ff32d (patch) | |
tree | b016795f9777890a607671e14e3804beaeec374c | |
parent | a7ef6b202055117b52f14e896eca2841f526916e (diff) | |
download | aur-c4282c0734d80a3025e511751b63b52cff9ff32d.tar.gz |
Update to 5.19.8-1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch | 4 | ||||
-rw-r--r-- | 0002-drm-i915-psr-Use-full-update-In-case-of-area-calcula.patch | 4 | ||||
-rw-r--r-- | 0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch | 4 | ||||
-rw-r--r-- | 0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch | 4 | ||||
-rw-r--r-- | 0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch | 4 | ||||
-rw-r--r-- | 0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch | 84 | ||||
-rw-r--r-- | PKGBUILD | 16 |
8 files changed, 114 insertions, 26 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-ck - pkgver = 5.19.7 + pkgver = 5.19.8 pkgrel = 1 url = https://wiki.archlinux.org/index.php/Linux-ck arch = x86_64 @@ -11,8 +11,8 @@ pkgbase = linux-ck makedepends = tar makedepends = xz options = !strip - source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.19.7.tar.xz - source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.19.7.tar.sign + source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.19.8.tar.xz + source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.19.8.tar.sign source = config source = more-uarches-20220315.tar.gz::https://github.com/graysky2/kernel_compiler_patch/archive/20220315.tar.gz source = ck-hrtimer-9b792e6dc19ee6bd70e7c71f579f4d87ff929c60.tar.gz::https://github.com/graysky2/linux-patches/archive/9b792e6dc19ee6bd70e7c71f579f4d87ff929c60.tar.gz @@ -21,18 +21,20 @@ pkgbase = linux-ck source = 0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch source = 0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch source = 0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch + source = 0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E - sha256sums = b8bb6019d4255f39196726f9d0f82f76179d1c3d7c6b603431ef04b38201199f + sha256sums = 616308795a952a6a39b4c74807c33916850eb7166d8ed7c9a87a1ba55d7487ce sha256sums = SKIP sha256sums = ec58b63109b23d318af62b48a4f43e3042ddb45e71060c885d5d03f2cb3760b0 sha256sums = 5a29d172d442a3f31a402d7d306aaa292b0b5ea29139d05080a55e2425f48c5c sha256sums = 7037fa27b33666a3bd20c888c667efb218e95e45af8debe591896cc79fe69c76 - sha256sums = a5c5a7522b27a36328f0e2a4b8d06b3f57f0de94a08cdcc8b0a036ca1e09ccf5 - sha256sums = 919251a32b739a0bce98b8d9afcd7bfcdd107d185036eaa760a975f04fe0d293 - sha256sums = bcf75d242132e0c4ed7e11040aced748d41e2a91cc4a7f74d4612fd8f6ff535b - sha256sums = 105a3a2abdf6e6883eed1eb7a5645fca558354e77c1baa542cb2f737faa9a8d0 - sha256sums = 9ff6f6e54eceed31f85687e4a788db0993650c69d5c3e3540ca2f7c2ccc00d92 + sha256sums = 83a1b84ec09bd349edc4d13aaa6a4066f5aa1416531c06f9f9758dc60fa16cb7 + sha256sums = a0e101e199949c1571352e4b5b60810db5889f1280392c36ddf54077f9b205f9 + sha256sums = 320d6e730ea46059b5faae642b3ea7bca13fd87b3520341a67c440495a58ff73 + sha256sums = 2f3d0db25f54a575a6fd075964309925adaa31edd61979931991c94474cb1513 + sha256sums = 81d7b8bd2799e3b9146b9c0fa72f0cf469da797d9e955d307775231424e2cf3b + sha256sums = 738b731aa36d2ef7986ef80769c471fc7d1d9dd6b3fe307137059ec154e743a3 pkgname = linux-ck pkgdesc = The Linux kernel and modules with ck's hrtimer patches diff --git a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch index 79059cf3c57f..2f3b6e570002 100644 --- a/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch +++ b/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch @@ -1,7 +1,7 @@ -From 365311308e94c32ce860cb1c7aeefb40e9ec91cf Mon Sep 17 00:00:00 2001 +From 94b991f547408a533740c69260971d38cfb01075 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> Date: Mon, 16 Sep 2019 04:53:20 +0200 -Subject: [PATCH 1/6] ZEN: Add sysctl and CONFIG to disallow unprivileged +Subject: [PATCH 1/7] ZEN: Add sysctl and CONFIG to disallow unprivileged CLONE_NEWUSER Our default behavior continues to match the vanilla kernel. diff --git a/0002-drm-i915-psr-Use-full-update-In-case-of-area-calcula.patch b/0002-drm-i915-psr-Use-full-update-In-case-of-area-calcula.patch index a5070c07674b..ffcc23b4a15d 100644 --- a/0002-drm-i915-psr-Use-full-update-In-case-of-area-calcula.patch +++ b/0002-drm-i915-psr-Use-full-update-In-case-of-area-calcula.patch @@ -1,7 +1,7 @@ -From 51928058df4cebd8749d269a20dafa3e52122bfc Mon Sep 17 00:00:00 2001 +From a109628df29f8cde35ffcdeda2d6f5181a85d59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= <jouni.hogander@intel.com> Date: Fri, 13 May 2022 17:28:10 +0300 -Subject: [PATCH 2/6] drm/i915/psr: Use full update In case of area calculation +Subject: [PATCH 2/7] drm/i915/psr: Use full update In case of area calculation fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch b/0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch index 89b1b9fb5bd8..6fe1cad7e326 100644 --- a/0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch +++ b/0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch @@ -1,7 +1,7 @@ -From 568322864d985b26cb125c26940e6512183eb517 Mon Sep 17 00:00:00 2001 +From 8a07cff9f880a1d528c3d4fd19c3bc3b86fb87f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= <jouni.hogander@intel.com> Date: Fri, 13 May 2022 17:28:11 +0300 -Subject: [PATCH 3/6] drm/i915: Ensure damage clip area is within pipe area +Subject: [PATCH 3/7] drm/i915: Ensure damage clip area is within pipe area MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch b/0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch index 099d90e419cb..6de1bcb3e1b5 100644 --- a/0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch +++ b/0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch @@ -1,7 +1,7 @@ -From 157e5550caea8a8389e57c68de443a1babd015c3 Mon Sep 17 00:00:00 2001 +From 8da1f278ee7823d1d3d4438131bc0d33f19e9918 Mon Sep 17 00:00:00 2001 From: Johannes Weiner <hannes@cmpxchg.org> Date: Tue, 2 Aug 2022 12:28:11 -0400 -Subject: [PATCH 4/6] mm: vmscan: fix extreme overreclaim and swap floods +Subject: [PATCH 4/7] mm: vmscan: fix extreme overreclaim and swap floods During proactive reclaim, we sometimes observe severe overreclaim, with several thousand times more pages reclaimed than requested. diff --git a/0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch b/0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch index 260ead1edb61..8f79fc15dc28 100644 --- a/0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch +++ b/0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch @@ -1,7 +1,7 @@ -From 82b1098e107303aefec21455a84c0e8120ea42e3 Mon Sep 17 00:00:00 2001 +From aaaa4d04d55ded0ec738ae5a6f927eeec66434e3 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Date: Tue, 21 Jun 2022 17:56:40 -0500 -Subject: [PATCH 5/6] soundwire: intel: use pm_runtime_resume() on component +Subject: [PATCH 5/7] soundwire: intel: use pm_runtime_resume() on component probe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch b/0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch new file mode 100644 index 000000000000..1ac907bc602e --- /dev/null +++ b/0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch @@ -0,0 +1,84 @@ +From a72ed1112caeb42af858924293b47029d7bc8500 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Tue, 6 Sep 2022 11:03:19 +0200 +Subject: [PATCH 6/7] ALSA: hda: Once again fix regression of page allocations + with IOMMU + +The last fix for trying to recover the regression on AMD platforms, +unfortunately, leaded to yet another regression: it turned out that +IOMMUs don't like the usage of raw page allocations. + +This is yet another attempt for addressing the log saga; at this time, +we re-use the existing buffer allocation mechanism with SG-pages +although we require only single pages. The SG buffer allocation +itself was confirmed to work for stream buffers, so it's relatively +easy to adapt for other places. + +The only problem is: although the HD-audio code is accessing the +address directly via dmab->address field, SG-pages don't set up it. +For the ease of adaption, we now set up the dmab->addr field from the +address of the first page as default, so that it can run with the +HD-audio driver code as-is without the excessive call of +snd_sgbuf_get_addr() multiple times; that's the only change in the +memalloc helper side. The rest is nothing but a flip of the dma_type +field in the HD-audio side. + +Fixes: a8d302a0b770 ("ALSA: memalloc: Revive x86-specific WC page allocations again") +Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> +Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> +Cc: <stable@vger.kernel.org> +Link: https://lore.kernel.org/r/CABXGCsO+kB2t5QyHY-rUe76npr1m0-5JOtt8g8SiHUo34ur7Ww@mail.gmail.com +Link: https://bugzilla.kernel.org/show_bug.cgi?id=216112 +Link: https://bugzilla.kernel.org/show_bug.cgi?id=216363 +Link: https://lore.kernel.org/r/20220906090319.23358-1-tiwai@suse.de +Signed-off-by: Takashi Iwai <tiwai@suse.de> +--- + sound/core/memalloc.c | 9 +++++++-- + sound/pci/hda/hda_intel.c | 2 +- + 2 files changed, 8 insertions(+), 3 deletions(-) + +diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c +index 55b3c49ba61d..244afc38ddca 100644 +--- a/sound/core/memalloc.c ++++ b/sound/core/memalloc.c +@@ -535,10 +535,13 @@ static void *snd_dma_noncontig_alloc(struct snd_dma_buffer *dmab, size_t size) + dmab->dev.need_sync = dma_need_sync(dmab->dev.dev, + sg_dma_address(sgt->sgl)); + p = dma_vmap_noncontiguous(dmab->dev.dev, size, sgt); +- if (p) ++ if (p) { + dmab->private_data = sgt; +- else ++ /* store the first page address for convenience */ ++ dmab->addr = snd_sgbuf_get_addr(dmab, 0); ++ } else { + dma_free_noncontiguous(dmab->dev.dev, size, sgt, dmab->dev.dir); ++ } + return p; + } + +@@ -772,6 +775,8 @@ static void *snd_dma_sg_fallback_alloc(struct snd_dma_buffer *dmab, size_t size) + if (!p) + goto error; + dmab->private_data = sgbuf; ++ /* store the first page address for convenience */ ++ dmab->addr = snd_sgbuf_get_addr(dmab, 0); + return p; + + error: +diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c +index a77165bd92a9..b20694fd69de 100644 +--- a/sound/pci/hda/hda_intel.c ++++ b/sound/pci/hda/hda_intel.c +@@ -1817,7 +1817,7 @@ static int azx_create(struct snd_card *card, struct pci_dev *pci, + + /* use the non-cached pages in non-snoop mode */ + if (!azx_snoop(chip)) +- azx_bus(chip)->dma_type = SNDRV_DMA_TYPE_DEV_WC; ++ azx_bus(chip)->dma_type = SNDRV_DMA_TYPE_DEV_WC_SG; + + if (chip->driver_type == AZX_DRIVER_NVIDIA) { + dev_dbg(chip->card->dev, "Enable delay in RIRB handling\n"); +-- +2.37.3 + @@ -68,7 +68,7 @@ _subarch= ### IMPORTANT: Do no edit below this line unless you know what you're doing pkgbase=linux-ck -pkgver=5.19.7 +pkgver=5.19.8 pkgrel=1 arch=(x86_64) url="https://wiki.archlinux.org/index.php/Linux-ck" @@ -95,21 +95,23 @@ source=( 0003-drm-i915-Ensure-damage-clip-area-is-within-pipe-area.patch 0004-mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch 0005-soundwire-intel-use-pm_runtime_resume-on-component-p.patch + 0006-ALSA-hda-Once-again-fix-regression-of-page-allocatio.patch ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman ) -sha256sums=('b8bb6019d4255f39196726f9d0f82f76179d1c3d7c6b603431ef04b38201199f' +sha256sums=('616308795a952a6a39b4c74807c33916850eb7166d8ed7c9a87a1ba55d7487ce' 'SKIP' 'ec58b63109b23d318af62b48a4f43e3042ddb45e71060c885d5d03f2cb3760b0' '5a29d172d442a3f31a402d7d306aaa292b0b5ea29139d05080a55e2425f48c5c' '7037fa27b33666a3bd20c888c667efb218e95e45af8debe591896cc79fe69c76' - 'a5c5a7522b27a36328f0e2a4b8d06b3f57f0de94a08cdcc8b0a036ca1e09ccf5' - '919251a32b739a0bce98b8d9afcd7bfcdd107d185036eaa760a975f04fe0d293' - 'bcf75d242132e0c4ed7e11040aced748d41e2a91cc4a7f74d4612fd8f6ff535b' - '105a3a2abdf6e6883eed1eb7a5645fca558354e77c1baa542cb2f737faa9a8d0' - '9ff6f6e54eceed31f85687e4a788db0993650c69d5c3e3540ca2f7c2ccc00d92') + '83a1b84ec09bd349edc4d13aaa6a4066f5aa1416531c06f9f9758dc60fa16cb7' + 'a0e101e199949c1571352e4b5b60810db5889f1280392c36ddf54077f9b205f9' + '320d6e730ea46059b5faae642b3ea7bca13fd87b3520341a67c440495a58ff73' + '2f3d0db25f54a575a6fd075964309925adaa31edd61979931991c94474cb1513' + '81d7b8bd2799e3b9146b9c0fa72f0cf469da797d9e955d307775231424e2cf3b' + '738b731aa36d2ef7986ef80769c471fc7d1d9dd6b3fe307137059ec154e743a3') prepare() { cd linux-${pkgver} |