Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8504444rwr; Thu, 11 May 2023 02:06:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7mFWW9KWrKWXpuli7zHrm8pYQvBMUJq1NODhDtNYI0ws839YYgYUzAHIQZG0IG+oyumE5P X-Received: by 2002:a17:90b:1d0c:b0:247:1997:6a1f with SMTP id on12-20020a17090b1d0c00b0024719976a1fmr21532186pjb.12.1683795990266; Thu, 11 May 2023 02:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683795990; cv=none; d=google.com; s=arc-20160816; b=NIFMFp3ljQ9sWH8uWZCSjrTIw+3tZTj9dUSt1noBHIsTIxwQ2PWhVWJaEdJPpCaIJt yss2jQF28dlI94tYNjM8cFFzeUQ5sH6GB58aKuRnTJyKqaWuOUAto9tYAanMOemFGevK ChUlKioB4tOpE04WKqOSF5m5pdPGPZnmYHzvWDfpddVNsEJ+QBIMD45Ixjvj0Zg2SIne l5STwojNt1GQYvSKfd1AMriho/sw+xTioKG/AiLyvah95yoUrt/FtObgrLOmkXo0pzSr ON5PAxWd0UpHBftIhG/cW/FYDF8JXE+PNGd2qpp8ESqybOgFgo4Xq8sxakI/LATu3B9X AFFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=TvdUn5ppBMVNZxkGIqfG2QdtmxRsBDRpC/edxAEPtrM=; b=xeP1AAcwADaR0VjPeAhPUA5CMtfQRgmwHzYlzD1oMA61McXuMzIfoc0w6++Tuf9Cwr ql4ZNaEOeGBOA2aM53ktxe337eihTtoA0o6JfyJEs1k21Eh3/fx0xOJL9qGSMe4wD47J izJz3p51PCs9xy6OGlTpWx8SsjTmdGLd1AVGV3sJ451Nyez2NJGiv/dJRP2Yvh3ngiVt XKV8iHeS5BMkJ0FhZoz2ymUikuZGXza/2oMri4+tmSkZfCknYxJJKFlDdh3AGaiymAVt 24nwsldmVyKwO58RYjktpl/4KqNMSjqLyIBAoncJD0cDSTzUCHTF7hoOfH+1UnNAdUMA m/ZQ== 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 l7-20020a17090a72c700b00246d164fd7asi18140157pjk.159.2023.05.11.02.06.16; Thu, 11 May 2023 02:06:30 -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 S236474AbjEKJDL convert rfc822-to-8bit (ORCPT + 99 others); Thu, 11 May 2023 05:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236425AbjEKJDJ (ORCPT ); Thu, 11 May 2023 05:03:09 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 287C0AF for ; Thu, 11 May 2023 02:03:08 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1px2CU-001Jma-3W; Thu, 11 May 2023 11:03:02 +0200 Received: from p5b13addc.dip0.t-ipconnect.de ([91.19.173.220] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1px2CT-003nto-Sr; Thu, 11 May 2023 11:03:02 +0200 Message-ID: <7e58646d7ae4cad32ae30e2e7b54806cc1272d63.camel@physik.fu-berlin.de> Subject: Re: [PATCH] irqchip/jcore-aic: Fix missing allocation of IRQ descriptors From: John Paul Adrian Glaubitz To: Marc Zyngier Cc: Thomas Gleixner , Rich Felker , linux-kernel@vger.kernel.org Date: Thu, 11 May 2023 11:03:01 +0200 In-Reply-To: <86zg6bmezz.wl-maz@kernel.org> References: <20230510163343.43090-1-glaubitz@physik.fu-berlin.de> <479a18513b9d8c6e8ccb96093a0f0dd7@kernel.org> <3c76bea5e45a5ae9ea58b3ff87f9971955a3a021.camel@physik.fu-berlin.de> <86zg6bmezz.wl-maz@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.1 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.173.220 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, 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, 2023-05-11 at 09:47 +0100, Marc Zyngier wrote: > On Thu, 11 May 2023 08:22:20 +0100, > John Paul Adrian Glaubitz wrote: > > > > Hi Jason! > > ??? Sorry, I was confused by this: > > > [- Jason] > > > > > > It really begs the question: how has it ever been working before? > > > > Users already used a locally patched kernel to work around this problem. > > You're not answering my question. Does it mean JCore never worked > upstream? It did still work which is why the previously suggested change was to make a failing call to irq_alloc_descs() non-fatal. The boards still booted up. > > > Is there any plan to modernise the port and get it to allocate > > > irq_descs on demand, as we do on most architectures? > > > > Yes, there are plans to modernize the port. We're first working on > > upstreaming all kinds of patches that have been queuing up over the > > time. > > I'd rather you skip that step and focus on making it work as a modern > architecture. This really looks like ARM circa 2007... :-/ We have a patch-set for switching it to device tree in the pipeline. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913