Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB043606A31A for ; Wed, 2 Dec 2026 00:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Q2ioWRlk Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7ABFD10FE08; Wed, 2 Dec 2026 00:06:48 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id B8EBA10EAAC; Wed, 2 Dec 2026 00:06:42 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id D9AB36117F; Wed, 2 Dec 2026 00:06:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7501D1F00896; Wed, 2 Dec 2026 00:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796170001; bh=sDL7Jy3ddogP5azdoiT9Fp6kxfTTlIHUh363o1n6Xlw=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=Q2ioWRlknlvFw6rR+uxP8nzAt0XGjbssf8OqYlHK1r3wtlwWnTrnJ/qt7vrx3055t YRHY2AjCTtdDfpYdT8G2iv+UFXLQp33ouLAeBIHIo7/0ug9HI6oxtKR3ife/dktsQ+ QdOrvhcRenT3o/PD1RK0t6gsJumWJdWyN/12CY+2HXcNQRSb+YkfwoDAXXSWEompuh ACOb4VLEIrcAhdCRFkAKP41hHefVTwGyzra0WZCpod2DZwTipi9F3RbMA/ElrP0jMq d+Ar/zYplM45NufMat+L+pitCj3/ge/3wREMR4+JKVWnZW3znNjYtJLbG164BfBort wIFnAplo5mkIw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 06/33] drm/ttm: Add fault injection for beneficial-order allocation failures To: "Matthew Brost" , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org In-Reply-To: <20261201234915.3305331-7-matthew.brost@intel.com> References: <20261201234915.3305331-1-matthew.brost@intel.com> <20261201234915.3305331-7-matthew.brost@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 00:06:41 +0000 X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "Intel-xe" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/ttm: undocumented fail_beneficial member in struct ttm_pool_alloc_iter -- commit 29c737362a49af90b63b34b7ee8c28cff62a10ee Author: Matthew Brost drm/ttm: Add fault injection for beneficial-order allocation failures This commit adds a beneficial_order_fault_inject debugfs fault attribute to force allocations at or above a device's beneficial order to fail in ttm_pool. > diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_poo= l.c > index 0480d5f580697..a117bd9089af6 100644 > --- a/drivers/gpu/drm/ttm/ttm_pool.c > +++ b/drivers/gpu/drm/ttm/ttm_pool.c [ ... ] > @@ -827,21 +828,34 @@ struct ttm_pool_alloc_iter { > unsigned int order; > enum ttm_caching page_caching; > bool allow_pools; > + bool fail_beneficial; > struct page *p; > }; [Severity: Low] struct ttm_pool_alloc_iter has a /** kernel-doc comment block above it, so adding fail_beneficial without an @fail_beneficial entry adds a new W=3D1 kernel-doc warning (alongside the other undocumented members in this struct). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201234915.3305= 331-1-matthew.brost@intel.com?part=3D6