From patchwork Fri Sep 13 02:16:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shen Lichuan X-Patchwork-Id: 13803024 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 2E23FFA3722 for ; Fri, 13 Sep 2024 07:03:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D924C10EC8C; Fri, 13 Sep 2024 07:03:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="q9b5Me0C"; dkim-atps=neutral Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2040.outbound.protection.outlook.com [40.107.255.40]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0BD7B10EC91; Fri, 13 Sep 2024 02:17:02 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cS0wlmN4+uxRfH6YXvYRa5SnCGbldSkFdzg9IgGwi2t0oJb22lzgFgfLJ8q3+/A+Rre70blQm4atgsgT19UEFObHptLgUW+kmYaSi0Q3WcyNiagoybaiQ79Dx9hUzulRX3CeY2P0dtt7Rl6Xn6vYyTllptphTcd22tsjcTGmp9if2fI6EuapOct7UuJKMQZhI3aLaENQJ0hS5PEoaZA9fxJAV20p1kVfw9dVtzVZZaSjQudzgFMoT6q3PhKVPmVdRRDAN4ZJeI7Dz9GBGdwWQwmkLa8Nms0/WCwiaOIXYZquJRb9FIcUvJ1fT44oFeuAhFSUl8BglXelDmqxxtiAFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WGHGNL5QOk6EosCBZJ1aWZK6C3JswRimNMFkIKSgOPo=; b=rqa+2VxhpZZfGp4oNOTT5pI8p29uiQj/7/3MaOsSo7ydhHG1QYcKYAPZTPHOpGcFczwUGj568TP5J6YLC8ywx5wRFS5dQNU9LKdzyTCYySut18nGdGpuV6nt7s+jvZ+NO2qE1xNPihKYdPphrPtC0goIRcDYtIVt78MLHkbuE8kV1w/cA89B6Y5UkmDd6yE7Sn1GAV1i6G1mGNSuEOxPsT28LpjzpFrvWahvv5t+7jMVtSREi+pDYZnld+cn4opzzPSB1PAbX5srk4LscBGYAGWBn4UxCQx0ct6AunzH0GCgqNSCwgeqJLKMHctnLWwAcPqD5rT15CNJ+LctbvoD3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WGHGNL5QOk6EosCBZJ1aWZK6C3JswRimNMFkIKSgOPo=; b=q9b5Me0CgWmGeNmrsewMWexAqQMNzNzBLYX9BUlKQJede6FsLCg9WJBtxgEeMuKapcoh95HzVAndXAJsRERAsz+CrCGiRN2OmVuw+CrZmQqEBvYJ0iso8XrdjuIoI1LbHEw8EdnIRmVJzWa4TAcI/ELxntaiQjnjxjbqxhU23ytFwWRo3pXsWXrI7XVZme/8WQwyZxyehmnB9cG/FSdDqnvi7QcQStRoOIHstkBvTLbmaCJXtU0Rf00HBbOsOyt1eEX1nzDnkX14rRkDvubOefBiuYNx8ZfAcF8aAtNFMj6z4lM5z/Cxk82dP3f5VN4JqcDIDJ/nrzwHRYCuRKioAw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) by SEYPR06MB5766.apcprd06.prod.outlook.com (2603:1096:101:b9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.25; Fri, 13 Sep 2024 02:16:56 +0000 Received: from SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce]) by SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce%3]) with mapi id 15.20.7962.016; Fri, 13 Sep 2024 02:16:55 +0000 From: Shen Lichuan To: zhenyuw@linux.intel.com, zhi.wang.linux@gmail.com, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tursulin@ursulin.net, airlied@gmail.com, simona@ffwll.ch Cc: intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan Subject: [PATCH v1] drm/i915/gvt: Correct multiple typos in comments Date: Fri, 13 Sep 2024 10:16:12 +0800 Message-Id: <20240913021612.41948-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:4:192::8) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5899:EE_|SEYPR06MB5766:EE_ X-MS-Office365-Filtering-Correlation-Id: 621d5e6b-8533-41ea-5daf-08dcd39a2369 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|7416014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: m/+88NLnZjT95v377jOW98qvC5qCBXs27kIWMPwJNV+QIFu8bZ5bN7K5SAT/Ubfu/8KG/YpvkKbYbg15fleLcwp34ZT04+E2qIHyPwUxsDS7c4Cc709z0bLAOzjWj5JBBt8OeQGtQw5CmGUuhv817ycZCfHd5fBDDP2llXGqoPdSjieaJ8vWgp67x1kNbdJbkl1eOZ7O0lhKpc6uGg0V1xBW0AVkUN4EPEFXwMyp14mMhUN01sg+m3pH12Xj4I18quC/HaK50Uw9w7MFgGwcZEn6OoapVD+vBoRptiIfFFyRmvjuBgsEpkeVDy4mBiKe76BmrsxV4h12J/MLCsubu0ATK+hcwTQ9GmHbcFH1EeGeg81neGV3SVdDv9/hTFK0/PPs835HdmIHp0+n70UQLfL4i2nQlxoGkx8AIQuZzo6Pe6blkIuIsXMlD2nw880PPlYcpIn8GNEFdpSup9+OWaBw3i3rcVTi2M0BB7177QjwQ82e44gnACtcUEN6X+UOEft3yT6iRLw72wtvRTMp6JPgOsWpzRoz3wxJfSr5PSi/p2KsBIN3EOyswvHH7latdGiFv2CL569mFky0EUNDe7k5QpdFsu9j0l92Wt4Grz+B5uotcFTaDsj2qlStepe8TEDCMLVzhL0LE2dupeYe1D8t8+iF3o6ihbwmXkbnPUQCYy1ErQUpAtZwnBYId0YtsEuBPu39bA0ywmGvP30GlVaRVuTK0Xothe7eB1pNtBL/PDBmUc2wMjNR5CbyYnriOI1Pbo1hHJcw5UtUL0eghJcsagrSA5oaa+iqfGBDMPHPNdEolpjqd2iIt9QsCijzFcPmE5DLN5wStce2gPHty1s04EALweNU5CscSiXQ/tMmCc4gfMQy3BmVvU0Ip1JyCAcpCcEGOnWGrufQsYk1BhLapik9liNyZY2H2wdaw/l62oVbO3F2srLEUAOSdbKKyWhmqnHUHV3llEYaq+1pH8rUEDFiTgjwUf2l4H9D6hsvHHcE8iDI5OZ25A5oXvk3O++U9QOHDQ8+FMT9XGZ61uxaJbT/vyK5zDklpyiQEFUnvP4oMuNIjIrm5H8XI6pW6EwIUb5TUEolvC9k0gsr3ENSnGS4UvWU/+zdGujnDwgveC3lJeZf/wxdgPrBnuyxbgcasv9XsRxqFUQdsRu0U2jMJ4I4gUuTAE2MQmu+UupLgyKzneGsjqz+62uGkoGoLYVc+mwJA5zNCWuuJN2b+DuCi57iNlV3dp3Lkh9WqAwqZFzXTdwAhHn2Dps+sAe9tO3u7fa4oXGHDxnVuTTlyKA8zkBmd9C5/1YUtMG2yjk7FPx+8NYR46XCwYOFkYrNo44Gaq6u/Pxc+z8+HkJjz7E27PU2gUGLG4TcaHNvY2RR7lf/otrDwV22twBkQKNM4m5tNUNMWFGk76DnqTQUsA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEZPR06MB5899.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b1h14OOp9lgjfWD/FYfWMmRqQHwgUFEFFW2rAnPp4ZUvOdX4t7DNczplflxXCOif9RaRimMpeL36tTNIKnTVFtcDZr3zh2HWQCA/0ysjyXnbbBjLeJy3jE00wn2yR5dQIeEzm050jYqUW5GuXliUbsUiOYmkmGBln9k9LTNdlb1eLpmuqe4ZMNtcT93IwMzjpuciwblHv9Bg7KNDCrkTNh7Hbo/NDmMWxdSFMwYl3aWJGc2DjEXOf44gO1S9jfNwc3dGmMkbHdv3ix7AuUS/3/HY8a92ST0FLKFNk9KjilOTHFDJsPDiFVqQWjNLit4EmmvAjaiVulFkzPJHNR7LDcG/N8S0hqTfDSxDZrblvnUeCAQhdFoSwA5kFP5ZTByLwcyAFNfNnQQyKLGDr0m8RCQn0xoIUkrrPaDjE279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f9W962puC8qrV/zQQ1e+ZQINfI+hMjFztfnumguTxgiIheXuamOu9Wq2beHZNNLA3Ba1+s5HhodJ1suKGVG X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 621d5e6b-8533-41ea-5daf-08dcd39a2369 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2024 02:16:55.4168 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MGiysnfGBMQDIxPEOPeaelYoI9mJojZ9J6T8bSY+XHPTvEr4+04uyMr/rTFPdjjxPDHjsDyOOrFkj4kY9kMGuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB5766 X-Mailman-Approved-At: Fri, 13 Sep 2024 07:03:15 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixed some spelling errors, the details are as follows: -in the code comments: addess->address trasitions->transitions furture->future unsubmited->unsubmitted Signed-off-by: Shen Lichuan --- drivers/gpu/drm/i915/gvt/gtt.c | 2 +- drivers/gpu/drm/i915/gvt/opregion.c | 2 +- drivers/gpu/drm/i915/gvt/page_track.c | 2 +- drivers/gpu/drm/i915/gvt/scheduler.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/gtt.c b/drivers/gpu/drm/i915/gvt/gtt.c index 58cca4906f41..1bce1493b86f 100644 --- a/drivers/gpu/drm/i915/gvt/gtt.c +++ b/drivers/gpu/drm/i915/gvt/gtt.c @@ -1190,7 +1190,7 @@ static int split_2MB_gtt_entry(struct intel_vgpu *vgpu, ppgtt_set_shadow_entry(spt, se, index); return 0; err: - /* Cancel the existing addess mappings of DMA addr. */ + /* Cancel the existing address mappings of DMA addr. */ for_each_present_shadow_entry(sub_spt, &sub_se, sub_index) { gvt_vdbg_mm("invalidate 4K entry\n"); ppgtt_invalidate_pte(sub_spt, &sub_se); diff --git a/drivers/gpu/drm/i915/gvt/opregion.c b/drivers/gpu/drm/i915/gvt/opregion.c index 908f910420c2..509f9ccae3a9 100644 --- a/drivers/gpu/drm/i915/gvt/opregion.c +++ b/drivers/gpu/drm/i915/gvt/opregion.c @@ -439,7 +439,7 @@ int intel_vgpu_emulate_opregion_request(struct intel_vgpu *vgpu, u32 swsci) gvt_vgpu_err("requesting SMI service\n"); return 0; } - /* ignore non 0->1 trasitions */ + /* ignore non 0->1 transitions */ if ((vgpu_cfg_space(vgpu)[INTEL_GVT_PCI_SWSCI] & SWSCI_SCI_TRIGGER) || !(swsci & SWSCI_SCI_TRIGGER)) { diff --git a/drivers/gpu/drm/i915/gvt/page_track.c b/drivers/gpu/drm/i915/gvt/page_track.c index 60a65435556d..20c3cd807488 100644 --- a/drivers/gpu/drm/i915/gvt/page_track.c +++ b/drivers/gpu/drm/i915/gvt/page_track.c @@ -167,7 +167,7 @@ int intel_vgpu_page_track_handler(struct intel_vgpu *vgpu, u64 gpa, return -ENXIO; if (unlikely(vgpu->failsafe)) { - /* Remove write protection to prevent furture traps. */ + /* Remove write protection to prevent future traps. */ intel_gvt_page_track_remove(vgpu, gpa >> PAGE_SHIFT); } else { ret = page_track->handler(page_track, gpa, data, bytes); diff --git a/drivers/gpu/drm/i915/gvt/scheduler.c b/drivers/gpu/drm/i915/gvt/scheduler.c index a5c8005ec484..23f2cc397ec9 100644 --- a/drivers/gpu/drm/i915/gvt/scheduler.c +++ b/drivers/gpu/drm/i915/gvt/scheduler.c @@ -1052,7 +1052,7 @@ void intel_vgpu_clean_workloads(struct intel_vgpu *vgpu, struct intel_vgpu_workload *pos, *n; intel_engine_mask_t tmp; - /* free the unsubmited workloads in the queues. */ + /* free the unsubmitted workloads in the queues. */ for_each_engine_masked(engine, vgpu->gvt->gt, engine_mask, tmp) { list_for_each_entry_safe(pos, n, &s->workload_q_head[engine->id], list) {