| /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() 533 WRITE_ONCE(gt->sriov.vf.migration.ggtt_need_fixes, false); in vf_get_ggtt_info() 535 wake_up_all(>->sriov.vf.migration.wq); in vf_get_ggtt_info() 848 spin_lock(>->sriov.vf.migration.lock); in vf_start_migration_recovery() 850 if (!gt->sriov.vf.migration.recovery_queued && in vf_start_migration_recovery() 851 !gt->sriov.vf.migration.recovery_teardown) { in vf_start_migration_recovery() 852 gt->sriov.vf.migration.recovery_queued = true; in vf_start_migration_recovery() 853 WRITE_ONCE(gt->sriov.vf.migration.recovery_inprogress, true); in vf_start_migration_recovery() 854 WRITE_ONCE(gt->sriov.vf.migration.ggtt_need_fixes, true); in vf_start_migration_recovery() [all …]
|
| H A D | xe_sriov_pf_types.h | 29 struct xe_sriov_migration_state migration; member 55 struct xe_sriov_pf_migration migration; member
|
| 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()
|
| H A D | xe_sriov_vf_types.h | 41 } migration; member
|
| H A D | xe_gt_sriov_pf_types.h | 35 struct xe_gt_sriov_migration_data migration; member
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-vfio | 10 What: /sys/kernel/debug/vfio/<device>/migration 15 of vfio devices that support live migration. 16 The debugfs of each vfio device that supports live migration 19 What: /sys/kernel/debug/vfio/<device>/migration/state 23 Description: Read the live migration status of the vfio device. 24 The contents of the state file reflects the migration state 27 What: /sys/kernel/debug/vfio/<device>/migration/features 31 Description: Read the migration features of the vfio device.
|
| H A D | debugfs-hisi-migration | 1 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/dev_data 6 required for device live migration. These data include device 9 is defined by the live migration driver. 11 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/migf_data 15 Description: Read the data from the last completed live migration. 19 What: /sys/kernel/debug/vfio/<device>/migration/hisi_acc/cmd_state
|
| 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
|
| /linux/Documentation/mm/ |
| H A D | page_migration.rst | 2 Page migration 5 Page migration allows moving the physical location of pages between 13 The main intent of page migration is to reduce the latency of memory accesses 17 Page migration allows a process to manually relocate the node on which its 23 Page migration functions are provided by the numactl package by Andi Kleen 27 migration. cat ``/proc/<pid>/numa_maps`` allows an easy review of where the 31 Manual migration is useful if for example the scheduler has relocated 35 manual page migration support. Automatic page migration may be implemented 52 Page migration allows the preservation of the relative location of pages 53 within a group of nodes for all migration techniques which will preserve a [all …]
|
| H A D | hmm.rst | 23 Finally, the last section presents a new migration helper that allows 104 Shared address space and migration 124 main memory to device memory using existing migration mechanisms and everything 128 memory for the device memory and second to perform migration. Policy decisions 131 Note that any CPU access to a device page triggers a page fault and a migration 134 address A triggers a page fault and initiates a migration back to main memory. 295 The overall migration steps are similar to migrating NUMA pages within system 303 be held for the duration of the migration. 336 the LRU), unmapped from the process, and a special migration PTE is 367 This step is where the migration is actually "committed". [all …]
|
| 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/tools/testing/selftests/mm/ |
| H A D | migration.c | 26 FIXTURE(migration) in FIXTURE() argument 35 FIXTURE_SETUP(migration) in FIXTURE_SETUP() argument 60 FIXTURE_TEARDOWN(migration) in FIXTURE_TEARDOWN() argument 124 TEST_F_TIMEOUT(migration, private_anon, 2*RUNTIME) 149 TEST_F_TIMEOUT(migration, shared_anon, 2*RUNTIME) 184 TEST_F_TIMEOUT(migration, private_anon_thp, 2*RUNTIME) 215 TEST_F_TIMEOUT(migration, shared_anon_thp, 2*RUNTIME) 256 TEST_F_TIMEOUT(migration, private_anon_htlb, 2*RUNTIME) 281 TEST_F_TIMEOUT(migration, shared_anon_htlb, 2*RUNTIME)
|
| H A D | ksft_migration.sh | 4 ./run_vmtests.sh -t 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…
|
| /linux/drivers/vfio/pci/xe/ |
| H A D | Kconfig | 9 migration uAPI allowing userspace to enable migration for
|
| /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
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | memcg_test.rst | 102 The logic is very clear. (About migration, see below) 165 For NUMA, migration is an another special case. To do easy test, cpuset 166 is useful. Following is a sample script to do migration:: 179 In above set, when you moves a task from 01 to 02, page migration to 211 This is an easy way to test page migration, too. 298 9.9 Move charges at task migration 301 Charges associated with a task can be moved along with task migration.
|
| /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/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/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/tools/perf/scripts/python/bin/ |
| H A D | sched-migration-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | Kconfig | 8 This provides migration support for MLX5 devices using the VFIO
|