Commit graph

243 commits

Author SHA1 Message Date
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
Maximilian Luz b0b40551ce
Fix patches for v4.19
Include missing kernel commit.
2020-09-20 01:00:04 +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 f3e52acc8b
Update v5.4 patches
Changes:
- SAM:
  - Fix a memory allocation bug causing crashes through memory corruption and
    invalid access.

Links:
- SAM: 9f9a5fcfd2
- kernel: 3cb6d4f2e9
2020-09-19 23:20:29 +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 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 6a3e490796
Update v5.4 patches
Changes:
- Fix a bug preventing the Surface Serial Hub driver from probing
  successfully under certain conditions.

Links:
- SAM: f973e273e1
- kernel: ac0c9d22ca
2020-09-18 03:34:23 +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 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 536da55ec6
Update v5.4 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: 70d365e78c
2020-09-17 23:25:44 +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 93f386b6ea
Update v5.4 patches
Changes:
- SAM:
  - Internal restructuring, cleanup, and documentation.

Links:
- SAM: 6de853a5cd
- kernel: c6478f16d3
2020-09-12 16:11:46 +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 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 ac699ba714
Update v5.4 patches
Changes:
- SAM:
  - Cleanup and restructuring.

- GPE:
  - Cleanup and restructuring.

Links:
- SAM: 84827e830e
- GPE: 829bacbe19
- kernel: 7245c5ab77
2020-09-10 22:26:25 +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 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 6836b92298
Update v5.4 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: ee5d2c7ad3
2020-09-08 16:40:21 +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
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 441a362da9
Update v5.7 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: d9aab7bed9
2020-08-28 17:12:20 +02:00
Maximilian Luz 8327001638
Update v5.4 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: 9ea314c74e
2020-08-28 17:09:20 +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 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 aa20be62d6
Update v5.7 patches
Changes:
  SAM:
  - Fix false wanring when plugging in AC adapter.
  - Fix includes for error injection.
  - Other bug fixes and code improvements.

Links:
- kernel: f8cec34509
- SAM: 4ca8b315e0
2020-08-23 22:25:29 +02:00
Maximilian Luz 6b302ac1c1
Update v5.4 patches
Changes:
  SAM:
  - Fix false wanring when plugging in AC adapter.
  - Fix includes for error injection.
  - Other bug fixes and code improvements.

Links:
- kernel: aba6935b86
- SAM: 4ca8b315e0
2020-08-23 22:24:26 +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 9605e98c8f
fixup! Update v4.19 patches 2020-08-18 07:46:06 +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 4b1be0cff3
Update v5.7 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: 16f3286d32
- SAM: 08bbb7272a
2020-08-18 06:06:58 +02:00
Maximilian Luz df00235d1d
Update v5.4 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: 713c0f7364
- SAM: 08bbb7272a
2020-08-18 06:04:26 +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
Dorian Stoll 2c51b4e4ff
Update the patches for 5.8
For 5.8, we are going to make iptsd the default, which mostly supports
4.19 level multitouch, instead of just singletouch + stylus.

This replaces the old ipts driver with the new UAPI version that is
required for iptsd.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-08-06 11:30:47 +02:00
Maximilian Luz bd7d22c24b
Add patches for v5.8
Patches have been obtained by rebasing the patches in commit

    23d3bc55ce

onto v5.8.
2020-08-03 21:02:06 +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 8e8811cd28
Update v5.4 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: 9d7730b64c
- SAM: b9fe8f28b7
2020-08-03 18:23:21 +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 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 00e270fc8a
Update v5.4 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: 91f5a27a55
- SAM: 89b8232d49
2020-07-30 20:38:28 +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
Tsuchiya Yuto 1a33e83e63 Update v4.19 patches; replace surface3-spi with surface3-touchscreen-dma-fix
Changes:
  surface3-spi:
    - Dropped this patch in favor of the surface3-touchscreen-dma-fix
      patch (which is taken from the upstream DMA fix). For details, take
      a look at the commit history of kernel repo linked below.
  surface3-touchscreen-dma-fix:
    - Added this patch as a successor to the dropped surface3-spi patch.
      For details, take a look at the commit history of kernel repo linked
      below.
      Note: currently, this patch is available upstream only on v5.8,
      v5.7, and v5.4 and not backported to any older LTS kernels. So,
      this patch was backported from upstream commit ourselves.

Links:
- kernel: 94678ca738

Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com>
2020-07-24 20:52:12 +09:00
Tsuchiya Yuto da2d9c9722 Update v5.4 patches; drop surface3-spi
Changes:
  surface3-spi:
    - Dropped this patch in favor of the upstream DMA fix. For details,
      take a look at the commit history of kernel repo linked below.

Links:
- kernel: f455d27378

Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com>
2020-07-24 20:52:12 +09:00
Tsuchiya Yuto ceae72ec44 Update v5.7 patches; drop surface3-spi
Changes:
  surface3-spi:
    - Dropped this patch in favor of the upstream DMA fix. For details,
      take a look at the commit history of kernel repo linked below.

Links:
- kernel: b6d18e159d

Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com>
2020-07-24 20:52:12 +09:00
Maximilian Luz 36bf7dd80e
Update v5.7 patches
Changes:
  SAM:
    - Bugfix: Fix HID input for Surface Laptop 3. The driver now separates
      devices by IID, using the same behavior as on the Surface Book 3.
    - Bugfix: Minor fixes in SSH driver message system.

Links:
- kernel: c9354ce40c
- SAM: 99b0243136
2020-07-15 22:26:48 +02:00
Maximilian Luz 14072c78f4
Update v5.4 patches
Changes:
  SAM:
    - Bugfix: Fix HID input for Surface Laptop 3. The driver now separates
      devices by IID, using the same behavior as on the Surface Book 3.
    - Bugfix: Minor fixes in SSH driver message system.

Links:
- kernel: a7b8ca847f
- SAM: 99b0243136
2020-07-15 22:26:02 +02:00
Maximilian Luz de9de98b9e
Update v4.19 patches
Changes:
  SAM:
    - Bugfix: Fix HID input for Surface Laptop 3. The driver now separates
      devices by IID, using the same behavior as on the Surface Book 3.
    - Bugfix: Minor fixes in SSH driver message system.

Links:
- kernel: c5f2f3b76d
- SAM: 99b0243136
2020-07-15 22:16:46 +02:00
Maximilian Luz b70e5fb1c1
Update v5.7 patches
Changes:
  SAM:
    - Add Surface Book 3 GPE LID fix.
    - Add support for Surface Book 3 performance modes
    - Add preliminary support for Surface Book 3 HID devices, i.e.
      keyboard and touchpad. N.b.: There are still known issues
      regarding device re-initialization when detaching/re-attaching.
    - Add preliminary support for Surface Book 3 battery/AC.
    - Bugfix: Initialize power-target in HPS driver on load.
    - Bugfix: Fix out-of-space handling for SSH requests.

Links:
- kernel: a7fa12a06d
- SAM: 27e54010b4
2020-07-13 16:10:56 +02:00
Maximilian Luz 7a41e166e1
Update v5.4 patches
Changes:
  SAM:
    - Add Surface Book 3 GPE LID fix.
    - Add support for Surface Book 3 performance modes
    - Add preliminary support for Surface Book 3 HID devices, i.e.
      keyboard and touchpad. N.b.: There are still known issues
      regarding device re-initialization when detaching/re-attaching.
    - Add preliminary support for Surface Book 3 battery/AC.
    - Bugfix: Initialize power-target in HPS driver on load.
    - Bugfix: Fix out-of-space handling for SSH requests.

Links:
- kernel: 23d72cf093
- SAM: 27e54010b4
2020-07-13 16:07:25 +02:00
Maximilian Luz f866ce0e3f
Update v4.19 patches
Changes:
  SAM:
    - Add Surface Book 3 GPE LID fix.
    - Add support for Surface Book 3 performance modes
    - Add preliminary support for Surface Book 3 HID devices, i.e.
      keyboard and touchpad. N.b.: There are still known issues
      regarding device re-initialization when detaching/re-attaching.
    - Add preliminary support for Surface Book 3 battery/AC.
    - Bugfix: Initialize power-target in HPS driver on load.
    - Bugfix: Fix out-of-space handling for SSH requests.

Links:
- kernel: 3d8315773f
- SAM: 27e54010b4
2020-07-13 16:00:42 +02:00
Maximilian Luz 7e2a6777ce
fixup! Update v4.19 patches 2020-07-03 00:10:02 +02:00
Maximilian Luz 5202f18245
Update v4.19 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: ab0ac25c9e
  SAM: 6715faf265
2020-07-03 00:00:34 +02:00
Maximilian Luz 39ac8bb15e
Update v5.4 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: c3255a6336
  SAM: 6715faf265
2020-07-02 23:19:52 +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
Blaž Hrastnik 291e86a8f7 Drop the LTE patch, LTE works on stable kernel for Go/Go2/SP2017. 2020-06-11 10:49:19 +09:00
Dorian Stoll d719da5453 Add patches for 5.7
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-06-01 12:06:47 +02:00
Maximilian Luz 3d3c2d4bc0
Update v5.6 patches 2020-05-17 03:36:13 +02:00
Maximilian Luz 09ab0b74bd
Update patches for v5.4 2020-05-17 00:20:04 +02:00
Tsuchiya Yuto (kitakar5525) c7caeec62c v4.19: update patches
Update patches via linux-surface/kernel@fccd0a489e.

Updated patches:
    pick ea097eb Add secureboot pre-signing to the kernel
    pick b50d617 surface3-power
    pick 71ab90b surface3-spi
    pick f109cbf surface3-oemb
    pick c924fb6 surface-buttons
    f 1a44682d3bea Input: soc_button_array - fix Wdiscarded-qualifiers for kernels below 4.20
    pick 91a78cc surface-sam
    pick 263250b suspend
    pick 5ae0ab6 ipts
    f a5db77a8ad47 ipts: Simplify feedback implementation
    f 22c959edeaf2 ipts: Remove no_feedback quirk
    f 21a71ef429b4 ipts: Remove quirk implementation
    f f28c0f7b64aa ipts: companion: improve comment for hardware id on SP4
    pick df219c0 surface-lte
    pick 3484574 ioremap_uc
    pick 4f727ac wifi
    f f86788d75e54 Revert "BACKPORT: wireless/mwifiex: Fix S0ix / suspend"
    f 169bb34570af mwifiex: pcie: Use dev_get_drvdata
    f 6e9eefbca821 mwifiex_pcie: remove()/probe() card on suspend()/resume()
    f 3619cec06fdc mwifiex_pcie: disable parent bridge_d3
    f fda9d444d14d mwifiex: sta_cmd: do not enable auto_ds by default
    f 74ab58241354 mwifiex: sta_cmd: add comment for not enabling ps_mode by default

Note: almost all part of the ioremap_uc patch is now upstream. So, the
remaining unupstreamed patch is now only linux-surface/kernel@de067f5c12
("docs: driver-model: add devm_ioremap_uc")

Signed-off-by: Tsuchiya Yuto (kitakar5525) <kitakar@gmail.com>
2020-05-16 18:11:38 +09:00
Dorian Stoll 1b80351c00
Update patches
Rebased to 5.5.16 and 5.6.3 because of an added MEI device ID

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-04-09 16:21:08 +02:00
Maximilian Luz a13da771f0
Update patches 2020-04-03 00:23:37 +02:00
Dorian Stoll c21dcacecc
Add patches for 5.6
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-03-30 10:42:19 +02:00
Maximilian Luz 239f75d22d
Update patches 2020-03-17 02:16:47 +01:00
Maximilian Luz ab2c76bfe8
Update patches
5.5:
    - Rebase onto 5.5.4
    - Update IPTS module (filter singletouch input for gen7)

5.4:
    - Rebase onto 5.4.20

4.19:
    - Rebase onto 4.19.104
2020-02-17 15:40:12 +01:00
Maximilian Luz 2fb7e9ae91
Add patches for v5.5 2020-01-28 23:40:18 +01:00
Maximilian Luz dac297bf1f
Update v5.4 patches 2020-01-28 23:12:08 +01:00
Maximilian Luz 0d20b9d65a
Update v4.19 patches 2020-01-28 23:11:53 +01:00
Maximilian Luz b931b147da
Update patches from kernel repo
- surface-acpi:
  - integrate dGPU hot-plug system
  - fix MODULE_ALIAS definitions for auto-loading SID battery and ac
    drivers

- disable DMA for surface3-spi touchscreen driver

- new wifi suspend patch (only 5.3/5.4)

- ipts:
  - do not automatically switch sensor modes (only 5.3)
2019-12-28 00:54:14 +01:00
Maximilian Luz 9e132617b8
Add preliminary v5.4 patches 2019-12-10 01:26:31 +01:00
Maximilian Luz 969a0197f6
surface-acpi: SID support for AC/Battery and HID
Add support for Surface Laptop 3 keyboard as well as Surface Laptop 3
and Surface Pro 7 Battery/AC.
2019-12-06 02:43:19 +01:00
Maximilian Luz b75f5ef30e
Update patches via kernel repo
- Improve HID precision touchpad detection
- IPTS cleanup
- surface-acpi restructuring and fixes
2019-11-10 23:40:16 +01:00
Maximilian Luz 2d34af8e14
Add fix for intel_lpss on Pro 7 and Laptop 3
On the Pro 7 and Laptop 3, intel_lpss_pci fails to probe and thus keeps
the system from booting. Add a patch to fix this.

Note: The added patch is on it's way upstream.
See: https://lkml.org/lkml/2019/10/16/1230
2019-11-03 01:04:48 +01:00