Commit graph

98 commits

Author SHA1 Message Date
Maximilian Luz 45540b9fab
Update v4.19 patches
Changes:
 - Rebase onto v4.19.206

Links:
 - kernel: 9c073cfc7c
2021-09-15 15:51:59 +02:00
Maximilian Luz b1ed28890b
Update v4.19 patches
Changes:
 - Rebase onto v4.19.203

Links:
 - kernel: 9c073cfc7c
2021-08-15 01:46:22 +02:00
Maximilian Luz dfd79253e5
Update v4.19 patches
Changes:
 - Rebase onto v4.19.200

Links:
 - kernel: 9c073cfc7c
2021-08-01 16:00:10 +02:00
Maximilian Luz 13509f9710
Update v4.19 patches
Changes:
 - Rebase onto v4.19.198

Links:
 - kernel: 9c073cfc7c
2021-07-21 01:28:46 +02:00
Maximilian Luz 2b50d95510
Update v4.19 patches
Changes:
 - Rebase onto v4.19.196
 - Add "PCI: PM: Do not read power state in pci_enable_device_flags()"
   which has been reverted upstream back.

Links:
 - kernel: 9c073cfc7c
2021-07-02 14:52:42 +02:00
Maximilian Luz f1778312ab
Update v4.19 patches
Changes:
 - Rebase onto 4.19.195

Links:
 - kernel: 9c073cfc7c
2021-06-19 21:55:39 +02:00
Maximilian Luz d2a59c584f
Update v4.19 patches
Changes:
 - SAM:
   - Fix bug in Surface HID get-report function
   - Fix other small issues

Links:
 - kernel: 9c073cfc7c
 - SAM: 0686c05d4b
2021-06-13 22:56:58 +02:00
Maximilian Luz e6b16192a7
Update v4.19 patches
Changes:
 - SAM:
   - Fix bug when disabling events.
   - Add support for forwarding events to user-space via debug device.

 - Add quirk to prevent incorrect battery reporting via the Surface Go
   touchscreen.

Links:
 - SAM: 6b6edef7c7
 - kernel: 1028bcec86
2021-06-03 20:06:30 +02:00
Maximilian Luz 0469cdb617
Update v4.19 patches
Changes:
 - Rebase onto v4.19.192

Links:
 - kernel: a41c513951
2021-05-29 15:26:59 +02:00
Maximilian Luz 63a92365bd
Update v4.19 patches
Changes:
 - SAM:
   - Small code fixes

Links:
 - kernel: a41c513951
 - SAM: ea257c1360
2021-05-21 17:15:34 +02:00
Maximilian Luz 3441cc41b0
Update v4.19 patches
Changes:
 - SAM:
   - Small code fixes

Links:
 - kernel: e0944559a3
 - SAM: 0b52307159
2021-05-11 19:50:28 +02:00
Maximilian Luz 21fb759627
Update v4.19 patches
Changes:
 - SAM:
   - Fix bug in battery event handling, causing events to be dropped and
     logged as unhandled.

Links:
 - kernel: 61f150ad85
 - SAM: 77eadd698c
2021-05-05 03:30:30 +02:00
Maximilian Luz dd6d5cd50f
Update v4.19 patches
Changes:
 - WiFi:
   - Add workaround for deep sleep on buggy hardware
   - Fix manual host-sleep activation
   - Fix DELBA requests
   - Ignore BTCOEX events as they are sometimes buggy (improves WiFi
     speeds)
   - Other small fixes

 - SAM:
   - Code cleanup and small fixes

Links:
 - kernel: 3ef26cf9b4
 - SAM: a33f6762be
2021-04-23 12:10:04 +02:00
Maximilian Luz b2907ec1e8
Bump v4.19 patches
Bump v4.19 patches to v4.19.186. No functional changes.
2021-04-11 00:31:24 +02:00
Maximilian Luz a859c34e49
Update v4.19 patches
Changes:
 - Code cleanup and small fixes

Links:
 - kernel: e394f9b2d2
 - SAM: ff044c7463
2021-04-07 03:20:56 +02:00
Maximilian Luz 1620eedc50
Update v4.19 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: 0d3ce1a00d
2021-03-29 02:46:18 +02:00
Maximilian Luz 4e3978fa9c
Update v4.19 patches
Changes:
 - Update D3cold fix for Surface Book 2 and 3

Links:
 - kernel: 8709678d16
2021-03-19 02:42:25 +01:00
Maximilian Luz 5381530118
Update v4.19 patches
Changes:
 - Update patches to v4.19.181

 - SAM:
   - Small code cleanup

Links:
 - kernel: 7331b74ca0
 - SAM: 53fbf8d1f8
2021-03-19 01:40:21 +01:00
Maximilian Luz e8c31f66dd
Update v4.19 patches
Changes:
 - SAM:
   - Add support for Surface Pro 7+
   - Minor updates and fixes.

 - Add firmware file override for ath10k wifi driver.

Links:
 - kernel: 3a02456c73
 - SAM: a8b786bd6f
2021-03-09 20:41:01 +01:00
Maximilian Luz 6a597d784b
Update v4.19 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

Links:
 - kernel: e9b2f6699c
 - SAM: bee2add45f
 - GPE: 6ecfdb3905
 - Hotplug: 595ed62f24
2021-02-15 21:27:06 +01:00
Maximilian Luz 52ed967d78
Update v4.19 patches
Changes:
 - Various small fixes.

Links:
 - kernel: fb836a45f8
 - SAM: e73516d1d2
 - GPE: 6ecfdb3905
2021-02-04 01:17:13 +01:00
Maximilian Luz 3bf64d40b8
Update v4.19 patches
Changes:
 - No functional changes (rebase onto v4.19.170)

Links:
 - kernel: ec127183ca
2021-01-24 22:52:06 +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 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 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 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 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 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 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 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 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 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 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 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 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 b0b40551ce
Fix patches for v4.19
Include missing kernel commit.
2020-09-20 01:00:04 +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 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 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 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 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 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 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 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 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 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 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