From 7f1da4009b4d953b3456ae554d0a1f4b3f86ed26 Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Mon, 7 Dec 2020 14:51:56 +0100 Subject: [PATCH] Add wink patch for IRQ locking --- dell/xps/13-9310/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dell/xps/13-9310/default.nix b/dell/xps/13-9310/default.nix index d4c73c5..a1fddf0 100644 --- a/dell/xps/13-9310/default.nix +++ b/dell/xps/13-9310/default.nix @@ -211,6 +211,15 @@ sha256 = "0p1663w0lik44gwyfzmxxiwnc3s9n3p46aappla8pbfk9wdgw86d"; }; } + + # Patch for crash by w1nk. + { + name = "w1nk-irq-lock-patch"; + patch = pkgs.fetchpatch { + url = "https://raw.githubusercontent.com/w1nk/ath11k-debug/master/one-irq-manage.patch"; + sha256 = "011db3h10smqy0ni0qr9mkyhykf1f3yq6yym6ysbb7jr7l51q0n9"; + }; + } ]; } // (args.argsOverride or { })); linux_patched = pkgs.callPackage linux_patched_pkg { };