Commit graph

214 commits

Author SHA1 Message Date
Maximilian Luz de9f918138
Update v5.10 patches
Changes:
 - General:
   - Update patches to latest minor version, drop redundant/integrated
     patches

 - Cameras:
   - Add user controls to flip image
   - Cleanup

Links:
 - kernel: ba33f9c529
2021-01-08 00:15:52 +01:00
Maximilian Luz 386375860a
Update v5.4 patches
Changes:
 - Update patches to latest minor version, drop redundant/integrated
   patches

Links:
 - kernel: 0e1eb9aa0a
2021-01-08 00:14:42 +01:00
Maximilian Luz 3e9fe9ff06
Update v4.19 patches
Changes:
 - Update patches to latest minor version, drop redundant/integrated
   patches

Links:
 - kernel: ec127183ca
2021-01-08 00:12:44 +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 b3b5d0f94e
Update v5.9 patches
Changes:
 - SAM:
   - Add support for Surface Laptop Go

Links:
 - SAM: c6dd4e77bb
 - kernel: 6c8bb51c59
2020-12-27 00:20:12 +01:00
Maximilian Luz 53b91feb88
Update v5.4 patches
Changes:
 - SAM:
   - Add support for Surface Laptop Go

Links:
 - SAM: c6dd4e77bb
 - kernel: d684c2cd17
2020-12-27 00:20:12 +01:00
Maximilian Luz 825bb867fd
Update v4.19 patches
Changes:
 - SAM:
   - Add support for Surface Laptop Go

Links:
 - SAM: c6dd4e77bb
 - kernel: ec127183ca
2020-12-27 00:20:12 +01:00
Maximilian Luz c7010ff4a9
Add patches for v5.10
Add initial patches for v5.10

Links:
 - SAM: aaad476104
 - hotplug: fcc8c8740b
 - gpe: a4c2e07a4a
 - ipts: 0a4a44c2a9
 - cameras: 35305e7c5f
 - kernel: 489ca4dccb
2020-12-16 17:00:17 +01:00
Maximilian Luz 15d5485832
Update v5.9 patches
Changes:
 - Move surface_hotplug driver to own repository.

 - SAM:
   - Clean up code, update documentation

Links:
 - SAM: aaad476104
 - hotplug: fcc8c8740b
 - kernel: 447eea0052
2020-12-16 16:59:00 +01:00
Maximilian Luz 9c6d2f704d
Update v5.4 patches
Changes:
 - Move surface_hotplug driver to own repository.

 - SAM:
   - Clean up code, update documentation

Links:
 - SAM: aaad476104
 - hotplug: fcc8c8740b
 - kernel: 734db2d782
2020-12-16 16:58:02 +01:00
Maximilian Luz bebac23f28
Update v4.19 patches
Changes:
 - Move surface_hotplug driver to own repository.

 - SAM:
   - Clean up code, update documentation

Links:
 - SAM: aaad476104
 - hotplug: fcc8c8740b
 - kernel: ff637e54fd
2020-12-16 16:54:18 +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 2547ebd6af
Update v5.4 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.4.81)

Links:
 - SAM: 61b9bb859c
 - kernel: 40d9b6d1ac
2020-12-06 01:21:30 +01:00
Maximilian Luz abc6a3cac6
Update v4.19 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 v4.19.161)

Links:
 - SAM: 61b9bb859c
 - kernel: 43f1cd62e4
2020-12-06 01:17:20 +01:00
Maximilian Luz 3d9c1c7351
Fix v5.9 patches: Remove call to undefined function 2020-11-28 04:05:55 +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 d4de6afdc0
Update v5.4 patches
Changes:
 - SAM:
   - Clean up code

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

Links:
 - SAM: b97b5d8f9e
 - kernel: 5b70fe65fa
2020-11-28 03:44:40 +01:00
Maximilian Luz 4703879435
Update v4.19 patches
Changes:
 - SAM:
   - Clean up code

 - Misc:
   - Revert erroneous efivarfs change in v4.19.160

Links:
 - SAM: b97b5d8f9e
 - kernel: b2de1a748f
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
Maximilian Luz 166b5c7d73
Update v5.4 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: f7878f5b34
2020-11-24 16:44:51 +01:00
Maximilian Luz 983acf90a2
Update v4.19 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: e82acdff70
2020-11-24 16:43:15 +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 c6afddc621
Update v5.8 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: 71cb82a8d5
2020-11-13 22:33:31 +01:00
Maximilian Luz 89fc3c6ddc
Update v5.4 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: 8b0a9c0caf
2020-11-13 22:32:11 +01:00
Maximilian Luz 2f40b23619
Update v4.19 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: 85a3ed86b5
2020-11-13 22:31:51 +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 5ea7ed7fea
Update v5.8 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: f4b9572531
2020-11-09 21:59:23 +01:00
Maximilian Luz 32986cf19a
Update v5.4 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: a1bd6046ac
2020-11-09 21:58:18 +01:00
Maximilian Luz 7f370a054c
Update v4.19 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: 5ae90020d0
2020-11-09 21:53:25 +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 e420429a23
Update v5.8 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: fb58dd7a01

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:13:36 +01:00
Maximilian Luz dd8e4071c8
Update v5.4 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: c0a2b69e71

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 02:12:31 +01:00
Maximilian Luz 4383b106db
Update v4.19 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: 69ddd7cbb4

[1] 4138dabe85
[2] https://github.com/linux-surface/surface-aggregator-module/wiki/Discrete-GPU
2020-11-04 01:57:22 +01:00
Maximilian Luz ea2ecf7a1d
Add patches for v5.9
Links:
- SAM: af4bb01042
- IPTS: 0a4a44c2a9
- kernel: d4c72c439f
2020-10-22 18:30:04 +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 bc7af3a34d
Update v5.4 patches
Changes:
 - SAM:
   - Update DTX driver state after resume.
   - Add DTX Documentation, misc. fixes, and cleanup.

Links:
- SAM: af4bb01042
- kernel: 857c9b5da9
2020-10-22 18:23:30 +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 846c7c51a0
fixup! Update v4.19 patches 2020-10-16 20:48:34 +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 d0b1e651ba
Update v5.4 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: 2bf85a4170
2020-10-16 19:35:39 +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 d08fb09ec0
Fix broken include paths 2020-10-08 23:37:47 +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 fb4d296f40
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: 95c876cc05
2020-10-08 22:33:18 +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 80f6acecc9
hotfix: Fix SPDX license identifier for Surface Aggregator 2020-10-01 19:16:52 +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 b56f50e330
Update v5.4 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: 674e306816
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 62c11293cf
Fix patches for v5.4
Include missing kernel commit.
2020-09-20 01:00:16 +02:00