Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3543901imw; Thu, 7 Jul 2022 03:42:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uO0kHU2eVWgbE37b5Ac4XSLcn0S1/GWetqidltVw7JLUgxZqBPFQXCZsn3Phvp2v6Ca2t4 X-Received: by 2002:aa7:c597:0:b0:43a:473b:8bae with SMTP id g23-20020aa7c597000000b0043a473b8baemr30639414edq.384.1657190521425; Thu, 07 Jul 2022 03:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657190521; cv=none; d=google.com; s=arc-20160816; b=Br5z3mLtoO/8WbmJsgXCPMIK8DVl+PxVT1CLDdL2iDVsiA7kE3euBSv6xiwjG/Fl7x n5aACxl+EbOmRt/bZa+ZGm1mL1n2LUFRxnY9JYKvPDMVI25sdpBXyAcLVKiJSHW4ZwoU i2XEAl6HmkMDZAx4j+KZ0Y9tY4/Hn/u8cEklx89444EKbRtXMQxp1gXvtjTcu/1RQnUy U3cFkA3UsF8zkl7h+Ur3ylU13u85ZAUeF+lNiD+lhX86+taK7B/6tldW47mzK39y4C56 IVXCBNCCz21EUGODuz7ns0tzhPffsn50+fshJmB5SZUDG1cq8aDT7T5jbuXgVUa7FFVL FKFw== 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=PoQi4woHeBxsDYnfEtUw/4pXZaqGyAXKo8iIxSg5hiY=; b=J74JvsvJzTmF08IYWBQZdTP/7LGhP6On5PfIeO0UX737hYbuzxCxm2DQd0ycx38KJF TIWaa0Zat7o/QO81cPOtQ3N1mKCfQQEhTWWauWgJGNfCrM3SDPqjR3eq6BWr0aMIEM9B z3DSA8Jc54XdiTArNdpFmiVy+4IA7dsiphYf0at1IbLo82WWBj7ouNhOGnj2AAY/4B91 YSjx+7ZvTImX/Iu85ozOnOdE65IMRF0C85xd/5M6wpSlcTzLmz94/oygJP9WIUjcQaig jgkag/9lGp8ibKzuDe/sMnB51t4fLCiSFo6nSKOCNz+o0pGeoG84ovK4KkmHuMY5SRBb z4/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EbFyyvBS; 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 g17-20020a1709065d1100b007262c09f357si2919740ejt.349.2022.07.07.03.41.35; Thu, 07 Jul 2022 03:42:01 -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=EbFyyvBS; 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 S235247AbiGGKOx (ORCPT + 99 others); Thu, 7 Jul 2022 06:14:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235251AbiGGKOs (ORCPT ); Thu, 7 Jul 2022 06:14:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B5A619293 for ; Thu, 7 Jul 2022 03:14:47 -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 931EB621D3 for ; Thu, 7 Jul 2022 10:14:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1DE4C3411E; Thu, 7 Jul 2022 10:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657188886; bh=Vn6+l3+vpnI1S7red//OObzgiaY2MGiWbpnmTyExxgo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EbFyyvBS56FTkNAhZrfMon63Wk8MPERP2NZyGSjCUlAD2OtQQ9538vCZH5l/mI/7L Lzs0Yix8e64Ih9itPs3jz0F9JVIQnF/0nqqt5iKDiqBtw6zfVyAZ+w0eFpdaWqraOO FwxhrHuJqn8trlp1EnEakeETqZ9jdCQ1mrw1sR1DaJMEQyeqjWKbHI9UhR1c4HnDGT i7T1z4uzORWXuVhUetGHCQ15NfCxkSmQYC3Q5UkCxvLldcEj0jBdYDiUEvFQ9c5y09 nL11MAG7Ee9Wz1EultY7ESE89J9CgoJHZapLu5KbPpLfoW/mOvq5huG3MbdNkGA5sg FdmFBltPvyoYg== 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 1o9OWx-005t5S-5a; Thu, 07 Jul 2022 11:14:43 +0100 Date: Thu, 07 Jul 2022 11:14:24 +0100 Message-ID: <878rp5mdq7.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 03/15] ACPI: irq: Allow acpi_gsi_to_irq() to have an arch-specific fallback In-Reply-To: <1656837932-18257-4-git-send-email-lvjianmin@loongson.cn> References: <1656837932-18257-1-git-send-email-lvjianmin@loongson.cn> <1656837932-18257-4-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:20 +0100, Jianmin Lv wrote: > > From: Marc Zyngier > > It appears that the generic version of acpi_gsi_to_irq() doesn't > fallback to establishing a mapping if there is no pre-existing > one while the x86 version does. > > While arm64 seems unaffected by it, LoongArch is relying on the x86 > behaviour. In an effort to prevent new architectures from reinventing > the proverbial wheel, provide an optional callback that the arch code > can set to restore the x86 behaviour. > > Hopefully we can eventually get rid of this in the future once > the expected behaviour has been clarified. > > Reported-by: Jianmin Lv > Signed-off-by: Marc Zyngier > Signed-off-by: Jianmin Lv Same thing about this patch. It is your duty to collect the tags when you repost a series. Thanks, M. -- Without deviation from the norm, progress is not possible.