Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3574497rdg; Tue, 17 Oct 2023 22:02:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTtYZjCUcLwh3to0AsF2RtmvBpAGVAYjtcu967KKOFbkjOeVh4W8/ASYHoZ4zTTY26KFxm X-Received: by 2002:a17:90b:368d:b0:27d:f85:9505 with SMTP id mj13-20020a17090b368d00b0027d0f859505mr3908286pjb.24.1697605323119; Tue, 17 Oct 2023 22:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697605323; cv=none; d=google.com; s=arc-20160816; b=iKu5Q6q4wQwC2ztOBGpJg28cAConShsrLKIfjkD7mRx1qX4YPGKGKAV3IuX3bv1Gqf Bs3Y6q0SHGLAZtgRbw5AoGzuEes++ekubV4tdaEVptZ9yEV5v2HETxBfvz3EcsKH2aTy N9aKiplhx7FGazmtIGTEYf8EC7TBk7FKH0BvLYhI/mR5fC+gtCcw4VEwgi3OxcEao8zu BB3WucMLk0XZcWkFI3NmqJPN2pnBOMI0SLxWUi4Y0UbR8ARDlIumY1R8hc1kK5yxDRPC EZX1R3M7WLrRb+7y9QTojYhrZWxcXIm0eQV7GNCw13tzasyIuytjLC4JkAkvTBIIxpcf ZZgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=u6yp/4pZ5HDHbt8JL2d3SgdZmCG9fpTE4w6dmovjQeU=; fh=Ezw3TA502E69C3FHQf3KRVn7RRSWG1inhviPmZu0nQ8=; b=saeTa57SCcrcnfhtU7GgFjk7h+986+yCvvEhXxeUmkoAkd47mu8z8YzdGXxlosyIOP nqiwMWgE+3e4H89+DSXIllrZR4hxB1JSwkL2OyNXK4n33Ny8Pq1SeP8GnsPARFYsJFBl zWzn2xilOyqSP8XFDRKP8/3fmPH6fLpKN9mY/uhY3bKY6GmKo7GbAWntLP6IMBPwVSEJ jDJ2ri05zghe6E0muDyKCfR+ZP4/TJaibV9+npWh5CrU/OwDilo/UQuixLj659vI413z 8oBim8BBeWaM6ye48UJBILzFBwevqQ56vfXi7zJgW8JZKV6MZBGUD1ABK0GMpkIynp/m WezA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Julb1pfO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id nv4-20020a17090b1b4400b0026b7d81b779si743910pjb.152.2023.10.17.22.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 22:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Julb1pfO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4CFF780944C7; Tue, 17 Oct 2023 22:01:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229549AbjJRFBh (ORCPT + 99 others); Wed, 18 Oct 2023 01:01:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjJRFBf (ORCPT ); Wed, 18 Oct 2023 01:01:35 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08662103; Tue, 17 Oct 2023 22:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697605294; x=1729141294; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xa+xut1TfI2HMab1q65v9qAkFEYsv5oUYEFQQ4ltZ4M=; b=Julb1pfO13XJyWaefCiEmekd69bJj5BDrQL0cS5SH43Azy2RDyCQrCK0 5x7uPO1XBZIXngPRJccEvFGX4z/2YhouMMvZxXYnK3hxJ44H55tedAk4c KMnCP7L19faMqfLp/SQOMwLcCQVmB4JDgwT0yrJ+yKrjH6ge7q/eipWLv nhYbplyyVkSpLbSS4odvSdLCnindetXq02lOj60yg6FNvmzqITsB/Diz1 f+MYT1U4V3L2qfy4Q/4eqY0eJXK+Gb4vlWCk+9S5aTzd61g8ckvNDOZgT inC0CfxOKfVileVWRHHpOZ+0erU9KIoAOI9mPXj3EViI0mAsycgR//fvN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="389813958" X-IronPort-AV: E=Sophos;i="6.03,234,1694761200"; d="scan'208";a="389813958" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 22:01:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="1003626061" X-IronPort-AV: E=Sophos;i="6.03,234,1694761200"; d="scan'208";a="1003626061" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 22:01:26 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qsygO-00000006VXl-0ZsZ; Wed, 18 Oct 2023 08:01:24 +0300 Date: Wed, 18 Oct 2023 08:01:23 +0300 From: Andy Shevchenko To: Dmitry Torokhov Cc: Linus Walleij , Ulf Hansson , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Ferry Toth Subject: Re: [PATCH v1 1/1] Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()" Message-ID: References: <20231017141806.535191-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 22:01:52 -0700 (PDT) On Tue, Oct 17, 2023 at 02:43:01PM -0700, Dmitry Torokhov wrote: > On Tue, Oct 17, 2023 at 10:45:39PM +0300, Andy Shevchenko wrote: Thanks for your response. ... > I wonder, could you please post entire dmesg for your system? Working, non-working or both? ... > I think the right answer is "fix the userspace" really in this case. We > could also try extend of_alias_get_id() to see if we could pass some > preferred numbering on x86. But this will again be fragile if the > knowledge resides in the driver and is not tied to a particular board > (as it is in DT case): there could be multiple controllers, things will > be shifting board to board... Any suggestion how should it be properly done in the minimum shell environment? (Busybox uses mdev with static tables IIRC and there is no fancy udev or so) -- With Best Regards, Andy Shevchenko