Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp589745rwr; Fri, 5 May 2023 01:46:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5RMHUgj+9JiF7uvmdmipZ8mFT0eictoYcpbTRR2m0og7TNXOCWlLxgaTKMM9iojIB1mso1 X-Received: by 2002:a17:90b:38c8:b0:23d:500f:e826 with SMTP id nn8-20020a17090b38c800b0023d500fe826mr771026pjb.14.1683276397680; Fri, 05 May 2023 01:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683276397; cv=none; d=google.com; s=arc-20160816; b=FyxZjmGDZDpOhdhyYqLg3zgBVGjWFV1CQkdVU9BaUk0Gddd1DcVT7XUTQVMHkkUsab nMkNrK1qdeNvLU83jh9kG9GUVLH5M0NbYFkVBtnCIahc/quprIfmGwhYcCkj11WerA2q H97wz/gnso9BkG/yP8KFEplZDWO6ltlLQermquNoS4d7xsLAONIWTlcaRXW0MpdgQcYm gyC8XsOK7rl48R/5BkOaPUbY7VsC4miu2Ou1w+Fn/EYbEcB5zOCnl3q4WlVX7vVZcYMy TZeFesUDWDSwcEnbbQdDtSt/k0eFuOUe8tAT6a6CITLw92fHnTQBd/Hsl7Kqz81bv2qj ibFw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1kj5zzHhj0TVj2jSGeAy5tIsynfZ5YCI0WmSet3qSAw=; b=cRd9smDH2yEICfN5Peh1drnREPOkjN8iJw0vaSdWV95I2Q184JmUxlbJKuOz7rg/gD xiUN8YznYtrIeK2rUnqAe+0tIZpIOxykRCK0eW7mo/9MIIMDVYvWnzUT20m9UqCrtnlg ODUQ0B5xpE0zXwbfjZgeQ3KYVdctGsp5xBUHO34hbUHGATh4ispW3O+Ml3WRuRAIJw2j irNH4dyCI5exxMxXfP4NhvNE3BHmL1ZwFBpicxDJH0BBy0dqM8v6A+SbYYyZNa6OT3FW 5QGiwjpEkxOAX3drHEqT6GUwiQqxYmLkPCiVr/zEuZb9xYKjXMGUJOKYs25Cm0XPi92x sbsQ== 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 p10-20020a170902b08a00b001a96467aa63si1079597plr.559.2023.05.05.01.46.22; Fri, 05 May 2023 01:46:37 -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 S231340AbjEEIiV (ORCPT + 99 others); Fri, 5 May 2023 04:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjEEIiU (ORCPT ); Fri, 5 May 2023 04:38:20 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19EE51885E; Fri, 5 May 2023 01:38:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 3D4C480FC; Fri, 5 May 2023 08:38:18 +0000 (UTC) Date: Fri, 5 May 2023 11:38:16 +0300 From: Tony Lindgren To: Andreas Kemnade Cc: Linus Walleij , Aaro Koskinen , linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski , linux-kernel@vger.kernel.org Subject: Re: [BISECTED REGRESSION] OMAP1 GPIO breakage Message-ID: <20230505083816.GQ14287@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> <20230426071910.GE14287@atomide.com> <20230504055156.GO14287@atomide.com> <20230504144521.1b3a3574@aktux> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230504144521.1b3a3574@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 * Andreas Kemnade [230504 12:45]: > Hi, > > On Thu, 4 May 2023 14:13:32 +0200 > Linus Walleij wrote: > > > On Thu, May 4, 2023 at 7:52 AM Tony Lindgren wrote: > > > * Tony Lindgren [230426 07:20]: > > > > Seems that we should just revert this patch for now and try again after > > > > the issues have been fixed. > > > > > > Looking at the proposed fixes being posted seems like they are quite > > > intrusive.. How about we partially revert this patch so omap1 still > > > uses static assigment of gpios? > > > > I think Andreas patch (commit 92bf78b33b0b463b00c6b0203b49aea845daecc8) > > kind of describes the problem with that: the probe order is now unpredictable, > > so if we revert the patch then that problem returns, but I don't know how > > serious that problem is. > > > well, I think we can even fully revert 92bf78b33b0b463b00c6b0203b49aea845daecc8 > after my patch > > gpiolib: fix allocation of mixed dynamic/static GPIOs > > is in as a short time solution. That should only leave unpredictable > numbers of multiple dynamic gpio controllers. OK thanks sounds good to me. Regards, Tony