Comments

Kernel – 5.16-rc1 Released. OK with Patched VMware 16.2.1, and NVIDIA 470.86 — 3 Comments

  1. For Nvidia driver 495.44, just try the following patch (inspired by https://lore.kernel.org/linux-mm/20211111043240.E2eKPjFtl%25akpm@linux-foundation.org/ ):

    — a/kernel/nvidia-uvm/uvm_migrate_pageable.c 2021-11-18 16:07:54.991678461 +0100
    +++ b/kernel/nvidia-uvm/uvm_migrate_pageable.c 2021-11-18 16:08:45.691269289 +0100
    @@ -406,7 +406,7 @@
    uvm_push_set_flag(&push, UVM_PUSH_FLAG_CE_NEXT_MEMBAR_NONE);
    copying_gpu->parent->ce_hal->memset_8(&push, dst_address, 0, PAGE_SIZE);

    – dst[i] = migrate_pfn(page_to_pfn(dst_page)) | MIGRATE_PFN_LOCKED;
    + dst[i] = migrate_pfn(page_to_pfn(dst_page));
    }

    if (copying_gpu) {
    @@ -490,7 +490,7 @@
    uvm_push_set_flag(&push, UVM_PUSH_FLAG_CE_NEXT_MEMBAR_NONE);
    copying_gpu->parent->ce_hal->memcopy(&push, dst_address, src_address, PAGE_SIZE);

    – dst[i] = migrate_pfn(page_to_pfn(dst_page)) | MIGRATE_PFN_LOCKED;
    + dst[i] = migrate_pfn(page_to_pfn(dst_page));
    }

    // TODO: Bug 1766424: If the destination is a GPU and the copy was done by

  2. For the Nvidia driver 390.144, I also have a patch that enables this driver to run with kernel 5.16-RC1.
    Unfortunately, this patch is too big to fit in a comment here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.