From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A0EF3E3165; Wed, 6 May 2026 09:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778060887; cv=none; b=NyligCyhCpQemkdFkOrACdrEbL9pQX1O0m4JAqtUgqtydeD0+hGt61rBfJMqX6ev+IBXro3JUo11NOWWvFlwneeZphbAgTwKsGoRMFfX5xp/nYJMKIOXHIt5Qt7nhjY1t82KiuuxruhGMV1Gv0nAOqdy/6PgjBzJgo7enmvgc+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778060887; c=relaxed/simple; bh=qErOzqaQMMAJY6k58Ykpwky/9HhgyaVOIcKlTW08gzA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pRTsOkbdcO/ggGI0OZub13EEIUVxhBHgVSW23In5BxrwKnmlAGAx9eNks3oIYPQXPY8liQqMZ8fMVtfXe0wnXLxRJB7j8udyaxd1h8uEJsQsSpYmiv/2iy56sKnps0mmdY/59ULnejx4rhgM/ftOna8u1+K8tKRfcMHrDrgZjAU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tUN5Z6to; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tUN5Z6to" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47562C2BCB8; Wed, 6 May 2026 09:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778060886; bh=qErOzqaQMMAJY6k58Ykpwky/9HhgyaVOIcKlTW08gzA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tUN5Z6tojrMevg+I2BQfvG4PMFrXvCHacrTzljFmmpHdqbDjixhwCTgZgGfEEfoM1 yl4RwJfGcSsRYgugVPA9RW8g0NDSqb5uB6lHzVNp2m1WF266OnVfnPUCG8uDS+6bHV bktRBjDg3sdyPBbp4VOdsZg1A6k6OgAG+gPfqFuhNn0PmEUTSFdvTO0dZUwXOddx4u y06QAtlBSmudFVX9RK6HERiwBP3xNYJTf8geMadeVRiUxa53sZurfWyRFp8jg3Q33i +DlwheDkJ7iNbhEyFYgAm/70NghxSl6OuuX5+1FKUkF/maWvBJiF4qd8cz5P2Z6lor 4qoykJruUBoNg== Date: Wed, 6 May 2026 11:48:03 +0200 From: Maxime Ripard To: David Gow Cc: Albert Esteve , Arnd Bergmann , Brendan Higgins , Rae Moar , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Jonathan Corbet , Shuah Khan , Andrew Morton , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, dri-devel@lists.freedesktop.org, workflows@vger.kernel.org, linux-riscv@lists.infradead.org, linux-doc@vger.kernel.org, peterz@infradead.org, Guenter Roeck , Linux Kernel Functional Testing , Dan Carpenter , =?utf-8?B?TWHDrXJh?= Canal , Alessandro Carminati , Simona Vetter Subject: Re: [PATCH v8 3/4] drm: Suppress intentional warning backtraces in scaling unit tests Message-ID: <20260506-didactic-jumping-nuthatch-ed8b42@houat> References: <20260504-kunit_add_support-v8-0-3e5957cdd235@redhat.com> <20260504-kunit_add_support-v8-3-3e5957cdd235@redhat.com> <47d78cad-0839-4602-9cb3-d1f672739e7e@davidgow.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="ikeusn7jscpsnzz4" Content-Disposition: inline In-Reply-To: <47d78cad-0839-4602-9cb3-d1f672739e7e@davidgow.net> --ikeusn7jscpsnzz4 Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v8 3/4] drm: Suppress intentional warning backtraces in scaling unit tests MIME-Version: 1.0 On Wed, May 06, 2026 at 05:38:50PM +0800, David Gow wrote: > Le 04/05/2026 =E0 3:41 PM, Albert Esteve a =E9crit=A0: > > From: Guenter Roeck > >=20 > > The drm_test_rect_calc_hscale and drm_test_rect_calc_vscale unit tests > > intentionally trigger warning backtraces by providing bad parameters to > > the tested functions. What is tested is the return value, not the exist= ence > > of a warning backtrace. Suppress the backtraces to avoid clogging the > > kernel log and distraction from real problems. > >=20 > > Tested-by: Linux Kernel Functional Testing > > Acked-by: Dan Carpenter > > Acked-by: Ma=EDra Canal > > Cc: Maarten Lankhorst > > Cc: David Airlie > > Cc: Daniel Vetter > > Signed-off-by: Guenter Roeck > > Signed-off-by: Alessandro Carminati > > Acked-by: David Gow > > Signed-off-by: Albert Esteve > > --- >=20 > I'm happy with this either with or without the extra check for the warning > count. >=20 > Acked-by: David Gow >=20 > We'll take this patch in the kunit tree along with the rest of the series > once everyone's happy. If there's no need for a new version, feel free to merge these patches, I'm totally fine with it being addressed as a follow-up. Maxime --ikeusn7jscpsnzz4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCafsOTAAKCRAnX84Zoj2+ drryAYDFKQohrFhdIOfkAffAKzu3UtF0SD883nzuZ2hAiDMX/SQyJrA3L69XtETR j46wkM8BgPm/YCKz+v4oTtL52E8WgdiXr5wZlA31A+MRWnnQBKYE6uXnkb2QRsYf gZAJ0rj7Jw== =FnnM -----END PGP SIGNATURE----- --ikeusn7jscpsnzz4--