Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2451057rdb; Wed, 4 Oct 2023 01:12:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+Uahj1mCbKWqzUSSZGU9FzZOgwHbyKtYSU3A/62Je6WaOmu3BS8v2LL2BWlBhQiJc57Wz X-Received: by 2002:a17:90a:bf13:b0:277:5652:cb00 with SMTP id c19-20020a17090abf1300b002775652cb00mr1333548pjs.24.1696407168046; Wed, 04 Oct 2023 01:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696407168; cv=none; d=google.com; s=arc-20160816; b=y9DsOCyiy+4jonALe6Ke9fVxt395F4ukMWfYJPl8Rd0vLbEkUToC+lwd5nmB9aPoAY CcpGdWuhMLKVWLd8obkvywNw8KkuhwED4YKB9coMIv1LdtKUtWdL9xwO0fKzfnSlwtQf nkdS/m02ufsOmgo1pTxEPyuvjwZ6dnBgNsJZsgbPf4vR09wd9szOFDa2RcItcRLYmudS vVDNlOPHO4FM7He0hvQh9DiYsGFc7JAU0/ytbj9OpaQ3mVGnw0XrpqIT/DnPtsAqRgDc Lun9yB+3BC6qd+TBc3U/V7L403gS6RU7TZIfGpDfiM2G1Y1RcA0gHmsw3YxS2On9YFG9 Aglw== 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=/mSb+SIJ1kznY7Jji6Vr2AJRvHPkHGWmS9RZs4FnxRA=; fh=hpTEdZfL7mHc/oxhwzXaoaX1tuN5sjVyjhGA6gqVO2U=; b=HkLX+ly5LUX+FUD+VwySbI087P0cUuX4S16+NKpeqwAen0z67X0gbDiBVPmhDB/Qk4 2M5p69uTFFB8DQ1N/zALRQKI7TRwCKLy+ql4V/CD++hosl1NVnVsYqVsz88nbeEZVO3F 1sKPbtMWoh1ZB+DtudhoR7W3+SBHzgFLorCqlTcSBqX4145VIGoOsavLSbSKHW3WiUbr fsRdf1x6yVUGTAZc1Z/LsmoV6QLmphiQFEe0lKN2nuHE31sW93sx56/c6lb9puTKoUB2 lpTUZ7eZQNf8BWMB+uALhRk+2zCvJ2T5NcCrI7keHQsbKLjAZpdjR7nJmNqjuHRClOdK v2vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=QUyuH5A6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id x9-20020a17090a970900b002792364334bsi1031151pjo.124.2023.10.04.01.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 01:12:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=QUyuH5A6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4897881A3297; Wed, 4 Oct 2023 01:12:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241575AbjJDIMh (ORCPT + 99 others); Wed, 4 Oct 2023 04:12:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232828AbjJDIMg (ORCPT ); Wed, 4 Oct 2023 04:12:36 -0400 Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC270A7 for ; Wed, 4 Oct 2023 01:12:32 -0700 (PDT) Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-4529d1238a9so926713137.3 for ; Wed, 04 Oct 2023 01:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696407152; x=1697011952; 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=/mSb+SIJ1kznY7Jji6Vr2AJRvHPkHGWmS9RZs4FnxRA=; b=QUyuH5A6/gWrhvnEBSFipLbJe9XXiZkO4a5I9t8vgRnLs4rRuKlP1JpZ4xw1ayzgiO +23tteumyfNCijHkbaZ5nCelHCnD0mPMkuxOyFgbyQ2Yefs0DDL3SBvmRYuGD9qjf2EM gxutl7ReOLEoGtqH3s2dqs3f3ksurR9DuzhPCfgjFIvoQHloEJvRsbEGBxCvjJzhG3MV qMpuEgIK4dH2XjVy+1zNPRHMQpdNJ7O5RgmO7fFoBDnt9sClGGuiqo6jKzwPVNybjKpi E0VQnWpPoB45m3KmkB0sxxnrnGCgSoDZLrTFnLGaLCSZHXHbRWFV3nZEhx7dB10FpQH1 jMvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696407152; x=1697011952; 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=/mSb+SIJ1kznY7Jji6Vr2AJRvHPkHGWmS9RZs4FnxRA=; b=QzJlDp+Y74//UstxtZMeIFHNWjoC5WHvOuJ1AgV4LZvxLb9aIcQRIMxEHgjQ6PVIUL wUyaTIJsQdiuc4IxHxaWm/+S3hLCRPzI1VHWU6H0ohxloaWxdnF2rqOjclibvj1jAbvG drTNYulBvwAjeqaXIqDo6mqBb+8i9xjrXsFng2iv7quCDICt3ktApW1Dq0l09qvAPqy8 EcAsJZ/XTIx4JgEMQxgoScsS3E16K/v1UquMQQp6AhFcaohPwCUysDz7jxYxempTxVUA dhb5Os395seHah9ltV6T3SxfTj+hAfCKGnjbH6vRcGwOuTz9piWJ8KeNXbtMPaDx5BFl 4QTQ== X-Gm-Message-State: AOJu0YxWOAhmlfqcb0/mj60BMPwBJBcY6Vw1vAZdru4qzfsRz7DV2N38 0QRJw2COtFUfzokNQQk4eIcXq6C1Fj0zPuyKiC8Z3w== X-Received: by 2002:a67:f9c4:0:b0:452:8ce2:5149 with SMTP id c4-20020a67f9c4000000b004528ce25149mr1417255vsq.12.1696407151799; Wed, 04 Oct 2023 01:12:31 -0700 (PDT) MIME-Version: 1.0 References: <20231003145114.21637-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 4 Oct 2023 10:12:20 +0200 Message-ID: Subject: Re: [PATCH 00/36] pinctrl: don't use GPIOLIB global numberspace in helpers To: Linus Walleij Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 04 Oct 2023 01:12:45 -0700 (PDT) On Tue, Oct 3, 2023 at 11:51=E2=80=AFPM Linus Walleij wrote: > > On Tue, Oct 3, 2023 at 4:51=E2=80=AFPM Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > We have a set of pinctrl helpers for GPIOLIB drivers that take a number > > from the global GPIO numberspace as argument. We are trying to get rid > > of this global numbering. Let's rework these helpers to use the > > recommended gpio_chip + controller-relative offset instead. > > > > This work is split into phases: first let's introduce the new variants > > of the helpers. Next: let's convert all users one-by-one for easier > > review. Finally let's remove the old helpers and rename the new variant= s > > to take the place of the old ones. > > Almost too good attention to process here, I hope you used some > tooling and didn't do all this by hand... > > I reviewed it by applying the lot with b4 on a branch off > my devel branch, and > > git diff devel..HEAD > > which shows what the goal of the patches is and since the > kernel clearly looks better after than before the patches: > Reviewed-by: Linus Walleij > > Or I can just merge this branch into my devel (for v6.7) > branch, and offer you the same as immutable. > Which is my plan. > I'll need to send a v2 because there was an issue with one of the stub declarations and I think we should let it rest on the list for a week but eventually I think you should just pick up the entire series and if anything new for the GPIO tree conflicts then we can deal with immutable tags. What is your view on Andy's and Kent's issues with the _new() name suffix? My argument is that it's just temporary and will be gone once you apply the entire series. Bikeshedding about a temp name is just unnecessary churn and _new() is as good as anything else. Bart > Shall I just do it? > > Yours, > Linus Walleij