Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2264746rdh; Tue, 26 Sep 2023 19:01:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9O+fITdhNGaUC2xWKTsoEn/tyGwZunpnFOKOhj85vrKNQMJ45kAqlh2OrEUI0Rrlr0JVp X-Received: by 2002:a05:620a:400b:b0:76c:bdbd:c51d with SMTP id h11-20020a05620a400b00b0076cbdbdc51dmr703136qko.66.1695780084739; Tue, 26 Sep 2023 19:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695780084; cv=none; d=google.com; s=arc-20160816; b=wo94pyKb/T+5yBUFSDQR/Z0F/DNc/tt1AC+CZ8dZhiyILR1dD6QiGev3sElQ3FhRGJ GuQ62f1IZsC1m+zE4y89R1CyHzAbDnSYI3u61Prxj2H2asN7ypx+oiJZFmzL+WVTa+cy ycp99FaI45aqm5wseXzb4lzHfjbNNoLTMi+YR/2gDJztShFACMc7i39EWrj4ViSMl81U 3TkODHpt7Sv3E9skUT/y2CbxEFHcYiG48AXI9IBMnUWNyx3vVcBL6FNmtltSSLI8efWB edGPy1eSCkESvU6+DEeeLhtCdUOf4VkJHHG+dDfkWHPV42iKSFomy0EN4II4J4ziNCOA LJkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fXKD+sfkUVCA6J9oUmEuFiduukm2U8MH8ozWEhfKN58=; fh=xtutsRnOsU3V7Cbnmr2c9a+k94uanVJunB2O0Ag7qus=; b=Y0HEJbmijtxmYLsW6VfIi68YaZs8EDXGsh/MJnGZRmSwNq7OuUCFxmBLotSo7shdlz mBLeT7E0wuItLRIrqJNJXkKzCkBHLloE4FDtDWGaPwQHAvnTHTM/h0ZPSbShDY5KmuV0 S6SVNBtMjU1vVD/bbh0HFNVf++iC7j1zPHrXbsCQ5PNLQhLIRlvmgnSMWKQetTIRgNVN WfiZl3lciEqYmUy9RcnFQorVi6c/6O/YJMX4hexTC1sNmtfE/SahNsprOBJiEBwLE2mh Yqx+9zmkDKBl26SiXLjLwzjSy9qZ1LEuh75Sl6dULFAMvb826b4UU3a8X4LLWBdi8HiY TaFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iV7KQLCZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id q27-20020a63751b000000b0057458518e20si14268134pgc.164.2023.09.26.19.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 19:01:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=iV7KQLCZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 4ECBE8269C56; Tue, 26 Sep 2023 04:16:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbjIZLQW (ORCPT + 99 others); Tue, 26 Sep 2023 07:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjIZLQV (ORCPT ); Tue, 26 Sep 2023 07:16:21 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C11DE5; Tue, 26 Sep 2023 04:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695726975; x=1727262975; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=bgJ6JLn5dG4WpQOqgkcDkaqD70XkjWn2MU0AKV6t6rA=; b=iV7KQLCZXYZWsvJmcclwUj/ErDbwKj7Cl5uj8Aifc1CV9HXyQ2Awj2Bf C+j5TnBwQAJVcBdVR1ZO5cYvDsfcS8fh/YqrM1k6BOdIwpMRCq6AaHAS4 UUTmAlL0h9prTNgCjP7xPHkd8DFkREJMYiV6yUXqCL2IOfprnYp3nrnWM ogwKSTMEOMhXv2fjdgX2Gz6TIjdeLALq48MOjHwBiiRMPlNSu8aLP1ltF pWIAkh+A5i3g9qtOPE8n67JY8C1TTEKNa3PdB8hNG3TTugH1WmiPz/YUM Xec44SS8S1glAs45zgnauNZWDx8/sMxuzcgr6BOgYMRBStp/iwGxhuko4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="360922973" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="360922973" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 04:16:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="1079666794" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="1079666794" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 04:16:11 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC0) (envelope-from ) id 1ql62y-00000000aPT-3VEr; Tue, 26 Sep 2023 14:16:08 +0300 Date: Tue, 26 Sep 2023 14:16:08 +0300 From: Andy Shevchenko To: Linus Walleij Cc: Bartosz Golaszewski , Yury Norov , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shubhrajyoti Datta , Srinivas Neeli , Michal Simek , Bartosz Golaszewski , Rasmus Villemoes , Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH v1 0/5] bitmap: get rid of bitmap_remap() and bitmap_biremap() uses Message-ID: References: <20230926052007.3917389-1-andriy.shevchenko@linux.intel.com> 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 26 Sep 2023 04:16:23 -0700 (PDT) On Tue, Sep 26, 2023 at 10:52:05AM +0200, Linus Walleij wrote: > On Tue, Sep 26, 2023 at 7:20 AM Andy Shevchenko > wrote: > > > As Rasmus suggested [1], the bit remapping APIs should be local to NUMA. > > However, they are being in use outside of that for a while. To make > > above happen, introduces simplified APIs that can be used otherwise. > > > > It seems we might have yet another user of the above mentioned APIs. > > > > The last patch has not been tested anyhow (except compilation, so > > all testing and comments are welcome). > > > > The idea is to get an immutable tag (via my tree) that can be pulled > > by bitmap and GPIO trees on the need (while usually I send PR to > > the GPIO subsystem). > > > > Link: https://lore.kernel.org/all/20230815235934.47782-1-yury.norov@gmail.com/ [1] > > I don't understand the bitmap changes very well, Me neither... Oops (it was a joke :-) > but the resulting > changes to cdev look very nice clearly making that code more readable > and maintainable, While the above is a joke it took quite a time to get into the logic. Hence this patch. TBH I'm in doubt, that's why asking for careful testing and reviews. > so FWIW: > Acked-by: Linus Walleij Thank you! -- With Best Regards, Andy Shevchenko