Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp597575pxt; Thu, 5 Aug 2021 07:14:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGpS3TP2p7d7vZK/r9J2x3fTUwjbXx0s8n4XKo0t39rndDMaWgrcUgDOmvOE2khKGxN15T X-Received: by 2002:a05:6e02:128a:: with SMTP id y10mr975250ilq.161.1628172877424; Thu, 05 Aug 2021 07:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628172877; cv=none; d=google.com; s=arc-20160816; b=cVosb0QN0KJnKTBk2STwjjk4jM12edNGHbTtX15f/Nd7z83nw9RYPq+T0OBZgW4wCF 5sv5ArDKfJZ8mx0N4kAi0AG/Y/yk2Nu//cEkEmjMjiVXZxUYf1GwmfvjenpCqOgJvo3z emoNwEyJzgHKBSRbZHgOYS0eZOAJVuh1ZQc3aMOq7qTm5q2scGE1Sjz/Ki7y5Hv7BvD/ Xk9dNerd1dXGJB20N3qYJYBbR8Lol1p6LjThdk4OR701jB263nYuYHiUkxjIc5Y4cVb9 POWz9CGc1GMM236+dXg28vKQIA8beYvDb2NHfpoDOlK6omWmM3m72hEks72B6CddPP2I oe4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8XZGlmMnozvfdSQq3/qba/o7U1T3UG3EMARXu8VFnck=; b=lBgpyUJ9bCA0X/MnOrEenmfJhAER9HHST/ZFOX1Hm3+OoRSTLiLzabrtoeRfyz6oDw xliTg2I7zaEhWU4De76tgYPotcX/1W4TYf2DnQwmolpdqAE1l1iEaHDLV2cOr2q32P81 1cTW+YAdzV9HC+XtCGETABF6NdlM522oO4UwjG9R/6nvtWxjHyglDw1DN5ob3tvv/qkX UrqD5cBMMl6T02VLl5xZ5e5v4xkcaPxIEc2x0wGu8tmatr4b4wHTI2qsysMkPagaxhBD qIvkRGhZbghy0KdS8vj8fc6kPoknw8axSti7DtMmSy0GcapiKIwgZ5Rakal+y+JEtR1g r1xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WJ9FDdHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si5811882jan.39.2021.08.05.07.14.25; Thu, 05 Aug 2021 07:14:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WJ9FDdHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240351AbhHENHd (ORCPT + 99 others); Thu, 5 Aug 2021 09:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241574AbhHENHZ (ORCPT ); Thu, 5 Aug 2021 09:07:25 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C37C061765 for ; Thu, 5 Aug 2021 06:07:11 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id r1so4999393iln.6 for ; Thu, 05 Aug 2021 06:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8XZGlmMnozvfdSQq3/qba/o7U1T3UG3EMARXu8VFnck=; b=WJ9FDdHToJ+YNPJzVpB8FBhEmi9AlPSVPW5tPnnY6aA2HwfCU/POEBxy+kCnjS0hWN CyGfXoItDGxFk9K9akF6lca56Aa2YlXOUy1ozonyf+IWD3bOOuVfCm31tAz5s8ZzI3cP VruqGsEh+wzW8zwbrbWV9AI6IHQ9Tkxn8fg3n6rNtMblLX/K8TxvG+8sxQBFbeF+/ow8 5wxCqsU2IpcMlzMYAeGj2+GluGIedSwgqzwora7bnaVR2NnZt6+Rbho2AevXpzbHQM/J WHe8B6pk1lUN3clR92MUj3cQHJHUxrDWswmuX+UF8PN83PORqKYDgcuUVCZ8YpQLOm80 rF8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8XZGlmMnozvfdSQq3/qba/o7U1T3UG3EMARXu8VFnck=; b=dMo1JmE/juDCiatZkc9xpMzhBUWoF7tG63QEtDMwebSyjqFXNnnTEJ9hjg/Czmm3Aa kDhXgOO6NVkWf7LDCqm+A0mBDdsCUFDBdQBDo39gROqIDJ+m/bTn9zbpofFYb1eNUfre zDmVX5FXOUwx0RFVqBO1bw/wDoBqWo7rccUDuHNTa1gjnU7IADvG7lpYRUWtA0t4QjoS GCDEW5W8wWZZgcPH7N9xgR4LzVYb2RJiIfnhmIS/yNNSn5q8vP3DPD4eewlAC9rODZs/ o3wM8Za7uTiXMPtsXfKal+RSgt+hjZGRqJ+mJbMoiVFF70i39HPF++fr3eD2K55LwnzE rLpg== X-Gm-Message-State: AOAM533mRExFcHEawxpq1r292hJPrcWV+mjh3RsdZbpsPpXwvguyrK+z MUd/OxIiY0zCpF9maUVISSgQF28us9DIKsq8ZiE= X-Received: by 2002:a92:cb52:: with SMTP id f18mr60685ilq.97.1628168830875; Thu, 05 Aug 2021 06:07:10 -0700 (PDT) MIME-Version: 1.0 References: <20210706030904.1411775-1-chenhuacai@loongson.cn> <20210706030904.1411775-3-chenhuacai@loongson.cn> <878s2j8udi.wl-maz@kernel.org> <87mtpxwaol.wl-maz@kernel.org> In-Reply-To: <87mtpxwaol.wl-maz@kernel.org> From: Huacai Chen Date: Thu, 5 Aug 2021 21:06:49 +0800 Message-ID: Subject: Re: [PATCH 2/9] irqchip/loongson-pch-pic: Improve edge triggered interrupt support To: Marc Zyngier Cc: Huacai Chen , Thomas Gleixner , LKML , Xuefeng Li , Jiaxun Yang , Chen Zhu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Marc, On Wed, Aug 4, 2021 at 10:23 PM Marc Zyngier wrote: > > On Fri, 09 Jul 2021 04:00:58 +0100, > Huacai Chen wrote: > > > > Hi, Marc, > > > > On Tue, Jul 6, 2021 at 9:06 PM Marc Zyngier wrote: > > > > > > On Tue, 06 Jul 2021 04:08:57 +0100, > > > Huacai Chen wrote: > > > > > > > > Edge-triggered mode and level-triggered mode need different handlers, > > > > and edge-triggered mode need a specific ack operation. So improve it. > > > > > > > > > > Is this a fix? How does it work currently? > > Yes, some devices (e.g., RTC) is edge-triggered, they need > > handle_edge_irq(). Currently we don't use RTC interrupt in the > > upstream kernel on Loongson platform, so it "works". > > If you want me to queue this independently of the full LoongArch > series, please resend it with a Fixes: tag. OK, I will send V2. Huacai > > Thanks, > > M. > > -- > Without deviation from the norm, progress is not possible.