Add cursed patch for spike

This commit is contained in:
Artemis Tosini 2020-09-29 23:12:47 +00:00
parent 6147c2bcf2
commit 71fc56e415
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 3dbb42c637c1..8d45c90cee8a 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -26,7 +26,7 @@
#include <linux/interrupt.h>
#include <linux/idr.h>
-#define MAX_TOPO_LEVEL 6
+#define MAX_TOPO_LEVEL 1022
/* This file contains declarations of usbcore internals that are mostly
* used or exposed by Host Controller Drivers.

View file

@ -3,6 +3,10 @@
{ {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelPatches = [ {
name = "increase_max_topo";
patch = ../../externals/patches/increase_max_topo.patch;
} ];
kernel.sysctl."vm.swappiness" = 5; kernel.sysctl."vm.swappiness" = 5;
cleanTmpDir = true; cleanTmpDir = true;