Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp396868rwr; Wed, 26 Apr 2023 00:26:27 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/+ZSX/t4zTpczm/9Of5kFagNQo/eErrIAXaU6t1b084MAi271l3ulnLdKWtBn74tu6ov1 X-Received: by 2002:a05:6a20:7d8a:b0:f2:13cc:2914 with SMTP id v10-20020a056a207d8a00b000f213cc2914mr26119483pzj.16.1682493987578; Wed, 26 Apr 2023 00:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682493987; cv=none; d=google.com; s=arc-20160816; b=S7btmm0wO++A94xMUJQtH6hLLSNslI1aE9Ppk7RFFaLPrpRNR3AZ98d+yZLK5u6tQ9 8XHJPFI+GIcjWF/KPiOQfwJsEFqbbgsJvskipCPJscXE7yG8M3yyBlCrb93sUnZRq5pA T/ygOFmTrTDTp1Q0RgruVvaCoyvpyb24YOg5dtgskcbH5pRGKRBlDi2R4lKJhQAiqru6 KDxppNyJv9RZomLTR1AJd7yzzAmum0xWUbMc4wA4LCwH37OxEhNamZHVV7sF+CoiYecw Ifn8ss44NFKWJ3deggn82AAbaY9EDu9/FTSk7gqf+3dcryGSGWY+gx+sKT1V7PXD0iVj gRJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=hHeBEvF6L19XLxMSVAeSgl9JegiL1y6HBnJnXVQSmb0=; b=q392w6qVapQyiFFmG+aZp0CAqsYqgm4FovqC2pqzXjq2jhHRmkZpULrFNmaUGc0iBd NJ7mYSViGEhmDcW4hCzIloFwbOHm7XbLNI5zi7ID4xZx3uMrLnTK2pvCRa63pUn9+0si mXDe8wwGkpC7pVLjXDvkWUNIomi06lbv480vCndjGkR383ahNVNZF0++tUFDE+9mEdVJ XuElzD/GlHFBqjzDMI4gtmbmrWufQbNEY5K+CIlRmv/JSflMQWL0lSIKNOui7LaFrfQE q2XzpnnXl/fojyGIdUMT+6wbggJUPbIbqZYtOaBGvtyRqph35ChDrJpaAj9RJo1VuSfX ukng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t189-20020a6381c6000000b005288d3c34f7si191889pgd.195.2023.04.26.00.26.04; Wed, 26 Apr 2023 00:26:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239791AbjDZHUM (ORCPT + 99 others); Wed, 26 Apr 2023 03:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239914AbjDZHUI (ORCPT ); Wed, 26 Apr 2023 03:20:08 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1953130F1; Wed, 26 Apr 2023 00:19:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 39DF680AF; Wed, 26 Apr 2023 07:19:12 +0000 (UTC) Date: Wed, 26 Apr 2023 10:19:10 +0300 From: Tony Lindgren To: Andreas Kemnade Cc: Aaro Koskinen , linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org, Linus Walleij Subject: Re: [BISECTED REGRESSION] OMAP1 GPIO breakage Message-ID: <20230426071910.GE14287@atomide.com> References: <20230425173241.GF444508@darkstar.musicnaut.iki.fi> <20230425201117.457f224c@aktux> <20230425183857.GG444508@darkstar.musicnaut.iki.fi> <20230425212040.5a4d5b09@aktux> <20230425193637.GH444508@darkstar.musicnaut.iki.fi> <20230425215848.247a936a@aktux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230425215848.247a936a@aktux> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi, * Andreas Kemnade [230425 19:58]: > On Tue, 25 Apr 2023 22:36:37 +0300 > Aaro Koskinen wrote: > > > On Tue, Apr 25, 2023 at 09:20:40PM +0200, Andreas Kemnade wrote: > > > Aaro Koskinen wrote: > > > > Which commit introduced that regression? Also, the changelog mentions > > > > it happens only with "unusual" probe order. Now, all the ordinary cases > > > > for OMAP1 are broken. > > > > > > > did not bisect that to an exact commit. > > > Unusual probe order: on the device where I tested it, > > > I did not see a completely successful probe. > > > > If you cannot point out a working past commit, there was no regression. If > > you fix something that hasn't worked before or has been long time broken, > > it must not cause breakage to other current users. > > > Well, I did not take the time for a bisect. As we need a less aggressive > fix, it seems to be worth doing it. > > > > > And it's not just that tps65010 thing. E.g. 770 fails to boot as well > > > > and it doesn't use it; and reverting 92bf78b33b0b fixes that one as > > > > well. AFAIK it's because all the gpio_request()s in OMAP1 board files > > > > stopped now working. > > > > > > > so we break every non-devicetree user of omap-gpio? > > > > It seems so. > > > or maybe an if (not_using_devicetree()) Not sure what the best way to fix this might be, adding Linus W to Cc too. Maybe using gpio line names in the legacy platform data instead of numbers? Seems that we should just revert this patch for now and try again after the issues have been fixed. Regards, Tony