Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp141277pxt; Wed, 4 Aug 2021 07:44:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+aVG625o0vo2BSJ9aXRw7GN0aCvAyia6LUtR6zRHh0X/mfiX/hBdtefxzwCJzuUSCkzWX X-Received: by 2002:a5d:91c2:: with SMTP id k2mr592903ior.117.1628088297315; Wed, 04 Aug 2021 07:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628088297; cv=none; d=google.com; s=arc-20160816; b=EYc/ebhh4yjS3r/AiWVT4pE0LZ6xvczkKIuHe6WF0Ju14Txpvfr0mggXgMPOoQEOlF jYHkks/KW9+LnWZIEZTKWmigvY6Crg8ld1HvOt9ve3EqHQksXA2QpIDm+nUZ4kOShOvh +Bk/NvvtaO9UDB/G7HHZQTQIDp1cyCEOXfYvnIt6Ccc1eYSZhNZh3n0rywgsvXJlIG7k lC6O/aG2GHY23+EqhCRoZUZMAvVYQmgkbEFU2bD7vhI5pJbBj/HJEtiPn4hGF8j8+yhJ cSmvcPZ+8j72BYkZh1J6JMToX0m3Haf2Qj3mslpfMLJhf2ac9eql1stMGSLH9fdruzs2 PyJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=FOvObidelTu20VDmqJtMJlwfYe/HHeM9dXvy9hyHhpE=; b=UbR9E2hRuHcvi1149z25Y4KKgxHzxh01SHSDuDW+z7DIwGSHkwdsusgFaLDr24Gbm8 vKgVOctadjlU+6BhjaBbYBj23r+n+Qz+Zy8dt1wvAw9dY2aLaok3520EBUuQrE6kM/Xq /qocYsliVdSf/XlDpvI660XemhWImGM1jILL9GFo7CfXOMqbW9evtPcak8dtDndtaHnf qnuCes7L7qMESg9hqsncsBoExY8SALb/XPfQUk758xK07/b99hFwdfgo3uekRgcf8CQO UdllIZFLuf0OLoIJbKktJoxrYKDTz1j1qV9WQwH+DrD7BP/Jlw5lpzYTNyD60GzK1fR6 0zHg== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay9si2075637iob.97.2021.08.04.07.44.45; Wed, 04 Aug 2021 07:44:57 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238713AbhHDOYA (ORCPT + 99 others); Wed, 4 Aug 2021 10:24:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:51392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238696AbhHDOXx (ORCPT ); Wed, 4 Aug 2021 10:23:53 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E331C60C3E; Wed, 4 Aug 2021 14:23:40 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mBHo2-002w7n-UP; Wed, 04 Aug 2021 15:23:39 +0100 Date: Wed, 04 Aug 2021 15:23:38 +0100 Message-ID: <87mtpxwaol.wl-maz@kernel.org> From: Marc Zyngier To: Huacai Chen Cc: Huacai Chen , Thomas Gleixner , LKML , Xuefeng Li , Jiaxun Yang , Chen Zhu Subject: Re: [PATCH 2/9] irqchip/loongson-pch-pic: Improve edge triggered interrupt support In-Reply-To: References: <20210706030904.1411775-1-chenhuacai@loongson.cn> <20210706030904.1411775-3-chenhuacai@loongson.cn> <878s2j8udi.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: chenhuacai@gmail.com, chenhuacai@loongson.cn, tglx@linutronix.de, linux-kernel@vger.kernel.org, lixuefeng@loongson.cn, jiaxun.yang@flygoat.com, zhuchen@loongson.cn X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, M. -- Without deviation from the norm, progress is not possible.