From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Mukul Joshi <mukul.joshi@amd.com>,
Felix Kuehling <felix.kuehling@amd.com>,
Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH 52/95] drm/amdgpu: Cleanup exported UALink handles
Date: Fri, 21 Aug 2026 15:34:15 -0400 [thread overview]
Message-ID: <20260821193458.808626-53-alexander.deucher@amd.com> (raw)
In-Reply-To: <20260821193458.808626-1-alexander.deucher@amd.com>
From: Mukul Joshi <mukul.joshi@amd.com>
Add implementation for freeing up exporter GPU's UALink
handles and the corresponding xarray entries. Before freeing,
the exporter GPU would send the NPA-REVOKE message to all the
importers and wait for the NPA-RELEASE messages to come back
before freeing the xarray entry.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c | 343 +++++++++++++++++++++
1 file changed, 343 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c
index 03c061b135afb..44233e6c390ae 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ualink.c
@@ -1225,6 +1225,13 @@ static void amdgpu_generate_ualink_handle(struct amdgpu_device *adev,
static void amdgpu_ualink_cleanup_exp_xa_node(struct kref *ref)
{
+ struct amdgpu_ualink_exp_xa_node *exp_xa_node;
+ struct amdgpu_device *adev;
+
+ exp_xa_node = container_of(ref, struct amdgpu_ualink_exp_xa_node,
+ refcount);
+ adev = amdgpu_ttm_adev(exp_xa_node->bo->tbo.bdev);
+ queue_work(adev->ualink.npa_wq, &exp_xa_node->cleanup_work);
}
static void amdgpu_ualink_cleanup_imp_xa_node(struct kref *ref)
@@ -1704,8 +1711,344 @@ static int amdgpu_ualink_setup_connection(struct amdgpu_device *adev,
return r;
}
+/* Set PTE.X = 1 for all importer entries to retry RPCs. */
+static void amdgpu_ualink_force_retry_rpcs(struct amdgpu_device *adev,
+ struct amdgpu_ualink_exp_xa_node *exp_xa_node)
+{
+ u32 addr_mode = adev->ualink.info->vpod.addr_mode;
+ struct amdgpu_ualink_importer_entry *imp_entry;
+ struct amdgpu_vm *vm = &adev->ualink.npa_vm;
+ u64 pte_flags, npa_addr, size;
+ struct dma_fence *fence = NULL;
+ struct amdgpu_bo *bo;
+ struct drm_exec exec;
+ u32 remote_acc_id;
+ int r;
+
+ bo = exp_xa_node->bo;
+ size = amdgpu_bo_ngpu_pages(bo);
+
+ amdgpu_ualink_reserve_npa_vm_and_bos(adev, &bo, 1, &exec, false);
+
+ for_each_set_bit(remote_acc_id, exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX) {
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ imp_entry = &exp_xa_node->importer_entries[0];
+ else
+ imp_entry = &exp_xa_node->importer_entries[remote_acc_id];
+ npa_addr = imp_entry->npa_addr;
+
+ /* If the connection state changed while we are freeing
+ * the BO, then ignore this importer. We will unmap this
+ * address eventually in amdgpu_ualink_unmap_all_npa_addr()
+ * function. Also, we will clear the corresponding bit in
+ * the importer_bitmap in the same function.
+ */
+ if (!amdgpu_ualink_check_conn_ready(adev, remote_acc_id,
+ imp_entry->generation_count))
+ continue;
+
+ /* Set PTE.X = 1 */
+ pte_flags = amdgpu_ualink_get_export_pte_flags(adev, bo,
+ AMDGPU_VM_PAGE_EXECUTABLE);
+ dev_dbg(adev->dev,
+ "RETRY-RPC: setting PTE.X=1 for NPA:%llx remote:%u pte:0x%llx\n",
+ npa_addr, remote_acc_id, pte_flags);
+
+ r = amdgpu_vm_update_range(adev, vm, false, false, true,
+ false, NULL, npa_addr, npa_addr + size - 1,
+ pte_flags, 0, adev->vm_manager.vram_base_offset,
+ bo->tbo.resource, NULL, &vm->last_update);
+
+ if (r)
+ dev_warn(adev->dev,
+ "RETRY-RPC: PTE.X update failed for NPA:%llx remote:%u, r: %d\n",
+ npa_addr, remote_acc_id, r);
+
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ break;
+ }
+
+ r = amdgpu_vm_update_pdes(adev, vm, false);
+ if (r) {
+ dev_err(adev->dev,
+ "Failed %d to update page directories during force retry rpcs\n",
+ r);
+ amdgpu_ualink_unreserve_npa_vm_and_bos(adev, &exec);
+ return;
+ }
+
+ fence = dma_fence_get(vm->last_update);
+ if (fence) {
+ r = dma_fence_wait(fence, false);
+ dma_fence_put(fence);
+ fence = NULL;
+ if (r)
+ dev_dbg(adev->dev, "RETRY-RPC: dma fence wait failed err:%d\n", r);
+ }
+
+ amdgpu_ualink_unreserve_npa_vm_and_bos(adev, &exec);
+
+ amdgpu_ualink_flush_tlb(adev, TLB_FLUSH_HEAVYWEIGHT);
+}
+
+/* Unmap all NPA addresses associated with a BO (UALink handle). This function is used
+ * only in Source Identification mode.
+ */
+static void amdgpu_ualink_unmap_all_npa_addr(struct amdgpu_device *adev,
+ struct amdgpu_ualink_exp_xa_node *exp_xa_node)
+{
+ u32 addr_mode = adev->ualink.info->vpod.addr_mode;
+ struct amdgpu_ualink_importer_entry *imp_entry;
+ u64 pte_value = adev->gmc.noretry_flags;
+ struct dma_fence *fence = NULL;
+ struct drm_exec exec;
+ u64 npa_addr, size;
+ u32 remote_acc_id;
+ int r;
+
+ size = amdgpu_bo_ngpu_pages(exp_xa_node->bo);
+
+ amdgpu_ualink_reserve_npa_vm_and_bos(adev, &exp_xa_node->bo, 1,
+ &exec, false);
+
+ for_each_set_bit(remote_acc_id, exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX) {
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ imp_entry = &exp_xa_node->importer_entries[0];
+ else
+ imp_entry = &exp_xa_node->importer_entries[remote_acc_id];
+ npa_addr = imp_entry->npa_addr;
+
+ if (!amdgpu_ualink_check_conn_ready(adev, remote_acc_id,
+ imp_entry->generation_count)) {
+ clear_bit(remote_acc_id,
+ exp_xa_node->importers_bitmap);
+ continue;
+ }
+
+ dev_dbg(adev->dev,
+ "UNMAP-NPA: Unmapping NPA:%llx, handle:%llx:%llx remote:%u pte:0x%llx\n",
+ npa_addr, exp_xa_node->handle.handle_hi, exp_xa_node->handle.handle_lo,
+ remote_acc_id, pte_value);
+
+ r = amdgpu_vm_update_range(adev, &adev->ualink.npa_vm, false,
+ false, true, false, NULL, npa_addr,
+ npa_addr + size - 1, pte_value, 0,
+ 0, NULL, NULL, &fence);
+
+ if (r)
+ dev_err(adev->dev,
+ "UNMAP-NPA: Unmap failed NPA:%llx, handle:%llx:%llx remote:%u\n",
+ npa_addr, exp_xa_node->handle.handle_hi,
+ exp_xa_node->handle.handle_lo, remote_acc_id);
+
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ break;
+ }
+
+ r = amdgpu_vm_update_pdes(adev, &adev->ualink.npa_vm, false);
+ if (r) {
+ dev_err(adev->dev,
+ "Failed %d to update page directories during all NPA addresses unmapping\n",
+ r);
+ amdgpu_ualink_unreserve_npa_vm_and_bos(adev, &exec);
+ return;
+ }
+
+ if (fence) {
+ r = dma_fence_wait(fence, false);
+ dma_fence_put(fence);
+ fence = NULL;
+ if (r)
+ dev_err(adev->dev,
+ "UNMAP-NPA: dma fence wait failed\n");
+ }
+
+ amdgpu_ualink_unreserve_npa_vm_and_bos(adev, &exec);
+
+ amdgpu_ualink_flush_tlb(adev, TLB_FLUSH_HEAVYWEIGHT);
+}
+
+static void amdgpu_ualink_free_all_npa_va(struct amdgpu_device *adev,
+ struct amdgpu_ualink_exp_xa_node *exp_xa_node,
+ unsigned long *importers_bitmap)
+{
+ u32 addr_mode = adev->ualink.info->vpod.addr_mode;
+ struct drm_mm_node *mm_node;
+ u32 remote_acc_id;
+
+ for_each_set_bit(remote_acc_id, importers_bitmap, AMDGPU_UALINK_ACCEL_MAX) {
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ mm_node = exp_xa_node->importer_entries[0].mm_node;
+ else
+ mm_node = exp_xa_node->importer_entries[remote_acc_id].mm_node;
+
+ if (!mm_node) {
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ break;
+ continue;
+ }
+
+ dev_dbg(adev->dev,
+ "FREE-NPA: freeing NPA address:%llx, handle:%llx:%llx remote:%u\n",
+ mm_node->start, exp_xa_node->handle.handle_hi,
+ exp_xa_node->handle.handle_lo, remote_acc_id);
+
+ amdgpu_ualink_npa_free_va(adev, mm_node);
+ kfree(mm_node);
+
+ if (addr_mode == AMDGPU_UALINK_ADDR_MODE_SOURCE_ALIAS)
+ break;
+ }
+}
+
static void amdgpu_ualink_exp_cleanup_worker(struct work_struct *work)
{
+ DECLARE_BITMAP(orig_importers_bitmap, AMDGPU_UALINK_ACCEL_MAX);
+ struct amdgpu_ualink_importer_entry *imp_entry;
+ struct amdgpu_ualink_exp_xa_node *exp_xa_node;
+ struct amdgpu_ualink_handle handle;
+ struct amdgpu_device *adev;
+ struct amdgpu_bo *bo;
+ u32 remote_acc_id;
+ int r;
+
+ exp_xa_node = container_of(work, struct amdgpu_ualink_exp_xa_node,
+ cleanup_work);
+ bo = exp_xa_node->bo;
+ adev = amdgpu_ttm_adev(bo->tbo.bdev);
+ handle = exp_xa_node->handle;
+
+ /* Revoking access to an exported memory follows the steps:
+ * 1. Set PTE.X = 1 to retry for RPCs.
+ * 2. Send Remote TLB Shootdowns to all importers.
+ * 3. Unmap the NPA address from NPA VM.
+ * 4. Drop the ref count for the BO.
+ * 5. Send NPA_REVOKE to all importers.
+ * 6. Wait for NPA_RELEASE from all importers.
+ * 7. Free the NPA address once all responses are received.
+ */
+ /* If there are no importers for this BO/handle */
+ if (bitmap_empty(exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX)) {
+ /* Drop the BO reference so it can be freed. */
+ amdgpu_bo_unref(&bo);
+ exp_xa_node->bo = NULL;
+ goto free_node;
+ }
+
+ dev_dbg(adev->dev,
+ "EXP-CLEANUP: handle:%llx:%llx importers bitmap: %*pbl\n",
+ handle.handle_hi, handle.handle_lo,
+ AMDGPU_UALINK_ACCEL_MAX, exp_xa_node->importers_bitmap);
+
+ bitmap_copy(orig_importers_bitmap, exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX);
+
+ /* Set PTE.X = 1 for NPA addresses from all importers*/
+ amdgpu_ualink_force_retry_rpcs(adev, exp_xa_node);
+
+ /* Send TLB-shootdown to all importer GPUs */
+ for_each_set_bit(remote_acc_id, exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX) {
+ dev_dbg(adev->dev,
+ "EXP-CLEANUP: Sending TLB-shootdown to remote:%u\n",
+ remote_acc_id);
+ r = amdgpu_ualink_send_tlb_shootdown(adev, remote_acc_id);
+ if (r)
+ dev_err(adev->dev,
+ "EXP-CLEANUP: TLB shootdown send failed to remote:%u\n",
+ remote_acc_id);
+ }
+
+ /* Unmap all NPA addresses for this BO from NPA VM */
+ amdgpu_ualink_unmap_all_npa_addr(adev, exp_xa_node);
+
+ dev_dbg(adev->dev, "EXP-CLEANUP: handle:%llx:%llx Unpin BO, pin_count:%u, importers:%u\n",
+ handle.handle_hi, handle.handle_lo, bo->tbo.pin_count,
+ bitmap_weight(orig_importers_bitmap, AMDGPU_UALINK_ACCEL_MAX));
+ WARN_ON(bo->tbo.pin_count < bitmap_weight(orig_importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX));
+
+ /* Unpin the BO */
+ if (likely(!amdgpu_bo_reserve(bo, true))) {
+ bo->ualink_handle_lo = 0ULL;
+ for_each_set_bit(remote_acc_id, orig_importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX)
+ amdgpu_bo_unpin(bo);
+ amdgpu_bo_unreserve(bo);
+ } else {
+ dev_warn(adev->dev,
+ "EXP-CLEANUP: BO reserve to unpin failed for handle:%llx:%llx\n",
+ handle.handle_hi, handle.handle_lo);
+ }
+
+ /* Free the DMABuf */
+ dma_buf_put(exp_xa_node->dmabuf);
+ /* Drop the reference to the BO so it can be freed. */
+ amdgpu_bo_unref(&bo);
+ exp_xa_node->bo = NULL;
+
+ /* Send NPA-REVOKE to all importers which have imported this memory */
+ for_each_set_bit(remote_acc_id, exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX) {
+ imp_entry = &exp_xa_node->importer_entries[remote_acc_id];
+ if (!amdgpu_ualink_check_conn_ready(adev, remote_acc_id,
+ imp_entry->generation_count)) {
+ clear_bit(remote_acc_id,
+ exp_xa_node->importers_bitmap);
+ continue;
+ }
+
+ dev_dbg(adev->dev,
+ "EXP-CLEANUP: Sending NPA-REVOKE to remote:%u\n",
+ remote_acc_id);
+ set_bit(remote_acc_id, exp_xa_node->npa_release_bitmap);
+ r = amdgpu_ualink_send_npa_revoke_msg(adev, remote_acc_id, handle);
+ if (r) {
+ dev_err(adev->dev,
+ "EXP-CLEANUP: NPA-REVOKE send failed to remote:%u\n",
+ remote_acc_id);
+ clear_bit(remote_acc_id, exp_xa_node->npa_release_bitmap);
+ }
+ }
+
+ if (!bitmap_empty(exp_xa_node->importers_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX)) {
+ dev_dbg(adev->dev,
+ "EXP-CLEANUP: handle:%llx:%llx NPA-RELEASE bitmap: %*pbl\n",
+ handle.handle_hi, handle.handle_lo,
+ AMDGPU_UALINK_ACCEL_MAX, exp_xa_node->npa_release_bitmap);
+
+ /* Wait for the NPA_RELEASE to come back from all importers */
+ r = wait_for_completion_timeout(&exp_xa_node->npa_done,
+ msecs_to_jiffies(AMDGPU_UALINK_RESP_TIMEOUT));
+
+ if (r == 0)
+ dev_warn(adev->dev,
+ "EXP-CLEANUP: NPA-RELEASE timeout for handle:%llx:%llx\n",
+ handle.handle_hi, handle.handle_lo);
+ }
+
+ /* Free the NPA addresses given to all the importers */
+ amdgpu_ualink_free_all_npa_va(adev, exp_xa_node,
+ orig_importers_bitmap);
+
+ /* Warn about all importers that didn't respond back with
+ * NPA-RELEASE message. This will trigger connection timeout
+ * handling which is added later.
+ */
+ for_each_set_bit(remote_acc_id, exp_xa_node->npa_release_bitmap,
+ AMDGPU_UALINK_ACCEL_MAX)
+ dev_warn(adev->dev,
+ "EXP-CLEANUP: handle:%llx:%llx NPA-RELEASE timeout from remote:%u\n",
+ handle.handle_hi, handle.handle_lo, remote_acc_id);
+
+free_node:
+ xa_erase(&adev->ualink.handle_invalid_xa, handle.handle_lo);
+ mutex_destroy(&exp_xa_node->node_lock);
+ kfree(exp_xa_node);
}
/* This function is a copy of amdgpu_dma_buf_move_notify() function.
--
2.55.0
next prev parent reply other threads:[~2026-08-21 19:53 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 19:33 [PATCH 00/95] Add UALink instrastructure series 1 Alex Deucher
2026-08-21 19:33 ` [PATCH 01/95] drm/amdgpu: Add psp ualink command interfaces Alex Deucher
2026-08-21 19:33 ` [PATCH 02/95] drm/amdgpu: Fetch asp ualink interface version Alex Deucher
2026-08-21 19:33 ` [PATCH 03/95] drm/amdgpu: Add sysfs API for UALink information Alex Deucher
2026-08-21 19:33 ` [PATCH 04/95] drm/amdgpu: Add sysfs API for UALink physical pod setup Alex Deucher
2026-08-21 19:33 ` [PATCH 05/95] drm/amdgpu: Add sysfs API for UALink virtual pod config Alex Deucher
2026-08-21 19:33 ` [PATCH 06/95] drm/amdgpu: Add sysfs API for UALink station configuration Alex Deucher
2026-08-21 19:33 ` [PATCH 07/95] drm/amdgpu: Add UALink manager core infrastructure Alex Deucher
2026-08-21 19:33 ` [PATCH 08/95] drm/amdgpu: Implement PSP cmd UAL_GET_CONFIG Alex Deucher
2026-08-21 19:33 ` [PATCH 09/95] drm/amdgpu: Query initial UALink config from PSP Alex Deucher
2026-08-21 19:33 ` [PATCH 10/95] drm/amdgpu: Implement PSP cmd UAL_SET_PPOD_CONFIG Alex Deucher
2026-08-21 19:33 ` [PATCH 11/95] drm/amdgpu: Set physical pod configuration to PSP Alex Deucher
2026-08-21 19:33 ` [PATCH 12/95] drm/amdgpu: Implement PSP cmd UAL_SET_VPOD_CONFIG Alex Deucher
2026-08-21 19:33 ` [PATCH 13/95] drm/amdgpu: Set virtual pod configuration to PSP Alex Deucher
2026-08-21 19:33 ` [PATCH 14/95] drm/amdgpu: Implement PSP cmd UAL_SET_STATION_CONFIG Alex Deucher
2026-08-21 19:33 ` [PATCH 15/95] drm/amdgpu: Set UALink station config to PSP Alex Deucher
2026-08-21 19:33 ` [PATCH 16/95] drm/amdgpu: Implement PSP cmd UAL_SET_NPA_CONFIG Alex Deucher
2026-08-21 19:33 ` [PATCH 17/95] drm/amdgpu: Enable/disable NPA address translation using PSP Alex Deucher
2026-08-21 19:33 ` [PATCH 18/95] drm/amdgpu: Add helper function to check psp xgmi ta Alex Deucher
2026-08-21 19:33 ` [PATCH 19/95] drm/amdgpu: add handler for nHT error Alex Deucher
2026-08-21 19:33 ` [PATCH 20/95] drm/amdgpu: Add ual_config_state to ual_get_config Alex Deucher
2026-08-21 19:33 ` [PATCH 21/95] drm/amdgpu: extend PSP command polling sleep range Alex Deucher
2026-08-21 19:33 ` [PATCH 22/95] drm/amdgpu: Fix NULL pointer issue during ualink init Alex Deucher
2026-08-21 19:33 ` [PATCH 23/95] drm/amdgpu: Add a new NPA Address space Alex Deucher
2026-08-21 19:33 ` [PATCH 24/95] drm/amdgpu: Add address allocator for NPA addresses Alex Deucher
2026-08-21 19:33 ` [PATCH 25/95] drm/amdgpu: Initialize VM for NPA addr management Alex Deucher
2026-08-21 19:33 ` [PATCH 26/95] drm/amdgpu: Rework VMID reservation logic Alex Deucher
2026-08-21 19:33 ` [PATCH 27/95] drm/amdgpu: Reserve VMID for NPA VM Alex Deucher
2026-08-21 19:33 ` [PATCH 28/95] drm/amdgpu: Use reserved " Alex Deucher
2026-08-21 19:33 ` [PATCH 29/95] drm/amdgpu: Enable UALink Manager when pod becomes active Alex Deucher
2026-08-21 19:33 ` [PATCH 30/95] drm/amdgpu: Fix UALink vPod double-activation Alex Deucher
2026-08-21 19:33 ` [PATCH 31/95] drm/amdgpu: Add UALink remote state structures and API declarations Alex Deucher
2026-08-21 19:33 ` [PATCH 32/95] drm/amdgpu: Add UALink NPA address layout helpers Alex Deucher
2026-08-21 19:33 ` [PATCH 33/95] drm/amdgpu: Add UALink NPA address computation for ring buffers Alex Deucher
2026-08-21 19:33 ` [PATCH 34/95] drm/amdgpu: Add UALink NPA VM mapping " Alex Deucher
2026-08-21 19:33 ` [PATCH 35/95] drm/amdgpu: Add UALink SDMA scheduler entities Alex Deucher
2026-08-21 19:33 ` [PATCH 36/95] drm/amdgpu: Add UALink GART helpers for NPA address access Alex Deucher
2026-08-21 19:34 ` [PATCH 37/95] drm/amdgpu: Add UALink ring buffer allocation and firmware init Alex Deucher
2026-08-21 19:34 ` [PATCH 38/95] drm/amdgpu: Add UALink remote command packets and SDMA dispatch Alex Deucher
2026-08-21 19:34 ` [PATCH 39/95] drm/amdgpu: Add UALink firmware writeback address configuration Alex Deucher
2026-08-21 19:34 ` [PATCH 40/95] drm/amdgpu: Add UALink cross-GPU TLB shootdown and remote interrupt Alex Deucher
2026-08-21 19:34 ` [PATCH 41/95] drm/amdgpu: Add UALink software init, teardown, and reset Alex Deucher
2026-08-21 19:34 ` [PATCH 42/95] drm/amdgpu: Add UALink IH ring and enable interrupt Alex Deucher
2026-08-21 19:34 ` [PATCH 43/95] drm/amdgpu: UALink use LSDMA to send remote interrupt command Alex Deucher
2026-08-21 19:34 ` [PATCH 44/95] drm/amdgpu: Create a drm client for UALink NPA BOs Alex Deucher
2026-08-21 19:34 ` [PATCH 45/95] drm/amdgpu: Control NPA DMA-buf importing Alex Deucher
2026-08-21 19:34 ` [PATCH 46/95] drm/amdgpu: Add ualink handle to BOs Alex Deucher
2026-08-21 19:34 ` [PATCH 47/95] drm/amdgpu: Implement UALink handle export Alex Deucher
2026-08-21 19:34 ` [PATCH 48/95] drm/amdgpu: Add connection state management Alex Deucher
2026-08-21 19:34 ` [PATCH 49/95] drm/amdgpu: Implement UALink handle import ioctl Alex Deucher
2026-08-21 19:34 ` [PATCH 50/95] drm/amdgpu: Implement mechanism to revoke exported memory Alex Deucher
2026-08-21 19:34 ` [PATCH 51/95] drm/amdgpu: lock UALink import invalidation via drm_exec Alex Deucher
2026-08-21 19:34 ` Alex Deucher [this message]
2026-08-21 19:34 ` [PATCH 53/95] drm/amdgpu: Cleanup imported UALink handles Alex Deucher
2026-08-21 19:34 ` [PATCH 54/95] drm/amdgpu: Handle connection reset Alex Deucher
2026-08-21 19:34 ` [PATCH 55/95] drm/amdgpu: Setup PTE mappings for NPA addresses Alex Deucher
2026-08-21 19:34 ` [PATCH 56/95] drm/amdgpu: Add handling for remote interrupts Alex Deucher
2026-08-21 19:34 ` [PATCH 57/95] drm/amdgpu: Send TLB shootdown on exported memory unmap Alex Deucher
2026-08-21 19:34 ` [PATCH 58/95] drm/amdgpu: Handle local GPUs in UALink import Alex Deucher
2026-08-21 19:34 ` [PATCH 59/95] drm/amdgpu: Add debugfs to drop UALink protocol messages Alex Deucher
2026-08-21 19:34 ` [PATCH 60/95] drm/amdgpu: Temporarily disable sending remote TLB shootdowns Alex Deucher
2026-08-21 19:34 ` [PATCH 61/95] drm/amdgpu: Temporarily Flush TLB on NPA mapping always Alex Deucher
2026-08-21 19:34 ` [PATCH 62/95] drm/amdgpu: log remote memory MTYPE for GC 12.1.0 Alex Deucher
2026-08-21 19:34 ` [PATCH 63/95] drm/amdgpu: Prevent double-free of drm_exec Alex Deucher
2026-08-21 19:34 ` [PATCH 64/95] drm/amdgpu: fix NPA-RELEASE race in UALink exporter cleanup Alex Deucher
2026-08-21 19:34 ` [PATCH 65/95] drm/amdgpu: initialize UALink importer node list head Alex Deucher
2026-08-21 19:34 ` [PATCH 66/95] drm/amdgpu: Fix initialization flags for UALink XAs Alex Deucher
2026-08-21 19:34 ` [PATCH 67/95] drm/amdgpu: fix dma_buf leak in UALink exporter cleanup Alex Deucher
2026-08-21 19:34 ` [PATCH 68/95] drm/amdgpu: Increase UALink soft ring size Alex Deucher
2026-08-21 19:34 ` [PATCH 69/95] drm/amdgpu: Fix uninitialized fence in UALink NPA unmap Alex Deucher
2026-08-21 19:34 ` [PATCH 70/95] drm/amdgpu: Use vm->last_update fence in UALink NPA unmap paths Alex Deucher
2026-08-21 19:34 ` [PATCH 71/95] drm/amdgpu: Pin page tables in NPA VMs Alex Deucher
2026-08-21 19:34 ` [PATCH 72/95] drm/amdgpu: Initialize NPA PT/PDs to noretry Alex Deucher
2026-08-21 19:34 ` [PATCH 73/95] drm/amdgpu: always use MTYPE_UC for remote memory on GFX 12.1 Alex Deucher
2026-08-21 19:34 ` [PATCH 74/95] drm/amdkfd: program compute MQD coherent_aql_mtype " Alex Deucher
2026-08-21 19:34 ` [PATCH 75/95] drm/amdgpu: Separate out ualink init sequences Alex Deucher
2026-08-21 19:34 ` [PATCH 76/95] drm/amdgpu: Add ualink as separate ip block Alex Deucher
2026-08-21 19:34 ` [PATCH 77/95] drm/admgpu: Seggregate ualink nht messaging Alex Deucher
2026-08-21 19:34 ` [PATCH 78/95] drm/amdgpu: Assign accel state based on ASP config Alex Deucher
2026-08-21 19:34 ` [PATCH 79/95] drm/amdgpu: Drop duplicate vpod check functions Alex Deucher
2026-08-21 19:34 ` [PATCH 80/95] drm/amdgpu: Add support to send ASP completion Alex Deucher
2026-08-21 19:34 ` [PATCH 81/95] drm/amdgpu: Add handlers for ualink notifications Alex Deucher
2026-08-21 19:34 ` [PATCH 82/95] drm/amdgpu: Improve ualink state transitions Alex Deucher
2026-08-21 19:34 ` [PATCH 83/95] drm/amdgpu: Use uniform logic for inband/sideband Alex Deucher
2026-08-21 19:34 ` [PATCH 84/95] drm/amdgpu: Fix GART and SDMA entity leak on vPod reconfiguration Alex Deucher
2026-08-21 19:34 ` [PATCH 85/95] drm/amdgpu: Add UALink diagnostic logging for vpod commit/activation Alex Deucher
2026-08-21 19:34 ` [PATCH 86/95] drm/amdgpu: Handle UALink vPod reconfiguration while ACTIVE Alex Deucher
2026-08-21 19:34 ` [PATCH 87/95] drm/amdgpu: Add name for ualink ip block Alex Deucher
2026-08-21 19:34 ` [PATCH 88/95] drm/amdgpu: Cleanup UALink XA entries on manager stop Alex Deucher
2026-08-21 19:34 ` [PATCH 89/95] drm/amdgpu: Move ualink ip version related changes Alex Deucher
2026-08-21 19:34 ` [PATCH 90/95] drm/amdgpu: Add hw_fini for ualink Alex Deucher
2026-08-21 19:34 ` [PATCH 91/95] drm/amdgpu: Expose ualink info under each xcp Alex Deucher
2026-08-21 19:34 ` [PATCH 92/95] drm/amdgpu: Handle concurrent UALINK handle import race Alex Deucher
2026-08-21 19:34 ` [PATCH 93/95] drm/amdgpu: create UALink NPA import BO directly in the NPA domain Alex Deucher
2026-08-21 19:34 ` [PATCH 94/95] drm/amdgpu: add mtype_remote module parameter Alex Deucher
2026-08-21 19:34 ` [PATCH 95/95] drm/amdgpu: Honor mtype overrides for NPA remote memory Alex Deucher
2026-08-25 14:45 ` [PATCH 00/95] Add UALink instrastructure series 1 Philip Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260821193458.808626-53-alexander.deucher@amd.com \
--to=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=felix.kuehling@amd.com \
--cc=mukul.joshi@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.