Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp465819rdb; Thu, 15 Feb 2024 05:54:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9HLB/qtt4Wrn5CVDu4MxxxoaewLCMft2+ENPqZJBQL8bwC+ngjhgMnael833GkkeZPTVGeBaeSvP9/Yv15l2UN45nD3WdqXotA9rzuA== X-Google-Smtp-Source: AGHT+IHwD3l2N3kFzw+RqilY5jx9kY42B04AMkMgvSUWaq+z4yFxAwODbFrgV1EGfHipRsCB3gM+ X-Received: by 2002:a05:620a:c1b:b0:787:1ccd:fec2 with SMTP id l27-20020a05620a0c1b00b007871ccdfec2mr1857193qki.63.1708005256009; Thu, 15 Feb 2024 05:54:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708005255; cv=pass; d=google.com; s=arc-20160816; b=p3MrxcwHc3wzQR3e75GHu+HJ7THzH9ovVdoisQWXBmOXYbuYVVZZU6qJrUTqjYXpQk 4Be6B27Or5/UMyLzu8rIxL1vLuRh/d7VUmi6R9Z0elWoHCXT5aqCvdI+J1px5QSotb+U PJkZh68c6J51U5SBjU9az2ls7JNY6vdTpXHXvnqHDwWDhQAIMIxQhKpWpWyI48/oBLA1 L5I3Uf3KkGcuJwdwj7PGDge6ly2+qKxO5B96OefeiJTSs691Uq1411SCi6PWqd3QRMdm AzUnjPM1zEpxHjbaIFWlcMqHHk9BgWTKEBwA0rAWi9Quhkh/TE89f+PY295/MVezBhTQ +v8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zAA3Qz8Z9Xu9fx7hX9tZ2leH6Xes7YMO5abjjsPCjRQ=; fh=8GAE0dUZVw6MwcWuqlxn6FYNn/50m1ljIZcfbaTuKHE=; b=a7MZsv69doGAUwyfePyHtyODzJtwWh0Nz9e+s0Pq6Lx/7uZwg7QFuOe2HRhCStmz+r OeSsXpQrg7kNjd5w7YxtIwwfGIwRSfHQ3BqsO0Uz+Hp90gPg/19PcrqZqxfJFw+Btp6p Pw4g8Z5nksKNlYhlONeFGQLavNchBbjuBEoU6XVcivAPRR8ko/inAvxX7puSXG0fzJpT nhc+I6EPWlUxdmFibMu/EJ7EuAar8w1kzGDSvXtkK7MToVG5ai1PLo/GRQOH9NrIiTSA glvwfV874RUAsEvxqz7Rz1JgvZAFBV8VCInE93KAuHu5lAX34OKf+ge1BCoQTamSG5ag gGag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OMcJX4Ux; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-67022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h14-20020a05620a13ee00b007872569fc53si1541297qkl.650.2024.02.15.05.54.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:54:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OMcJX4Ux; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-67022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BFBCC1C23EC4 for ; Thu, 15 Feb 2024 13:54:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 520B8131E37; Thu, 15 Feb 2024 13:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OMcJX4Ux" 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 94D7E131735 for ; Thu, 15 Feb 2024 13:50:56 +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=1708005058; cv=none; b=nlgLffTwQstllOcaTcoFZcelh8KGT0B36RoMQ99dXMToTerHNiNx+GGgk/0wAMxmid7dLJWQeRnfm6E6LzhcWbZ00FmepxMSxv3A/UlgLmZbM6YnhoO6AxmNbvDDU9XKo11me/9NmYdMT38mVcyZENPdlFqX2sjVscLFvbbZReg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708005058; c=relaxed/simple; bh=xt5sVYVqA9DhK/D8uPDsptYzdU8pMEs6twwLhLplZZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L+lzuQ7IfpReSm/M/FWfCbqx9vpVmIpgTgMlR9YvmId90+J6/Zd5iYQ6DGh7TssaC/tMj1ahUvw4fHI1WlnVJ00igsamBmby1MoiUhhK97MXBwojPhpa4PVUUHrnIfPguG5NgXS7panKMnILhb14Bo8kCilKe7YjToszVFkGRvc= 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=OMcJX4Ux; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708005057; x=1739541057; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=xt5sVYVqA9DhK/D8uPDsptYzdU8pMEs6twwLhLplZZs=; b=OMcJX4UxRgSl6Rwq7Gnd8/FcrvSMJnLsRjNe+hG8hsl9EiDyUBytc3jz UCcpAJUrBwJJ6TAEMQdu3iDgXGM0cU6udanVxLLYnPLnBmSf7lAuo1rDw dcol+1IgXc87ipXCIgRmIG2LyyEDiA/hBqrIKH0QSuz1hEQnL8WhgIfhx Jqypzi86dmrS4j84ACLfuxLj29nSqMYhC5TEVB1fQ/b3PjYpO1gaFjPMs 2Hk/ugWxPFhndTUxmF3563SO4Wp7+qCbyIGb2NmBr/zCaCwXsnmnkpD6+ uzfJLLvNRxPtLCgMr2RTicZIgku77c9dXyclIXPec2JOuj5kzDHfBP1M2 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="1964454" X-IronPort-AV: E=Sophos;i="6.06,161,1705392000"; d="scan'208";a="1964454" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2024 05:50:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="912168947" X-IronPort-AV: E=Sophos;i="6.06,161,1705392000"; d="scan'208";a="912168947" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2024 05:50:54 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rac8Z-00000004nsF-2kKl; Thu, 15 Feb 2024 15:50:51 +0200 Date: Thu, 15 Feb 2024 15:50:51 +0200 From: Andy Shevchenko To: Max Kellermann Cc: linux-kernel@vger.kernel.org, Kees Cook , Michal Wajdeczko Subject: Re: [PATCH v1 1/1] kernel.h: Move upper_*_bits() and lower_*_bits() to wordpath.h Message-ID: References: <20240214172752.3605073-1-andriy.shevchenko@linux.intel.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Feb 15, 2024 at 09:53:48AM +0100, Max Kellermann wrote: > On Thu, Feb 15, 2024 at 9:49 AM Andy Shevchenko > wrote: > > The wordpart.h header is collecting APIs related to the handling > > parts of the word (usually in byte granularity). The upper_*_bits() > > and lower_*_bits() are good candidates to be moved to there. > > Sigh. This was actually a copy of my patch which I submitted a week > before yours. https://lore.kernel.org/lkml/20240209164027.2582906-34-max.kellermann@ionos.com/ But it was not standalone and the series has issues AFAICS. Nevertheless, I like it! In any case the wordpart.h is only in Kees' tree, hence can't be applied separately right now, so if you continue with a series it's technically can't be applied before v6.9-rc1. -- With Best Regards, Andy Shevchenko