Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3599055rwb; Mon, 16 Jan 2023 10:04:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXt/fXdffgZbFC0O1nq7xXOL2BfVaXc0zMasBUzg/qx10m2tQxIrdbmtM726T9aVPi3KYtEo X-Received: by 2002:a17:906:36ce:b0:7c1:727c:5f70 with SMTP id b14-20020a17090636ce00b007c1727c5f70mr79424213ejc.46.1673892297352; Mon, 16 Jan 2023 10:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673892297; cv=none; d=google.com; s=arc-20160816; b=OyLHTohd1mujQU5qJSgSXXwtkhexhX4jfqEom7J+mtQVJzh7FcS6NVja3O80MHYRhw LWFCke8yqjaYmTy2PqBcH8qYleOie//4i8yWL9XpOqToi1Gt7yWjICiNV7rEbE8qdv44 qxg1G4L5zBTlECq1w4VOvPTxH0wzm0r6IONfxzEnYBHPVyGZTf1+D02DyJ3yGHKyvhYQ n/PLbcPCePH5/+umHXDekF3Qoxmb0CFFFDIiW2lnspnSQrTW28N2tiZmeqqV7xzX6ms3 sGHq5cbB1Rm3eyLoFhtZpHTyID77FAbRBUVvsiS5vIDOIFQEqbHeGDR49Dtgj3NJJISY veRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=CN5uEZxXBCYPT2Yo5HjKTJcUlbPD7LwQL3H+jpdCImQ=; b=huDQITCCygAa82hwv7BqaKROxxclGq9V5NWfhkY8EE19hra6BPTwbo90KBDHEyspvs 1GjLVoxc4sOQEeBnYBjnUCUUDKadOe9EML8l7/+kR/I6NbDwdbpMzbM2ZxENrQ8z9PiR BSvbef5kTc5Px3J9uUHFkE0LPVRslFGAKsBxEBDvFjmIGKznjvcFXNhYke09hJNDXNKk W7Y7YtK26m68ozxXeNGjiF02uDJ8X1RXVLCO69qNi3Kapj6fPfiJFN3CO5c1Wz7Ah3vb zRUY5igVaszFkKFc4LKPjOfJN4sFK6OzJUVMiiWIzthXDuPeT0GS7IpbYXgjqtgoy0o6 z/sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=ZNOkrhum; 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 js10-20020a17090797ca00b007ae74740f93si35732851ejc.832.2023.01.16.10.04.44; Mon, 16 Jan 2023 10:04:57 -0800 (PST) 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=fail header.i=@kemnade.info header.s=20220719 header.b=ZNOkrhum; 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 S234884AbjAPRcL (ORCPT + 50 others); Mon, 16 Jan 2023 12:32:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234794AbjAPRbp (ORCPT ); Mon, 16 Jan 2023 12:31:45 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFABB442E2; Mon, 16 Jan 2023 09:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CN5uEZxXBCYPT2Yo5HjKTJcUlbPD7LwQL3H+jpdCImQ=; b=ZNOkrhum/ZspnKIDYRAcxe9lFU lwa97xUJWJPckA3V3LNIUsCjXwS7Mvk/qj8za04D4cdH3EfFBTzM7AO8bbsuYZuNYBzm074hSJTFw iCORVq0Wp/vAt3vcEu1x+FxWHZeVg8Wj5UKcl811NtM14OZ71UnTb2Qmypn0IamCV0kOexPaokDGX h6wPcmO7TiqjguHuIo02cuRp7lY4X3u8lLut71JlXY1e4iwKT4kPmdkNoOnvzHOaU7SJUAr0LlBqv 20HdDuk6EivWErPwWPV1PSbsjlzjxxv3UqG32nH7/vwXiLGcCHE40YmNhBp3SGpWuFeCAz58cGN/8 haTITfYw==; Received: from p200300ccff0748001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff07:4800:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1pHSxy-0003Jz-99; Mon, 16 Jan 2023 18:08:14 +0100 Date: Mon, 16 Jan 2023 18:08:13 +0100 From: Andreas Kemnade To: Linus Walleij Cc: grygorii.strashko@ti.com, ssantosh@kernel.org, khilman@kernel.org, brgl@bgdev.pl, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: omap: use dynamic allocation of base Message-ID: <20230116180813.08cb1fb0@aktux> In-Reply-To: References: <20230113205922.2312951-1-andreas@kemnade.info> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi, On Mon, 16 Jan 2023 15:24:42 +0100 Linus Walleij wrote: > > maybe CC stable? not sure about good fixes tag. > > I wouldn't do that from the outset. If there are no problems > for a few kernel releases we can think about doing that. I have the impression that numbering somehow changed here. In earlier kernel, omap_gpmc started at >400 and gpio-twl4030 also (both base = -1 now), so no conflicts with the static allocation of the soc-gpios. I have not investigated/bisected yet. But perhaps additionally, a patch ensuring that dynamic allocation starts at a higher number to not interfer with static numbering with be interesting. That could then be more easily backportable. Regards, Andreas