From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70787C2A075 for ; Mon, 5 Jan 2026 08:47:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10CE310E332; Mon, 5 Jan 2026 08:47:55 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Kvndgjwo"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7121910E28E for ; Mon, 5 Jan 2026 08:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1767602871; x=1799138871; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=jtJnvM/gnfrt1oVWukTW/jUmpxpNbwN/8aCOwUENoXs=; b=KvndgjwoYFMB+/lEZE/cD2/xPby2lW+mdTxvhK/2p6iif9O3VE84BvZS YK+NzqwizG/TiRsEeGVUWWbVoyFoo2y34CA0lbE/kcui/0sbpmO1t6DmJ /JSZwC1lLANC8o+VQOjUVGRmDMO5SEXr0lBrfipJwltl9CLPEJBfVN40H WLAxMjHKOnQw4lOhMPInJ9GM21D9Q7NAe2n1WmAykYzwoUDAqQXoRQ8SZ UI9L2fJP77UZVhxYsTm7iRGmlO1lAdoDYeHMPtA59AUPTVCZoXYVCjuJU nHrUfgCPg28i+uURkO48aCod3DC1BH0DH7Fh1V1ez+7DaE+9/BomX0HFG g==; X-CSE-ConnectionGUID: /+Q6je0FRpmgPaLLrEfghQ== X-CSE-MsgGUID: BhhKIzhxTmy3Ea1abx9qcA== X-IronPort-AV: E=McAfee;i="6800,10657,11661"; a="72814604" X-IronPort-AV: E=Sophos;i="6.21,203,1763452800"; d="scan'208";a="72814604" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2026 00:47:51 -0800 X-CSE-ConnectionGUID: q7CVkAfkRHu2oInwbhPTQg== X-CSE-MsgGUID: PiD7siYxShSHgv+AShF94g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,203,1763452800"; d="scan'208";a="225873318" Received: from dut7069bmgfrd.fm.intel.com (HELO DUT7069BMGFRD..) ([10.1.84.79]) by fmviesa002.fm.intel.com with ESMTP; 05 Jan 2026 00:47:50 -0800 From: nishit.sharma@intel.com To: igt-dev@lists.freedesktop.org, nishit.sharma@intel.com, sai.gowtham.ch@intel.com Subject: [PATCH i-g-t v14 00/11] Madvise feature in SVM for Multi-GPU configs Date: Mon, 5 Jan 2026 08:47:39 +0000 Message-ID: <20260105084750.190346-1-nishit.sharma@intel.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" From: Nishit Sharma This patch series adds comprehensive SVM multi-GPU IGT test coverage for madvise and prefetch functionality. ver2: - Test name changed in commits - In patchwork v1 patch is missing due to last patch was not sent ver3: - In patch-7 tags were added and it was not sent on patchwork ver4: - In patch file was added which is not available in source which caused CI build failure. ver5: - Added subtest function wrappers - Subtests executing for all GPUs enumerated ver7: - Optimized function calling which are frequenctly called - Incorporated review comments (Thomas Hellstrom) ver8: - Incorporated review comments (Thomas Hellstrom) - Seperated madvise and lr_sync patches - merged added 0 as instance parameter in xe_vm_madvise() call in xe_exec_system_allocator with xe_vm_madvise lib changes - Subtests declared in const struct section[] and optimized - All subtests executed with and without prefetch ver9: - Incorporated review comments (Pravalika, Thomas) - Optimized code. Multiple same function called put in single function - Added READ_ONCE/WRITE_once instead dereferecing. ver10: - Incorporated review comments (Thomas) ver11: - Incorporated review comments (Thomas) - For conflict madvise case instead assertion added conditon ver12: - Incorporated review comments (Thomas) ver13: - Created seprate commit for drm/xe/uapi aligned with KMD ver14: - replaced igt_warn with igt_debug to avoid unnecessary CI run warnings Nishit Sharma (11): drm-uapi/xe: Sync with madvise interface lib/xe: Add instance parameter to xe_vm_madvise lib/xe: Add synchronous helpers for VM bind/unbind operations tests/intel/xe_multigpu_svm: Add SVM multi-GPU xGPU memory access test tests/intel/xe_multigpu_svm: Add SVM multi-GPU atomic operations tests/intel/xe_multigpu_svm: Add SVM multi-GPU coherency test tests/intel/xe_multigpu_svm: Add SVM multi-GPU performance test tests/intel/xe_multigpu_svm: Add SVM multi-GPU fault handling test tests/intel/xe_multigpu_svm: Add SVM multi-GPU simultaneous access test tests/intel/xe_multigpu_svm: Add SVM multi-GPU conflicting madvise test tests/intel/xe_multigpu_svm: Add SVM multi-GPU migration test include/drm-uapi/xe_drm.h | 26 +- lib/xe/xe_ioctl.c | 52 +- lib/xe/xe_ioctl.h | 9 +- tests/intel/xe_exec_system_allocator.c | 8 +- tests/intel/xe_multigpu_svm.c | 1552 ++++++++++++++++++++++++ tests/meson.build | 3 +- 6 files changed, 1632 insertions(+), 18 deletions(-) create mode 100644 tests/intel/xe_multigpu_svm.c -- 2.48.1