Commit graph

286 commits

Author SHA1 Message Date
Maximilian Luz 83302241d7
Update Arch LTS kernel to 4.19.152 2020-10-22 18:40:41 +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 3d9db379b4
Update v4.19 patches
Changes:
 - SAM:
   - Update DTX driver state after resume.
   - Add DTX Documentation, misc. fixes, and cleanup.

Links:
- SAM: af4bb01042
- kernel: 8bb4052b6b
2020-10-22 18:20:27 +02:00
Maximilian Luz c42e473ff0
Fix Arch LTS package hashsums 2020-10-16 20:57:04 +02:00
Maximilian Luz 99833b096b
Update Fedora kernels to 5.8.15 2020-10-16 19:52:04 +02:00
Maximilian Luz d81d046e98
Bump Arch kernel to v5.8.14-2 2020-10-16 19:47:49 +02:00
Maximilian Luz ea35e18d05
Update Arch LTS kernel to 4.19.151 2020-10-16 19:44:55 +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 b42ff37372
Update v4.19 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: d1e77c5126
2020-10-16 19:33:14 +02:00
Maximilian Luz e230e9aeac
Update Fedora base commit 2020-10-08 23:48:31 +02:00
Maximilian Luz c7fa1d19c1
Update Arch package hash sums 2020-10-08 23:47:30 +02:00
Maximilian Luz 389350f631
Update Fedora kernels to 5.8.14 2020-10-08 22:49:15 +02:00
Maximilian Luz d0410dd0b8
Update Arch kernel to 5.8.14 2020-10-08 22:46:45 +02:00
Maximilian Luz a58cdeaff5
Update Arch LTS kernel to 4.19.150 2020-10-08 22:44:14 +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 6ced7eba76
Update v4.19 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: 48d3cc0dff
2020-10-08 22:30:09 +02:00
Maximilian Luz a2b9421f2c
fixup! Update Fedora base commit 2020-10-01 19:28:00 +02:00
Maximilian Luz 8d4b5f8cac
Update Fedora base commit 2020-10-01 19:18:15 +02:00
Maximilian Luz f8b1f574bf
Bump Fedora kernels to v5.8.12-2 2020-10-01 18:26:46 +02:00
Maximilian Luz f6ca1dd38b
fixup! Update Arch LTS kernel to 4.19.149 2020-10-01 18:23:30 +02:00
Maximilian Luz 9cb3c44a0b
Bump Arch kernel to v5.8.12-2 2020-10-01 18:20:10 +02:00
Maximilian Luz 8738b65c10
Update Arch LTS kernel to 4.19.149 2020-10-01 18:17:11 +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 cda77f53f5
Update v4.19 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: f9183418ae
2020-10-01 18:08:55 +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 b0b40551ce
Fix patches for v4.19
Include missing kernel commit.
2020-09-20 01:00:04 +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 51421f2375
Update v4.19 patches
Changes:
- SAM:
  - Fix a memory allocation bug causing crashes through memory corruption and
    invalid access.

Links:
- SAM: 9f9a5fcfd2
- kernel: d5df92c197
2020-09-19 23:17:22 +02:00
Maximilian Luz 1a27963c68
Update Fedora kernels to 5.8.10 2020-09-18 03:39:51 +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 d978030eb8
Update v4.19 patches
Changes:
- Fix a bug preventing the Surface Serial Hub driver from probing
  successfully under certain conditions.

Links:
- SAM: f973e273e1
- kernel: c594ad2647
2020-09-18 03:30:54 +02:00
Maximilian Luz 080166989b
Update Fedora kernels to 5.8.9 2020-09-17 23:37:50 +02:00
Maximilian Luz eef1f15e0f
Update Arch kernel to 5.8.10 2020-09-17 23:34:24 +02:00
Maximilian Luz 704de51f85
Update Arch LTS kernel to 4.19.146 2020-09-17 23:32:39 +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 821bb27beb
Update v4.19 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.

Links:
- SAM: 4b3ee5ad71
- kernel: 47860ccd1d
2020-09-17 23:20:10 +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 4dfe143fc5
Update v4.19 patches
Changes:
- SAM:
  - Internal restructuring, cleanup, and documentation.

Links:
- SAM: 6de853a5cd
- kernel: 93659504ca
2020-09-12 16:08:25 +02:00
Maximilian Luz 7a8a68505b
Update Fedora kernels to 5.8.8 2020-09-10 22:40:31 +02:00
Maximilian Luz 689ac6022a
Update Arch kernel to 5.8.8 2020-09-10 22:38:49 +02:00
Maximilian Luz b8574d62ec
Update Arch LTS kernel to 4.19.144 2020-09-10 22:37:12 +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 c4331c5071
Update v4.19 patches
Changes:
- SAM:
  - Cleanup and restructuring.

Links:
- SAM: 84827e830e
- kernel: f6bd6798d4
2020-09-10 22:23:37 +02:00
Maximilian Luz 2b3e730a8e
Update Fedora kernels to 5.8.7 2020-09-08 16:55:57 +02:00
Maximilian Luz d1c173a86d
Update Arch kernel to 5.8.7 2020-09-08 16:54:30 +02:00
Maximilian Luz 094dfa38e1
Update Arch LTS kernel to 4.19.143 2020-09-08 16:52:41 +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
Maximilian Luz d3992b7362
Update v4.19 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: f26a027064
2020-09-08 16:40:21 +02:00
Dorian Stoll 032f5515f6
Prepare support for Fedora 33
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-09-04 19:55:51 +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
Dorian Stoll 913d68d4dd
Bump Fedora 31 pkgrel
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-08-28 17:44:25 +02:00
Dorian Stoll dfda931ebb
Update Fedora 32 kernel to 5.8.5
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-08-28 17:34:38 +02:00
Dorian Stoll b05b384eae
Provide aliases from the stock kernel on Fedora
This fixes akmods from rpmfusion.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-08-28 17:34:38 +02:00
Maximilian Luz e436f407f9
Update Arch kernel to 5.8.5 2020-08-28 17:24:12 +02:00
Maximilian Luz 58f8e53ba5
Update Arch LTS kernel to 4.19.142 2020-08-28 17:19:41 +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 d000c7488a
Update v4.19 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: e83a20197d
2020-08-28 17:00:44 +02:00
Maximilian Luz c7e729ce50
fixup! Update Arch LTS kernel to 4.19.141 2020-08-23 22:50:02 +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 5d9cf0b10c
Update Arch LTS kernel to 4.19.141 2020-08-23 22:34:28 +02:00
Maximilian Luz 07d6521c05
Update Fedora kernels to 5.7.17 2020-08-23 22:31:58 +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 b6bee9963f
Update v4.19 patches
Changes:
  SAM:
  - Fix false wanring when plugging in AC adapter.
  - Fix includes for error injection.
  - Other bug fixes and code improvements.

Links:
- kernel: ce875e1f82
- SAM: 4ca8b315e0
2020-08-23 22:23:54 +02:00
Maximilian Luz c71d6e54d6
Update Arch LTS PKGBUILD hash sums 2020-08-18 07:49:50 +02:00
Maximilian Luz 03016e13d8
Fix patch names in Fedora spec file 2020-08-18 06:26:04 +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 950c347fca
Update Fedora patches commit reference 2020-08-18 06:10:05 +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 5507e69098
Update v4.19 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: 2926c01232
- SAM: 08bbb7272a
2020-08-18 06:01:34 +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 804dbd6e09
Update Fedora kernels to 5.7.15 2020-08-12 12:33:24 +02:00
Maximilian Luz 71a2661474
Update Arch LTS kernel to 4.19.139 2020-08-12 12:31:21 +02:00
Maximilian Luz c45e120249
Explicitly set ACPI_I2C_OPREGION=y for Debian
The Debian LTS kernel does not have CONFIG_ACPI_I2C_OPREGION set. This
is likely due to its dependency on CONFIG_I2C=y. Thus explicitly set
those two options.
2020-08-12 12:26:08 +02:00
Maximilian Luz 186f2b8031
Update Fedora kernels to 5.7.12 2020-08-03 18:45:00 +02:00
Maximilian Luz 7398964aac
Update Arch kernel to 5.7.12 2020-08-03 18:42:24 +02:00
Maximilian Luz ecdc06aefb
Update Arch LTS kernel to 4.19.136 2020-08-03 18:41:34 +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 6787e5ada5
Update v4.19 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: 307c8337b9
- SAM: b9fe8f28b7
2020-08-03 18:18:45 +02:00
Maximilian Luz b15d5c33e6
Update Fedora kernels to 5.7.11 2020-07-30 21:04:16 +02:00
Maximilian Luz ed14e6c7fd
Update Arch kernel to 5.7.11 2020-07-30 20:58:31 +02:00
Maximilian Luz 690d56dc6b
Update Arch LTS kernel to 4.19.135 2020-07-30 20:55:40 +02:00
Maximilian Luz 87e70f5f90
Update Fedora spec file to new patches 2020-07-30 20:47:29 +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 0ccce0b332
Update v4.19 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: c03772c10e
- SAM: 89b8232d49
2020-07-30 20:32:52 +02:00
Dorian Stoll dd9614e2cf
Update fedora to 5.7.10
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-07-24 11:33:20 +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 b7809a2aae
Update Arch LTS kernel to 4.19.134 2020-07-22 22:48:28 +02:00
Maximilian Luz 3458d3e1cb
Add Ubuntu/Debian patches required for ashmem 2020-07-22 22:41:07 +02:00
Maximilian Luz d85e712a91
Update Fedora kernels to 5.7.9 2020-07-21 15:48:44 +02:00