Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3529454imw; Thu, 7 Jul 2022 03:24:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u1/OjQkZrEZIyGpnsW27CRZLudSzlrY89cHy4Oi90azeQGfxkFZK7Xk9EmG+U7Fc7jykXd X-Received: by 2002:aa7:df83:0:b0:43a:4b96:f126 with SMTP id b3-20020aa7df83000000b0043a4b96f126mr30757769edy.309.1657189453503; Thu, 07 Jul 2022 03:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657189453; cv=none; d=google.com; s=arc-20160816; b=wlrySi33XyASahzaIA63EyAm9ntmlD4DYY+vGaUaGuK3bSg+Jku9oF+pC+ZkK6oZNz 4bn1c99sLd1eSkeyEM6EC2pi7sUFQZ+2de/RAyUV7PkohcPgJM0y8edMLAXORr41ifn6 xejoFE4PrHfNNIVMiOd6ppth8R5bstDZhAFBCgQs19nWF9XUaKiEO7Ebi66SF8U+Iw3y 26qqfUmgxiewow/T/jYy+/14qn6UbgNmqeh6kPUrbPUFYaqW2cO5hcqnBB4nfPoA87xa /YvB4CEbRcv3JeDEejCqtBOenBvo40cUfJp2M7JIz0cB2xFbkmfHfAxtXl+lalRbrbvT q+CA== 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=PnHm2ryjXAqYq/1A1BjpxJJZfJCOXIFye7x3c6hlYEo=; b=IOsFlKybhLGaPddYqXTBcNzun3+I5epfKf2Ikzds0j6LwsTbB2NooCYy7HgzjdxkRo WOWq1hqYoLGY28cGJDvWP4M9NwLJGLBza5+uDOrj1wV/xo6i4B2u7Yj88k5EIrxVg2/W r8hvoS1jD65Yzf7ewUOVW0ihKLcEQphKxlIt8GLerB8KqgQwPZMKExgTMxzkXPUiyAFJ XcgjVw652xR8SjWiY3+4OihKV/p37I4zK6Bcbp0LOR3PEX3PoU1ZUcZcDjjAn+5jauna ZXoydbOr0accAzWd0/nYZioNgPYRD5amCJ7trzDTJqFFFJOWQsrueOkrL6X7KpsExDMW DF8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OkoZ0CEd; 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 f5-20020a1709067f8500b0072b02ef4ae9si4037978ejr.618.2022.07.07.03.23.47; Thu, 07 Jul 2022 03:24:13 -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=OkoZ0CEd; 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 S235435AbiGGKSJ (ORCPT + 99 others); Thu, 7 Jul 2022 06:18:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235392AbiGGKR7 (ORCPT ); Thu, 7 Jul 2022 06:17:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49C9B53D28 for ; Thu, 7 Jul 2022 03:17:58 -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 A9E6462258 for ; Thu, 7 Jul 2022 10:17:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 113B8C3411E; Thu, 7 Jul 2022 10:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657189077; bh=IDmcqk0j15tbJxt53sKlzpGzGwRFZvUZD8HQNmkZ1xo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OkoZ0CEd4yt2qxou8aEmiOCkMKEOSq8+8Q8DZUuCMR1lKTKB47TeAQYdv3fMivjNX KOhrzZiwu9u8H128BeIJ3ElzesFB9J0vVusrnCnqb5e1vpOVAP9ad7YDCjuWyzu8kG DQdGZNNhIwuafu7D6uNRb3KaZBvbtF/cHpbjHztP/iiwD/GvYcJM8dE3SUR8UX/kIK iNckIqcOvQWSMba1ldE5lkD52piIy5aGnpKuOimkyNZAeuCNkjjCrlWrVugyb96fE2 e/Y0+edcQaGRQYoPl//9526nWIPbZ+Duvs/7ZhCGm5ZJbNTVxvlvstvbaZ0jlNKF7+ iFAhP3FKDkDhQ== Received: from [185.201.63.253] (helo=wait-a-minute.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 1o9OZu-005t8O-MH; Thu, 07 Jul 2022 11:17:54 +0100 Date: Thu, 07 Jul 2022 11:16:55 +0100 Message-ID: <877d4pmdm0.wl-maz@kernel.org> From: Marc Zyngier To: Jianmin Lv Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Hanjun Guo , Lorenzo Pieralisi , Jiaxun Yang , Huacai Chen Subject: Re: [PATCH V14 02/15] APCI: irq: Add support for multiple GSI domains In-Reply-To: <1656837932-18257-3-git-send-email-lvjianmin@loongson.cn> References: <1656837932-18257-1-git-send-email-lvjianmin@loongson.cn> <1656837932-18257-3-git-send-email-lvjianmin@loongson.cn> 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/27.1 (x86_64-pc-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.201.63.253 X-SA-Exim-Rcpt-To: lvjianmin@loongson.cn, tglx@linutronix.de, linux-kernel@vger.kernel.org, guohanjun@huawei.com, lorenzo.pieralisi@arm.com, jiaxun.yang@flygoat.com, chenhuacai@loongson.cn 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.8 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 Sun, 03 Jul 2022 09:45:19 +0100, Jianmin Lv wrote: > > From: Marc Zyngier > > In an unfortunate departure from the ACPI spec, the LoongArch > architecture split its GSI space across multiple interrupt > controllers. > > In order to be able to reuse the core code and prevent > architectures from reinventing an already square wheel, offer > the arch code the ability to register a dispatcher function > that will return the domain fwnode for a given GSI. > > The ARM GIC drivers are updated to support this (with a single > domain, as intended). > > Signed-off-by: Marc Zyngier > Cc: Hanjun Guo > Cc: Lorenzo Pieralisi > Signed-off-by: Jianmin Lv This patch was reviewed and tested by Hanjun. Why aren't the tags included here? M. -- Without deviation from the norm, progress is not possible.