Skip to content

Commit

Permalink
Changelog:
Browse files Browse the repository at this point in the history
- Add patches for SteamDeck Oled
  • Loading branch information
sebanc committed Feb 23, 2024
1 parent 88756d8 commit dccfb41
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1,019 deletions.
18 changes: 11 additions & 7 deletions kernel-patches/6.1/base/base.patch
Original file line number Diff line number Diff line change
Expand Up @@ -38848,14 +38848,18 @@ diff -ruN a/mm/page_alloc.c b/mm/page_alloc.c
#include <asm/sections.h>
#include <asm/tlbflush.h>
#include <asm/div64.h>
@@ -4938,6 +4939,7 @@
* several times in the row.
*/
if (*no_progress_loops > MAX_RECLAIM_RETRIES) {
@@ -4938,8 +4939,10 @@
else
(*no_progress_loops)++;

- if (*no_progress_loops > MAX_RECLAIM_RETRIES)
+ if (*no_progress_loops > MAX_RECLAIM_RETRIES) {
+ low_mem_notify();
/* Before OOM, exhaust highatomic_reserve */
return unreserve_highatomic_pageblock(ac, true);
}
goto out;
+ }


/*
@@ -5548,6 +5550,8 @@
&alloc_gfp, &alloc_flags))
return NULL;
Expand Down
4 changes: 2 additions & 2 deletions kernel-patches/6.1/others/0002-surface-lte.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ index 613f91add03d..e1428222dd73 100644
--- a/drivers/usb/serial/qcserial.c
+++ b/drivers/usb/serial/qcserial.c
@@ -177,6 +177,7 @@ static const struct usb_device_id id_table[] = {
{DEVICE_SWI(0x413c, 0x81d0)}, /* Dell Wireless 5819 */
{DEVICE_SWI(0x413c, 0x81d1)}, /* Dell Wireless 5818 */
{DEVICE_SWI(0x413c, 0x81d2)}, /* Dell Wireless 5818 */
{DEVICE_SWI(0x413c, 0x8217)}, /* Dell Wireless DW5826e */
{DEVICE_SWI(0x413c, 0x8218)}, /* Dell Wireless DW5826e QDL */
+ {DEVICE_SWI(0x045e, 0x096e)}, /* Microsoft Surface Go LTE */

/* Huawei devices */
Expand Down
Loading

0 comments on commit dccfb41

Please sign in to comment.