Commit graph

195 commits

Author SHA1 Message Date
Maximilian Luz 779cb0506a
Update v5.11 patches
Changes:
 - Code cleanup and small fixes

 - SAM:
   - Fix timing issue when re-attaching the base on the Surface Book 3,
     causing devices (e.g. battery) to not work properly after
     re-attaching.

Links:
 - kernel: 3ffb5d02de
 - SAM: ff044c7463
2021-04-07 03:24:57 +02:00
Maximilian Luz 1eb772562d
Update Arch kernel to 5.11.10 2021-03-29 03:03:13 +02:00
Maximilian Luz c856e76a2f
Update v5.11 patches
Changes:
  - Attempt to properly fix WiFi firmware crashes caused by power-save
    mode and suspend. This aims to fix WiFi crashes without the need to
    disable power-saving options and achieve better power consumption.
  - Try to fix firmware wakeup issues.
  - Try to reduce WiFi speed impact when Bluetooth is active.
  - Fixes for P2P and AP modes. This should get miracast working.

Links:
 - kernel: 5d2a6f03a1
2021-03-29 02:52:06 +02:00
Maximilian Luz 96cbaf80dc
Disable CONFIG_BPF_PRELOAD for Arch Linux
Due to buildsystem limitations, we have previously disabled
CONFIG_DEBUG_INFO. This however, causes CONFIG_DEBUG_INFO_BTF to be
disabled, which in turn causes some warnings at boot when built with
CONFIG_BPF_PRELOAD. So let's also disable CONFIG_BPF_PRELOAD.
2021-03-26 20:38:31 +01:00
Maximilian Luz 6c3ab525f2
Update v5.11 patches
Changes:
 - Update D3cold fix for Surface Book 2 and 3

Links:
 - kernel: b2c74efbe2
2021-03-19 02:45:02 +01:00
Maximilian Luz 550b484e8b
Update Arch kernel to 5.11.7 2021-03-19 01:53:37 +01:00
Maximilian Luz 2e1ff0ee2c
Update v5.11 patches
Changes:
 - Update patches to v5.11.7

 - SAM:
   - Small code cleanup

Links:
 - kernel: f94094df0a
 - SAM: 53fbf8d1f8
2021-03-19 01:41:38 +01:00
Dorian Stoll 0f4f9189f5
Revert "Update to 5.11.7"
Our patches dont apply on 5.11.7. Revert the change for now.

This reverts commit 38809ec775.
2021-03-18 06:59:39 +01:00
Dorian Stoll 38809ec775
Update to 5.11.7
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-03-18 06:40:50 +01:00
Dorian Stoll 9869fc0b38
Update to 5.11.6 / 5.10.23
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-03-14 10:54:33 +01:00
Maximilian Luz dfd262f39a
Update Arch kernel to 5.11.5 2021-03-09 20:57:47 +01:00
Maximilian Luz a7dcf15133
Update v5.11 patches
Changes:
 - SAM:
   - Add support for Surface Pro 7+
   - Minor updates and fixes.

 - IPTS:
   - Send commands during shutdown again, this is needed on some devices
     and readds the dependency on the MEI bus patch
   - Flush buffers during shutdown, to prevent a timeout from CLEAR_MEM_WINDOW
   - Added initial support for setting gen7 devices into multitouch

 - Add firmware file override for ath10k wifi driver.

Links:
 - kernel: b3152dc559
 - SAM: a8b786bd6f
 - IPTS: 90de2d6e75
2021-03-09 20:45:44 +01:00
Maximilian Luz f2505ee84a
fixup! Update Arch kernel to 5.11.2 2021-03-03 23:57:01 +01:00
Maximilian Luz 26b02409fe
Update Arch kernel to 5.11.2 2021-03-03 21:51:30 +01:00
Maximilian Luz 8a08450dde
Bump Arch pkgrel for v5.10.16 2021-02-21 00:20:39 +01:00
Maximilian Luz f8fab978a4
Update v5.10 patches
Changes:
 - cameras
   - Add VBLANK control support
   - Clean up OV5693 driver

Links:
 - kernel: 59c2df3ee0
 - cameras: 74f01bb065
2021-02-21 00:17:40 +01:00
Maximilian Luz 49eedba7d9
Bump pkgrel for 5.10.16 2021-02-15 21:57:57 +01:00
Maximilian Luz 88e2e104f2
Update v5.10 patches
Changes:
 - SAM:
   - Move and split drivers to closer reflect upstreaming process
   - Various updates to HID and battery/AC drivers for upstreaming

 - Hotplug:
   - Various fixes and improvements

 - GPE:
   - Fix Kconfig dependency

 - IPTS
   - Various fixes and improvements

Links:
 - kernel: 5c7b5b588e
 - SAM: bee2add45f
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
 - IPTS: 3642d0e4eb
2021-02-15 21:40:31 +01:00
Dorian Stoll d71b781ced
Update to 5.10.16
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-02-15 10:39:38 +01:00
Maximilian Luz 55d7d84c23
Update Arch kernel to 5.10.13 2021-02-04 01:34:58 +01:00
Maximilian Luz 102b9aeb9d
Update v5.10 patches
Changes:
 - Various small fixes.

Links:
 - kernel: 452ca809c3
 - SAM: e73516d1d2
 - GPE: 6ecfdb3905
2021-02-04 01:21:37 +01:00
Maximilian Luz 2b9bbac3e8
Update Arch kernel to 5.10.10 2021-01-25 00:48:47 +01:00
Maximilian Luz a958894f29
Update v5.10 patches
Changes:
 - Add support for Ambient Light Sensor found on Surface Book 3, Surface
   Laptop 3, and Surface Pro 7 devices.
 - Update camera drivers.

Links:
 - kernel: 23b180c407
2021-01-25 00:37:20 +01:00
Dorian Stoll 38ea021b59
Update to kernel 5.10.8
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-01-18 06:44:24 +01:00
Dorian Stoll 1e78a7f134
Update to kernel 5.10.7
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-01-16 08:32:51 +01:00
Dorian Stoll cdbe9d7e5a
Update to kernel 5.10.6
Except for Fedora 32, that isnt rebased yet

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-01-12 14:04:53 +01:00
Maximilian Luz e185f28e05
Add more missing Arch Linux build dependencies in PKGBUILD 2021-01-08 01:08:49 +01:00
Maximilian Luz 6032c5c9d0
Add missing Arch Linux build dependencies in PKGBUILD 2021-01-08 00:38:36 +01:00
Maximilian Luz dd27094d4b
Update Arch kernel to 5.10.5 2021-01-08 00:26:39 +01:00
Maximilian Luz 01bf4b49b7
Update Arch Linux kernel config 2021-01-08 00:20:33 +01:00
Maximilian Luz 6ea9811bdd
Update Arch kernel to 5.10.2 2020-12-27 00:25:28 +01:00
Maximilian Luz 819ca444a9
Update v5.10 patches
Changes:
 - SAM:
   - Add support for Surface Laptop Go

Links:
 - SAM: c6dd4e77bb
 - kernel: 69ae20ed0e
2020-12-27 00:20:13 +01:00
Maximilian Luz e6d94c815f
Update Arch kernel to 5.10.1 2020-12-16 17:27:45 +01:00
Dorian Stoll 432823625d
fixup! Fix Arch checksum
I have no idea how that ended up in my clipboard, lol

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-12-12 21:43:53 +01:00
Dorian Stoll 5f0a7cc5da
Update to 5.9.14
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-12-12 21:39:25 +01:00
Dorian Stoll 3f2ecc698d
Update to 5.9.13
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-12-09 10:20:15 +01:00
Maximilian Luz c2f5c05e37
Update Arch kernel to 5.9.12 2020-12-06 01:37:15 +01:00
Maximilian Luz e287e79217
Update v5.9 patches
Changes:
 - SAM:
   - Battery: Take UEFI battery limiter into accound when scheduling
     delayed update
   - Clean up code, minor fixes

 - Misc:
   - Drop efivarfs fix (included in upstream v5.9.12)

Links:
 - SAM: 61b9bb859c
 - kernel: cecd2a327c
2020-12-06 01:23:35 +01:00
Maximilian Luz 26c0e140ec
Update Arch kernel to 5.9.11 2020-11-28 03:46:59 +01:00
Maximilian Luz acd1277597
Update v5.9 patches
Changes:
 - SAM:
   - Clean up code

 - Misc:
   - Revert erroneous efivarfs change in v5.4.80

Links:
 - SAM: b97b5d8f9e
 - kernel: 9888cb1662
2020-11-28 03:44:40 +01:00
Maximilian Luz b4964cbc54
Update v5.9 patches
Changes:
 - SAM:
   - Add serial I/O transmission timeout
   - Fix memory leak in error case
   - Clean up code and fix typos
   - Other fixes

Links:
 - SAM: 19ddacd0d3
 - kernel: 7732f52d7d
2020-11-24 16:48:41 +01:00
Dorian Stoll c86b45db03
Update to 5.9.10
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-11-24 14:57:34 +01:00
Alexey Andreev 6dfe5409ee
Update Arch packages to make it Manjaro compatible
Add provides keyword to PKGBUILD with appropriate linux version.
2020-11-21 18:46:24 +03:00
Maximilian Luz d2b54d6f4c
Update Arch kernel to 5.9.8 2020-11-13 22:43:17 +01:00
Maximilian Luz e6fdaf8ddd
Update v5.9 patches
Changes:
 - SAM:
   - Fix typos in kernel doc.

 - GPE:
   - Add support for 15" Intel-based Surface Laptop 3

 - misc:
   - Turn-off typecover backlight when suspending.

Links:
 - SAM: 414658f8c2
 - GPE: 35fc41f3f0
 - kernel: cf69cdf4c1
2020-11-13 22:34:50 +01:00
Maximilian Luz 9df65da9e5
Update Arch kernel to 5.9.6 2020-11-09 22:12:30 +01:00
Maximilian Luz c4b1d6dac4
Update v5.9 patches
Changes:
 - SAM:
   - Retry more SAM requests on communication failure to increase
     stability.
   - Fix bug in PCI platform power state initialization preventing the
     Intel LPSS driver from loading on 7th generation Surface devices.

Links:
 - SAM: bfab2be7d3
 - kernel: e8470c735d
2020-11-09 22:00:17 +01:00
Maximilian Luz 654d87001a
Update Arch kernel to 5.9.3 2020-11-04 02:18:05 +01:00
Maximilian Luz 92f1abfa6a
Update v5.9 patches
Changes:
 - SAM:
   - Remove explicit dGPU power-setting code and rely on (patched)
     PCI/PM core instead for automatic and proper power management. See
     [1] and [2] for details.
   - Minor fixes.

 - GPE:
   - Add copyright notice

Links:
 - SAM: e6338f7b04
 - GPE: 245c264504
 - kernel: 062dca1b26

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:14:19 +01:00
Maximilian Luz c7522f3cef
pkg/arch/kernel: Fix surface.config link 2020-10-22 18:57:59 +02:00
Maximilian Luz 53f2ef95bd
Update Arch config to v5.9 2020-10-22 18:56:08 +02:00
Maximilian Luz 921596af8c
pkg/arch/kernel: Drop i2c fix
This is already included in the Arch distribution kernel source.
2020-10-22 18:48:22 +02:00
Maximilian Luz b32db81dc7
Update Arch kernel to 5.9.1 2020-10-22 18:42:18 +02:00
Maximilian Luz 7c0e669f67
Update v5.8 patches
Changes:
 - SAM:
   - Update DTX driver state after resume.
   - Add DTX Documentation, misc. fixes, and cleanup.

 - IPTS:
   This implements a new and refined UAPI interface that should improve
   stability during suspend and move some responsibility into userspace,
   making the driver simpler.

   It also fixes some sleep issues due to improper shutdown of the device.

   Shortlog:
     0a4a44c Add missing include
     31ae03d Improve error handling of ipts_control_* functions
     287dea0 Prevent lockups if stop is called from the receiver thread
     b737a9c On remove, wait until CLEAR_MEM_WINDOW returned.
     c5b66a5 Add GET_DEVICE_READY ioctl
     af0f84a Seperate UAPI initialization and device probing
     4ae7674 Patch the MEI bus to allow sending commands on remove
     27772bc Just a few refactorings...

Links:
- SAM: af4bb01042
- IPTS: 0a4a44c2a9
- kernel: 6e8bb10ad8
2020-10-22 18:27:17 +02:00
Maximilian Luz d81d046e98
Bump Arch kernel to v5.8.14-2 2020-10-16 19:47:49 +02:00
Maximilian Luz cbffebd101
Update v5.8 patches
Changes:
 - SAM:
   - Merge keyboard and HID driver into single module
   - Restructure DTX user-space interface
   - Add DTX support for Surface Book 3
   - Continued cleanup and misc. fixes

 - other:
   - Add patch to fix boot problems on the Surface Go series

Links:
- SAM: bfef4ac6f8
- kernel: bdadf4da18
2020-10-16 19:40:10 +02:00
Maximilian Luz c7fa1d19c1
Update Arch package hash sums 2020-10-08 23:47:30 +02:00
Maximilian Luz d0410dd0b8
Update Arch kernel to 5.8.14 2020-10-08 22:46:45 +02:00
Maximilian Luz d1d4fa2d2d
Update v5.4 patches
Changes:
 - SAM:
   - Fix bug in SAN driver, triggered by thermal events.
   - Rename Surface Laptop / Book 3 HID input devices.
   - Implement Surface Laptop 1 and 2 caps-lock light.
   - Continued cleanup and misc. fixes.
   - Update docs.

Links:
- SAM: 73ea41f1ec
- kernel: b2f2899bd3
2020-10-08 22:34:44 +02:00
Maximilian Luz 9cb3c44a0b
Bump Arch kernel to v5.8.12-2 2020-10-01 18:20:10 +02:00
Maximilian Luz 1f3be0afff
Update v5.8 patches
Changes:
 - SAM:
   - Fix bug in packet submission leading to a potential deadlock when
     packets need to be resent in constested situations
   - Misc. other fixes.
   - Rename surface_aggregator_debugfs module to surface_aggregator_cdev
     and make it a proper character device (miscdevice).
   - Add copyright notices.
   - Continued cleanup and code improvements.
   - Change core from late to standard initialization
   - Add sysfs attribute for SAM firmware version
   - Register SAN consumers dynamically
   - Misc. fixes and cleanup

 - mwifiex:
   - Revert auto_ds force-disablement
   - Add enable_device_dump module parameter
   - Try to improve suspend behavior

Links:
- SAM: 47bb8f0824
- kernel: d427e73e92
2020-10-01 18:08:56 +02:00
Maximilian Luz 629849060e
Disable atomisp ov5693 for Arch and Debian builds 2020-09-30 21:07:49 +02:00
Dorian Stoll b15168b83c
Update to 5.8.12
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-09-29 22:17:44 +02:00
Dorian Stoll 5e8e6cf726
Add weak dependency on iptsd
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-09-29 22:11:37 +02:00
Maximilian Luz 4b6310c238
Bump pkgrel 2020-09-19 23:28:19 +02:00
Maximilian Luz 36b1d5d473
Update v5.8 patches
Changes:
- SAM:
  - Fix a memory allocation bug causing crashes through memory corruption and
    invalid access.

Links:
- SAM: 9f9a5fcfd2
- kernel: 47d0191632
2020-09-19 23:21:09 +02:00
Maximilian Luz a3c7e031b5
Bump v5.8.10 pkgrel 2020-09-18 03:36:45 +02:00
Maximilian Luz b27a8f90c7
Update v5.8 patches
Changes:
- Fix a bug preventing the Surface Serial Hub driver from probing
  successfully under certain conditions.

Links:
- SAM: f973e273e1
- kernel: a60417830c
2020-09-18 03:34:55 +02:00
Maximilian Luz eef1f15e0f
Update Arch kernel to 5.8.10 2020-09-17 23:34:24 +02:00
Maximilian Luz 6a032ce25e
Update v5.8 patches
Changes:
- SAM:
  - Fix a bug preventing SSAM client devices to be registered on the
    Surface Book 3.
  - Introduce SSAM device domains.
  - Rename modules, drivers, and source directories.
  - Split-up main header file.
  - Update and improve Kconfig options and help texts.
  - Internal restructuring, cleanup, and documentation.

- GPE:
  - Cleanup, fixes, and restructuring.

Links:
- SAM: 4b3ee5ad71
- GPE: 7c017f4d52
- kernel: 6ec5f0ebb0
2020-09-17 23:26:19 +02:00
Maximilian Luz 9a5fdd5e61
Update v5.8 patches
Changes:
- SAM:
  - Internal restructuring, cleanup, and documentation.

Links:
- SAM: 6de853a5cd
- kernel: 12216a9ad7
2020-09-12 16:15:26 +02:00
Maximilian Luz 689ac6022a
Update Arch kernel to 5.8.8 2020-09-10 22:38:49 +02:00
Maximilian Luz 6070a3cde4
Update v5.8 patches
Changes:
- SAM:
  - Cleanup and restructuring.

- GPE:
  - Cleanup and restructuring.

Links:
- SAM: 84827e830e
- GPE: 829bacbe19
- kernel: 0d9bfdba18
2020-09-10 22:29:26 +02:00
Maximilian Luz d1c173a86d
Update Arch kernel to 5.8.7 2020-09-08 16:54:30 +02:00
Maximilian Luz b586e3bddb
Update v5.8 patches
Changes:
- SAM:
  - Fix bug where second Surface Book 3 battery would be set up
    incorrectly.
  - Continued work on internal documentation and cleanup.
  - Other minor bugfixes.

- SAM-over-HID:
  - Add dGPU switch module for SB1.

- GPE:
  - Cleanup and formatting.

Links:
- SAM: c5f84f1f9a
- SAM-over-HID: 9d2a927ac8
- GPE: a9d97ed280
- kernel: 6f814d29c3
2020-09-08 16:43:46 +02:00
Dorian Stoll 994c5a1db1
Update to 5.8.6
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-09-04 19:45:23 +02:00
Maximilian Luz e436f407f9
Update Arch kernel to 5.8.5 2020-08-28 17:24:12 +02:00
Maximilian Luz 8611b6e18e
Update v5.8 patches
Changes:
- SAM
  - Properly re-enable events after hibernation.
  - Other bugfixes.
  - Continued work on internal documentation.

- mwifiex
  - Fix bug causing network connection failure on certain networks.

Links:
- SAM: 735a01f74b
- mwifiex: https://lkml.org/lkml/2020/8/27/642
- kernel: 50b5cf34b8
2020-08-28 17:14:51 +02:00
Maximilian Luz 724eebd4de
fixup! Update Arch kernel to 5.8.3 2020-08-23 22:44:05 +02:00
Maximilian Luz 0ba3383fb8
Update Arch kernel to 5.8.3 2020-08-23 22:35:20 +02:00
Maximilian Luz a23856e569
Update v5.8 patches
Changes:
  SAM:
  - Fix false wanring when plugging in AC adapter.
  - Fix includes for error injection.
  - Other bug fixes and code improvements.

Links:
- kernel: 381dd4669f
- SAM: 4ca8b315e0
2020-08-23 22:26:50 +02:00
Maximilian Luz 50f126a665
Fix Arch PKGBUILD 2020-08-18 06:23:24 +02:00
Maximilian Luz 9ff7986bc6
Bump PKGRELs 2020-08-18 06:15:50 +02:00
Maximilian Luz 402c979bcd
Update v5.8 patches
Changes:
  SAM:
  - Move lid/GPE workaround into separate independent module.
  - A bus and device type has been implemented for SAM devices.
  - Detach devices attached to the base when the cliboard is being detached on
    the Surface Book 3.
  - Internal restructuring.

Links:
- kernel: 233bcf2785
- SAM: 08bbb7272a
2020-08-18 06:08:22 +02:00
Maximilian Luz 45baf0b1a0
Bump Arch PKGREL 2020-08-16 04:18:02 +02:00
Maximilian Luz feed4fb592
Update Arch Linux config 2020-08-16 02:16:59 +02:00
Maximilian Luz 4bf341a920
Fix hash sums in PKGBUILD 2020-08-16 01:33:13 +02:00
Maximilian Luz 7d191455ad
Fix: Use correct config for Arch kernel 2020-08-16 01:28:10 +02:00
Maximilian Luz a389d9b160
Update Arch kernel to 5.8.1 2020-08-15 21:44:24 +02:00
Maximilian Luz 7398964aac
Update Arch kernel to 5.7.12 2020-08-03 18:42:24 +02:00
Maximilian Luz 23d3bc55ce
Update v5.7 patches
Changes:
  SAM:
    - Fix bug that can cause IRQ storm when SSAM wake IRQ gets triggered.
    - Continued internal restructuring.
    - Other small bug fixes.

Links:
- kernel: 78e06bc875
- SAM: b9fe8f28b7
2020-08-03 18:23:42 +02:00
Maximilian Luz ed14e6c7fd
Update Arch kernel to 5.7.11 2020-07-30 20:58:31 +02:00
Maximilian Luz 8fb0a8e62a
Update v5.7 patches
Changes:
  SAM:
    - Enable performance modes on Surface Laptop 1 and 2.
    - Support for D0-exit/D0-entry notifications, sent to the SAM
      controller when suspending (D0-exit) or resuming (D0-entry) on
      newer (gen. 7+) devices.
    - Replace sysfs-based debug device with new debugfs-based debug
      device.
    - More internal restructuring and internal API changes.
    - Some small bug fixes.

  SAM-over-HID:
    - Add ACPI support for SAM-over-HID. This allows setting dGPU power
      on the Surface Book 1 via ACPI calls.

Links:
- kernel: 551b70e295
- SAM: 89b8232d49
2020-07-30 20:43:04 +02:00
Maximilian Luz b8e2f20872
Clean up Arch pkg gitignores 2020-07-22 22:56:27 +02:00
Maximilian Luz 6f4fc87a24
Update Arch kernel to 5.7.10 2020-07-22 22:49:13 +02:00
Maximilian Luz df01025162
Update Arch kernel to 5.7.9 2020-07-21 15:44:29 +02:00
Maximilian Luz 6c4f004e93
Bump Arch pkgrel 2020-07-15 22:31:39 +02:00
Maximilian Luz 8eacf9987d
pkg: arch: Update to 5.7.8 2020-07-13 16:26:10 +02:00
Maximilian Luz cf2bdf415f
Update Arch kernel to 5.7.7 2020-07-02 21:57:06 +02:00
Maximilian Luz 05746ccc77
Update v5.7 patches
Changes:
  SAM:
    - Add support for Surface Book 3 in Surface HPS driver. The dGPU of
      the Surface Book 3 can now be turned on and off via the same
      mechanism already being used by the Surface Book 2.
    - Add SID devices for Surface Pro 6 with MSHW0111 ID.
    - Complete restructure of Surface Serial Hub driver internals. The
      old synchronous communication core has been replaced by a
      completely asynchronous implementation.
    - Misc. code improvements and clean-up.

References:
  kernel: 29c5a7fc9a
  SAM: 6715faf265
2020-07-02 21:53:10 +02:00