Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26256745rwd; Mon, 3 Jul 2023 07:23:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlHbyyQJce/6XjlluX5s5bXhTugWJARgbQwPKhBTNALRgt002Snn5d0bTtIzR6vGtGBoffD7 X-Received: by 2002:a05:6a21:32a1:b0:12d:53ad:f55a with SMTP id yt33-20020a056a2132a100b0012d53adf55amr9689774pzb.55.1688394237693; Mon, 03 Jul 2023 07:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688394237; cv=none; d=google.com; s=arc-20160816; b=BTXRA+sJO7IFDrMhHpko+xeaKJIwbvSWhCmqApG5ztUtCGH4GqbZXd73lg9JpVms5b DBZnm5PrOe9rw/x7vc0bDrAokMGw7pq95vvKFDypDQn4of5EsB43PdKYIzz6Uej1HzLQ KEtsCoF6cxI2wbucn/8B+1HRah+yG6umg0yzOL4OLFdydvlA4xDlLL7bkee6x32+1xuF ElSPkQse4D/V/ROQqsYEChttsrkUyNBipUQT/AeAj19A5t0hNQHuqO4YmZV7DsQZuSFv 6UQcwnOiS4AhFKxpZ/Ee9Q1OUSoFdEc5lOykbCF/sf1HZyBsSHmTfLjQsi+En9VYIi9f NaBw== 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=CB8PxyDNwVkJMIW4hfmSSWI5RtlCTt1qxsK0d6XKaw4=; fh=5uqqYGnoIzqwmy47WfgM1OWW7H7pgXdA0FuWLXW7LMk=; b=m0jZ/lyYu59j+GCc87Z3hf4knVGHYtDh0fdOCVY8fbqQPa2DIxaLLAt54MjZ8ZgIJs nXe680PUhsFOmkyRW+w5qMhoDvjzd0rUTGv2RZmSmfdqTdE0DCZqo7/FKYMd4wcDw3G+ OUa+zSUxl7e5yLz34LUjVqOftduzpP3hHvLsqA03xpXyus4rNMZTcd7yDuoXLeF3zY1W 90a9yv0Pvxh8EVy3gzq4Lqu2duLCd88prk51czVfNTJMsj7YZlOgSzpvhh30HM61DtPZ +oOviciHoer/G7HsOa3x3uLR4rN4fzFDbq9Gv8NqaBK2m2MJvCaT69aaDzo9BkAyen2s 8/2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KiFKSEbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k132-20020a62848a000000b006689f8a9047si18132761pfd.125.2023.07.03.07.23.45; Mon, 03 Jul 2023 07:23:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KiFKSEbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbjGCOHn (ORCPT + 99 others); Mon, 3 Jul 2023 10:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjGCOHm (ORCPT ); Mon, 3 Jul 2023 10:07:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA83CE52 for ; Mon, 3 Jul 2023 07:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688393211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CB8PxyDNwVkJMIW4hfmSSWI5RtlCTt1qxsK0d6XKaw4=; b=KiFKSEbsBQ1eZ14DVaP+0aAhyuWaM8sYvXmj2mF6Mrun/yRz/+euwW8MQN2rXcih/FVzzk 0CZzSdJ6IxkjDFvBuitqAzZar2Vzdtj6MO3bTL/4B9FRsMb/6NtOt6P3TlYm7P8jk9x1jP UPYQ+9pLFztz2X5Lt1xiQEME82nYul0= Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-518-67RcfbF5NTuiqMv3K18FTQ-1; Mon, 03 Jul 2023 10:06:50 -0400 X-MC-Unique: 67RcfbF5NTuiqMv3K18FTQ-1 Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-564fb1018bcso47577317b3.0 for ; Mon, 03 Jul 2023 07:06:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688393210; x=1690985210; 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=CB8PxyDNwVkJMIW4hfmSSWI5RtlCTt1qxsK0d6XKaw4=; b=OkQF/KO4JFHDe7HSrIyTr84Wr1UCOKC/xuwq8sRd0hHx9ygU5kW7yxR+t9S/uj1ipg fLblcYx+D2NAAvZetjhU8UmUucW0m2xdYIwbJDqw5H9ZDV0APRe0ks2ihdmgQm99cXAQ iXjbQWdHiGW9p2C5goTpPcoyygfZjSxdhTaMxKYLDk7jya6zBcdkyTH3/vtyhkgbgnVK IQ5/xaOkSvTi9j7YDXBXqf0rImcs2g1SMRCYvohnPNlVdARKprNWa9Hd4wVkB9t/iBUn tq0/fXJjpBCBcB4A3DOaK2/PagwKdCVMsJAOEC44Gn9U4+8xb+swtkKynCLUxXiVAxqV 1A2w== X-Gm-Message-State: ABy/qLaDgyY1ajLyF5vWXsSFBGsZ1f/Ay9IIB845/VHcVX968Yp6cmAK dRwclcSzmyCCgKBIf5ognHtNib4y/jexAWk0UPKuEB7wJguqunTuK/u7/01s38ZTeQjjmmfIiUj 2K0ckwqnQpwIylPMwpuBW93B+K4q0QTa6ET1/yHab X-Received: by 2002:a25:cfd0:0:b0:c4d:f174:3c83 with SMTP id f199-20020a25cfd0000000b00c4df1743c83mr4576944ybg.36.1688393209877; Mon, 03 Jul 2023 07:06:49 -0700 (PDT) X-Received: by 2002:a25:cfd0:0:b0:c4d:f174:3c83 with SMTP id f199-20020a25cfd0000000b00c4df1743c83mr4576932ybg.36.1688393209675; Mon, 03 Jul 2023 07:06:49 -0700 (PDT) MIME-Version: 1.0 References: <20230703121838.70898-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230703121838.70898-1-andriy.shevchenko@linux.intel.com> From: Benjamin Tissoires Date: Mon, 3 Jul 2023 16:06:38 +0200 Message-ID: Subject: Re: [PATCH v1 0/3] gpiolib: Avpid modifying GPIO chip fwnode To: Andy Shevchenko Cc: Dmitry Torokhov , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Linus Walleij , Bartosz Golaszewski 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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Mon, Jul 3, 2023 at 2:18=E2=80=AFPM Andy Shevchenko wrote: > > Ideally the GPIO chip data structure has to be constant. > In real life it's not true, but we can make it closer to > that. Hence the series. > > Benjamin, would be nice it you can perform regression test for your > case. FWIW: Tested-by: Benjamin Tissoires I've tested Danny's series + my SSDT override, with and without your series on top of the master of hid.git (v6.4+merge of the hid.git tree for v6.5-rc1), and in both cases, I can access the I2C-HID node that sits on top of the CP2112 USB adapter. Cheers, Benjamin > > > Bart, the idea is that this series has to land immediately after > v6.5-rc1 is out so we will have longer time to fix any downsides > and regressions found, if any. > > Andy Shevchenko (3): > gpiolib: of: Don't use GPIO chip fwnode in of_gpiochip_*() > gpiolib: acpi: Don't use GPIO chip fwnode in acpi_gpiochip_find() > gpiolib: Do not alter GPIO chip fwnode member > > drivers/gpio/gpiolib-acpi.c | 2 +- > drivers/gpio/gpiolib-of.c | 6 +++--- > drivers/gpio/gpiolib.c | 16 ++++++++-------- > 3 files changed, 12 insertions(+), 12 deletions(-) > > -- > 2.40.0.1.gaa8946217a0b >