Skip to content

Backporting 5.3/5.4 changes into 4.19 #31

@kitakar5525

Description

@kitakar5525

dumping all the commit log made by linux-surface and reporting backporting status here.

commit in 4.19:
☑: means both 5.3 and 4.19 have corresponding commit (according to commit title)
✅(only in 4.19)
⚪(in 4.19 and 5.4)

commit irrelevant to 4.19:
✅(merge commit)
✅(legacy-i915)
✅(outdated-patch)

commit not in 4.19 but corresponding change already done:
✅(already available in 4.19)

commit not in 4.19 (no meaning in emojis, just for visibility):

The checkbox shows backport status on https://github.com/kitakar5525/linux-surface-kernel/tree/backport/v4.19-surface-devel

4.19

dce8429 - kitakar5525, 2020-01-11 : Surface3-OEMB: surface3-wmi: add quirk for Surface 3 with broken DMI table
7384203 - Chih-Wei Huang, 2018-09-18 : Surface3-OEMB: ASoC: add quirk for Surface 3 with broken DMI table
62ac18a - Maximilian Luz, 2019-12-30 : surface_acpi: Remove indirect dependencies
ccb08bd - kitakar5525, 2019-12-06 : surface3-spi: workaround: disable DMA mode to avoid crash by default
3e10103 - Maximilian Luz, 2019-12-27 : surface_acpi: Integrate dGPU hot-plug system
c4b9193 - Maximilian Luz, 2019-12-27 : Revert "platform/x86: Add support for Surface Book 2 dGPU"
5717e13 - Maximilian Luz, 2019-12-05 : surface_acpi: Default-disable wakeup on SSH
160e224 - Maximilian Luz, 2019-12-04 : surface_acpi: Add battery/AC support via SID
2595b99 - Maximilian Luz, 2019-11-12 : surface_acpi: Add support for SAM HID devices
135f881 - Maximilian Luz, 2019-11-10 : surface_acpi: Split SID into MFD device
cef457f - Blaž Hrastnik, 2019-11-06 : HID: Improve Windows Precision Touchpad detection.
739ca58 - Blaž Hrastnik, 2019-11-07 : Revert "HID: quirks for Microsoft Surface devices"
dbb20f8 - Maximilian Luz, 2019-11-06 : surface_acpi: Fix debug device config option name
3491789 - Tuowen Zhao, 2019-10-16 : docs: driver-model: add devm_ioremap_uc
f56c4bb - Tuowen Zhao, 2019-10-16 : mfd: intel-lpss: use devm_ioremap_uc for MMIO
d4b353d - Tuowen Zhao, 2019-10-16 : lib: devres: add a helper function for ioremap_uc
841fce3 - Tuowen Zhao, 2019-10-16 : sparc64: implement ioremap_uc
f8d6fd3 - Maximilian Luz, 2019-10-20 : surface_acpi: Update surface-acpi module
3aac3d3 - Hans de Goede, 2019-10-05 : Input: soc_button_array - partial revert of support for newer surface devices
470808b - Dorian Stoll, 2019-10-03 : Add firmware declarations for ipts_surface
cfc5d92 - Maximilian Luz, 2019-10-17 : INTEL_IPTS: Add dependency on DRM_I915
9c30ab7 - Maximilian Luz, 2019-10-02 : surface_acpi: Update DMI check for Surface Pro 5
468e384 - Maximilian Luz, 2019-09-28 : platform/x86: Add support for Surface Book 2 dGPU
9a9ae39 - Maximilian Luz, 2019-09-28 : USB: serial: Register Surface Go LTE device
b026a27 - Maximilian Luz, 2019-09-28 : wireless: Add mwlwifi driver
935f6d2 - Maximilian Luz, 2019-09-28 : platform/x86: Surface 3 battery platform operation region support
7f59405 - Maximilian Luz, 2019-09-28 : wireless/mwifiex: Add quirks for Surface devices
218ad8f - Maximilian Luz, 2019-09-28 : USB: Modify lpm check for sdcard-reader
1564ae6 - Maximilian Luz, 2019-09-28 : HID: quirks for Microsoft Surface devices
8240743 - Maximilian Luz, 2019-09-28 : Add support for Intel IPTS touch devices
☑(contains typo) 36f3225 - Maximilian Luz, 2019-09-28 : staging: Add WIP camera drivers for Surfae devices
d13cc15 - Maximilian Luz, 2019-07-27 : Input: soc_button_array - Add support for newer surface devices
aa86cce - Maximilian Luz, 2019-07-27 : platform/x86: surfacepro3_button: Fix device check
4bb6b4b - Maximilian Luz, 2019-09-28 : power/suspend: Add delay for device quirks
✅(only in 4.19) 853c185 - kitakar5525, 2019-09-28 : nvme: Backport changes for suspend
1b062be - Maximilian Luz, 2019-09-25 : platform: Add gen5 MS Surface platform support
⚪(in 4.19 and 5.4) 6a3fb10 - Maximilian Luz, 2019-09-24 : serdev: Add ACPI devices by ResourceSource field
8d74ef9 - qzed, 2019-08-26 : ACPI: Fix buffer/integer type mismatch
38f039c - Dorian Stoll, 2019-09-22 : Add secureboot pre-signing to the kernel
d573e8a - Greg Kroah-Hartman, 2019-09-21 : Linux 4.19.75

5.3

✅(merge commit) 9933f3c - Maximilian Luz, 2020-01-13 : Merge pull request #29 from kitakar5525/Surface3-OEMB
9c1f1f4 - kitakar5525, 2020-01-11 : Surface3-OEMB: surface3-wmi: add quirk for Surface 3 with broken DMI table
85982de - Chih-Wei Huang, 2018-09-18 : Surface3-OEMB: ASoC: add quirk for Surface 3 with broken DMI table
749a4a6 - Maximilian Luz, 2019-12-30 : surface_acpi: Remove indirect dependencies
✅(merge commit) 7f5a95a - Maximilian Luz, 2019-12-27 : Merge pull request #24 from kitakar5525/surface3-touch-fix
7212ca8 - Maximilian Luz, 2019-12-27 : surface_acpi: Integrate dGPU hot-plug system
341a076 - Maximilian Luz, 2019-12-27 : Revert "platform/x86: Add support for Surface Book 2 dGPU"
6c196de - kitakar5525, 2019-12-06 : surface3-spi: workaround: disable DMA mode to avoid crash by default
✅(merge commit) a93d778 - Maximilian Luz, 2019-12-22 : Merge pull request #23 from StollD/feature/ipts-no-modeswitch
🈲(feature/ipts-no-modeswitch) 894fbba - Dorian Stoll, 2019-12-20 : ipts: Dont automatically switch sensor modes
🉐(wifi-suspend-fix) 8dbbfa6 - sebanc, 2019-11-04 : wireless/mwifiex: Fix S0ix / suspend
🉐(wifi-suspend-fix) d95adde - Maximilian Luz, 2019-12-18 : Revert "wireless/mwifiex: Add quirks for Surface devices"
2d775a4 - Maximilian Luz, 2019-12-05 : surface_acpi: Default-disable wakeup on SSH
af731af - Maximilian Luz, 2019-12-04 : surface_acpi: Add battery/AC support via SID
42110e9 - Maximilian Luz, 2019-11-12 : surface_acpi: Add support for SAM HID devices
b2dbb40 - Maximilian Luz, 2019-11-10 : surface_acpi: Split SID into MFD device
✅(merge commit) 745dbed - Maximilian Luz, 2019-11-10 : Merge pull request #16 from StollD/feature/companion-no-feedback
🚫(feature/companion-no-feedback) 55e49e1 - Dorian Stoll, 2019-11-10 : ipts: Add a generic interface for quirks
🚫(feature/companion-no-feedback) 40f343b - Dorian Stoll, 2019-11-08 : ipts: Let the companion decide about no_feedback
✅(merge commit) 600a4b7 - Maximilian Luz, 2019-11-08 : Merge pull request #15 from StollD/feature/ipts-cleanup
🙅(feature/ipts-cleanup) 6fad9aa - Dorian Stoll, 2019-11-07 : ipts: Document output of IPTS debug thread
🙅(feature/ipts-cleanup) 15585f5 - Dorian Stoll, 2019-10-28 : ipts: Remove ipts prefix from driver source files
🙅(feature/ipts-cleanup) ec34a39 - Dorian Stoll, 2019-10-28 : ipts: Move debugging settings into modparams
🙅(feature/ipts-cleanup) b7c60a6 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-i915 to pass checkpatch
🙅(feature/ipts-cleanup) 1623943 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-mei to pass checkpatch
🙅(feature/ipts-cleanup) 9f369e2 - Dorian Stoll, 2019-10-28 : ipts: Update Makefile / Kconfig to pass checkpatch
🙅(feature/ipts-cleanup) 863de54 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-kernel to pass checkpatch
🙅(feature/ipts-cleanup) 1050bfc - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-hid to pass checkpatch
✅(merge commit) f466f7d - Maximilian Luz, 2019-11-07 : Merge pull request #14 from archseer/v5.3-surface-devel
d45bc35 - Blaž Hrastnik, 2019-11-06 : HID: Improve Windows Precision Touchpad detection.
352b9fc - Blaž Hrastnik, 2019-11-07 : Revert "HID: quirks for Microsoft Surface devices"
65dcd3b - Maximilian Luz, 2019-11-06 : surface_acpi: Fix debug device config option name
🙅(feature/ipts-cleanup) 1fb6e17 - Dorian Stoll, 2019-10-28 : ipts: Cleanup public headers to pass checkpatch
🙅(feature/ipts-cleanup) c0556e1 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-surface to pass checkpatch
🙅(feature/ipts-cleanup) 0774af9 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-msg-handler to pass checkpatch
🙅(feature/ipts-cleanup) f63f758 - Dorian Stoll, 2019-10-28 : ipts: Cleanup ipts-companion to pass checkpatch
🙅(feature/ipts-cleanup) 24f97ef - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-gfx to pass checkpatch
🙅(feature/ipts-cleanup) 4aaed39 - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-state.h to pass checkpatch
🙅(feature/ipts-cleanup) 05f51be - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-resource to pass checkpatch
🙅(feature/ipts-cleanup) 9c9dfad - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-params to pass checkpatch
🙅(feature/ipts-cleanup) 52e26dd - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-dbgfs.c to pass checkpatch
🙅(feature/ipts-cleanup) 30a9d30 - Dorian Stoll, 2019-10-27 : ipts: Cleanup ipts-sensor-regs.h to pass checkpatch
🙅(feature/ipts-cleanup) bda1092 - Dorian Stoll, 2019-10-27 : ipts: Clean up ipts.h to pass checkpatch
🙅(feature/ipts-cleanup) a16bb16 - Dorian Stoll, 2019-10-27 : ipts: Clean up ipts-mei-msg.h to pass checkpatch
✅(merge commit) 93d2b93 - Maximilian Luz, 2019-11-04 : Merge pull request #11 from StollD/feature/no-ipts-config-file
🔺(feature/no-ipts-config-file) 636e23d - Dorian Stoll, 2019-10-27 : ipts: Address comments by qzed and grayhatter
✅(merge commit) fe380f8 - Maximilian Luz, 2019-10-28 : Merge pull request #13 from qzed/v5.3-lpss-fix
aceca89 - Tuowen Zhao, 2019-10-16 : docs: driver-model: add devm_ioremap_uc
6f1806d - Tuowen Zhao, 2019-10-16 : mfd: intel-lpss: use devm_ioremap_uc for MMIO
127f1a7 - Tuowen Zhao, 2019-10-16 : lib: devres: add a helper function for ioremap_uc
9e250ff - Tuowen Zhao, 2019-10-16 : sparc64: implement ioremap_uc
🔺(feature/no-ipts-config-file) e1cfd84 - Dorian Stoll, 2019-10-20 : ipts: Move ipts_fw_config.bin into the companion
🔺(feature/no-ipts-config-file) a1531a7 - Dorian Stoll, 2019-10-20 : ipts: Implement new companion interface
b728e89 - Maximilian Luz, 2019-10-20 : surface_acpi: Update surface-acpi module
d6e78a3 - Maximilian Luz, 2019-10-17 : INTEL_IPTS: Add dependency on DRM_I915
37287a3 - Hans de Goede, 2019-10-05 : Input: soc_button_array - partial revert of support for newer surface devices
✅(merge commit) e353b20 - Maximilian Luz, 2019-10-03 : Merge pull request #7 from StollD/feature/initramfs-firmware
79f7d67 - Dorian Stoll, 2019-10-03 : Add firmware declarations for ipts_surface
2a9a217 - Maximilian Luz, 2019-10-02 : surface_acpi: Update DMI check for Surface Pro 5
✅(already available in 4.19) d1adb85 - Maximilian Luz, 2019-09-26 : scripts/sign_kernel: Change shell to bash
❓(not sure if needed for 4.19) e05aa9d - Maximilian Luz, 2019-09-26 : platform/x86: Update surface-acpi
❓(not sure if needed for 4.19) 8667db5 - Maximilian Luz, 2019-09-26 : serdev: Update ACPI lookup fix
✅(merge commit) d0ff754 - Maximilian Luz, 2019-09-23 : Merge pull request #5 from StollD/feature/sign-for-secureboot
f799a0c - Dorian Stoll, 2019-09-22 : Add secureboot pre-signing to the kernel
✅(merge commit) 1d902b5 - Maximilian Luz, 2019-09-20 : Merge pull request #3 from StollD/bugfix/touch-rotation
✅(merge commit) 5b57c79 - Maximilian Luz, 2019-09-19 : Merge pull request #2 from qzed/v5.3-surface-devel-i915update
✅(legacy-i915) f8c1e1f - Chris Wilson, 2019-09-04 : drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
✅(legacy-i915) 7824ac5 - Ville Syrjälä, 2019-08-28 : drm/i915: Limit MST to <= 8bpc once again
🚳(bugfix/touch-rotation) 86f95d2 - Dorian Stoll, 2019-09-18 : Remove IPTS sensor mode APIs
🚳(bugfix/touch-rotation) 464d29d - kitakar5525, 2019-08-28 : ipts: hid-multitouch: revert all the changes
✅(merge commit) ce721a4 - Maximilian Luz, 2019-09-18 : Merge pull request #1 from StollD/feature/i915-legacy-5.2.15
✅(legacy-i915) 54590f6 - Lionel Landwerlin, 2019-06-28 : drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)COUNT
✅(legacy-i915) 439a55e - John Harrison, 2019-06-17 : drm/i915: Add whitelist workarounds for ICL
✅(legacy-i915) 567c377 - Lionel Landwerlin, 2019-06-28 : drm/i915: whitelist PS
(DEPTH|INVOCATION)_COUNT
✅(legacy-i915) b9c9de4 - John Harrison, 2019-06-17 : drm/i915: Support whitelist workarounds on all engines
✅(legacy-i915) 9af88b4 - John Harrison, 2019-06-17 : drm/i915: Support flags in whitlist WAs
✅(legacy-i915) 8fd23fb - Ville Syrjälä, 2019-07-17 : drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
✅(legacy-i915) d0a080d - Kenneth Graunke, 2019-06-25 : drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
❓(not sure if needed for 4.19) 44c79ab - Maximilian Luz, 2019-09-18 : surface_acpi: Test keeping EC alive for suspend
❌(old-patches-cleanup) 434376f - Maximilian Luz, 2019-09-18 : Revert downstream_hpd_needs_d0 changes in i915_legacy
❌(old-patches-cleanup) 09372ba - Maximilian Luz, 2019-09-18 : Revert "wireless: Add mwlwifi driver"
❌(old-patches-cleanup) 71867ba - Maximilian Luz, 2019-09-18 : Revert "power/suspend: Add delay for device quirks"
❌(old-patches-cleanup) a13b184 - Maximilian Luz, 2019-09-18 : Revert "staging: Add WIP camera drivers for Surface devices"
❌(old-patches-cleanup) 810a019 - Maximilian Luz, 2019-09-18 : Revert "USB: Modify lpm check for sdcard-reader"
871f089 - Maximilian Luz, 2019-09-18 : Add support for Intel IPTS touch devices
✅(legacy-i915) 0003674 - Dorian Stoll, 2019-09-16 : integrate legacy i915
✅(legacy-i915) 54ae106 - Dorian Stoll, 2019-09-16 : add legacy i915
711bc72 - Maximilian Luz, 2019-09-18 : USB: Modify lpm check for sdcard-reader
367d6a9 - qzed, 2019-09-18 : wireless/mwifiex: Add quirks for Surface devices
8ec4242 - qzed, 2019-09-18 : staging: Add WIP camera drivers for Surface devices
7dca9b4 - qzed, 2019-09-18 : power/suspend: Add delay for device quirks
118195a - qzed, 2019-09-17 : USB: serial: Register Surface Go LTE device
96f5273 - qzed, 2019-09-17 : wireless: Add mwlwifi driver
b4c1b84 - qzed, 2019-09-17 : platform/x86: Surface 3 battery platform operation region support
8902494 - qzed, 2019-09-17 : HID: quirks for Microsoft Surface devices
2b6071e - Maximilian Luz, 2019-07-02 : platform/x86: Add support for Surface Book 2 dGPU
3fea367 - Maximilian Luz, 2019-07-27 : Input: soc_button_array - Add support for newer surface devices
5f679de - Maximilian Luz, 2019-07-27 : platform/x86: surfacepro3_button: Fix device check
99535b3 - qzed, 2019-08-26 : platform: Add gen5 MS Surface platform support
✅(outdated-patch) a39043f - qzed, 2019-08-26 : serdev: Find ACPI clients by ResourceSource tag
07db8ff - qzed, 2019-08-26 : ACPI: Fix buffer/integer type mismatch
4d856f7 - Linus Torvalds, 2019-09-15 : Linux 5.3

5.4

cd9559f - kitakar5525, 2020-01-11 : Surface3-OEMB: surface3-wmi: add quirk for Surface 3 with broken DMI table
cd400a8 - Chih-Wei Huang, 2018-09-18 : Surface3-OEMB: ASoC: add quirk for Surface 3 with broken DMI table
e6ca5ca - Maximilian Luz, 2019-12-30 : surface_acpi: Remove indirect dependencies
66c8401 - kitakar5525, 2019-12-06 : surface3-spi: workaround: disable DMA mode to avoid crash by default
94e747e - Maximilian Luz, 2019-12-27 : surface_acpi: Integrate dGPU hot-plug system
6062883 - Maximilian Luz, 2019-12-27 : Revert "platform/x86: Add support for Surface Book 2 dGPU"
🉐(wifi-suspend-fix) c8da40c - sebanc, 2019-11-04 : wireless/mwifiex: Fix S0ix / suspend
🉐(wifi-suspend-fix) 264427b - Maximilian Luz, 2019-12-18 : Revert "wireless/mwifiex: Add quirks for Surface devices"
❓(not sure if needed for 4.19) f05900c - Maximilian Luz, 2019-12-11 : surface_acpi: Simplify SSH irq setup
569f1f0 - qzed, 2019-09-18 : wireless/mwifiex: Add quirks for Surface devices
d8ce470 - qzed, 2019-09-17 : USB: serial: Register Surface Go LTE device
90b9633 - qzed, 2019-09-17 : platform/x86: Surface 3 battery platform operation region support
8ff12df - Maximilian Luz, 2019-07-02 : platform/x86: Add support for Surface Book 2 dGPU
6a65883 - Maximilian Luz, 2019-12-06 : platform/x86: Add gen5 MS Surface platform support
⚪(in 4.19 and 5.4) 4bea4a7 - Maximilian Luz, 2019-09-24 : serdev: Add ACPI devices by ResourceSource field
422a490 - qzed, 2019-08-26 : ACPI: Fix buffer/integer type mismatch
09f1c1c - Blaž Hrastnik, 2019-11-06 : HID: Improve Windows Precision Touchpad detection.
8d10106 - Tuowen Zhao, 2019-10-16 : docs: driver-model: add devm_ioremap_uc
f3e1eb2 - Tuowen Zhao, 2019-10-16 : mfd: intel-lpss: use devm_ioremap_uc for MMIO
04f6483 - Tuowen Zhao, 2019-10-16 : lib: devres: add a helper function for ioremap_uc
fa03b4c - Tuowen Zhao, 2019-10-16 : sparc64: implement ioremap_uc
073fd9a - Dorian Stoll, 2019-09-22 : Add secureboot pre-signing to the kernel
219d543 - Linus Torvalds, 2019-11-24 : Linux 5.4

backporting

@qzed
I left the following commits because I think surface_sam modules are developed for both 4.19 and 5.4 and I assume the modules for 4.19 is already up-to-date. Is this OK?
❓(not sure if needed for 4.19) e05aa9d - Maximilian Luz, 2019-09-26 : platform/x86: Update surface-acpi
❓(not sure if needed for 4.19) 8667db5 - Maximilian Luz, 2019-09-26 : serdev: Update ACPI lookup fix
❓(not sure if needed for 4.19) 44c79ab - Maximilian Luz, 2019-09-18 : surface_acpi: Test keeping EC alive for suspend
❓(not sure if needed for 4.19) f05900c - Maximilian Luz, 2019-12-11 : surface_acpi: Simplify SSH irq setup

The whole kernel built without errors and running well.
I'll split backports into multiple branches and make multiple PRs tomorrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions