Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4555523rwb; Mon, 31 Jul 2023 08:34:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKGegz0RIkRKpqHSD+DXYhoULkAVcr9f2gHoexREiMGGKzFxn+XHjzlD13ff2MsNojfOzK X-Received: by 2002:a17:906:6498:b0:99b:ebf9:90d8 with SMTP id e24-20020a170906649800b0099bebf990d8mr121951ejm.24.1690817679330; Mon, 31 Jul 2023 08:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690817679; cv=none; d=google.com; s=arc-20160816; b=ik9FDiLcMoSYU04sdQOyrPQafIDr5VrbC3zMaFwHQPCTCtq+J0+6ryrDUalGCddHpL cdU/j4Cxav+K5CQayVC9R6haTvw+Ft9U3u7bVfBciunzdH+ORMviJB5r0sCHZe/Wl26m fBmGkFV5cwmc6f09udvHrrV2sxXZu57h5WUUC52SdLOhKUf0Z2nuD5xq+WceKXKnuPOu ck76t/qFvqwrf+zBtXG4G2t66QDMYXZQIT/te/OsbzYHg/dm3vt92OpmYuXpCODpPUfT CpK4GlFbqw34noCA6O47/gIgbrJ9g/KMm60irHaai1YRq3jMge/9HyHZXguPU0k+eeLi RL+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=W22qCKb2PtcQmPUOYU4BCksdqK9/O1OwM0SDjOw4gC0=; fh=6NV+x5nkA8B0wZNeqWoibXWbqjbD+9pA9O/hVKiKi2A=; b=bxJ8Tveu9cHJfL5AxmB2K40e5kIGUHb1CKDMl+BheTmSo3iq7WPxRY6vo+mJctussC mQ0QixrJK0JdxGhYMtgEO3K+actFiIzSEWxq3G/6q2hKl8v2c7eXbWdm9BdifPp8oJKA 7iKicc47bTzBfIaYpyo4x6uH6WVKOU71uJZ3s5tnSHTsCRDloD0X/OTRD6Z+LxiqgKfu nMCk6ySS65jnzKHQ7BprN3B5jStQyk4Et6lsuEfJ/piVztjTFt7VPpbVS5DsnkllkVwn gPPKKZUf/nyfgLXLg8kiQ39y88d4hy32Waml0+6zrd8UjB+6W7NVg9DFCq9kaPL+vvZ5 DqqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tYp7cJAq; 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 i12-20020a170906a28c00b00997d315d050si3266149ejz.84.2023.07.31.08.34.13; Mon, 31 Jul 2023 08:34:39 -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=tYp7cJAq; 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 S231936AbjGaOQx (ORCPT + 99 others); Mon, 31 Jul 2023 10:16:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbjGaOQw (ORCPT ); Mon, 31 Jul 2023 10:16:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ECE6B6; Mon, 31 Jul 2023 07:16:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 17CF66116D; Mon, 31 Jul 2023 14:16:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78945C433CB; Mon, 31 Jul 2023 14:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690813010; bh=Ut2hG+F2DuNDxRZ9/khpr0nP7BCW47MsLF1TCuGRXBo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tYp7cJAquUybQU0N48jI4zOIRZt889tzHjKkdDrzgNvcCALYkO2did5J1n99jX8lV rPgrI/7GoX0kOzl/2LwO6PEvDMaCr6XEltUtHrlqIS0zjNNajGPreT3ifDHmMLk2Hu PR0M/kuD9M/ti4h/4/LrYg9oKJh1kCmQF+nHRfgzUb43cNpY3VcKkKV5kHAT5/GAi+ KXZGV3O81AFJOB++ASY6r+4H68XixengFA16cZEypSzqQARZsBCUqXQ8klf2m7gn+d G+qPYfw4ywsAxOrXhuM89xmVB6M2E8JpRHvo8x/5GdRRyw44rOjp+0ekRJ+u1vGScM lZE0kqCAQeIqQ== Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2b9b904bb04so69931091fa.1; Mon, 31 Jul 2023 07:16:50 -0700 (PDT) X-Gm-Message-State: ABy/qLY+02metpcIlkHfoc2NLyUc6/iqx1g3PkK1UnymYU56IUWdYMn1 OyDxwSMaFp40Bq/Y2qaT7Dlp1fjuFgaSw0nNYXQ= X-Received: by 2002:a05:6512:36c8:b0:4fe:2d93:2b51 with SMTP id e8-20020a05651236c800b004fe2d932b51mr3219834lfs.27.1690813008469; Mon, 31 Jul 2023 07:16:48 -0700 (PDT) MIME-Version: 1.0 References: <20230719063558.3131045-1-maobibo@loongson.cn> <86h6prt2vx.wl-maz@kernel.org> <5a891302-9657-ec95-4438-bc19d0efb556@loongson.cn> In-Reply-To: <5a891302-9657-ec95-4438-bc19d0efb556@loongson.cn> From: Huacai Chen Date: Mon, 31 Jul 2023 22:16:37 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 0/2] irqchip/loongson-eiointc: Add simple irq routing method To: bibo mao Cc: Marc Zyngier , Jiaxun Yang , Jianmin Lv , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Wed, Jul 26, 2023 at 6:08=E2=80=AFPM bibo mao wrot= e: > > > > =E5=9C=A8 2023/7/26 17:53, Marc Zyngier =E5=86=99=E9=81=93: > > On Wed, 26 Jul 2023 10:45:51 +0100, > > bibo mao wrote: > >> > >> slight ping :) > > > > Given that you have sent this series 5 times in two weeks, I don't > > think anyone is in a hurry to review it again. Just give it time. > Ok, I see. > Sorry to bring out some noise and thanks for your response. 1, If we really need a "virtual eiointc" variant, please document it in Documentation/loongarch/irq-chip-model.rst and Documentation/translations/zh_CN/loongarch/irq-chip-model.rst. 2, Then, I think it is better to only modify the type of 'index' in Patch-1, and move the 'if (index < 0) ...' modifications to Patch-2. Because all "virtual eiointc" code should be in a single patch. Huacai > > Regards > Bibo Mao > > > > Thanks, > > > > M. > > > >> > >> =E5=9C=A8 2023/7/19 14:35, Bibo Mao =E5=86=99=E9=81=93: > >>> 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 system with only one eiointc node, > >>> rather than use anysend method. > >>> > >>> --- > >>> Changes in v5: > >>> Modify typo issue. > >>> > >>> Changes in v4: > >>> Modify some spell checking problems. > >>> Add Fixes tag. > >>> > >>> Changes in v3: > >>> Modify some spell checking problems. > >>> > >>> Changes in v2: > >>> Use the simple irq routing on embeded board like 2K0500 and 2K2000 > >>> board, since there is only one eio node. > >>> > >>> --- > >>> Bibo Mao (2): > >>> irqchip/loongson-eiointc: Fix return value checking of eiointc_inde= x > >>> irqchip/loongson-eiointc: Simplify irq routing on some platforms > >>> > >>> drivers/irqchip/irq-loongson-eiointc.c | 93 +++++++++++++++++++++++-= -- > >>> 1 file changed, 82 insertions(+), 11 deletions(-) > >>> > >> > >> > > >