484 Commits

Author SHA1 Message Date
github-actions[bot] e604fc0746 Update APFS driver to v0.3.20-1 2026-04-26 19:29:46 +00:00
github-actions[bot] 70fd34fed9 Update APFS driver to v0.3.19-2 2026-04-25 19:27:41 +00:00
github-actions[bot] 76589a8979 Update apple-bce for kernel v7.0 2026-04-13 20:19:31 +00:00
Aditya Garg bf2e5d141d workflows: switch to 6.18 LTS 2026-04-14 01:42:42 +05:30
Aditya Garg b024139bd5 linux 7 2026-04-14 01:35:52 +05:30
github-actions[bot] 2f3bae064e Fix suspend 2026-04-13 19:05:06 +00:00
github-actions[bot] 24513ab2bb Update apple-bce for kernel v6.19.6 2026-04-13 19:02:40 +00:00
Aditya Garg 003ea89c4c Add branch input option for cloning repositories 2026-04-14 00:30:51 +05:30
github-actions[bot] 27bc357832 Update apple-bce for kernel v6.19.6 2026-04-13 18:57:39 +00:00
Aditya Garg b6f6e05772 Add optional fork input to GitHub Actions workflow 2026-04-14 00:26:00 +05:30
github-actions[bot] 465419daa3 Update APFS driver to v0.3.19-1 2026-04-11 19:12:16 +00:00
Federico Sapuppo da3e8faa7f fix: use iowrite8 for byte-sized MMIO registers in applesmc (#43)
The iomem_write_smc, iomem_read_smc, and iomem_get_smc_key_type
functions used iowrite32 to write to byte-sized registers at
non-aligned addresses (KEY_DATA_LEN at 0x7D, KEY_SMC_ID at 0x7E,
KEY_CMD at 0x7F). On some T2 Macs (confirmed on MacBook Air 8,1),
the 32-bit writes at these consecutive addresses cause the T2 SMC
to receive corrupted data, resulting in SmcKeySizeMismatch (error
0x87) on every write operation.

This made fan control via t2fanrd completely non-functional since
the F0Md (fan manual mode) key could never be written.

Fix by using iowrite8 for these byte-sized registers, matching the
ioread8 already used to read them. The 4-byte KEY_NAME register at
0x78 correctly remains iowrite32.

Tested on MacBook Air 8,1 (T2) with kernel 6.18.13 - fan control
works after this fix.
2026-04-07 15:24:54 +05:30
Aditya Garg 122588cfde Add patch to ensure keyboard backlight is off if SU 2026-04-04 15:03:55 +05:30
Aditya Garg f636d58908 Fix backlight suspend 2026-04-04 15:03:22 +05:30
github-actions[bot] 612fb60f1c Update APFS driver to v0.3.18-3 2026-03-17 16:24:18 +00:00
Piero e26d695d8f fix: update APFS patch to match upstream Makefile variable rename (#42)
The upstream linux-apfs-rw module recently renamed the build variable from CONFIG to APFS_CONFIG. This caused the 8002 patch to fail during the kernel prepare phase. Updated the target lines in the patch to correctly match the new variable name, allowing the out-of-tree instructions to be removed and the driver to build successfully in-tree.
2026-03-14 04:27:42 +05:30
github-actions[bot] 9f8f8e5257 Update APFS driver to v0.3.18-2 2026-03-12 19:25:29 +00:00
Aditya Garg 5051ebba61 6.19.6 2026-03-04 22:11:04 +05:30
github-actions[bot] dccf4fb036 Update apple-bce for kernel v6.19.3 2026-02-26 09:40:54 +00:00
Aditya Garg f7545ad6e6 Fix typo 2026-02-26 15:09:18 +05:30
Aditya Garg 59e6817740 Fix typo 2026-02-26 15:03:16 +05:30
github-actions[bot] ef262a52ee Update apple-bce for kernel v6.19.3 2026-02-26 09:31:03 +00:00
Aditya Garg c68bd3067f Merge branch 'main' of git@github.com:t2linux/linux-t2-patches 2026-02-26 14:58:22 +05:30
Aditya Garg 666608a35f Make 1002 patch using CI 2026-02-26 14:58:01 +05:30
github-actions[bot] bdc3cfe5a6 Fix audio output latency 2026-02-26 08:51:48 +00:00