diff options
author | Alistair Popple <[email protected]> | 2022-10-19 23:29:34 +1100 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2022-10-21 16:02:35 -0400 |
commit | 1beca7f1471e14802f7f6730ac9ac0a3de7c8f8b (patch) | |
tree | 9139b53e524bce226557ce787dd9edcd668a689b /drivers/clocksource/timer-ti-dm.c | |
parent | 3facae0649648da1da6b1c36babc9b92998face0 (diff) |
nouveau: Fix migrate_to_ram() for faulting page
Commit 16ce101db85d ("mm/memory.c: fix race when faulting a device private
page") changed the migrate_to_ram() callback to take a reference on the
device page to ensure it can't be freed while handling the fault.
Unfortunately the corresponding update to Nouveau to accommodate this
change was inadvertently dropped from that patch causing GPU to CPU
migration to fail so add it here.
Signed-off-by: Alistair Popple <[email protected]>
Fixes: 16ce101db85d ("mm/memory.c: fix race when faulting a device private page")
Cc: John Hubbard <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: Lyude Paul <[email protected]>
Cc: Ben Skeggs <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/clocksource/timer-ti-dm.c')
0 files changed, 0 insertions, 0 deletions