Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp41242rwe; Wed, 31 Aug 2022 16:02:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR4M6ipeezQjqAKg87R0UplsMmZo+5aT9uqHA42io5p/2Rk5dLjM/XWwXh5MzRPC5lHStpVL X-Received: by 2002:a17:906:8cb0:b0:731:5149:a983 with SMTP id qr48-20020a1709068cb000b007315149a983mr21980564ejc.549.1661986946939; Wed, 31 Aug 2022 16:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661986946; cv=none; d=google.com; s=arc-20160816; b=wQKphoj8CaJYsLAESmUE3U0N4fMF/NEgFFQYyOkZC+8xN0PEa1GRTK6NK3ri+Cspe7 eOagKrAvs7Lsf1Ng4UMUVdCNtdGRoLM3/jZbprKxXozrrcic3pE7WRZgAXYopveucXkU TFpgeGnt0M5xMyy6FHH2fDhbmIupCL5GPnul4KDkIdHKlBOsktoZI9QAhDD+Nyg1OJDA blZeh8GISMw4iWXsXbO5jSFbjl9XK/p1oNmrwRQYekcKZZB2FVR1rT26H0f8nEBruNoL R1HY40TO719uzYzdetnuHhzhwIL7QU6lrlvkMyAB6sqXPjgZ8xHea/wCJJcZlaBvkHcC FIgg== 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:sender:from:date; bh=0muXV+9RkljSrA0oCxcRsPuMj4bB2k+l02E9HepFg2o=; b=doxR1Z1/bMzGJmH9c8v+8OJwFz2soaIEeiFr57eLRyRW2JBRRhnlddGgAATxob8IJv p1POD4hh/hIvZid0b4+YOH2ScjLQ8rix0/Fa3VrW7xgzVuK6vUV3h85758AeekFqeL+N jQCm3su6N/wgcfWrxi1DcLMAQ1QBUa8NfOphe06FdHMOkXg9Qmr2u2lGtwI5938rwMzh 2J/gSMm2iXz2bWmyk0NANPAn3LdiBUvDr62jSHNJj14VhZUB+nY8sIHVBsYPMTC0UWD1 Cb9ksXzbZuDVFuWBYOjC33F1dCReICQkmz2w9Co14eGuZBselKqcvuklRFZnrN5sK/6l 4XPQ== 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 js12-20020a17090797cc00b0073d8e16fd75si13813785ejc.567.2022.08.31.16.02.01; Wed, 31 Aug 2022 16:02:26 -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 S232171AbiHaVtK (ORCPT + 99 others); Wed, 31 Aug 2022 17:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbiHaVtI (ORCPT ); Wed, 31 Aug 2022 17:49:08 -0400 Received: from mail.gnudd.com (mail.gnudd.com [93.91.132.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559EDF72CB; Wed, 31 Aug 2022 14:49:04 -0700 (PDT) Received: from dciminaghi by mail.gnudd.com with local (Exim 4.94.2) (envelope-from ) id 1oTVZO-0004bU-3K; Wed, 31 Aug 2022 23:48:22 +0200 Date: Wed, 31 Aug 2022 23:48:22 +0200 From: Davide Ciminaghi Sender: ciminaghi@gnudd.com To: Andy Shevchenko Cc: Linus Walleij , Arnd Bergmann , Christophe Leroy , Alexandre Courbot , Alexandre Courbot , Bartosz Golaszewski , Jonathan Corbet , Russell King , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , "open list:GPIO SUBSYSTEM" , "open list:DOCUMENTATION" , open list , "moderated list:ARM PORT" , "open list:GENERIC INCLUDE/ASM HEADER FILES" , Alessandro Rubini Subject: Re: [PATCH] gpio: Allow user to customise maximum number of GPIOs Message-ID: References: <87f2ff4c-3426-201c-df86-2d06d3587a20@csgroup.eu> <515364a9-33a1-fafa-fdce-dc7dbd5bb7fb@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Face: #Q;A)@_4.#>0+_%y]7aBr:c"ndLp&#+2?]J;lkse\^)FP^Lr5@O0{)J;'nny4%74.fM'n)M >ISCj.KmsL/HTxz!:Ju'pnj'Gz&. 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 On Thu, Sep 01, 2022 at 12:07:26AM +0300, Andy Shevchenko wrote: > On Wed, Aug 31, 2022 at 5:14 PM Davide Ciminaghi wrote: > > On Wed, Aug 31, 2022 at 03:32:25PM +0200, Linus Walleij wrote: > > > On Tue, Aug 30, 2022 at 9:58 AM Davide Ciminaghi wrote: > > > > > > > the sta2x11 was a chip containing AMBA peripherals and a PCIe to AMBA bridge > > > > (it is still in production as far as I know, but deprecated for new designs). > > > > It would typically be installed on x86 machines, so you needed to build and > > > > run AMBA drivers in an x86 environment. The original drivers we started from > > > > had platform data, but then we were told to switch to DTS. > > > > > > For the record I think that was bad advice, I hope it wasn't me. > > > But the world was different back then I suppose. > > > Adding DTS to x86 which is inherently ACPI is not a good idea. > > > Especially if you look at how SBSA ACPI UARTS were done > > > in drivers/tty/serial/amba-pl011.c. > > > > > now that I think of it, ACPI was also listed as a possible choice, but the > > problem was that we didn't know much about ACPI, and took the DTS way. > > So there was no bad advice, just fear of the unknown :-) > > Feel free to ask, we have experts in the mailing list(s). > Thanks ! I'll keep that in mind in case I need some ACPI advice. I'm afraid it's too late for the sta2x11, though. Its kernel is now a downstream one, and it's been freezed, as the SOC has been deprecated for new designs. As Alessandro said, we'll submit (or ack) patches for removal. Thanks again and regards Davide