Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp32151imw; Thu, 7 Jul 2022 20:32:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uL1rgg65ez1FYQ6ufc1lOfn7YD7xMfeRXaX0TOWwqhBKkizucTp9KZjmWjzf3sSD3bxRYA X-Received: by 2002:a17:907:3d92:b0:726:39f9:4a33 with SMTP id he18-20020a1709073d9200b0072639f94a33mr1391337ejc.766.1657251139661; Thu, 07 Jul 2022 20:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657251139; cv=none; d=google.com; s=arc-20160816; b=jyV9yE2LUhYAI40tC/Mf6FVr6wiXDJnAQqBKxS1qM8wJAVNsR0BOtvaITl7cymoVvn wCMcxhnWfp50qqnSO1dK+Iax3ww2V/CKS0/XSmoUawLX0/Hu7xkUHJOqUt/FIBovM37z FDPVNKCWVNSizzGGYE6wQ8A3mcmEEDIQc11c1YO93ZL/D/+qxDXCsVNSVDQueQzl/c48 IKoLfdBG/OpzTakX4VkMLeR6X0dG3D+RqnWCUaY3UOcqtw8md2j20sZmylzXZLdNBH6m StJifaxKGmkQnQrjUQ2aByiR6Kn3NBYWezhCJUBDYhYRTSDRVcguQ1IVayH5qJBR0fJG BL1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=YWr0xjf622F0Ui7HIViph2Z6/z1jGhYXeCBvFx5Lh1Y=; b=0WdsbJvRmsJL8TsWuP9d0OkC5pyepAff+vauWIH6zCBEsWm//RdecUiOqeXie2YvL8 SrrLzkgOixpEofkgLGKEFiJp4Pmasf4FiJayzMOZXf0cGCbWr0JMxnwKzzalQxdCn+z0 TqIUDHBkFlXJWQQvdniOA/feeAedWOOkfy5ZjeRKA9+NDbn9Ve7PQ0fgnF7f8Ax+KZ7F /ms87NRDCCIprrO6X8MUv+eT6bspwstjQOuFA6HA8fsQb8KruhmRnZSQM6dgnJXn7Kuz FIVyJi5zcBsV4LeI+KhRKfXIY/N7bs6Kc9dX0xIllUrZVLqE9TgGTkt5ah7lyNVYWzct t7YQ== 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 sd39-20020a1709076e2700b0070758cf771fsi4549551ejc.463.2022.07.07.20.31.50; Thu, 07 Jul 2022 20:32:19 -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 S237066AbiGHDXd (ORCPT + 99 others); Thu, 7 Jul 2022 23:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236951AbiGHDXc (ORCPT ); Thu, 7 Jul 2022 23:23:32 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C9F072655 for ; Thu, 7 Jul 2022 20:23:29 -0700 (PDT) Received: from [10.20.42.19] (unknown [10.20.42.19]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx_9Aro8dis4oQAA--.4460S3; Fri, 08 Jul 2022 11:23:23 +0800 (CST) Subject: Re: [PATCH V14 03/15] ACPI: irq: Allow acpi_gsi_to_irq() to have an arch-specific fallback To: Marc Zyngier Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Hanjun Guo , Lorenzo Pieralisi , Jiaxun Yang , Huacai Chen References: <1656837932-18257-1-git-send-email-lvjianmin@loongson.cn> <1656837932-18257-4-git-send-email-lvjianmin@loongson.cn> <878rp5mdq7.wl-maz@kernel.org> From: Jianmin Lv Message-ID: <950c7ca4-00f7-7fd2-ec86-1fde871ebba6@loongson.cn> Date: Fri, 8 Jul 2022 11:23:23 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <878rp5mdq7.wl-maz@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9Dx_9Aro8dis4oQAA--.4460S3 X-Coremail-Antispam: 1UD129KBjvdXoWrtFyDWr48KF1rGr13Ww1rWFg_yoWDCFX_WF sayF1kuw1DAF42ga45XFy5Ar9Fg3yUW3yUGr9xJw4Sq348tayDJF1fWrn3X3ZxArWkCrnI g393Xr4Sk3W0gjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb3AFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AK wVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20x vE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E 87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzx vE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU XVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI4 8JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCYjI0SjxkI62AI1cAE67vIY487MxkIecxEwVCm -wCF04k20xvY0x0EwIxGrwCF04k20xvE74AGY7Cv6cx26ryrJr1UJwCFx2IqxVCFs4IE7x kEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E 67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCw CI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6Fyj6rWU JwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCT nIWIevJa73UjIFyTuYvjfUouWlDUUUU X-CM-SenderInfo: 5oymxthqpl0qxorr0wxvrqhubq/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,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 2022/7/7 下午6:14, Marc Zyngier wrote: > 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. > Ok, thanks, I'll add tags from Hanjun. > Thanks, > > M. >