Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2015424rdh; Tue, 26 Sep 2023 09:45:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQpCvBBlBoHZejwiA/J3ECJePsXkz6tb1XPCZPdn09X8kaE1JCTI2HpVeUwqO23GLitUMA X-Received: by 2002:a05:6a20:3ba8:b0:15d:ccf3:939c with SMTP id b40-20020a056a203ba800b0015dccf3939cmr10004467pzh.35.1695746718946; Tue, 26 Sep 2023 09:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695746718; cv=none; d=google.com; s=arc-20160816; b=jYEzmYFVJYa1vfhKb+XLN3ZNNyxrdUWXGF5VMDkp3Xmu63Xf3tcx1WxIh0g4h+wzSP rZYrVGoowpjk7HXgtTfGirJ9KOqWK5zM01FNcMJerVMtNuhZLmMYpkKoEFDL1LeG94kh D2P2LStPNeydTBvkkwMDZ38fOHH2plBqxvHB0uvKreWTVsnN5JuJje7vaT8qR2/VyGbv zDVoojyeYnZDxgm3geDQPFL+DwfSzfeRjHXwdykVTSAQTXrgN5JFpNq+7z0vj7Lj5N/E 6EKOf4jIdORa6QLUsynVn4Gf0rmDWYoZWkrVPd8z//c7Ov0OpWAqPi3zS9+adsteQvhA B6eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NajgLg0J9ZRZ9dxlVjqGamAcS2J4TWmxpdZ8CDcWXXs=; fh=pWVESmOzwji+4Cujsw31q6k77WjrDDhKBGzdA4LuOUM=; b=Eyc8W4ZaVX4dgwuzxgWKdyLILHzE/ZxoW+gnx9ZGbos0ZiirvjyJmn44CTxmGpRN0A ghBBzKumj5DBRsyyGDlBRV8HFIlyhjVJHv4iFZ2sZhhrnVM0zs3uWDYouXBYBy9/Xzbi NS59n0tN0tvZCQyRlhNz/PxArGXTmGWiIOZOhP7E28ef0Tj3Xs0KrNzHl9iP5rgy/ORg wbTbYPYaRe+s3Y3Y/aA02W2HjPDX3deTdfeFA2E2VFUmqTJDLD8fV0ofrM/1rXLdnjKu XPfngtdUv0tBNf29UNej/SjQX3lk+EzEl0Io+VhXvnIxE6JnTT5k7hqeZgUeAXqCkz7e 8enw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u3XJ5mDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id mq16-20020a17090b381000b00268414272cbsi17101634pjb.75.2023.09.26.09.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 09:45:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u3XJ5mDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B38DB8024188; Tue, 26 Sep 2023 01:52:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234006AbjIZIw1 (ORCPT + 99 others); Tue, 26 Sep 2023 04:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbjIZIw0 (ORCPT ); Tue, 26 Sep 2023 04:52:26 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD29BDE for ; Tue, 26 Sep 2023 01:52:19 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-59c0d329a8bso100535327b3.1 for ; Tue, 26 Sep 2023 01:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695718339; x=1696323139; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NajgLg0J9ZRZ9dxlVjqGamAcS2J4TWmxpdZ8CDcWXXs=; b=u3XJ5mDTB7L8Qw29oThWy4vExIHT0gkw1+Li6pYo+XbW9Qpnf2TKOjj8MDhDIN6kar 99Obqrng/bUEPdy8nx+z4IzWiHZCNzn6j2kHWBSlstXiU04KH8J4yEaWS8sV5WLEJBJX y23nNehJw8KuFCsKE9qTbr3KflOuB2reMZkOTCs7KaMMl1hQTXjj3XBISTAlMq4mI1SQ LPuuHL2jloIsVKeZD2dCzldubXZ8NEbZzDPW7/6PMMSR9Ca2u7Xi9oBMUXrZ7a/ZilcV KxpMb5p9fLklDAqlSHBi7xBb++bUSfBg+hnLA3l2SdfG80x2ouCAM7FJ16Y765WPozhG KhUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695718339; x=1696323139; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NajgLg0J9ZRZ9dxlVjqGamAcS2J4TWmxpdZ8CDcWXXs=; b=EbovOJx4F82votoMaFnvZiJ3wCJbNxBoNZ4Vfd6HpxFCv794Hx0C/pgKWxT9OUoqqW PZQVs5OmQPqtrJgr8jV4uQ0guFSfenNMLyP5o2GMmvH8UVqrRA171wtQwnO9O5KitgLc iIZAfRk7Cx/tRe1wOWdFt12Pjeh0AEvl6VgoHSSlY7FJdmBAZbaps9XvUFutABM4mNMN 0IBYjfJIpKM5/gFmvI2Yz9e0bKL5xzCYiXkjObkQz60OmIHyaSYwZAoCm+K0yXBR+DE8 iEao4z5+eX7UCOu+1xUxykuUqG05D6UDIlvfPrSFdBodghbqugIkuo4J0S7GZi1p61kj Fwcw== X-Gm-Message-State: AOJu0YyJnZ5dlSZSBJWw2Hbk4v0aegDv6uQQd5ffNov5aTsVJ2FeUJe2 laMokjO6d1TbX3MKvjt7ZRrujdG9va3nOW/sNmj8vw== X-Received: by 2002:a81:6241:0:b0:58c:b8b4:2785 with SMTP id w62-20020a816241000000b0058cb8b42785mr9588689ywb.45.1695718337612; Tue, 26 Sep 2023 01:52:17 -0700 (PDT) MIME-Version: 1.0 References: <20230926052007.3917389-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230926052007.3917389-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Tue, 26 Sep 2023 10:52:05 +0200 Message-ID: Subject: Re: [PATCH v1 0/5] bitmap: get rid of bitmap_remap() and bitmap_biremap() uses To: Andy Shevchenko 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 , Andy Shevchenko , Rasmus Villemoes , =?UTF-8?B?TWFyZWsgQmVow7pu?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 01:52:27 -0700 (PDT) On Tue, Sep 26, 2023 at 7:20=E2=80=AFAM 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, but the resulting changes to cdev look very nice clearly making that code more readable and maintainable, so FWIW: Acked-by: Linus Walleij Yours, Linus Walleij