Skip to content

TLB Invalidation

Rodrigo Vivi intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22drm/xe: Don't process TLB invalidation done in CT fast-pathdrivers/gpu/drm/xe/xe_guc_ct.c+8 -10 replies
2/22drm/xe: Break of TLB invalidation into its own filedrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_gt.c drivers/gpu/drm/xe/xe_gt_pagefault.c +5 more+145 -990 replies
3/22drm/xe: Move TLB invalidation variable to own sub-structure in GTdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_types.h+21 -210 replies
4/22drm/xe: Add TLB invalidation fencedrivers/gpu/drm/xe/xe_gt.c drivers/gpu/drm/xe/xe_gt_debugfs.c drivers/gpu/drm/xe/xe_gt_pagefault.c +5 more+80 -70 replies
5/22drm/xe: Invalidate TLB after unbind is completedrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_types.h drivers/gpu/drm/xe/xe_pt.c+107 -00 replies
6/22drm/xe: Kernel doc GT TLB invalidationsdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c+51 -12 replies
7/22drm/xe: Add TLB invalidation fence ftracedrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_pt.c drivers/gpu/drm/xe/xe_trace.h+60 -00 replies
8/22drm/xe: Fix build for CONFIG_DRM_XE_DEBUGdrivers/gpu/drm/xe/xe_gt_debugfs.c+4 -12 replies
9/22drm/xe: Add TDR for invalidation fence timeout cleanupdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h drivers/gpu/drm/xe/xe_gt_types.h +1 more+65 -50 replies
10/22drm/xe: Only set VM->asid for platforms that support a ASIDdrivers/gpu/drm/xe/xe_vm.c+17 -130 replies
11/22drm/xe: Delete debugfs entry to issue TLB invalidationdrivers/gpu/drm/xe/xe_gt_debugfs.c+0 -240 replies
12/22drm/xe: Add has_range_tlb_invalidation device attributedrivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_pci.c+6 -00 replies
13/22drm/xe: Add range based TLB invalidationsdrivers/gpu/drm/xe/xe_gt_pagefault.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h +2 more+84 -250 replies
14/22drm/xe: Propagate error from bind operations to async fencedrivers/gpu/drm/xe/xe_vm.c+8 -10 replies
15/22drm/xe: Use GuC to do GGTT invalidations for the GuC firmwaredrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_gt.c +10 more+89 -210 replies
16/22drm/xe: Coalesce GGTT invalidationsdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt_types.h+11 -20 replies
17/22drm/xe: Lock GGTT on when restoring kernel BOsdrivers/gpu/drm/xe/xe_bo_evict.c+4 -10 replies
18/22drm/xe: Propagate VM unbind error to invalidation fencedrivers/gpu/drm/xe/xe_pt.c+7 -10 replies
19/22drm/xe: Signal invalidation fence immediately if CT send failsdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c+14 -90 replies
20/22drm/xe: Add has_asid to device infodrivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_lrc.c drivers/gpu/drm/xe/xe_pci.c +1 more+9 -40 replies
21/22drm/xe: Add TLB invalidation fence after rebinds issued from execsdrivers/gpu/drm/xe/xe_pt.c+110 -900 replies
22/22drm/xe: Drop TLB invalidation from ring operationsdrivers/gpu/drm/xe/xe_ring_ops.c+1 -390 replies

Reviews trailers per patch

None of the 22 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNiranjana Vishwanathapura
SeriesR-b
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-xe] [PATCH 00/22] TLB Invalidation

Let's just confirm the reviews on this patch and get them merged to drm-xe-next.

Matthew Brost (22):
drm/xe: Don't process TLB invalidation done in CT fast-path drm/xe: Break of TLB invalidation into its own file drm/xe: Move TLB invalidation variable to own sub-structure in GT drm/xe: Add TLB invalidation fence
drm/xe: Invalidate TLB after unbind is complete
drm/xe: Kernel doc GT TLB invalidations
drm/xe: Add TLB invalidation fence ftrace
drm/xe: Fix build for CONFIG_DRM_XE_DEBUG
drm/xe: Add TDR for invalidation fence timeout cleanup drm/xe: Only set VM->asid for platforms that support a ASID drm/xe: Delete debugfs entry to issue TLB invalidation drm/xe: Add has_range_tlb_invalidation device attribute drm/xe: Add range based TLB invalidations
drm/xe: Propagate error from bind operations to async fence drm/xe: Use GuC to do GGTT invalidations for the GuC firmware drm/xe: Coalesce GGTT invalidations
drm/xe: Lock GGTT on when restoring kernel BOs
drm/xe: Propagate VM unbind error to invalidation fence drm/xe: Signal invalidation fence immediately if CT send fails drm/xe: Add has_asid to device info
drm/xe: Add TLB invalidation fence after rebinds issued from execs drm/xe: Drop TLB invalidation from ring operations

 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/xe_bo_evict.c              |   5 +-
 drivers/gpu/drm/xe/xe_device.c                |  14 +
 drivers/gpu/drm/xe/xe_device_types.h          |   4 +
 drivers/gpu/drm/xe/xe_ggtt.c                  |  23 +-
 drivers/gpu/drm/xe/xe_ggtt_types.h            |   2 +
 drivers/gpu/drm/xe/xe_gt.c                    |  19 +
 drivers/gpu/drm/xe/xe_gt.h                    |   1 +
 drivers/gpu/drm/xe/xe_gt_debugfs.c            |  21 --
 drivers/gpu/drm/xe/xe_gt_pagefault.c          | 104 +-----
 drivers/gpu/drm/xe/xe_gt_pagefault.h          |   3 -
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c   | 342 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h   |  26 ++
 .../gpu/drm/xe/xe_gt_tlb_invalidation_types.h |  28 ++
 drivers/gpu/drm/xe/xe_gt_types.h              |  41 ++-
 drivers/gpu/drm/xe/xe_guc.c                   |   2 +
 drivers/gpu/drm/xe/xe_guc_ct.c                |  10 +-
 drivers/gpu/drm/xe/xe_guc_types.h             |   2 +
 drivers/gpu/drm/xe/xe_lrc.c                   |   4 +-
 drivers/gpu/drm/xe/xe_pci.c                   |   7 +
 drivers/gpu/drm/xe/xe_pt.c                    | 130 +++++++
 drivers/gpu/drm/xe/xe_ring_ops.c              |  40 +-
 drivers/gpu/drm/xe/xe_trace.h                 |  55 +++
 drivers/gpu/drm/xe/xe_uc.c                    |   9 +-
 drivers/gpu/drm/xe/xe_uc.h                    |   1 +
 drivers/gpu/drm/xe/xe_vm.c                    |  42 ++-
 26 files changed, 736 insertions(+), 200 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h
Signature · 1 line
2.39.1