From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout09.his.huawei.com (canpmsgout09.his.huawei.com [113.46.200.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA7A536EA84 for ; Mon, 27 Jul 2026 11:41:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.224 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785152469; cv=none; b=iZpva/gtB1NfJ/9SD/KIPWa3C3EjVsvH6M6jzGX6v+sERDUXa1RTlazRLB9TY1gxgEeeYtiK9Ws8HjMcenGHSIxhFR/cGYTRf1IqKPRBYynt4WHr5c2ukmzo3h6S5BPKDwJeO0BOfKZHr/Iah44XYMk/bvB/gBgQ2AQmr5XLL2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785152469; c=relaxed/simple; bh=BNfDhW/Xf2HDlceYKiRNOLYKk5euPBsAAjPKzfqvp/s=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=IYPg7udOQSjHEUL6rpZnHYFkAYBchbuje66vCYXd/L0dJv3K4bOP8L7FKpjeK/Mo8lhAepF4gqA9clK1TFoZz9GV11bdDoEPaz6vlSvIinAZoQ/IHSqJv3t/vdGNbvxpH43qBLVYhSR4tkhZrg838G8HhZ8INKb5K9oj1NLSv0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=oggHfJhB; arc=none smtp.client-ip=113.46.200.224 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="oggHfJhB" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=eK6qW4IuTp42I5EfnopOPfnIZPyJnuKMGuWcYBhYr1c=; b=oggHfJhBggYmxttn+4DlCcaw/yAGnZZ1vFTFmmzkZH1CEsCLw/7wn3UBuoS7+THiWt4kwLgum OF5Wh/lJgyi6MUfg/QFEqkh/SIQCFioxc7m8QisBXeFqL9owaSBmPDsyU9aKajUeyj31pTmFemi vpo66e9HaVGTHE0dXKPDLqw= Received: from mail.maildlp.com (unknown [172.19.163.127]) by canpmsgout09.his.huawei.com (SkyGuard) with ESMTPS id 4h7xJ92W3qz1cyPB; Mon, 27 Jul 2026 19:31:37 +0800 (CST) Received: from whupemo200006.china.huawei.com (unknown [7.152.185.252]) by mail.maildlp.com (Postfix) with ESMTPS id B2D4E402AB; Mon, 27 Jul 2026 19:41:01 +0800 (CST) Received: from [10.174.178.219] (10.174.178.219) by whupemo200006.china.huawei.com (7.152.185.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 27 Jul 2026 19:41:00 +0800 Subject: Re: [PATCH] perf: arm_pmu_acpi: Get rid of the edge-triggered interrupt oddity To: Marc Zyngier CC: , , Mark Rutland , Will Deacon References: <20260725162627.145301-1-maz@kernel.org> From: Zenghui Yu Message-ID: <69221ad8-9283-2bcf-e92c-a7b4fd2107cc@huawei.com> Date: Mon, 27 Jul 2026 19:40:59 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260725162627.145301-1-maz@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems200001.china.huawei.com (7.221.188.67) To whupemo200006.china.huawei.com (7.152.185.252) On 2026/7/26 0:26, Marc Zyngier wrote: > The ACPI spec bizarrely indicates that the PMU interrupt can be > edge-triggered, which contradicts the very basics of the PMU > architecture (SW is required to clear the interrupt condition for > the level to drop). > > Remove the code parsing this flag and always flag the interrupt > as level triggered, no matter what firmware says. > > Signed-off-by: Marc Zyngier > --- > drivers/perf/arm_pmu_acpi.c | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) Reviewed-by: Zenghui Yu Thanks, Zenghui