From patchwork Tue Jul 4 13:21:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: maobibo X-Patchwork-Id: 11597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1225092vqx; Tue, 4 Jul 2023 06:32:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlGuokSBFGPHauk3Ss4xpa78Irf0sJAeFcjZlPuiGDFu2PZqiHC+U/9CUDFdI63l6/+2067J X-Received: by 2002:a17:90a:c696:b0:261:1141:b70d with SMTP id n22-20020a17090ac69600b002611141b70dmr11574219pjt.45.1688477543386; Tue, 04 Jul 2023 06:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688477543; cv=none; d=google.com; s=arc-20160816; b=t/RIhdE5qAHCyLZg6WI0Xet/oRKTdNYYqzlC8g/zm1w8AFwk1l11WmqvCz86orFne8 c+W0Hv3asgwzmT9/NrSMIHZ+251e56iA1fk/Hvgk406zHjQEc3FDJfPse316yxvBy9wC dKXmRzzZR3oVtAzTpKe/GHX0NNrE+yPDqWZVIfB0lyxIPQbGozFCgnppEvcuH9oU9uqw sYFBkwCm051Jx7uw6DyrzR5RsEAhWwasAya6uSU7m0387ETTlKfu9h1SrEBXWrZ0rXtL Iich4rA/69zTrdh64mTehvVeQ/ZfCr+0/2COlUzsE1bp4iZCxn+LlXL4aoTH5yaab/ii WK0Q== 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=vAdZZjAL/0H3kCZD2wUCmGgBv7OTFctCsKCwatld8ZI=; fh=Mpmq+wOuTtesloprSLX1H+5DXRxyjnNymMECWd70qAI=; b=RVCwHR1Nn45uyEcoljWhCuJ4iYwUtzQ5hZEIYZejwz1dtFsMqRqHVDIxEFQb29tte8 JQAtJuIvbHhju7FILazvbNYgIog6BHuQJ9XhvS3iNmIQR/NXU1Ebk9BYDqsJJNl/J6VF Xd20xsO6ZO6a4r2hecsKoCmOCshFaW78P0gNVegIRk6X1GTT7mEICwyIBcKUhp6NnYV0 VgP4TE/G8XYnhj9iesLUgJFAeVwAo1Z3iB/4WPvp3wx9aMYBygG7VdBC6JJpwG3DyDNp N5NdORDiik6k4YWYdDipA1NckfLvIVXyirhsBRukANFaUCLn0qeIm/SPUtFVsWfmyQRa kpzw== 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 nl2-20020a17090b384200b00263ad259d9esi7073826pjb.0.2023.07.04.06.32.09; Tue, 04 Jul 2023 06:32:23 -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 S230238AbjGDNVx (ORCPT + 99 others); Tue, 4 Jul 2023 09:21:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbjGDNVT (ORCPT ); Tue, 4 Jul 2023 09:21:19 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 57AAA10DA; Tue, 4 Jul 2023 06:21:09 -0700 (PDT) Received: from loongson.cn (unknown [10.2.9.158]) by gateway (Coremail) with SMTP id _____8Dxg_DEHKRktQYAAA--.108S3; Tue, 04 Jul 2023 21:21:08 +0800 (CST) Received: from kvm-1-158.loongson.cn (unknown [10.2.9.158]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxbSPEHKRk7zYbAA--.34335S2; Tue, 04 Jul 2023 21:21:08 +0800 (CST) From: Bibo Mao To: Huacai Chen , Jiaxun Yang , Marc Zyngier Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Jianmin Lv , loongson-kernel@lists.loongnix.cn Subject: [PATCH 0/2] irqchip/loongson-eiointc: use simple irq route Date: Tue, 4 Jul 2023 21:21:06 +0800 Message-Id: <20230704132108.1096940-1-maobibo@loongson.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8CxbSPEHKRk7zYbAA--.34335S2 X-CM-SenderInfo: xpdruxter6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUk0b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E 14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280 aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28Icx kI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2Iq xVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42 IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY 6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aV CY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU7_MaUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770497028313718114?= X-GMAIL-MSGID: =?utf-8?q?1770497028313718114?= Fix return value checking of eiointc_index where int type is converted uint32_t and check smaller than 0. Add simple irq route support on one eioi node system. Bibo Mao (2): irqchip/loongson-eiointc: fix return value checking of eiointc_index irqchip/loongson-eiointc: simplify irq route on one eioi-node system drivers/irqchip/irq-loongson-eiointc.c | 83 ++++++++++++++++++++++---- 1 file changed, 73 insertions(+), 10 deletions(-) base-commit: a901a3568fd26ca9c4a82d8bc5ed5b3ed844d451