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 AE560C282D1 for ; Thu, 6 Mar 2025 13:11:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3855B10E963; Thu, 6 Mar 2025 13:11:38 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="C3UaXmGN"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8819110E95C; Thu, 6 Mar 2025 13:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741266699; x=1772802699; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OW0AABwV4kkghFUrMLhVQ5s89X7j+zKJ/MGBR1bvqJc=; b=C3UaXmGNWkUC3YPwhtDCOaN52jOvVp4WomXiUsxWCchHa5WW2ol1E5o8 WMuU3dYPHgGisSxGzQEAmqkhQ5yLbTlKrhNnu9/VeLezxEEazr7QgE2sF Dfh7AZPltNAZtVsLejCmtljNroo4oNAgkjx5LtsxX0M5Gfd5lAv7FIVEI 0VMssFTN5/8MJ2e7+DMa5pJjm59r4ibIh6pCciVS/6cobfI8FU3IawMQd w6gsYh/q2RS6G6CX4321QsAdAok7OQj2SGx+hJdZIXzdOe5IyyjMIRaoQ KBv89Y/4Eo4pGzgEerLM8qdtjzwMacrmrmbZEnn1kk1nieZ0dvRbODLG2 A==; X-CSE-ConnectionGUID: L/kV7wUHTFK47ozjMywM6w== X-CSE-MsgGUID: taVjOQeSSGiF/t5SYfgR3Q== X-IronPort-AV: E=McAfee;i="6700,10204,11365"; a="42469763" X-IronPort-AV: E=Sophos;i="6.14,226,1736841600"; d="scan'208";a="42469763" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2025 05:11:38 -0800 X-CSE-ConnectionGUID: fqQKbtOCSR2n84cNr4NstA== X-CSE-MsgGUID: MfgAeYkFQyWBYaFxQV0Gkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="124230241" Received: from smile.fi.intel.com ([10.237.72.58]) by orviesa005.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2025 05:11:33 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.98) (envelope-from ) id 1tqB0b-000000007id-3ppG; Thu, 06 Mar 2025 15:11:29 +0200 Date: Thu, 6 Mar 2025 15:11:29 +0200 From: Andy Shevchenko To: mailhol.vincent@wanadoo.fr Cc: Yury Norov , Lucas De Marchi , Rasmus Villemoes , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Simona Vetter , Andrew Morton , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Andi Shyti , David Laight , Dmitry Baryshkov Subject: Re: [PATCH v5 7/7] test_bits: add tests for BIT_U*() Message-ID: References: <20250306-fixed-type-genmasks-v5-0-b443e9dcba63@wanadoo.fr> <20250306-fixed-type-genmasks-v5-7-b443e9dcba63@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250306-fixed-type-genmasks-v5-7-b443e9dcba63@wanadoo.fr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Thu, Mar 06, 2025 at 08:29:58PM +0900, Vincent Mailhol via B4 Relay wrote: > From: Vincent Mailhol > > Add some additional tests in lib/test_bits.c to cover the expected > results of the fixed type BIT_U*() macros. Still would be good to have a small assembly test case for GENMASK*() as they went split and it will be a good regression test in case somebody decides to unify both without much thinking.. -- With Best Regards, Andy Shevchenko