From 478a4261cacc54e82c24fb722c2a301d94d83d2b Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Mon, 22 Apr 2024 14:27:34 -0700 Subject: [PATCH] linux-valve-jupiter: upgrade to 6.9-rc5 (MR 5058) [ci:skip-build]: already built successfully in CI --- ...or-message-flood-caused-by-firmware-.patch | 2 +- ...cklight-Disable-backlight-notificati.patch | 2 +- ...trf216a-Return-floating-point-values.patch | 2 +- ...d-Add-MFD-core-driver-for-Steam-Deck.patch | 6 +-- ...d-driver-for-Steam-Deck-s-EC-sensors.patch | 12 ++--- ...mdeck-Add-support-for-Steam-Deck-LED.patch | 8 ++-- ...007-extcon-Add-driver-for-Steam-Deck.patch | 2 +- ...hwmon-Add-support-for-max-battery-le.patch | 2 +- ...pose-controller-board-power-in-sysfs.patch | 2 +- ...c-directsync-for-systems-without-IA3.patch | 14 +++--- ...cksource-watchdog-after-syncing-TSCs.patch | 10 ++-- ...-TSC-counter-value-during-sleep-wake.patch | 2 +- ...-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch | 2 +- ...for-random-warps-if-using-direct-syn.patch | 2 +- ...ra-time-added-to-check-for-tsc-wraps.patch | 2 +- ...e-jupiter-ACPI-device-as-extcon-name.patch | 6 +-- ...-dwc3-Bump-USB-gadget-wakeup-timeout.patch | 6 +-- ...b-role-swtich-from-dwc3_pci_mr_prope.patch | 6 +-- .../0019-usb-dwc3-Fix-linux-extcon-name.patch | 6 +-- ...quirk-to-timeout-irq-pin-reconfigura.patch | 4 +- ...c-core-add-safe_trim_quirk-attribute.patch | 6 +-- device/testing/linux-valve-jupiter/APKBUILD | 46 +++++++++---------- 22 files changed, 75 insertions(+), 75 deletions(-) diff --git a/device/testing/linux-valve-jupiter/0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch b/device/testing/linux-valve-jupiter/0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch index 11b6aa680..e5f927bd4 100644 --- a/device/testing/linux-valve-jupiter/0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch +++ b/device/testing/linux-valve-jupiter/0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch @@ -1,4 +1,4 @@ -From 103895dd0c1106595c46e8cd61f5edea349e6f4c Mon Sep 17 00:00:00 2001 +From 5a57e80db401b841cc6f57832cf95d2830fc3350 Mon Sep 17 00:00:00 2001 From: Cristian Ciocaltea Date: Fri, 4 Mar 2022 21:20:39 +0000 Subject: [PATCH 01/21] ACPICA: Limit error message flood caused by firmware diff --git a/device/testing/linux-valve-jupiter/0002-drivers-video-backlight-Disable-backlight-notificati.patch b/device/testing/linux-valve-jupiter/0002-drivers-video-backlight-Disable-backlight-notificati.patch index c2f0a3618..035fc8491 100644 --- a/device/testing/linux-valve-jupiter/0002-drivers-video-backlight-Disable-backlight-notificati.patch +++ b/device/testing/linux-valve-jupiter/0002-drivers-video-backlight-Disable-backlight-notificati.patch @@ -1,4 +1,4 @@ -From 6122171153699e140375a99ad2b0cca7668617aa Mon Sep 17 00:00:00 2001 +From 8b12a04e9b7ceaa5026ced58e6dcd957cc55faa1 Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" Date: Tue, 14 Jun 2022 14:31:18 -0700 Subject: [PATCH 02/21] drivers: video: backlight: Disable backlight diff --git a/device/testing/linux-valve-jupiter/0003-iio-light-ltrf216a-Return-floating-point-values.patch b/device/testing/linux-valve-jupiter/0003-iio-light-ltrf216a-Return-floating-point-values.patch index fa8647265..4a7916eb6 100644 --- a/device/testing/linux-valve-jupiter/0003-iio-light-ltrf216a-Return-floating-point-values.patch +++ b/device/testing/linux-valve-jupiter/0003-iio-light-ltrf216a-Return-floating-point-values.patch @@ -1,4 +1,4 @@ -From 046bbbde9257dd08a4433ebce76132a71b397294 Mon Sep 17 00:00:00 2001 +From dcb1c1bd9f85caa78b5cb62ea42ab344acb520d0 Mon Sep 17 00:00:00 2001 From: Shreeya Patel Date: Mon, 17 Jul 2023 14:02:21 +0530 Subject: [PATCH 03/21] iio: light: ltrf216a: Return floating point values diff --git a/device/testing/linux-valve-jupiter/0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch b/device/testing/linux-valve-jupiter/0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch index c3cee4e13..cd77221ac 100644 --- a/device/testing/linux-valve-jupiter/0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch +++ b/device/testing/linux-valve-jupiter/0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch @@ -1,4 +1,4 @@ -From 4cc7f39b393b2a9531951bb6ac544a72ae2a3edf Mon Sep 17 00:00:00 2001 +From f8409dacc69c563e92bf4aa71c3b75516c7251b5 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sat, 19 Feb 2022 16:08:36 -0800 Subject: [PATCH 04/21] mfd: Add MFD core driver for Steam Deck @@ -17,10 +17,10 @@ Signed-off-by: Cristian Ciocaltea create mode 100644 drivers/mfd/steamdeck.c diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig -index e7a6e45b9fac..31e2c95eca02 100644 +index 4b023ee229cf..0fa6921e5a9e 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig -@@ -2333,5 +2333,16 @@ config MFD_RSMU_SPI +@@ -2334,5 +2334,16 @@ config MFD_RSMU_SPI Additional drivers must be enabled in order to use the functionality of the device. diff --git a/device/testing/linux-valve-jupiter/0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch b/device/testing/linux-valve-jupiter/0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch index 0b5e22de5..6b097f1c7 100644 --- a/device/testing/linux-valve-jupiter/0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch +++ b/device/testing/linux-valve-jupiter/0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch @@ -1,4 +1,4 @@ -From 498c8379bae238aca5707308652e0834e1f6de7a Mon Sep 17 00:00:00 2001 +From e2b6dc5c513c9407def9bcbcdb9d4d7435225c77 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sat, 19 Feb 2022 16:09:45 -0800 Subject: [PATCH 05/21] hwmon: Add driver for Steam Deck's EC sensors @@ -15,10 +15,10 @@ Signed-off-by: Cristian Ciocaltea create mode 100644 drivers/hwmon/steamdeck-hwmon.c diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig -index a608264da87d..cf0fc2ce1017 100644 +index 83945397b6eb..6219ebfef801 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig -@@ -1974,6 +1974,17 @@ config SENSORS_SCH5636 +@@ -2036,6 +2036,17 @@ config SENSORS_SCH5636 This driver can also be built as a module. If so, the module will be called sch5636. @@ -37,17 +37,17 @@ index a608264da87d..cf0fc2ce1017 100644 tristate "ST Microelectronics STTS751" depends on I2C diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile -index 47be39af5c03..b1cc9112a0a6 100644 +index 5c31808f6378..34a4851866cb 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile -@@ -200,6 +200,7 @@ obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o +@@ -206,6 +206,7 @@ obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o obj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o obj-$(CONFIG_SENSORS_SPARX5) += sparx5-temp.o +obj-$(CONFIG_SENSORS_STEAMDECK) += steamdeck-hwmon.o obj-$(CONFIG_SENSORS_STTS751) += stts751.o + obj-$(CONFIG_SENSORS_SURFACE_FAN)+= surface_fan.o obj-$(CONFIG_SENSORS_SY7636A) += sy7636a-hwmon.o - obj-$(CONFIG_SENSORS_AMC6821) += amc6821.o diff --git a/drivers/hwmon/steamdeck-hwmon.c b/drivers/hwmon/steamdeck-hwmon.c new file mode 100644 index 000000000000..fab9e9460bd4 diff --git a/device/testing/linux-valve-jupiter/0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch b/device/testing/linux-valve-jupiter/0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch index b7a32db05..4b78897fc 100644 --- a/device/testing/linux-valve-jupiter/0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch +++ b/device/testing/linux-valve-jupiter/0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch @@ -1,4 +1,4 @@ -From 497ad3272c2d94687d1300517aff7da599d98232 Mon Sep 17 00:00:00 2001 +From 5649180090a647fa91fff540f4b6a87b70a66449 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 27 Feb 2022 12:58:05 -0800 Subject: [PATCH 06/21] leds: steamdeck: Add support for Steam Deck LED @@ -13,10 +13,10 @@ Signed-off-by: Cristian Ciocaltea create mode 100644 drivers/leds/leds-steamdeck.c diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig -index d721b254e1e4..673b751f625b 100644 +index 05e6af88b88c..f1967a88ebeb 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig -@@ -917,6 +917,13 @@ config LEDS_ACER_A500 +@@ -927,6 +927,13 @@ config LEDS_ACER_A500 This option enables support for the Power Button LED of Acer Iconia Tab A500. @@ -31,7 +31,7 @@ index d721b254e1e4..673b751f625b 100644 comment "Flash and Torch LED drivers" diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile -index ce07dc295ff0..8b1be8945a57 100644 +index effdfc6f1e95..f2929021afeb 100644 --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile @@ -79,6 +79,7 @@ obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o diff --git a/device/testing/linux-valve-jupiter/0007-extcon-Add-driver-for-Steam-Deck.patch b/device/testing/linux-valve-jupiter/0007-extcon-Add-driver-for-Steam-Deck.patch index a24e29147..bfe15d104 100644 --- a/device/testing/linux-valve-jupiter/0007-extcon-Add-driver-for-Steam-Deck.patch +++ b/device/testing/linux-valve-jupiter/0007-extcon-Add-driver-for-Steam-Deck.patch @@ -1,4 +1,4 @@ -From d29a5ac61f85c4dbdb553b0aae6c0700ccb46872 Mon Sep 17 00:00:00 2001 +From ef64d0cede1c3cbc780118f2d2694bd4ebbb7485 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 27 Feb 2022 14:46:08 -0800 Subject: [PATCH 07/21] extcon: Add driver for Steam Deck diff --git a/device/testing/linux-valve-jupiter/0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch b/device/testing/linux-valve-jupiter/0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch index 0af06c056..814dfb3b5 100644 --- a/device/testing/linux-valve-jupiter/0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch +++ b/device/testing/linux-valve-jupiter/0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch @@ -1,4 +1,4 @@ -From 666399155bd11608017e09f0bbda0181119d6206 Mon Sep 17 00:00:00 2001 +From 25cdd9691d7d455b9fe2b2ac600ad2eba47851d0 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sat, 15 Jul 2023 12:58:54 -0700 Subject: [PATCH 08/21] hwmon: steamdeck-hwmon: Add support for max battery diff --git a/device/testing/linux-valve-jupiter/0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch b/device/testing/linux-valve-jupiter/0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch index bcd877b54..eb4e37b3c 100644 --- a/device/testing/linux-valve-jupiter/0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch +++ b/device/testing/linux-valve-jupiter/0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch @@ -1,4 +1,4 @@ -From 7b9a162071ee2bf519336b70dccdf2954d881892 Mon Sep 17 00:00:00 2001 +From 424d56857067fec8944f562b75028dd3c1a8d9bd Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 24 Sep 2023 15:02:33 -0700 Subject: [PATCH 09/21] mfd: steamdeck: Expose controller board power in sysfs diff --git a/device/testing/linux-valve-jupiter/0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch b/device/testing/linux-valve-jupiter/0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch index 787a86e05..066b29502 100644 --- a/device/testing/linux-valve-jupiter/0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch +++ b/device/testing/linux-valve-jupiter/0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch @@ -1,4 +1,4 @@ -From 1fba949e975caea1a568124ad9f417daa989dc80 Mon Sep 17 00:00:00 2001 +From a92d1fa3a5ad8514aa350bbc9625bb0456262eb0 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 00:25:26 -0800 Subject: [PATCH 10/21] x86: implement tsc=directsync for systems without @@ -15,23 +15,23 @@ Signed-off-by: Cristian Ciocaltea 4 files changed, 44 insertions(+), 10 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt -index 31b3a25680d0..8243a9c96031 100644 +index 902ecd92a29f..b963dc738ca0 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt -@@ -6727,6 +6727,8 @@ +@@ -6788,6 +6788,8 @@ This will be suppressed by an earlier tsc=nowatchdog and can be overridden by a later tsc=nowatchdog. A console message will flag any such suppression or overriding. + [x86] directsync: attempt to sync the tsc via direct + writes if MSR_IA32_TSC_ADJUST isn't available - tsc_early_khz= [X86] Skip early TSC calibration and use the given + tsc_early_khz= [X86,EARLY] Skip early TSC calibration and use the given value instead. Useful when the early TSC frequency discovery diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h -index 594fce0ca744..529dc6d4a426 100644 +index 405efb3e4996..eda44749b34c 100644 --- a/arch/x86/include/asm/tsc.h +++ b/arch/x86/include/asm/tsc.h -@@ -41,6 +41,7 @@ extern unsigned long native_calibrate_tsc(void); +@@ -42,6 +42,7 @@ extern unsigned long native_calibrate_tsc(void); extern unsigned long long native_sched_clock_from_tsc(u64 tsc); extern int tsc_clocksource_reliable; @@ -40,7 +40,7 @@ index 594fce0ca744..529dc6d4a426 100644 extern bool tsc_async_resets; #else diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c -index 15f97c0abc9d..9cf8f85c5638 100644 +index 5a69a49acc96..61faedcdbdc9 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -47,6 +47,7 @@ static unsigned int __initdata tsc_early_khz; diff --git a/device/testing/linux-valve-jupiter/0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch b/device/testing/linux-valve-jupiter/0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch index 5bc55e4a9..cb1072413 100644 --- a/device/testing/linux-valve-jupiter/0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch +++ b/device/testing/linux-valve-jupiter/0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch @@ -1,4 +1,4 @@ -From c40db6ea8e9a1c9d7d136de44108fbacd659fd45 Mon Sep 17 00:00:00 2001 +From 0d076448cbdd64f2a07ba03f4182b86790f853c5 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 11:55:18 -0800 Subject: [PATCH 11/21] x86: touch clocksource watchdog after syncing TSCs @@ -11,7 +11,7 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c -index 3f57ce68a3f1..f13ddbbb5d79 100644 +index 76bb65045c64..46fd40f15deb 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -60,6 +60,7 @@ @@ -22,7 +22,7 @@ index 3f57ce68a3f1..f13ddbbb5d79 100644 #include #include -@@ -1248,6 +1249,7 @@ void arch_thaw_secondary_cpus_begin(void) +@@ -1118,6 +1119,7 @@ void arch_thaw_secondary_cpus_begin(void) void arch_thaw_secondary_cpus_end(void) { @@ -30,15 +30,15 @@ index 3f57ce68a3f1..f13ddbbb5d79 100644 cache_aps_init(); } -@@ -1282,6 +1284,8 @@ void __init native_smp_cpus_done(unsigned int max_cpus) +@@ -1139,6 +1141,8 @@ void __init native_smp_cpus_done(unsigned int max_cpus) { pr_debug("Boot done\n"); + clocksource_touch_watchdog(); + - calculate_max_logical_packages(); build_sched_topology(); nmi_selftest(); + impress_friends(); -- 2.44.0 diff --git a/device/testing/linux-valve-jupiter/0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch b/device/testing/linux-valve-jupiter/0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch index 87e6af422..245f0e580 100644 --- a/device/testing/linux-valve-jupiter/0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch +++ b/device/testing/linux-valve-jupiter/0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch @@ -1,4 +1,4 @@ -From 426f372abc181230275dba722a2d17377d4050d7 Mon Sep 17 00:00:00 2001 +From cbe56fa207de09512384969097114c3b9bd1d863 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 00:26:20 -0800 Subject: [PATCH 12/21] x86: save/restore TSC counter value during sleep/wake diff --git a/device/testing/linux-valve-jupiter/0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch b/device/testing/linux-valve-jupiter/0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch index 6069bc6d2..e47b194de 100644 --- a/device/testing/linux-valve-jupiter/0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch +++ b/device/testing/linux-valve-jupiter/0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch @@ -1,4 +1,4 @@ -From 2673c6532e52380e8fd7b1ebff966bc7b07755fa Mon Sep 17 00:00:00 2001 +From f500fbfa381961bfa36b63b48f5537fea4ed0f21 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 11:58:46 -0800 Subject: [PATCH 13/21] x86: only restore TSC if we have IA32_TSC_ADJUST or diff --git a/device/testing/linux-valve-jupiter/0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch b/device/testing/linux-valve-jupiter/0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch index 0dd5eb3ff..68c1fbbe8 100644 --- a/device/testing/linux-valve-jupiter/0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch +++ b/device/testing/linux-valve-jupiter/0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch @@ -1,4 +1,4 @@ -From 609d68f2225d5e394a573ffe9c77c82b30ea8e9d Mon Sep 17 00:00:00 2001 +From dc7ee68b96518fa01deead155b2ba2ce8cd87634 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Wed, 17 Nov 2021 19:42:32 -0800 Subject: [PATCH 14/21] x86: don't check for random warps if using direct sync diff --git a/device/testing/linux-valve-jupiter/0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch b/device/testing/linux-valve-jupiter/0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch index 118cec67b..dfd40ed13 100644 --- a/device/testing/linux-valve-jupiter/0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch +++ b/device/testing/linux-valve-jupiter/0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch @@ -1,4 +1,4 @@ -From 58758906879db1450ac2dfdedf08fe68f018c5f5 Mon Sep 17 00:00:00 2001 +From c0f3ff33c331bac0d902ab7b401e901596fe4f6a Mon Sep 17 00:00:00 2001 From: Muhammad Usama Anjum Date: Tue, 6 Jun 2023 16:12:06 +0500 Subject: [PATCH 15/21] x86: revert extra time added to check for tsc wraps diff --git a/device/testing/linux-valve-jupiter/0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch b/device/testing/linux-valve-jupiter/0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch index 462d1eded..2838027cb 100644 --- a/device/testing/linux-valve-jupiter/0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch +++ b/device/testing/linux-valve-jupiter/0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch @@ -1,4 +1,4 @@ -From 4bda77716e5b8c3716917fa85ff9f4f745bba88f Mon Sep 17 00:00:00 2001 +From 4d9c1dd3c3ca648fd44e99165f68dcc32ba25c79 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 2 Sep 2022 19:13:12 +0300 Subject: [PATCH 16/21] usb: dwc3: Hardcode jupiter ACPI device as extcon name @@ -17,10 +17,10 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c -index 39564e17f3b0..393a2efac0c7 100644 +index 497deed38c0c..0e2d08b22e0d 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c -@@ -179,6 +179,7 @@ static const struct property_entry dwc3_pci_mr_properties[] = { +@@ -178,6 +178,7 @@ static const struct property_entry dwc3_pci_mr_properties[] = { PROPERTY_ENTRY_BOOL("usb-role-switch"), PROPERTY_ENTRY_STRING("role-switch-default-mode", "host"), PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"), diff --git a/device/testing/linux-valve-jupiter/0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch b/device/testing/linux-valve-jupiter/0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch index 1bb3465ae..30cd74331 100644 --- a/device/testing/linux-valve-jupiter/0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch +++ b/device/testing/linux-valve-jupiter/0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch @@ -1,4 +1,4 @@ -From 770e26e1816b0a1a3013c26d1dc1b1da7cff9dbc Mon Sep 17 00:00:00 2001 +From a9aef03f01f86629bcd429e28e20124461af2f04 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 18 Jan 2022 08:44:34 -0800 Subject: [PATCH 17/21] usb: dwc3: Bump USB gadget wakeup timeout @@ -13,10 +13,10 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c -index 28f49400f3e8..93f7d0290037 100644 +index 4df2661f6675..b45de01d33b6 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c -@@ -2382,7 +2382,7 @@ static int __dwc3_gadget_wakeup(struct dwc3 *dwc, bool async) +@@ -2363,7 +2363,7 @@ static int __dwc3_gadget_wakeup(struct dwc3 *dwc, bool async) return 0; /* poll until Link State changes to ON */ diff --git a/device/testing/linux-valve-jupiter/0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch b/device/testing/linux-valve-jupiter/0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch index 76375fa63..a2b798d69 100644 --- a/device/testing/linux-valve-jupiter/0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch +++ b/device/testing/linux-valve-jupiter/0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch @@ -1,4 +1,4 @@ -From e61238022c903aaec88609454f602e3fda0cd623 Mon Sep 17 00:00:00 2001 +From 23b10f478de6245926aa3b9bf7bbaab765baeceb Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sat, 29 Oct 2022 15:25:21 -0700 Subject: [PATCH 18/21] usb: dwc3: Drop "usb-role-swtich" from @@ -20,10 +20,10 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c -index 393a2efac0c7..21a764d30bff 100644 +index 0e2d08b22e0d..ebe42ae00951 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c -@@ -176,8 +176,6 @@ static const struct property_entry dwc3_pci_amd_properties[] = { +@@ -175,8 +175,6 @@ static const struct property_entry dwc3_pci_amd_properties[] = { static const struct property_entry dwc3_pci_mr_properties[] = { PROPERTY_ENTRY_STRING("dr_mode", "otg"), diff --git a/device/testing/linux-valve-jupiter/0019-usb-dwc3-Fix-linux-extcon-name.patch b/device/testing/linux-valve-jupiter/0019-usb-dwc3-Fix-linux-extcon-name.patch index 12ef91256..81dee0fcd 100644 --- a/device/testing/linux-valve-jupiter/0019-usb-dwc3-Fix-linux-extcon-name.patch +++ b/device/testing/linux-valve-jupiter/0019-usb-dwc3-Fix-linux-extcon-name.patch @@ -1,4 +1,4 @@ -From 1ab4a0fb0e9436f72b668778ee27a036042de6e9 Mon Sep 17 00:00:00 2001 +From e4028b1471564c0178c695aee7ad6845f38dc5c9 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 27 Feb 2022 16:34:23 -0800 Subject: [PATCH 19/21] usb: dwc3: Fix "linux,extcon-name" @@ -10,10 +10,10 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c -index 21a764d30bff..cf805293a933 100644 +index ebe42ae00951..f04de746d681 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c -@@ -177,7 +177,7 @@ static const struct property_entry dwc3_pci_amd_properties[] = { +@@ -176,7 +176,7 @@ static const struct property_entry dwc3_pci_amd_properties[] = { static const struct property_entry dwc3_pci_mr_properties[] = { PROPERTY_ENTRY_STRING("dr_mode", "otg"), PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"), diff --git a/device/testing/linux-valve-jupiter/0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch b/device/testing/linux-valve-jupiter/0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch index 585a4625c..267b677d6 100644 --- a/device/testing/linux-valve-jupiter/0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch +++ b/device/testing/linux-valve-jupiter/0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch @@ -1,4 +1,4 @@ -From 23305d0eaad752788bae70db64f933febcbced82 Mon Sep 17 00:00:00 2001 +From 281ec38a96739db6a9282fa0c13cabd6cef258e1 Mon Sep 17 00:00:00 2001 From: Gabriel Krisman Bertazi Date: Wed, 5 May 2021 22:12:17 -0400 Subject: [PATCH 20/21] pinctrl-amd: Add quirk to timeout irq pin @@ -27,7 +27,7 @@ Signed-off-by: Cristian Ciocaltea 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c -index 49f89b70dcec..16d544bb0626 100644 +index 7f66ec73199a..5763c37e5204 100644 --- a/drivers/pinctrl/pinctrl-amd.c +++ b/drivers/pinctrl/pinctrl-amd.c @@ -31,6 +31,7 @@ diff --git a/device/testing/linux-valve-jupiter/0021-mmc-core-add-safe_trim_quirk-attribute.patch b/device/testing/linux-valve-jupiter/0021-mmc-core-add-safe_trim_quirk-attribute.patch index d34be3a2d..40b3c9a30 100644 --- a/device/testing/linux-valve-jupiter/0021-mmc-core-add-safe_trim_quirk-attribute.patch +++ b/device/testing/linux-valve-jupiter/0021-mmc-core-add-safe_trim_quirk-attribute.patch @@ -1,4 +1,4 @@ -From 1ae0920b6e301eb38879d865f6feb3aac49ae76b Mon Sep 17 00:00:00 2001 +From b25ad295b8b28721d404b32e4b850ab93c7a47cb Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Tue, 8 Nov 2022 17:32:25 -0500 Subject: [PATCH 21/21] mmc: core: add safe_trim_quirk attribute @@ -20,7 +20,7 @@ Signed-off-by: Cristian Ciocaltea 4 files changed, 7 insertions(+) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c -index f410bee50132..aee1e0cbbd11 100644 +index 5b2f7c285461..46b7971d0a33 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -820,6 +820,7 @@ MMC_DEV_ATTR(rel_sectors, "%#x\n", card->ext_csd.rel_sectors); @@ -51,7 +51,7 @@ index cca71867bc4a..6418bfdf849e 100644 + card->safe_trim_quirk_version = 1; } diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c -index c3e554344c99..b64b8462bb66 100644 +index 1c8148cdda50..e8b99bbb4b0b 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -714,6 +714,7 @@ MMC_DEV_ATTR(oemid, "0x%04x\n", card->cid.oemid); diff --git a/device/testing/linux-valve-jupiter/APKBUILD b/device/testing/linux-valve-jupiter/APKBUILD index 173f53730..b53c2b3f9 100644 --- a/device/testing/linux-valve-jupiter/APKBUILD +++ b/device/testing/linux-valve-jupiter/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Clayton Craft pkgname=linux-valve-jupiter -pkgver=6.8 +pkgver=6.9_rc5 pkgrel=0 pkgdesc="Valve Steam Deck kernel fork" arch="x86_64" @@ -85,27 +85,27 @@ package() { } sha512sums=" -17991b3e0cd69e910416e8b11ba48919a4ee179bf1bb8a66516897218f1bafb297754777ebee77e75f6f844a6ec79a748b10371e33ae5374a4f4accab6c6b8f7 linux-6.8.tar.gz +7ef325e30f344b8f5839e257f82caa6b1fcf3dd3180960ef01db1770c6f9df19c8aff3b47b0622139de45b03979f1500917ee0afa29cfc2e28c89e24d94f07cc linux-6.9-rc5.tar.gz cee50091682acbaf1461672ab221a6f629ab03dde7c3fbba448349e1b396e507d776e3a2047998b2fc1775cb81f10545f0053ebb4d9da84b83aa4554aeebdc96 config-valve-jupiter.x86_64 -fe6d4f0b8b86134b62a1f040ef7e8090702b1933b909a095217180160b4dd87d1d2cd7da41b1578f4577dd423e6dbca40d74f8f2d21c274074b19f612de3f343 0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch -ff6e833025d8df063d5de4db08376bc70892a5a07f98cfcec665e75e85862b4a583ad3685b056af9e623cd45458921d102c8fe94d2cad58385129e1f01308da1 0002-drivers-video-backlight-Disable-backlight-notificati.patch -35fed97f0bae352f2cfb53fe301c24e893c5d04120fdcd8b1390582c489517f8f11d01f98cacbe3f4a51ee7156e8eab6197a1cdd96be3d70d5ad40d5e0992494 0003-iio-light-ltrf216a-Return-floating-point-values.patch -538acf33701914f9fd894db4655390ebdbf4e7902e1f44adeb145e2d9c0e6e326e7331d5e5da55a0115c5b9079abb1358232424dd543b1ab8961da0a536d9b5b 0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch -86a93d8872986e4ad67f6a83031286bcb2ba59939dceff4af720be0a960c011c59cf7857c9e0a6c2aff1b61c75f9a2245c8d9489693e6c36833ebd143d76734d 0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch -985dc1f7cf67de127f1d270553f78783086f0e4cebd3e30ae4c577aed22c7b2ff99aa5dfd2d42c626c93b942ac657417f79c45308949862107c4e30169fed694 0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch -e0a753212d225552f1c87eabe37c0a64bd345314ac14d09361bc0f8046f4bf33c8d290b6d85b7d2ac8a6e1bbb9aa1d24403ca34068165d558bead33d375a4467 0007-extcon-Add-driver-for-Steam-Deck.patch -2431d4bedc5a916a16cf597f7ca3518cc51bd4951b1789383bbdad59a031f1863508073e5afe9174be527b5398606aa189ad1a8e0833b29394c6e5e561b1cb09 0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch -a2f387ebebe84f41a75b64f1cddf33fb56dbaf8388ae10d7f873f5b26eaa82055413d35cccebd1c9011342e722aa07dbf8537c47f34d05deb6296738a3553b7f 0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch -057e188e9eb3a838ce3a1f43bc3ed712f936e37f022a3655691ea2b152e99c8d41c264e5ef11a7a27a020a57558d53afb72fb81cef9fb280a60e9d302fc50159 0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch -71164e34b08d4d364c1cc859debb109f65b736727e4d7c42644eb61edcb457b5fcbe71c5a3724fe15a12819a4838d3eb3010fcb91571074a2707ddc3f945f0a5 0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch -ad4b783bae034ba2e79b87854a552acda800f8e743d74f97ee594eaf8da3ec25729086fadbcfeeca06f05734b6be5382d784b6e8e1b0bd5041c3472da8b8a508 0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch -7b57f48ab74645e2530371a99040e88b5aab7addbddfec900089100aec89e0f992a8b298819d99347e8306a9ff65f2d112de921772866fefde27483e7b236562 0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch -1b1f88ddc32539a81c645de6fb1f13d2070df01570e5b29300a6ecf7b626a9e97c8581198c5b47cdc93c6dc1301c6737de9147919e3b9a134e9e6e0a39dd86d0 0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch -e914ce3e2ac406a8c280bd88fdb6908161d6fbccccd0c2e6a2c2c3814917271230cb1f8fa2a3111f9057d8fd36bd18753b5306f4596889f27656415239c92f95 0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch -3e71e8a96934113b53b31e153addf498a8bc52e80fc874d66e34210945f0c8e85f201143f1303e51cf05a1b43109cbfb3da31c071ab7cf1cadd07a226c1b0861 0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch -738a46214f80e3e5d9878f74e90c3532ddcff0706cc381662c643b1954fbc94fcb47bf3e79d8f892671002c4683a872bcd73bddbff89724c416631cb2da212b5 0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch -fac38c82ddd1a099925452c0ac205f8b8cc02ab846c1c71f69d51aea79b52a985e3175371c2a854b4cf7569d0100e599b961dd6d919c96a0582fd640871c9c13 0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch -212567512f28b4400f82117d90a1e5fa03ab9ba59f3e70c58d5854a3a201751e70bce2437d19d706c2a495ec951dd77f599d2700f42fb87a820f15cfd3e2c50b 0019-usb-dwc3-Fix-linux-extcon-name.patch -f37c466b18d97233511193d8512d311acd4bb4f95bbc9b08893ce2f2d80bfe75c92f0e5979e2577c2be560eaa3d7001cf2bae32b9c37730fdce9eaa402320745 0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch -4c3454dcb3eac580edfcb34d85cfed2bfcc3df1a77c9d88344b5936ae1210b66c8c7eb778f3317085368c82348f7f6860591e367715ef879641d32ed4d266953 0021-mmc-core-add-safe_trim_quirk-attribute.patch +f50531f10fa404e4b84a9f49f9d3511b492390dbdd56cf27bdd49cdaeba30db58ee59beaa8abbb06fff82cc88e06c04feb7c3b246680d2ca99665722a9de2a48 0001-ACPICA-Limit-error-message-flood-caused-by-firmware-.patch +9af8f15a680675f18e8398f8c6b2231577046d298e4b12d7af8215681322eb15cd5b344ff0a34ae49a546ebe138f252f2802734e5e4f238049acc222991c730f 0002-drivers-video-backlight-Disable-backlight-notificati.patch +83385fd39709d86d6034ff1c2561ede9f233893530a2de48a0a5bca335f4f14f6a9d6d5234415b15408ab1e4485572f370108f668ca7167b246a6223b0cc9fe0 0003-iio-light-ltrf216a-Return-floating-point-values.patch +d04f85b5bf36efa3543758a43c8b967acd93eda24999ea48e594f17e7f33cfa6ef5d7973ac61f289da1747764c7dde9a6bce68456f40980eccb808af5b30701a 0004-mfd-Add-MFD-core-driver-for-Steam-Deck.patch +4b88ec17d61b0fe861cc4c051ab0291377dc5184db3e5fbbf36896c03f3318fec985a9bc81832910802adf79038aba90e3198cfbdedefeeebb1b0e03fc88fb96 0005-hwmon-Add-driver-for-Steam-Deck-s-EC-sensors.patch +8a37efd5813971dc7efe8cda2019a5b65da1da73644353a6417d353867fb5fc8a5b7fdc7e139a687f8af855875935c3fc3980485e855e83e7173358cd1661427 0006-leds-steamdeck-Add-support-for-Steam-Deck-LED.patch +3f3a84d4984c7c0cc14af1575333be8c647f158d4bab6d24c0c07d2464e9f838c33ecf041c641f176b8b6570c2164aff488cac6563b9d07509e2f098e458e860 0007-extcon-Add-driver-for-Steam-Deck.patch +b1742180217684de9db882ac8dba857496f5def537cc2860b01c361eec928057d1173052af76bf0fde6d562e4cbb701c5c7f538166694f319b67248dd1051346 0008-hwmon-steamdeck-hwmon-Add-support-for-max-battery-le.patch +c1e054eb7f8616762ae54e41da6a7442546e0ef443012e107dce2e494468932dd8ae1251510e2fa86574cfdd0e8eb243ad8f5f2420acd887857ffe9fd5bec6fb 0009-mfd-steamdeck-Expose-controller-board-power-in-sysfs.patch +137fe1855d929b4e98733e86888c7fee38b88afa0a1984971eb6aab2c3e5dd001fc8085719698d987362ef2c621bf3265e8a58a82ceae24f3d72562382a00bd1 0010-x86-implement-tsc-directsync-for-systems-without-IA3.patch +67d951351381c3018ee5c0003a0cdbcf6c8396a8d56cfff94fa560bb2b453fe3b9899089dde12c839b70c01694b9f8a62a8e50bbbdd8d1fc7e0368a1f09a1155 0011-x86-touch-clocksource-watchdog-after-syncing-TSCs.patch +1d51149a1c9082719ed58388748bc145e23a3094f0d4ff71f5bc49f0759ff0f05df1a8c2970aa9a464c93b49bbdd5a837c050104d0ad799ec396a5bc1fa0df04 0012-x86-save-restore-TSC-counter-value-during-sleep-wake.patch +d672450f673f283205984c7a0a41584c377e925bc6b54b59a5951bc1c016261e2b627146227fd4a40b241db6227751bcb37db7e5eca473c863c078c812f9068d 0013-x86-only-restore-TSC-if-we-have-IA32_TSC_ADJUST-or-d.patch +c99045cd08a5d721d9ed6ecb87e677ac031172adb8dda9363e00d00bcd8a25f2736436003988833025a7d945cf344b00c01707aa893472fdfae72346c07158e1 0014-x86-don-t-check-for-random-warps-if-using-direct-syn.patch +c1c6f759cfcdaa87c84267be048e9917af370c08d61ba76bee92d726ab2e8b85ecca560b3e05c01fc608c6cc934186a175d10fa25a6e38737774cf4d0192f0f0 0015-x86-revert-extra-time-added-to-check-for-tsc-wraps.patch +80dec76f40e38f8b5870a0d4be13f38e98933b12770aee217009520f6188f9f70a90cb359cd32017afecf00635263b92c1a9e600a197ef97f58007499411a97c 0016-usb-dwc3-Hardcode-jupiter-ACPI-device-as-extcon-name.patch +fcd0491c0aa6ececcbd156d43e25cdcdf0d781a7dee6baa6ccc8db936058dfefb753e3fd21854ceb9203527a0952d3f483358d29250270453404c0033e34751e 0017-usb-dwc3-Bump-USB-gadget-wakeup-timeout.patch +c089a0228a2b7d11b488e59b1c924d73953caff0fa7b775a743abfe3482c0c8cd87cb7142b53c929067afad22193932c2d71e2f2e81687a2ed8cc3e56cc8e427 0018-usb-dwc3-Drop-usb-role-swtich-from-dwc3_pci_mr_prope.patch +5fb7f211cb9911b13a6bd22eb13a632447e7ffa8aa8b7ce2482eb9ec3b9a67ae990332e61f98973f79224ec646e4e232e0e91f1fc5ae44d21389964c63ade90c 0019-usb-dwc3-Fix-linux-extcon-name.patch +7af8ea791853ca431c0f050bd66b8eb3f416d0866a8f8dfb3ca32c6eba3b2e19be079c9d1b816df9105ae14a7cc70fb3baf1472cafd4eab3b83dc1cb673ccce2 0020-pinctrl-amd-Add-quirk-to-timeout-irq-pin-reconfigura.patch +b88ea33b592fc1f39d99fdd0e31b780a0a91c50fb3463f167d24cdbe4e29b18957b8e709ffde449d790157fe2588a817f904b19d6192758cfa94cfa825103ebf 0021-mmc-core-add-safe_trim_quirk-attribute.patch "