From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71B3FC433EF for ; Fri, 29 Apr 2022 22:25:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w6C2j/Q5WLgePbdn0lAjfRbdXXC9srePam4MpZRa6qs=; b=meKhc31QSAUtFA ZUPmq5O2hNrhirueigkCOjjDTdZyK/PN4lXx7cjdxi/MMbQzFLG3npAlQJTHwGoXn1KfpIg46xJtN 54Dloxc41PN4QySL7YLEtojM/xg0qnYrnt8NlR78Q90gWdS576mVOYh6EEhvio6sB6Y6dwm7sbrvk 6GqUWu2OjFl/unkJQWSvKgIdrxyrDavZHYpSzC8yP6z/1ueZv9fY9LBWd7zSQ0EfThuyEcbPi/Bqu DFx00rM77FwUg1cAGAUR5uJGhdxHr9/mb3wMpTRPU0JH95kNYHyOVkt//zUnSToBQhuNHmDZO0XT6 FxAA+Rh0XtU3ygbQouQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkZ1b-00Cts3-Vd; Fri, 29 Apr 2022 22:23:44 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkZ1Y-00CtrT-PG for linux-arm-kernel@lists.infradead.org; Fri, 29 Apr 2022 22:23:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=iOIJ1Kr+mtstrHF5VkGvwL6t99fgCHEkIg1mM2125l4=; b=hI Qmahk/3EuTVhlkQAshosyxgUq1CeOh1x684yCnU5NNyKy+l9SlL4Pmpc4sfKlWaj+4+3bx3LPSwdn VuCBOGvCOXryUJgVYy1KMJeC+zvGvQX0HbemDKesSNArm1AEA7ODXDL06Z7kIa4MOQES5hHv8gMGF sA+IHsYa8VA1WGI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nkZ1S-000YOK-PN; Sat, 30 Apr 2022 00:23:34 +0200 Date: Sat, 30 Apr 2022 00:23:34 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x Message-ID: References: <20220425113706.29310-1-pali@kernel.org> <20220429130524.vs6mlzvotvaortbw@pali> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220429130524.vs6mlzvotvaortbw@pali> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220429_152340_857009_8FC25505 X-CRM114-Status: GOOD ( 16.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org T24gRnJpLCBBcHIgMjksIDIwMjIgYXQgMDM6MDU6MjRQTSArMDIwMCwgUGFsaSBSb2jDoXIgd3Jv dGU6Cj4gT24gRnJpZGF5IDI5IEFwcmlsIDIwMjIgMTQ6MjM6MDggQW5kcmV3IEx1bm4gd3JvdGU6 Cj4gPiBPbiBNb24sIEFwciAyNSwgMjAyMiBhdCAwMTozNzowNVBNICswMjAwLCBQYWxpIFJvaMOh ciB3cm90ZToKPiA+ID4gUmVnaXN0ZXIgQVJNQURBXzM3MF9YUF9JTlRfRkFCUklDX01BU0tfT0ZG UyBpcyBBcm1hZGEgMzcwIGFuZCBYUCBzcGVjaWZpYwo+ID4gPiBhbmQgb24gbmV3IEFybWFkYSBw bGF0Zm9ybXMgaXQgaGFzIGRpZmZlcmVudCBtZWFuaW5nLiBJdCBkb2VzIG5vdCBjb25maWd1cmUK PiA+ID4gUGVyZm9ybWFuY2UgQ291bnRlciBPdmVyZmxvdyBpbnRlcnJ1cHQgbWFza2luZy4gU28g ZG8gbm90IHRvdWNoIHRoaXMKPiA+ID4gcmVnaXN0ZXIgb24gbm9uLUEzNzAvWFAgcGxhdGZvcm1z IChBMzc1LCBBMzh4IGFuZCBBMzl4KS4KPiA+IAo+ID4gSGkgUGFsaQo+ID4gCj4gPiBEbyB0aGUg QXJtYWRhIDM3NSwgMzh4IGFuZCAzOXggaGF2ZSBhbiBvdmVyIGZsb3cgaW50ZXJydXB0PyBJIGFz c3VtZQo+ID4gbm90Lgo+IAo+IEhlbGxvISBBY2NvcmRpbmcgdG8gZG9jdW1lbnRhdGlvbiB0aGVy ZSBpcyBzb21ldGhpbmcgbmFtZWQgcGVyZm9ybWFuY2UKPiB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thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE1FEC433EF for ; Fri, 29 Apr 2022 22:23:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381426AbiD2W1H (ORCPT ); Fri, 29 Apr 2022 18:27:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236352AbiD2W1E (ORCPT ); Fri, 29 Apr 2022 18:27:04 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 576FFDC9B9 for ; Fri, 29 Apr 2022 15:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=iOIJ1Kr+mtstrHF5VkGvwL6t99fgCHEkIg1mM2125l4=; b=hI Qmahk/3EuTVhlkQAshosyxgUq1CeOh1x684yCnU5NNyKy+l9SlL4Pmpc4sfKlWaj+4+3bx3LPSwdn VuCBOGvCOXryUJgVYy1KMJeC+zvGvQX0HbemDKesSNArm1AEA7ODXDL06Z7kIa4MOQES5hHv8gMGF sA+IHsYa8VA1WGI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nkZ1S-000YOK-PN; Sat, 30 Apr 2022 00:23:34 +0200 Date: Sat, 30 Apr 2022 00:23:34 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x Message-ID: References: <20220425113706.29310-1-pali@kernel.org> <20220429130524.vs6mlzvotvaortbw@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220429130524.vs6mlzvotvaortbw@pali> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 29, 2022 at 03:05:24PM +0200, Pali Rohár wrote: > On Friday 29 April 2022 14:23:08 Andrew Lunn wrote: > > On Mon, Apr 25, 2022 at 01:37:05PM +0200, Pali Rohár wrote: > > > Register ARMADA_370_XP_INT_FABRIC_MASK_OFFS is Armada 370 and XP specific > > > and on new Armada platforms it has different meaning. It does not configure > > > Performance Counter Overflow interrupt masking. So do not touch this > > > register on non-A370/XP platforms (A375, A38x and A39x). > > > > Hi Pali > > > > Do the Armada 375, 38x and 39x have an over flow interrupt? I assume > > not. > > Hello! According to documentation there is something named performance > counter interrupt, but it is in different register... and this register > is not per-cpu. O.K, not something which can be quickly added. > > Does this need a fixes tag? Should it be back ported in stable? > > git blame show that this functionality appeared in commit 28da06dfd9e4 > ("irqchip: armada-370-xp: Enable the PMU interrupts"). It is more a question of: o It must fix a real bug that bothers people (not a, “This could be a problem…” type thing). >From https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html Have you seen bad things happen because of this? Andrew