Commit graph

510 commits

Author SHA1 Message Date
Maximilian Luz 2e96060ff1
Update v5.14 patches
Changes
 - More fixes for suspend behavior on the SL4 AMD version. This should
   improve power consumption during suspend and address spurious
   wakeups.

   For details refer to the following pull requsts:
    - https://github.com/linux-surface/kernel/pull/106
    - https://github.com/linux-surface/kernel/pull/107

 - Rebase onto v5.14.7
2021-10-03 02:13:51 +02:00
Maximilian Luz ce233f0869
fixup! Update Fedora kernels to 5.14.7
Fix location for copying syscall scripts.
2021-09-27 18:45:51 +02:00
Maximilian Luz 65e4b98199
fixup! Update Fedora kernels to 5.14.7
Fix patch commit for Fedora kernels.
2021-09-27 17:08:05 +02:00
Maximilian Luz a13a8936c8
Update Fedora kernels to 5.14.7 2021-09-27 17:01:58 +02:00
Maximilian Luz 4c11f75616
Update Arch kernel to 5.14.8 2021-09-27 17:00:05 +02:00
Maximilian Luz a8d36415a6
Update v5.14 patches
Changes:
 - Rebase onto v5.14.8

Links:
 - kernel: e48e5b7abb
2021-09-27 16:59:21 +02:00
Maximilian Luz 3cd7ea5314
Update Arch kernel to 5.14.6 2021-09-20 15:38:34 +02:00
Maximilian Luz 9dc59ad56e
Update v5.14 patches
Changes:
 - Fixes for AMD pinctrl wakeup (https://github.com/linux-surface/kernel/pull/104).
   This should allow the AMD versions of the SL3 and SL4 to wake up by
   opening the lid.
 - Rebase onto v5.14.6

Links:
 - kernel: e48e5b7abb
2021-09-18 16:34:45 +02:00
Maximilian Luz 78834bfc26
Update Arch kernel to 5.14.5 2021-09-16 21:57:50 +02:00
Maximilian Luz f089b850fe
Update Arch LTS kernel to v4.19.206 2021-09-16 21:55:10 +02:00
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 270d404053
Bump Arch kernel release (again) 2021-09-03 17:40:16 +02:00
Maximilian Luz e95c212996
pkg/arch: Use y for CONFIG_ASHMEM
The CONFIG_ASHMEM option cannot be set to `m` (as wrongly described in
the Arch Wiki). Instead set it to `y` as done in the `-zen` kernel.
2021-09-03 17:37:43 +02:00
Maximilian Luz d937b05dd8
Bump Arch kernel release 2021-09-03 15:31:27 +02:00
Maximilian Luz 1cb872fc6f
pkg/arch: Fix typo in config 2021-09-03 15:28:18 +02:00
Maximilian Luz a4077182ed
Update Fedora kernels to 5.13.13 2021-09-03 00:14:47 +02:00
Maximilian Luz ae2ad24917
Update Arch kernel to 5.13.13 2021-09-03 00:13:37 +02:00
Maximilian Luz f69eefacf7
Update v5.13 patches
Changes:
 - Rebase onto v5.13.13

Links:
 - kernel: e6d532e204
2021-09-03 00:07:13 +02:00
Maximilian Luz b6c16eb4e5
pkg/arch: Enable ASHMEM/BINDERFS support 2021-09-02 22:38:37 +02:00
Maximilian Luz b9ab3d3c25
Update Fedora kernels to 5.13.12 2021-08-25 00:09:46 +02:00
Maximilian Luz d0faa10875
Update Arch kernel to 5.13.12 2021-08-25 00:07:18 +02:00
Maximilian Luz 052b849dcf
Update v5.13 patches
Changes:
 - Rebase onto v5.13.12

Links:
 - kernel: e6d532e204
2021-08-25 00:02:30 +02:00
Maximilian Luz 265bfba993
Update Fedora kernels to 5.13.10 2021-08-15 01:51:56 +02:00
Maximilian Luz a90312f5b6
Update Arch kernel to 5.13.10 2021-08-15 01:50:46 +02:00
Maximilian Luz 21b05a08a8
Update Arch LTS kernel to v4.19.203 2021-08-15 01:49:28 +02:00
Maximilian Luz c6f062cfc7
Update v5.13 patches
Changes:
 - Rebase onto v5.13.10
 - Update AMD PMC patches to latest version

Links:
 - kernel: e6d532e204
 - amd-pmc: https://patchwork.kernel.org/project/platform-driver-x86/list/?series=508431&state=%2A&archive=both
2021-08-15 01:46:22 +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 4130746c31
pkd/debian: Update extra patches for LTS kernel 2021-08-01 16:59:58 +02:00
Maximilian Luz eada9d6daa
Update Fedora kernels to 5.13.7 2021-08-01 16:10:58 +02:00
Maximilian Luz 5e608c14e6
Update Arch kernel to 5.13.7 2021-08-01 16:09:31 +02:00
Maximilian Luz 2b3fba11b1
Update Arch LTS kernel to 4.19.200 2021-08-01 16:07:51 +02:00
Maximilian Luz 9daecb5d44
Update v5.13 patches
Changes:
 - Rebase onto v5.13.7

Links:
 - kernel: e6d532e204
2021-08-01 16:01:49 +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 5a1fa49465
pkd/debian: Update binder patches 2021-07-21 04:09:14 +02:00
Maximilian Luz 18a7379aa4
pkg/debian: Drop decompress_unlz4 patch
This patch is now upstream.
2021-07-21 03:07:53 +02:00
Maximilian Luz c7b7180969
Update Fedora kernels to 5.13.4, attempt 3 2021-07-21 03:00:27 +02:00
Maximilian Luz 2f90876dc5
pkg/fedora: Drop AMD s0ix patch for now
This patch doesn't apply cleanly to current Fedora kernels and needs
some manual rebasing. Drop it for now.
2021-07-21 02:56:13 +02:00
Maximilian Luz 09a359fd78
fixup! Update Fedora kernels to 5.13.4 2021-07-21 02:27:21 +02:00
Maximilian Luz 06e8a843e7
fixup! Update Arch kernel to 5.13.4 2021-07-21 02:24:38 +02:00
Maximilian Luz 6d4f6d5cf0
Update Fedora kernels to 5.13.4 2021-07-21 01:35:52 +02:00
Maximilian Luz 64187798fc
Update Arch kernel to 5.13.4 2021-07-21 01:33:56 +02:00
Maximilian Luz 1e1728b598
Update Arch LTS kernel to 4.19.198 2021-07-21 01:28:46 +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 ecb8fa798c
pkg: ubuntu: Clear system revocation list 2021-07-02 16:48:53 +02:00
Maximilian Luz a5e70c42ff
Update Fedora kernels to 5.12.14 2021-07-02 15:17:52 +02:00
Maximilian Luz 83f70d59ef
Update Arch kernel to 5.12.14 2021-07-02 15:15:13 +02:00
Maximilian Luz e214e640bf
Update Arch LTS kernel to 4.19.196 2021-07-02 15:13:46 +02:00
Maximilian Luz 1303a9d451
Update v5.12 patches
Changes:
 - Rebase onto v5.12.14
 - Add "PCI: PM: Do not read power state in pci_enable_device_flags()"
   which has been reverted upstream back.

Links:
 - kernel: 81416742c5
2021-07-02 14:54:22 +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 110434c392
Update Fedora kernels to 5.12.13 2021-06-29 16:00:20 +02:00
Maximilian Luz 182c66a053
Update Arch kernel to 5.12.13 2021-06-29 15:58:28 +02:00
Maximilian Luz 76317fe4fd
pkg: fedora: Drop support for Fedora 32
Fedora 32 has reached its end-of-life for almost a month now and we
haven't released any new kernels for it since. So drop F32 support.
2021-06-19 22:13:05 +02:00
Maximilian Luz bb99021969
Update Fedora 33 and 34 kernels to 5.12.12 2021-06-19 22:09:19 +02:00
Maximilian Luz 20534ee6ff
Update Arch kernel to 5.12.12 2021-06-19 22:07:39 +02:00
Maximilian Luz dc206cafd2
Update Arch LTS kernel to 4.19.195 2021-06-19 22:05:45 +02:00
Maximilian Luz 7deb5ff4d2
Update v5.12 patches
Changes:
 - Backport/add fixes for s0ix on AMD devices
 - Rebase onto v5.12.12

Links:
 - kernel: 81416742c5
2021-06-19 21:58:38 +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 4bdebe672c
pkg/fedora: Fix patch file names 2021-06-13 23:19:50 +02:00
Maximilian Luz 671f271bac
Update Fedora 33 and 34 kernels to 5.12.10 2021-06-13 23:12:42 +02:00
Maximilian Luz 4ab89585da
Update Arch kernel to 5.12.10 2021-06-13 23:11:25 +02:00
Maximilian Luz 9a938e462a
Update Arch LTS kernel to 4.19.194 2021-06-13 23:09:40 +02:00
Maximilian Luz 1f958748b0
Update v5.12 patches
Changes:
 - SAM:
   - Fix bug in Surface HID get-report function
   - Fix other small issues

Links:
 - kernel: 8e45d1d062
 - SAM: 0686c05d4b
2021-06-13 23:00:45 +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 5a23881656
pkg/ubuntu: Disable atomisp
While the atomisp driver might be used for Surface 3 and Surface Pro 3
cameras in the future, it currently resides in staging and doesn't seem
to work (at least according to its TODO file). It furthermore causes
a notice to be printed, warning about the use of trace_printk(). So
disable it for now to shut up that warning.
2021-06-13 21:28:53 +02:00
Maximilian Luz 63dc33713f
pkg/ubuntu: Fix formatting in distro-config file 2021-06-13 21:28:26 +02:00
Maximilian Luz fcfc61b243
Update Arch kernel to 5.12.9 2021-06-03 20:15:03 +02:00
Maximilian Luz b09bac3650
Update Arch LTS kernel to 4.19.193 2021-06-03 20:13:24 +02:00
Maximilian Luz 2ed5d39129
Update v5.12 patches
Changes:
 - SAM:
   - Fix bug when disabling events.
   - Add support for forwarding events to user-space via debug device.

 - Work around bug preventing IRQ setup and subsequently SAM drivers from
   loading on the 13" AMD Surface Laptop 4.

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

Links:
 - SAM: 6b6edef7c7
 - kernel: 41c3cb4084
2021-06-03 20:07:06 +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 fe6a54695b
Disable more stuff for Ubuntu/Debian
Currently, the kernel emits a notice at boot, warning about the usage of
trace_printk(). Disabling samples in efaa3edaaa ("Do not build samples
for Debian/Ubuntu") apparently wasn't enough to get rid of that. So
disable more sample and testing stuff that might call this function.
2021-06-01 00:29:38 +02:00
Maximilian Luz c7b48e9673
fixup! Update v5.12 patches 2021-05-29 16:11:27 +02:00
Maximilian Luz 47908952af
Update Fedora patch commit 2021-05-29 16:10:35 +02:00
Maximilian Luz 7db7d2d17c
Update Fedora 33 and 34 kernels to 5.12.8 2021-05-29 15:37:22 +02:00
Maximilian Luz 67b7d0831a
Update Arch kernel to 5.12.8 2021-05-29 15:36:04 +02:00
Maximilian Luz 22236b4460
Update Arch LTS kernel to 4.19.192 2021-05-29 15:32:00 +02:00
Maximilian Luz dcacd5b5ab
Update v5.12 patches
Changes:
 - Replace up AMD SL4 IRQ workaround with something cleaner.

Links:
 - kernel: 42debda97d
2021-05-29 15:28:01 +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 efaa3edaaa
Do not build samples for Debian/Ubuntu 2021-05-27 16:53:59 +02:00
Maximilian Luz ce4ae9ea58
Update Fedora 33 and 34 kernels to 5.12.6 2021-05-24 17:35:10 +02:00
Maximilian Luz 6fe241d121
Bump Fedora 32 kernel to v5.11.22-2 2021-05-24 17:34:01 +02:00
Maximilian Luz ef03b65497
Update Arch kernel to 5.12.6 2021-05-24 17:32:36 +02:00
Maximilian Luz e8395a0256
Update v5.12 patches
Changes:
 - SAM:
   - Add support for the 13" Intel version of the Surface Laptop 4
   - Small code cleanup

Links:
 - kernel: 150c4475de
 - SAM: e24239cf87
2021-05-24 17:28:12 +02:00
Dorian Stoll 2a8c0937fa
Update Fedora 32 to 5.11.22
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-05-21 18:01:27 +02:00
Dorian Stoll 8b66b4651b
Update Fedora 34 and 33 to 5.12
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-05-21 18:00:25 +02:00
Maximilian Luz d7d7498ce1
Update Arch kernel to 5.12.5 2021-05-21 17:26:43 +02:00
Maximilian Luz 5c2a36bb3c
Update v5.12 patches
Changes:
 - SAM:
   - Small code fixes

 - Cameras:
   - Update to latest camera patchset (v4)
   - Fix purple hue on certain devices

Links:
 - kernel: 3674b9e802
 - SAM: ea257c1360
2021-05-21 17:18:44 +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
Dorian Stoll 9c3e761bc4
Update to 5.12.4 / 5.11.21, second attempt
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-05-19 08:42:19 +02:00
Dorian Stoll 0436518413
Update to 5.12.4 / 5.11.21
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2021-05-19 07:49:52 +02:00
Maximilian Luz 8e30cdc0cb
Bump Arch pkgrel
I forgot to bump it earlier. Bump it to 3 so that tags and pkgre are
sync again.
2021-05-12 11:54:17 +02:00
Maximilian Luz 2ece028ddd
Use actual 5.12 config for Arch Linux 5.12 kernels 2021-05-12 03:01:52 +02:00
Maximilian Luz c4a8b4fcbc
Update Fedora kernels to 5.11.19 2021-05-11 20:10:59 +02:00
Maximilian Luz 0e5b795c84
Update Arch kernel to 5.12.2 2021-05-11 20:08:10 +02:00
Maximilian Luz 6548de8dd1
Update Arch LTS kernel to 4.19.190 2021-05-11 20:06:08 +02:00
Maximilian Luz 45ccf805bd
Update v5.11 patches
Changes:
 - SAM:
   - Add support for Surface Laptop 4
     - Fix legacy PIC initialization issue
     - Add missing device IDs for GPIO controller and UARTs
   - Small code fixes

Links:
 - kernel: 73f862e87a
 - SAM: 0b52307159
2021-05-11 19:52:46 +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 a726dc62fb
Update Fedora kernels to 5.11.18 2021-05-05 16:32:46 +02:00
Maximilian Luz 85ea54034b
Bump Arch kernel release 2021-05-05 16:29:12 +02:00
Maximilian Luz 126159f747
Update Arch LTS kernel to 4.19.189 2021-05-05 16:27:22 +02:00
Maximilian Luz 0354357d1b
Update v5.11 patches
Changes:
 - SAM:
   - Fix bug in battery event handling, causing events to be dropped and
     logged as unhandled.

Links:
 - kernel: 12dfb26206
 - SAM: 77eadd698c
2021-05-05 03:32:41 +02:00