diff --git a/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch b/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch index a92ee30..ec60bc9 100644 --- a/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch +++ b/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch @@ -1,8 +1,8 @@ -From 4aefcc4253233dce6ac5938e01371074958b8f1c Mon Sep 17 00:00:00 2001 -Message-Id: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> +From d817891efd179bdb0b5d30fa8aafaeb2a96af76c Mon Sep 17 00:00:00 2001 +Message-Id: From: Serge Hallyn Date: Fri, 31 May 2013 19:12:12 +0100 -Subject: [PATCH 1/2] add sysctl to disallow unprivileged CLONE_NEWUSER by +Subject: [PATCH 1/3] add sysctl to disallow unprivileged CLONE_NEWUSER by default Signed-off-by: Serge Hallyn diff --git a/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch b/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch index e570b9c..2214123 100644 --- a/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch +++ b/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch @@ -1,10 +1,10 @@ -From 3383f4060f7fe25afd5f863fe169fd2f286ab237 Mon Sep 17 00:00:00 2001 -Message-Id: <3383f4060f7fe25afd5f863fe169fd2f286ab237.1517188106.git.jan.steffens@gmail.com> -In-Reply-To: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> -References: <4aefcc4253233dce6ac5938e01371074958b8f1c.1517188106.git.jan.steffens@gmail.com> +From f256ec7564d904b5c245c34a7cb091e6912b22c3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Jim Bride Date: Mon, 6 Nov 2017 13:38:57 -0800 -Subject: [PATCH 2/2] drm/i915/edp: Only use the alternate fixed mode if it's +Subject: [PATCH 2/3] drm/i915/edp: Only use the alternate fixed mode if it's asked for In commit dc911f5bd8aa ("drm/i915/edp: Allow alternate fixed mode for diff --git a/0003-ssb-Do-not-disable-PCI-host-on-non-Mips.patch b/0003-ssb-Do-not-disable-PCI-host-on-non-Mips.patch new file mode 100644 index 0000000..f1102e0 --- /dev/null +++ b/0003-ssb-Do-not-disable-PCI-host-on-non-Mips.patch @@ -0,0 +1,37 @@ +From 1a0e4c170e4622947c0d1d530d63a3241a99b93c Mon Sep 17 00:00:00 2001 +Message-Id: <1a0e4c170e4622947c0d1d530d63a3241a99b93c.1518115547.git.jan.steffens@gmail.com> +In-Reply-To: +References: +From: Sven Joachim +Date: Fri, 26 Jan 2018 10:38:01 +0100 +Subject: [PATCH 3/3] ssb: Do not disable PCI host on non-Mips + +After upgrading an old laptop to 4.15-rc9, I found that the eth0 and +wlan0 interfaces had disappeared. It turns out that the b43 and b44 +drivers require SSB_PCIHOST_POSSIBLE which depends on +PCI_DRIVERS_LEGACY, a config option that only exists on Mips. + +Fixes: 58eae1416b80 ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") +Cc: stable@vger.org +Signed-off-by: Sven Joachim +Reviewed-by: James Hogan +--- + drivers/ssb/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig +index 71c73766ee22..65af12c3bdb2 100644 +--- a/drivers/ssb/Kconfig ++++ b/drivers/ssb/Kconfig +@@ -32,7 +32,7 @@ config SSB_BLOCKIO + + config SSB_PCIHOST_POSSIBLE + bool +- depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY ++ depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS) + default y + + config SSB_PCIHOST +-- +2.16.1 + diff --git a/PKGBUILD b/PKGBUILD index fa07107..b86ea07 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=linux # Build stock -ARCH kernel #pkgbase=linux-custom # Build kernel with a different name _srcname=linux-4.15 pkgver=4.15.2 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://www.kernel.org/" license=('GPL2') @@ -20,6 +20,7 @@ source=( linux.preset # standard config files for mkinitcpio ramdisk 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch + 0003-ssb-Do-not-disable-PCI-host-on-non-Mips.patch ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds @@ -29,12 +30,13 @@ sha256sums=('5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769' 'SKIP' '812499c5d0cc5183606dc9388084df162ca2eb5fa374d8f8b00136fd82825847' 'SKIP' - '57400ed3b21281ad84d72756ce98815c8f6073b8c53b3bc6d73120c47902a263' + '699ad86e5c6076fc5c544d72191efb7eb302f68169dad8495add0f1d156203ab' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65' - '7b7363b53c68f52b119df994c9c08d4f29271b408f021366ab23f862518bd9bc' - 'ac996455cddccc312d93e63845d92b2d8ab8fb53208a221948d28c76c678d215') + 'b20e25656c9423591afd0325fe26320f50bc3421ff204acbfe5dd88ffb3866fe' + '68575230693b374eb68e6100e719c71a196db57fe0ac79ddae02fe72b404e09e' + 'b21406c060cf601f879528cfa1b83f524c44d8ecd99689c331a7c6326653d0be') _kernelname=${pkgbase#linux} : ${_kernelname:=-ARCH} @@ -54,6 +56,9 @@ prepare() { # https://bugs.archlinux.org/task/56711 patch -Np1 -i ../0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch + # https://bugs.archlinux.org/task/57327 + patch -Np1 -i ../0003-ssb-Do-not-disable-PCI-host-on-non-Mips.patch + cat ../config - >.config <