Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2817696iob; Sat, 30 Apr 2022 21:23:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzizRsXxY6eCoxUb494JxnXTUmOT8aY5kLJNcimvrquUP7eGtluMWMJso9amXjR8XtlstNs X-Received: by 2002:a2e:91ce:0:b0:24f:3918:7515 with SMTP id u14-20020a2e91ce000000b0024f39187515mr4231555ljg.153.1651378983795; Sat, 30 Apr 2022 21:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651378983; cv=none; d=google.com; s=arc-20160816; b=jgt1J8N3URx/TqWMFVB2TxKm4sR0pgFsLyFPFSupVtq+461d0oAV1aQOP++0iORtcQ OM0rVwPGH9hP2XLNOZetXP2/Tc9Zk117fw7a1jbqzsZeTDaVrazsjDgdwVtAnrXZ+KuZ vcTJxuztLKhYOX+cY38DB/qSd1BZq2yOoIUGOgtp8GRA/VP7HeH+MJOndvNAodGGHcIY 7CBF2UwsRACpOLkzjdJOHjLtp9kUJeZ4pyMbKp/zzLfGBLFY0qsi0gHdcQtIzjSmlzYr 2ZUxPp3JPNDEdxCNzM7yBGJZy+ZF24PQkiTocGNVueBoOZJ7Ismf0dfUemKiMh/V18l7 HTgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iOIJ1Kr+mtstrHF5VkGvwL6t99fgCHEkIg1mM2125l4=; b=lNrMMHUKWorBZUFPJDnhDpoft1fm0zJ5lVUiDYqwuCDi9M9Rofdg2X6bgbzgW+Bjpj wmlLgKqbKjIP+PaNArmzuTbzp+8+DqptO8zTB1J6VIh2dq3FMhmArGqnkqJyCwoL2jhk c8mRGxBIvPh/XKa8Qu0w2UUXE51MF5gyLil2/3uCiAJdLBrYuNfuLBnsNMwgI77bVm3A JOQg562r2C7mM4xZjd1BnB8O3y2e78cVsO/epA97z0LQPXJfc2WJzD+haKBGw8b64579 UgOnluNLlJ4qq0QaLsIA4wS4HbL8HcsnY+3uN6ouodgmoHG6TEjDvirEY+L9kDGcddx1 IYWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="hIQmahk/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a2eb8cf000000b0024f39c4dc49si8901010ljp.578.2022.04.30.21.22.36; Sat, 30 Apr 2022 21:23:03 -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=@lunn.ch header.s=20171124 header.b="hIQmahk/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380224AbiD2W1G (ORCPT + 99 others); Fri, 29 Apr 2022 18:27:06 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 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