armbian-build/patch/kernel/archive/wsl2-arm64-6.1
Ricardo Pardini 204d2e79b9 WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches
> tl,dr: add 4 small-ish UEFI-like kernels, with Microsoft patches & fixes, for use with Microsoft WSL2 on x86/arm64 and 6.1.y/6.6.y

- the boards are UEFI derivatives, using a common `microsoft` vendor include to modify
  - `KERNELPATCHDIR`/`LINUXFAMILY` (for now, we don't want those patches in regular UEFI builds / .debs)
  - disable `EXTRAWIFI` (kernel is for a VM, will never have wifi so doesn't need any drivers)
  - `LINUXCONFIG`, so we can use Microsoft's own monolithic kernel, required for WSL2 (their initrd is a mistery)
- really, what we're mostly interested right now are the kernels (in the future we might have an "Armbian" WSL2 app in the Microsoft Store)
  - `current` `6.1.y`:
    - rebased from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y onto real 6.1.y
    - using Microsoft's `.config` exactly (monolithic, there are no `=m`'s)
  - `edge` `6.6.y`:
    - also from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y but rebased onto 6.6.y
    - using updated Microsoft's `.config` (monolithic, there are no `=m`'s)
    - dropped 2 of 6.1.y's patches that were actually upstreamed in the meantime:
      - `mm-page_reporting-Add-checks-for-page_reporting_order-param` - mainlined in https://lore.kernel.org/all/1664517699-1085-2-git-send-email-shradhagupta@linux.microsoft.com/
      - `hv_balloon-Add-support-for-configurable-order-free-page-reporting` - mainlined in https://lore.kernel.org/all/1664517699-1085-3-git-send-email-shradhagupta@linux.microsoft.com/
    - drop the `arm64: hyperv: Enable Hyper-V synthetic clocks/timers` patch, since it causes asm breakage on 6.6.y
      - a shame, but I tried and can't fix it myself - @kelleymh ?
    - add my own patch to fix:
      - `1709-drivers-hv-dxgkrnl-restore-uuid_le_cmp-removed-from-upstream-in-f5b3c341a.patch` due to https://lore.kernel.org/all/20230202145412.87569-1-andriy.shevchenko@linux.intel.com/ landing in 6.6
      - `1710-drivers-hv-dxgkrnl-adapt-dxg_remove_vmbus-to-96ec29396-s-reality-void-return.patch` to adapt to
        https://lore.kernel.org/all/TYCP286MB2323A93C55526E4DF239D3ACCAFA9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM/
2023-11-27 11:14:01 +01:00
..
1666-Hyper-V-ARM64-Always-use-the-Hyper-V-hypercall-interface.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1667-arm64-hyperv-Enable-Hyper-V-synthetic-clocks-timers.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1668-drivers-hv-dxgkrnl-Add-virtual-compute-device-VMBus-channel-guids.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1669-drivers-hv-dxgkrnl-Driver-initialization-and-loading.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1670-drivers-hv-dxgkrnl-Add-VMBus-message-support-initialize-VMBus-channels.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1671-drivers-hv-dxgkrnl-Creation-of-dxgadapter-object.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1672-drivers-hv-dxgkrnl-Opening-of-dev-dxg-device-and-dxgprocess-creation.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1673-drivers-hv-dxgkrnl-Enumerate-and-open-dxgadapter-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1674-drivers-hv-dxgkrnl-Creation-of-dxgdevice-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1675-drivers-hv-dxgkrnl-Creation-of-dxgcontext-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1676-drivers-hv-dxgkrnl-Creation-of-compute-device-allocations-and-resources.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1677-drivers-hv-dxgkrnl-Creation-of-compute-device-sync-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1678-drivers-hv-dxgkrnl-Operations-using-sync-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1679-drivers-hv-dxgkrnl-Sharing-of-dxgresource-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1680-drivers-hv-dxgkrnl-Sharing-of-sync-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1681-drivers-hv-dxgkrnl-Creation-of-paging-queue-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1682-drivers-hv-dxgkrnl-Submit-execution-commands-to-the-compute-device.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1683-drivers-hv-dxgkrnl-Share-objects-with-the-host.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1684-drivers-hv-dxgkrnl-Query-the-dxgdevice-state.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1685-drivers-hv-dxgkrnl-Map-unmap-CPU-address-to-device-allocation.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1686-drivers-hv-dxgkrnl-Manage-device-allocation-properties.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1687-drivers-hv-dxgkrnl-Flush-heap-transitions.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1688-drivers-hv-dxgkrnl-Query-video-memory-information.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1689-drivers-hv-dxgkrnl-The-escape-ioctl.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1690-drivers-hv-dxgkrnl-Ioctl-to-put-device-to-error-state.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1691-drivers-hv-dxgkrnl-Ioctls-to-query-statistics-and-clock-calibration.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1692-drivers-hv-dxgkrnl-Offer-and-reclaim-allocations.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1693-drivers-hv-dxgkrnl-Ioctls-to-manage-scheduling-priority.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1694-drivers-hv-dxgkrnl-Manage-residency-of-allocations.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1695-drivers-hv-dxgkrnl-Manage-compute-device-virtual-addresses.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1696-drivers-hv-dxgkrnl-Add-support-to-map-guest-pages-by-host.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1697-drivers-hv-dxgkrnl-Removed-struct-vmbus_gpadl-which-was-defined-in-the-main-linux-branch.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1698-drivers-hv-dxgkrnl-Remove-dxgk_init_ioctls.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1699-drivers-hv-dxgkrnl-Creation-of-dxgsyncfile-objects.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1700-drivers-hv-dxgkrnl-Use-tracing-instead-of-dev_dbg.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1701-drivers-hv-dxgkrnl-Implement-D3DKMTWaitSyncFile.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1702-drivers-hv-dxgkrnl-Improve-tracing-and-return-values-from-copy-from-user.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1703-drivers-hv-dxgkrnl-Fix-synchronization-locks.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1704-drivers-hv-dxgkrnl-Close-shared-file-objects-in-case-of-a-failure.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1705-drivers-hv-dxgkrnl-Added-missed-NULL-check-for-resource-object.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1706-drivers-hv-dxgkrnl-Fixed-dxgkrnl-to-build-for-the-6.1-kernel.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1707-virtio-pmem-Support-PCI-BAR-relative-addresses.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1708-virtio-pmem-Set-DRIVER_OK-status-prior-to-creating-pmem-region.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1709-mm-page_reporting-Add-checks-for-page_reporting_order-param.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00
1710-hv_balloon-Add-support-for-configurable-order-free-page-reporting.patch WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches 2023-11-27 11:14:01 +01:00