/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_tlb_invalidation.c | 26 * invalidation time. Double up the time to process full CT queue 95 xe_gt_err(gt, "TLB invalidation fence timeout, seqno=%d recv=%d", in xe_gt_tlb_fence_timeout() 109 * xe_gt_tlb_invalidation_init_early - Initialize GT TLB invalidation state 112 * Initialize GT TLB invalidation state, purely software initialization, should 130 * xe_gt_tlb_invalidation_reset - Initialize GT TLB invalidation reset 133 * Signal any pending invalidation fences, should be called during a GT reset 193 * XXX: The seqno algorithm relies on TLB invalidation being processed in send_tlb_invalidation() 246 * xe_gt_tlb_invalidation_guc - Issue a TLB invalidation on this GT for the GuC 248 * @fence: invalidation fence which will be signal on TLB invalidation 251 * Issue a TLB invalidation for the GuC. Completion of TLB is asynchronous and [all …]
|
H A D | xe_gt_tlb_invalidation_types.h | 14 * struct xe_gt_tlb_invalidation_fence - XE GT TLB invalidation fence 17 * invalidation completion. 26 /** @seqno: seqno of TLB invalidation to signal fence one */ 28 /** @invalidation_time: time of TLB invalidation */
|
H A D | xe_vm_doc.h | 182 * invalidation). The first operation waits on the VM's 207 * Invalidation 211 * whenever it wants. We register an invalidation MMU notifier to alert XE when 212 * a user pointer is about to move. The invalidation notifier needs to block 220 * rebind the userptr. The invalidation MMU notifier kicks the rebind worker 346 * invalidation responses are also in the critical path so these can also be 371 * Issue blocking TLB invalidation | 402 * Caveats with eviction / user pointer invalidation 405 * In the case of eviction and user pointer invalidation on a faulting VM, there 409 * needed. In both the case of eviction and user pointer invalidation locks are [all …]
|
H A D | xe_gt_types.h | 186 /** @tlb_invalidation: TLB invalidation state */ 188 /** @tlb_invalidation.seqno: TLB invalidation seqno, protected by CT lock */ 192 * @tlb_invalidation.seqno_recv: last received TLB invalidation seqno, 211 /** @tlb_invalidation.lock: protects TLB invalidation fences */ 394 * of a global invalidation of l2 cache
|
/linux/Documentation/ABI/testing/ |
H A D | debugfs-intel-iommu | 121 This file exports invalidation queue internals of each 130 Invalidation queue on IOMMU: dmar0 144 Invalidation queue on IOMMU: dmar1 168 * 1 - enable sampling IOTLB invalidation latency data 170 * 2 - enable sampling devTLB invalidation latency data 172 * 3 - enable sampling intr entry cache invalidation latency data 185 2) Enable sampling IOTLB invalidation latency data 207 3) Enable sampling devTLB invalidation latency data
|
/linux/drivers/gpu/drm/xe/abi/ |
H A D | guc_actions_abi.h | 191 /* Flush PPC or SMRO caches along with TLB invalidation request */ 202 * 0: Heavy mode of Invalidation: 203 * The pipeline of the engine(s) for which the invalidation is targeted to is 205 * Observed before completing the TLB invalidation 206 * 1: Lite mode of Invalidation: 209 * completing TLB invalidation. 210 * Light Invalidation Mode is to be used only when 212 * for the in-flight transactions across the TLB invalidation. In other words, 213 * this mode can be used when the TLB invalidation is intended to clear out the 214 * stale cached translations that are no longer in use. Light Invalidation Mode [all …]
|
/linux/include/uapi/linux/ |
H A D | iommufd.h | 731 * enum iommu_hwpt_invalidate_data_type - IOMMU HWPT Cache Invalidation 733 * @IOMMU_HWPT_INVALIDATE_DATA_VTD_S1: Invalidation data for VTD_S1 734 * @IOMMU_VIOMMU_INVALIDATE_DATA_ARM_SMMUV3: Invalidation data for ARM SMMUv3 743 * stage-1 cache invalidation 744 * @IOMMU_VTD_INV_FLAGS_LEAF: Indicates whether the invalidation applies 753 * struct iommu_hwpt_vtd_s1_invalidate - Intel VT-d cache invalidation 761 * The Intel VT-d specific invalidation data for user-managed stage-1 cache 762 * invalidation in nested translation. Userspace uses this structure to 778 * struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cache invalidation 780 * @cmd: 128-bit cache invalidation command that runs in SMMU CMDQ. [all …]
|
/linux/drivers/iommu/intel/ |
H A D | pasid.c | 328 * VT-d spec 5.0 table28 states guides for cache invalidation: in intel_pasid_flush_present() 330 * - PASID-selective-within-Domain PASID-cache invalidation in intel_pasid_flush_present() 331 * - PASID-selective PASID-based IOTLB invalidation in intel_pasid_flush_present() 333 * - Global Device-TLB invalidation to affected functions in intel_pasid_flush_present() 335 * - PASID-based Device-TLB invalidation (with S=1 and in intel_pasid_flush_present() 624 * - PASID-selective-within-Domain PASID-cache invalidation in intel_pasid_setup_dirty_tracking() 626 * - Domain-selective IOTLB invalidation in intel_pasid_setup_dirty_tracking() 628 * - PASID-selective PASID-based IOTLB invalidation in intel_pasid_setup_dirty_tracking() 630 * - Global Device-TLB invalidation to affected functions in intel_pasid_setup_dirty_tracking() 632 * - PASID-based Device-TLB invalidation (with S=1 and in intel_pasid_setup_dirty_tracking() [all …]
|
H A D | dmar.c | 1217 return "Context-cache Invalidation"; in qi_type_string() 1219 return "IOTLB Invalidation"; in qi_type_string() 1221 return "Device-TLB Invalidation"; in qi_type_string() 1223 return "Interrupt Entry Cache Invalidation"; in qi_type_string() 1225 return "Invalidation Wait"; in qi_type_string() 1227 return "PASID-based IOTLB Invalidation"; in qi_type_string() 1229 return "PASID-cache Invalidation"; in qi_type_string() 1231 return "PASID-based Device-TLB Invalidation"; in qi_type_string() 1246 pr_err("VT-d detected Invalidation Queue Error: Reason %llx", in qi_dump_fault() 1249 pr_err("VT-d detected Invalidation Time-out Error: SID %llx", in qi_dump_fault() [all …]
|
H A D | cache.c | 3 * cache.c - Intel VT-d cache invalidation 325 * invalidation requests while address remapping hardware is disabled. in qi_batch_add_dev_iotlb() 339 * npages == -1 means a PASID-selective invalidation, otherwise, in qi_batch_add_piotlb() 340 * a positive value for Page-selective-within-PASID invalidation. in qi_batch_add_piotlb() 356 * Device-TLB invalidation requests while address remapping hardware in qi_batch_add_pasid_dev_iotlb() 528 * stage mapping requires explicit invalidation of the caches. 531 * flushing, if cache invalidation is not required.
|
/linux/drivers/gpu/drm/i915/gt/uc/abi/ |
H A D | guc_actions_abi.h | 196 * 0: Heavy mode of Invalidation: 197 * The pipeline of the engine(s) for which the invalidation is targeted to is 199 * Observed before completing the TLB invalidation 200 * 1: Lite mode of Invalidation: 203 * completing TLB invalidation. 204 * Light Invalidation Mode is to be used only when 206 * for the in-flight transactions across the TLB invalidation. In other words, 207 * this mode can be used when the TLB invalidation is intended to clear out the 208 * stale cached translations that are no longer in use. Light Invalidation Mode 209 * is much faster than the Heavy Invalidation Mode, as it does not wait for the
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | README | 54 The procedure is the default behaviour of the driver. This invalidation and 165 the user header, flags (specifying if memory invalidation is necessary) and the 169 attaches an invalidation message if requested and finally an "empty" rdma 176 or in case client requested invalidation: 184 the user header, flags (specifying if memory invalidation is necessary) and the 190 attaches an invalidation message if requested and finally an "empty" rdma 201 or in case client requested invalidation:
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 36 * being either ish or nsh, depending on the invalidation in enter_vmid_context() 165 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa() 168 * the Stage-1 invalidation happened first. in __kvm_tlb_flush_vmid_ipa() 195 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa_nsh() 198 * the Stage-1 invalidation happened first. in __kvm_tlb_flush_vmid_ipa_nsh()
|
/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | tlb.c | 111 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa() 114 * the Stage-1 invalidation happened first. in __kvm_tlb_flush_vmid_ipa() 143 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa_nsh() 146 * the Stage-1 invalidation happened first. in __kvm_tlb_flush_vmid_ipa_nsh() 224 * TLB invalidation emulation for NV. For any given instruction, we
|
/linux/arch/powerpc/include/asm/ |
H A D | pnv-ocxl.h | 19 /* Radix Invalidation Control 28 /* Invalidation Criteria 35 /* Invalidation Flag */
|
/linux/Documentation/filesystems/caching/ |
H A D | netfs-api.rst | 36 (8) Data file invalidation 39 (11) Page release and invalidation 285 The read operation will fail with ESTALE if invalidation occurred whilst the 302 Data File Invalidation 319 This increases the invalidation counter in the cookie to cause outstanding 324 Invalidation runs asynchronously in a worker thread so that it doesn't block 427 Page Release and Invalidation 442 Page release and page invalidation should also wait for any mark left on the
|
/linux/Documentation/gpu/ |
H A D | drm-vm-bind-locking.rst | 87 notifier invalidation. This is not a real seqlock but described in 95 invalidation notifiers. 103 invalidation. The userptr notifier lock is per gpu_vm. 406 <Invalidation example>` below). Note that when the core mm decides to 435 // invalidation notifier running anymore. 449 // of the MMU invalidation notifier. Hence the 476 The userptr gpu_vma MMU invalidation notifier might be called from 495 // invalidation callbacks, the mmu notifier core will flip 504 When this invalidation notifier returns, the GPU can no longer be 564 invalidation notifier where zapping happens. Hence, if the
|
/linux/drivers/cxl/ |
H A D | Kconfig | 138 to invalidate caches when those events occur. If that invalidation 140 invalidation failure are due to the CPU not providing a cache 141 invalidation mechanism. For example usage of wbinvd is restricted to
|
/linux/drivers/misc/sgi-gru/ |
H A D | grutlbpurge.c | 32 /* ---------------------------------- TLB Invalidation functions -------- 86 * General purpose TLB invalidation function. This function scans every GRU in 115 * To help improve the efficiency of TLB invalidation, the GMS data 120 * provide the callbacks for TLB invalidation. The GMS contains: 137 * zero to force a full TLB invalidation. This is fast but will
|
/linux/include/linux/ |
H A D | memregion.h | 41 * contents while performing the invalidation. It is only exported for 59 WARN_ON_ONCE("CPU cache invalidation required"); in cpu_cache_invalidate_memregion()
|
/linux/arch/powerpc/kernel/ |
H A D | l2cr_6xx.S | 60 - L2I set to perform a global invalidation 111 /* Before we perform the global invalidation, we must disable dynamic 207 /* Perform a global invalidation */ 223 /* Wait for the invalidation to complete */ 342 /* Perform a global invalidation */
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | gmc_v11_0.c | 250 * off cycle, add semaphore acquire before invalidation and semaphore in gmc_v11_0_flush_gpu_tlb() 251 * release after invalidation to avoid entering power gated state in gmc_v11_0_flush_gpu_tlb() 285 /* Issue additional private vm invalidation to MMHUB */ in gmc_v11_0_flush_gpu_tlb() 292 /* Issue private invalidation */ in gmc_v11_0_flush_gpu_tlb() 294 /* Read back to ensure invalidation is done*/ in gmc_v11_0_flush_gpu_tlb() 311 * @inst: is used to select which instance of KIQ to use for the invalidation 352 * off cycle, add semaphore acquire before invalidation and semaphore in gmc_v11_0_emit_flush_gpu_tlb() 353 * release after invalidation to avoid entering power gated state in gmc_v11_0_emit_flush_gpu_tlb() 381 * add semaphore release after invalidation, in gmc_v11_0_emit_flush_gpu_tlb()
|
H A D | amdgpu_hmm.c | 42 * page table invalidation are completed and we once more see a coherent process 60 * @range: details on the invalidation 97 * @range: details on the invalidation
|
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/ |
H A D | l2_cache.json | 12 …he L2 (from other CPUs) which return data even if the snoops cause an invalidation. L2 cache line … 44 …"PublicDescription": "Counts each explicit invalidation of a cache line in the level 2 cache by ca…
|
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/ |
H A D | l2_cache.json | 12 …he L2 (from other CPUs) which return data even if the snoops cause an invalidation. L2 cache line … 44 …"PublicDescription": "Counts each explicit invalidation of a cache line in the level 2 cache by ca…
|