Commit graph

22 commits

Author SHA1 Message Date
Maximilian Luz 62c11293cf
Fix patches for v5.4
Include missing kernel commit.
2020-09-20 01:00:16 +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 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 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 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 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 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 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 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 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 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 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
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
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 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 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
Blaž Hrastnik 291e86a8f7 Drop the LTE patch, LTE works on stable kernel for Go/Go2/SP2017. 2020-06-11 10:49:19 +09:00
Maximilian Luz 09ab0b74bd
Update patches for v5.4 2020-05-17 00:20:04 +02: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 dac297bf1f
Update v5.4 patches 2020-01-28 23:12:08 +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