| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_migration.c | 24 return &xe->sriov.pf.vfs[vfid].migration; in pf_pick_migration() 49 return IS_ENABLED(CONFIG_DRM_XE_DEBUG) || !xe->sriov.pf.migration.disabled; in xe_sriov_pf_migration_supported() 73 xe->sriov.pf.migration.disabled = true; in xe_sriov_pf_migration_disable() 84 struct xe_sriov_migration_state *migration = arg; in pf_migration_cleanup() local 86 xe_sriov_packet_free(migration->pending); in pf_migration_cleanup() 87 xe_sriov_packet_free(migration->trailer); in pf_migration_cleanup() 88 xe_sriov_packet_free(migration->descriptor); in pf_migration_cleanup() 111 struct xe_sriov_migration_state *migration = pf_pick_migration(xe, n); in xe_sriov_pf_migration_init() local 113 err = drmm_mutex_init(&xe->drm, &migration->lock); in xe_sriov_pf_migration_init() 117 init_waitqueue_head(&migration->wq); in xe_sriov_pf_migration_init() [all …]
|
| H A D | xe_gt_sriov_vf.c | 56 while (gt->sriov.vf.migration.debug.resfix_stoppers & wait) { in vf_post_migration_inject_wait() 60 gt->sriov.vf.migration.debug.resfix_stoppers, wait); in vf_post_migration_inject_wait() 845 WRITE_ONCE(gt->sriov.vf.migration.ggtt_need_fixes, false); in vf_post_migration_mark_fixups_done() 847 wake_up_all(>->sriov.vf.migration.wq); in vf_post_migration_mark_fixups_done() 856 spin_lock(>->sriov.vf.migration.lock); in vf_start_migration_recovery() 858 if (!gt->sriov.vf.migration.recovery_queued && in vf_start_migration_recovery() 859 !gt->sriov.vf.migration.recovery_teardown) { in vf_start_migration_recovery() 860 gt->sriov.vf.migration.recovery_queued = true; in vf_start_migration_recovery() 861 WRITE_ONCE(gt->sriov.vf.migration.recovery_inprogress, true); in vf_start_migration_recovery() 862 WRITE_ONCE(gt->sriov.vf.migration.ggtt_need_fixes, true); in vf_start_migration_recovery() [all …]
|
| H A D | xe_gt_sriov_pf_migration.c | 38 return >->sriov.pf.vfs[vfid].migration; in pf_pick_gt_migration() 603 struct xe_gt_sriov_migration_data *migration = pf_pick_gt_migration(gt, vfid); in pf_save_vf_vram_mig_data() local 604 loff_t *offset = &migration->save.vram_offset; in pf_save_vf_vram_mig_data() 801 struct xe_gt_sriov_migration_data *migration = pf_pick_gt_migration(gt, vfid); in xe_gt_sriov_pf_migration_ring_free() local 804 if (ptr_ring_empty(&migration->ring)) in xe_gt_sriov_pf_migration_ring_free() 809 while ((data = ptr_ring_consume(&migration->ring))) in xe_gt_sriov_pf_migration_ring_free() 826 struct xe_gt_sriov_migration_data *migration = pf_pick_gt_migration(gt, vfid); in xe_gt_sriov_pf_migration_save_init() local 828 migration->save.data_remaining = 0; in xe_gt_sriov_pf_migration_save_init() 829 migration->save.vram_offset = 0; in xe_gt_sriov_pf_migration_save_init() 913 struct xe_gt_sriov_migration_data *migration = pf_pick_gt_migration(gt, vfid); in xe_gt_sriov_pf_migration_restore_consume() local [all …]
|
| H A D | xe_sriov_packet.c | 20 return &xe->sriov.pf.vfs[vfid].migration.lock; in pf_migration_mutex() 29 return &xe->sriov.pf.vfs[vfid].migration.pending; in pf_pick_pending() 39 return &xe->sriov.pf.vfs[vfid].migration.descriptor; in pf_pick_descriptor() 48 return &xe->sriov.pf.vfs[vfid].migration.trailer; in pf_pick_trailer()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | migration.c | 3 * The main purpose of the tests here is to exercise the migration entry code 28 FIXTURE(migration) in FIXTURE() 48 FIXTURE_SETUP(migration) in FIXTURE_SETUP() 79 FIXTURE_TEARDOWN(migration) in migrate() 85 static bool kill_children(FIXTURE_DATA(migration) * self) in migrate() 162 * Basic migration entry testing. One thread will move pages back and forth 164 * migration entry wait paths in the kernel. 166 TEST_F_TIMEOUT(migration, private_anon, 2*RUNTIME) 188 TEST_F_TIMEOUT(migration, shared_anon, 2*RUNTIME) 218 * Tests the pmd migration entr 26 FIXTURE(migration) FIXTURE() argument 35 FIXTURE_SETUP(migration) FIXTURE_SETUP() argument 60 FIXTURE_TEARDOWN(migration) FIXTURE_TEARDOWN() argument [all...] |
| H A D | .gitignore | 20 migration
|
| H A D | Makefile | 78 TEST_GEN_FILES += migration 261 $(OUTPUT)/migration: LDLIBS += -lnuma
|
| H A D | run_vmtests.sh | 80 - migration 81 invoke move_pages(2) to exercise the migration entry code 448 CATEGORY="migration" run_test ./migration
|
| /linux/drivers/vfio/pci/xe/ |
| H A D | Kconfig | 9 migration uAPI allowing userspace to enable migration for
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-numa | 11 Page migration during reclaim is intended for systems 16 Allowing page migration during reclaim enables these 18 when the fast tier is under pressure. This migration
|
| H A D | sysfs-class-rnbd-client | 14 > [access_mode=<ro|rw|migration>] > map_device 27 [access_mode=<ro|rw|migration>] 82 a device to be exported in rw mode only once. The "migration"
|
| /linux/Documentation/gpu/rfc/ |
| H A D | gpusvm.rst | 11 * Rely only on core MM concepts (migration PTEs, page references, and 20 * Partial migration is supported (i.e., a subset of pages attempting to 43 exception is holding a BO's dma-resv lock during the initial migration 47 migration policy requiring GPU access to occur in GPU memory. 113 * Higher order dma mapping for migration 114 * 4k dma mapping adversely affects migration performance on Intel 117 * Driver side madvise implementation and migration policies
|
| /linux/Documentation/arch/powerpc/ |
| H A D | vpa-dtl.rst | 149 …migration/9 67 [009] 105373.359903: sched:sched_waking: comm=perf pid=134… 150 …migration/9 67 [009] 105373.359904: sched:sched_migrate_task: comm=perf pid=134… 151 …migration/9 67 [009] 105373.359907: sched:sched_stat_runtime: comm=migration/9 … 152 …migration/9 67 [009] 105373.359908: sched:sched_switch: prev_comm=migrati… 156 …13418 [010] 105373.360052: sched:sched_waking: comm=migration/10 pid=72 prio=0…
|
| H A D | dawr-power9.rst | 43 migration from POWER8 to POWER9, at the cost of silently losing the 44 DAWR on the migration.
|
| /linux/Documentation/networking/ |
| H A D | net_failover.rst | 24 datapath. It also enables hypervisor controlled live migration of a VM with 65 be brought UP during live migration to allow uninterrupted communication. 115 net_failover also enables hypervisor controlled live migration to be supported 119 Here is a sample script that shows the steps to initiate live migration from 164 # Clean up FDB entries after migration completes. 168 On the destination hypervisor, a shared bridge 'br0' is created before migration 172 The following script is executed on the destination hypervisor once migration
|
| H A D | failover.rst | 17 datapath. It also allows live migration of VMs with direct attached VFs by
|
| /linux/tools/perf/scripts/python/bin/ |
| H A D | sched-migration-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | vm.rst | 291 Allows userspace to stop migration mode, needed for PGSTE migration. 292 Setting this attribute when migration mode is not active will have no 301 Allows userspace to start migration mode, needed for PGSTE migration. 302 Setting this attribute when migration mode is already active will have 306 dirty tracking is disabled on any memslot, migration mode is automatically 310 :Returns: -ENOMEM if there is not enough free memory to start migration mode; 317 Allows userspace to query the status of migration mode. 320 the data itself is either 0 if migration mode is disabled or 1
|
| /linux/Documentation/driver-api/ |
| H A D | vfio-pci-device-specific-driver-acceptance.rst | 16 state for the purposes of supporting migration. 30 extensions, for example in the case of migration data, how is the
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | Kconfig | 8 This provides migration support for MLX5 devices using the VFIO
|
| /linux/Documentation/mm/ |
| H A D | arch_pgtable_helpers.rst | 241 | is_migration_entry | Tests a migration (read or write) swapped entry | 243 | is_writable_migration_entry | Tests a write migration swapped entry | 245 | make_readable_migration_entry | Creates a read migration swapped entry | 247 | make_writable_migration_entry | Creates a write migration swapped entry |
|
| /linux/scripts/kconfig/tests/transitional/ |
| H A D | Kconfig | 2 # Test transitional symbols for config migration with all Kconfig types 10 # Basic migration tests for all types
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | userfaultfd.rst | 295 the VM to another physical machine. Since we want the migration to be 304 migration. Postcopy live migration is one form of memory 309 migration to QEMU. 317 It is generally beneficial to run one pass of precopy live migration 318 just before starting postcopy live migration, in order to avoid 321 The implementation of postcopy live migration currently uses one 327 in the destination node, into the socket, and the migration thread of 337 by the parallel QEMU migration thread). 345 migration thread in the QEMU running in the destination node will 353 migration around and a single per-page bitmap has to be maintained in [all …]
|
| /linux/include/scsi/ |
| H A D | viosrp.h | 188 struct mad_migration_cap migration; member
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-sched.txt | 75 79371.874603 [0010] migration/10[59] 3.350 0.004 0.011 457 Show migration events. 488 Show pre-migration wait time. pre-migration wait time is the time spent 491 time between sched_wakeup and migrate_task is the pre-migration wait
|