[arch-commits] Commit in linux-hardened/trunk (PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Sun Jun 19 22:44:43 UTC 2022


    Date: Sunday, June 19, 2022 @ 22:44:42
  Author: anthraxx
Revision: 449145

upgpkg: linux-hardened 5.18.5.hardened1-2: ALSA: memalloc: Drop x86-specific hack for WC allocations

The recent report for a crash on Haswell machines implied that the
x86-specific (rather hackish) implementation for write-cache memory
buffer allocation in ALSA core is buggy with the recent kernel in some
corner cases.  This patch drops the x86-specific implementation and
uses the standard dma_alloc_wc() & co generically for avoiding the bug
and also for simplification.

Modified:
  linux-hardened/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-19 21:53:22 UTC (rev 449144)
+++ PKGBUILD	2022-06-19 22:44:42 UTC (rev 449145)
@@ -5,7 +5,7 @@
 
 pkgbase=linux-hardened
 pkgver=5.18.5.hardened1
-pkgrel=1
+pkgrel=2
 pkgdesc='Security-Hardened Linux'
 url='https://github.com/anthraxx/linux-hardened'
 arch=(x86_64)
@@ -21,6 +21,7 @@
 source=(
   https://www.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
   https://github.com/anthraxx/${pkgbase}/releases/download/${_srctag}/${pkgbase}-${_srctag}.patch{,.sig}
+  ALSA-memalloc-Drop-x86-specific-hack-for-WC-allocations.patch::https://lore.kernel.org/all/87bkur1nil.wl-tiwai@suse.de/raw
   config         # the main kernel config file
 )
 validpgpkeys=(
@@ -32,6 +33,7 @@
             'SKIP'
             '9ae27643645ebd14a27ed9990ba0accf0251432394ce584c673fa77bb4dffb78'
             'SKIP'
+            '5e59f0f2fa7afaacbade24804eb5e0d9ed8fdb6015450023a11e5d1ce6e7df3c'
             '095dd8157c9597ec8c3d1f7c4b62225404280af33a8f48ae41c80627632203d7')
 
 export KBUILD_BUILD_HOST=archlinux



More information about the arch-commits mailing list