From patchwork Fri Apr 7 08:34:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5ZCV5bu65rCR?= X-Patchwork-Id: 7867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp139538vqo; Fri, 7 Apr 2023 01:37:40 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXnCl50H3Ax8ACQSAScYNSc8McfWwNaSZC2zzGN+wikB5ZNYgBQbixKa0oL7H4H6P0e8d3 X-Received: by 2002:a17:903:234f:b0:19d:f7e:9864 with SMTP id c15-20020a170903234f00b0019d0f7e9864mr2314697plh.57.1680856660281; Fri, 07 Apr 2023 01:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680856660; cv=none; d=google.com; s=arc-20160816; b=VIOtsXTjupQ6MziMFFoqGIBh1W4IEbtSQ0RtB00PmhuzPRlOSr8tWXam0z37wVge2R 7HMspnMIHzBHDNVhHre5FqzR+J8oiGJbmDnOMSyj89TpGxmND1YyY7W2LLp4scFDq8V2 YqnK55MbFNr2bszn5qH6+pYQb0A1h1I9ijIQWf+UewgSqccUJuGrCm2LU3stQgJiV5lb 3KzWHh9VYixQLiWE/eSesGJdIUXZRhs2LR/H2P4q/LK5RWy8SxXqLNLhx7Y+NQBlCzNC CbS90HOZT1fPjtQFideZoGs4ymQ0VfI8iLPlUOgKgSX100ZDumvkO5SR+KxeyxUMHi3g Tytw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nSWeg9H3Yj867yHqZnebnJ1NTODqYYG3PWzKoFKNfxE=; b=lttpx+B/4FJibD4NxtqFc0nhP9gOljgS+PGXWixFGxUr9KG0L/9vsmo0li4+2CVEhI EV9mFaVPx90pbh3pB8oqDt9s8+5Meh/iJFCDkhfIlmHEvtWLf7KSDADfNdqd71rY09cA PmsII10LFFm23Q1UAKb7E/v2gijjuPpuPm/+cmhZ24dG1uH7IvR0y2fMfoWY4Duobkzj wkePP9GjR4axfdkDzqkxzXuWGsg52k6o1Rkth19i3qvcFFKpDKCMLkrM0DfKvtcCyoOR jr7gBVQcYf7XdBavLlcwsYO+02h07LKUnQahCqqgR3fx422tdfD+ECRRJkXoVDfBy7Ap n0dQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a632012000000b0050bdfab9401si3047244pgg.585.2023.04.07.01.37.27; Fri, 07 Apr 2023 01:37:40 -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 S232606AbjDGIfB (ORCPT + 99 others); Fri, 7 Apr 2023 04:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231196AbjDGIe7 (ORCPT ); Fri, 7 Apr 2023 04:34:59 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 789BE1FE7; Fri, 7 Apr 2023 01:34:55 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.153]) by gateway (Coremail) with SMTP id _____8AxlF2u1S9kiscXAA--.36732S3; Fri, 07 Apr 2023 16:34:54 +0800 (CST) Received: from loongson-pc.loongson.cn (unknown [10.20.42.153]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxGL2t1S9kKRwYAA--.21995S2; Fri, 07 Apr 2023 16:34:53 +0800 (CST) From: Jianmin Lv To: Thomas Gleixner , Marc Zyngier Cc: linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, Lorenzo Pieralisi , Jiaxun Yang , Huacai Chen , loongson-kernel@lists.loongnix.cn, stable@vger.kernel.org Subject: [PATCH V3 0/5] Fix some issues of irq controllers for dual-bridges scenario Date: Fri, 7 Apr 2023 16:34:48 +0800 Message-Id: <20230407083453.6305-1-lvjianmin@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8AxGL2t1S9kKRwYAA--.21995S2 X-CM-SenderInfo: 5oymxthqpl0qxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBjvdXoW7Jw1xWFyxXw1kury7AFW7twb_yoWfWrcE9F y0vrZ7Gry8W3WxZa9rZryYyr9xGFW7W3Z09FWjgFyfX3yaywn8Jr12ywsxA3Z7G3WrXFn8 urs5Gr1xCr12yjkaLaAFLSUrUUUU8b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY D7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26ryj6F1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwVC2z280aVCY1x0267AKxVWxJr0_GcWln4kS 14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1DMcIj6I8E87Iv 67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAq x4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r 43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF 7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxV WUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07je Q6JUUUUU= X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762505953143235687?= X-GMAIL-MSGID: =?utf-8?q?1762505953143235687?= In dual-bridges scenario, some bugs were found for irq controllers drivers, so the patch serie is used to fix them. V2->V3: 1. Add Cc: stable@vger.kernel.org to make them be backported to stable branch V1->V2: 1. Remove all of ChangeID in patches 2. Exchange the sequence of some patches 3. Adjust code style of if...else... in patch[2] Jianmin Lv (5): irqchip/loongson-eiointc: Fix returned value on parsing MADT irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent irqchip/loongson-eiointc: Fix registration of syscore_ops irqchip/loongson-pch-pic: Fix registration of syscore_ops irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling drivers/irqchip/irq-loongson-eiointc.c | 32 ++++++++++++++++++-------- drivers/irqchip/irq-loongson-pch-pic.c | 6 ++++- 2 files changed, 27 insertions(+), 11 deletions(-) Reviewed-by: Huacai Chen