Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp446660rwd; Tue, 16 May 2023 03:24:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68VvfzFWAmDkByFvwCr6iQL52rbdeZWTrru4YWd5vYPemvmvUpmvSaQ2wNrUcchbMQSGQc X-Received: by 2002:a17:903:1247:b0:1a6:a6e7:8846 with SMTP id u7-20020a170903124700b001a6a6e78846mr46478803plh.40.1684232646945; Tue, 16 May 2023 03:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684232646; cv=none; d=google.com; s=arc-20160816; b=aCwKtPBTIQnUB1yB3DdplDmZllOXV4S5dibtzZAe1ZOOGC/mhZrgWt1bxe50xhLP2w 7Yw1Uo4+IkTXPIHduy+PEJawkHAYgQOu0qew2KObpgfyTGBdLLTcJsLoe402b2ETxxyP zEqjjiy6kh+2n9ReHOYNf43wUD8wmBwM76d6WSBsqNA6zmR4sWPiPHRVk9RC1NyzQ5cP MX7AKs/biXODh6bYWs/gZq4FYwhBfTFEwqB4Ottk+uQQqD9T6RipUr5PQSaG8hJbBxDc HgiFwSGKZI5eWyUk7C34QMbXsC911nj47WThwNi18O+re2PZoPiSvCMQ+g6u1Mrx3ruw F4Kw== 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:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=n2frnJpXfrGlhGbR5zkTtmLgQ3CGnBqrwhp/naQdTAw=; b=tkvQg+ctpA6W850yUkgrWf61qhtRHM7U/HJPNzmX30Xe7psz04oOJbQy54w+zpQHow bgN9N2raWLzt14ilqlqme0pSRWP+Dvy4xrZiVOIC5h0+QW2s/O/JRv8Y9UFk3cef4T9f 0cr0eidpaw8A6QDYzr/fMF61og1656I96p6J38aHtx5wW3w1i/4MlnBbM5D68Z/5P3/g vMoMiM6uIwEp7BU45+K556RNxhgGBRILUjTmD+HeCZtPNjnyFy0gzsC7mhZKbpE7HZGp sq6KDE2hXb766NbpLDFv8kFyWFo5ZFfw/zFTbQpZTnZOTNmAiczfA72ObctMlQtOeMYd raOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p3g0fpLq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a170902e98300b001a6eb86e0bcsi17983792plb.294.2023.05.16.03.23.52; Tue, 16 May 2023 03:24:06 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p3g0fpLq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbjEPKGg (ORCPT + 99 others); Tue, 16 May 2023 06:06:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbjEPKGe (ORCPT ); Tue, 16 May 2023 06:06:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0DF4E6A for ; Tue, 16 May 2023 03:06:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7EB2F60D54 for ; Tue, 16 May 2023 10:06:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3EA9C4339B; Tue, 16 May 2023 10:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684231592; bh=dtsGbZu/ZyOZICla/ZIembwH0qne51s9000O6xPZ/Ao=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=p3g0fpLqfoC4qUcPrZ+ZTLimSVr+LxKO0XI4XNnqwZ7SHyZfUiKBTa14njMKzY1pk x8uefrmk1AV4/JNCWBkMEAnE10bY4uD3EdWE9Gj9bBeFS+G540efZm024ukb447thE xeprAQLMj5Kbr6lJb0muyZhkT17VUfM1mhnKfOi3oF71E+ypLvrLp6USfXcKuHOTLB lULeOXUrkCr4F8OCGI5z8qWYjqL8FdUuOeg/z301lbsDryvwljS30ornHaZKhzjduz K05gxudXCAxzijCgmJuSzTSDXqxBCLcMHFv3bQ9EnUzTl5Yij9NGaA/Aw2xhUv5MNx IOfkUEUvryuSA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pyrZd-00FUae-PT; Tue, 16 May 2023 11:06:30 +0100 Date: Tue, 16 May 2023 11:06:29 +0100 Message-ID: <86cz30mvyy.wl-maz@kernel.org> From: Marc Zyngier To: John Paul Adrian Glaubitz Cc: Thomas Gleixner , Rich Felker , linux-kernel@vger.kernel.org Subject: Re: [PATCH] irqchip/jcore-aic: Fix missing allocation of IRQ descriptors In-Reply-To: <7e58646d7ae4cad32ae30e2e7b54806cc1272d63.camel@physik.fu-berlin.de> References: <20230510163343.43090-1-glaubitz@physik.fu-berlin.de> <479a18513b9d8c6e8ccb96093a0f0dd7@kernel.org> <3c76bea5e45a5ae9ea58b3ff87f9971955a3a021.camel@physik.fu-berlin.de> <86zg6bmezz.wl-maz@kernel.org> <7e58646d7ae4cad32ae30e2e7b54806cc1272d63.camel@physik.fu-berlin.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: glaubitz@physik.fu-berlin.de, tglx@linutronix.de, dalias@libc.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, 11 May 2023 10:03:01 +0100, John Paul Adrian Glaubitz wrote: > > 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. I don't get it. Either the descriptors are already allocated, and you don't need this call, or they were never allocated and this never worked. Which one is it? > > > > > 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. Again: why aren't we reviewing that instead of beating a long dead horse? M. -- Without deviation from the norm, progress is not possible.