From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 99DAB25D91E for ; Thu, 6 Mar 2025 17:55:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741283713; cv=none; b=TfOcp03cPKYeqI5J3m+mVe5b1DCFmJ267NChcYh/Ms6h6YO0VFge36Z9sJApdCODHtLkYqlqQ0q2YoBrOPq+nBbQsQneo7skyjSFeWXC9wCjiICM9qC3oBntSaW5u51NvZ5xln7Ge46Q92uKynndbvtxD9GEAlDana7kXzPNLi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741283713; c=relaxed/simple; bh=6fvdqXm8H7ytxHQlOX9tMlO4epxS5Q2oP7qjq6K+MTY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ebBTiyHkG4ubLp0Si2BGkMi3iR86El2qNs9ja0j9r5eVUgixwkavVJ8DfZWt1ciRjCGlhpyAwpxahOHehU8hjhn6kgJ94kHs6WuWV/yol740YLnjoqUWhptFebrAZMzXxZVaEzMS5IRXW/VilzhEa/xCzfG+AckkvsKlllvlcvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ALAKw58t; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ALAKw58t" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1741283711; x=1772819711; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=6fvdqXm8H7ytxHQlOX9tMlO4epxS5Q2oP7qjq6K+MTY=; b=ALAKw58tOT7OamKLn3LZoN8qo2eVbeRo8VoWILK7XnjkAXeAcfe/Tr4j ZYZONLXTu9Ncjx4KKeONy0wmMdxqHujzsX/HUvUQBJ3CmZidYWEfRfnER Zz/ELvLPDLxiqqKbYzNBdEX0mgdLn77muQdgimG5t83ff2znsthBjMF0E 03VIdHLfeiD8F9JdZBrpZRSatwva/6Tfli48K+NUp8YKN8KcZ0aqTMYCZ BIWdDWIhcHRCgxP7iFguQghQIKjYNf+wDGuIZP08a1+U8R/omXdQiZFSt VF8N7x9rOuYvIqFyKEV9MoSEqSCg32lxHrK8mLSzmsd4dc/NdScIw2XXL A==; X-CSE-ConnectionGUID: nEwYf3IZRW+LvbRyeeogCw== X-CSE-MsgGUID: 3Ywk+1RvTYu+DGGiX6qWJg== X-IronPort-AV: E=McAfee;i="6700,10204,11365"; a="41563945" X-IronPort-AV: E=Sophos;i="6.14,226,1736841600"; d="scan'208";a="41563945" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2025 09:55:10 -0800 X-CSE-ConnectionGUID: waIaI0sJQLW6fwv6tw8xQw== X-CSE-MsgGUID: aijjEQaOSleAib6+dPsGrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="120011491" Received: from smile.fi.intel.com ([10.237.72.58]) by orviesa008.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2025 09:55:06 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.98) (envelope-from ) id 1tqFR1-00000000B6w-1KUF; Thu, 06 Mar 2025 19:55:03 +0200 Date: Thu, 6 Mar 2025 19:55:03 +0200 From: Andy Shevchenko To: Vincent Mailhol 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> <722e147b-fdd1-4098-8d60-48c83e36a7f7@wanadoo.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <722e147b-fdd1-4098-8d60-48c83e36a7f7@wanadoo.fr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Fri, Mar 07, 2025 at 01:08:15AM +0900, Vincent Mailhol wrote: > On 06/03/2025 at 22:11, Andy Shevchenko wrote: > > 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.. > > Let me confirm that I correctly understood your ask. Would something > like this meet your expectations? I believe it should be written in asm. -- With Best Regards, Andy Shevchenko