Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp70576iob; Mon, 2 May 2022 13:20:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFvH/HeMA5R0wT16hT91TaueblDclE+lLojKH6PMfAycHFzaKcWCRrI2ZB5ueMT2toUSaN X-Received: by 2002:a05:6a00:8c5:b0:4fe:134d:30d3 with SMTP id s5-20020a056a0008c500b004fe134d30d3mr13033650pfu.3.1651522854225; Mon, 02 May 2022 13:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651522854; cv=none; d=google.com; s=arc-20160816; b=AwBtdIwfbw6mD5YUFBx8dq3GKa2VG0/9qgQrjISXfN3aZ4fD2bZ6yqF7BaPxV56m82 8bOl8m4lWk7UCe6bdbiaKV0G7QthKKXzYu//aWNyRl35lCr2X1CZOl36Jxx2VPqhoIOL c5sxPwadH/V1/ja+FRu0gwL/yLWQ8JSw3ezV77gX1PHxo1lpOanV4cGPwKctW3atzGwU I7Ek+1eF/K5f0nRUgCHHuZIUo2p4KXpX10YUzvaG9FoEfGjkvIxIbQVqaU93Gylfhwbo MNzvkU2ORYd+/lmqFPAKJzxqS+t4hRiRkiUA8tmjEWvZbMJaa/0ruweCEI35E0+dl49M 8BGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4tSF9In97C2CKyosXymzmRXlph/Yr3EKxDIBiCVW0Uo=; b=rOkqLXri7i8D67oVrKiX9W1jh5yUX4vWZon6uvr4OEsKl7FxR7bpmrrEDDly0FD6bS QbhU0xVNLAWhfcETv7kEO/foWB1vlYUXzzXcT+g4us+Umqy2+G9CgKQJmLs2RjPLazVJ BBXF5L2yKqC4PLZLAGhRl6z04vGhHZzFfMNvlpzALDMaW1ZdIvumBloiFwwBteYEO6wV Sz1v+Ftr3aGG9zU2yHYkZSGrPKXLbqu7Zi9riYqNTfA+s49HKnRvfsu+H9oMViWA31nd MawgudZFkAubhBWVqOVDyeXtaiwkXL/bqgdO6AtNNQsAEMdMBx7vAqtImFG8zuHajBcm lQLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S0xfLpHD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a631108000000b003aa2d1654c0si15086526pgl.729.2022.05.02.13.20.38; Mon, 02 May 2022 13:20:54 -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=@kernel.org header.s=k20201202 header.b=S0xfLpHD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381509AbiD2WfL (ORCPT + 99 others); Fri, 29 Apr 2022 18:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239741AbiD2WfL (ORCPT ); Fri, 29 Apr 2022 18:35:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B9C419AC for ; Fri, 29 Apr 2022 15:31:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DCD35B83793 for ; Fri, 29 Apr 2022 22:31:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42E49C385A4; Fri, 29 Apr 2022 22:31:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651271508; bh=F6XtxlFMsWw/+zLuHmTTDTKrGi8MsPPXeHqEOVOZaTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S0xfLpHDbrzKBzZ9zNwulve3VViID8M1l/svgI+BvmSYf3vJEWwnQHOlWj9IEKL7C 5sf9v8oti3lgeZr+yDmLxIu11DcUvmzKaPf2fuS358YdVnj8KAe1+SnGJkuhAW0EDq y5SsICjGKkN4WspV0lFhMljsEJhBM28HG6A67AdkF4Ol5+Qtyp7jBEfNjBkvgmApAX V1aq4HIEqf8zIg0luLe/OTJKHJWZHF7jAlvrPEd6XGGo7/jGUlYNu+ELu2TQIpvWrE utzcnTj9dTIE+y3kEbnIx0W9iKSt4HoxgjBMp+8V8OzlSljBmvzGcU0rYEiPk2p1iB Lo8RHcMb5nK8A== Received: by pali.im (Postfix) id 445ADCAF; Sat, 30 Apr 2022 00:31:45 +0200 (CEST) Date: Sat, 30 Apr 2022 00:31:45 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn 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: <20220429223145.4rubhuiu64ktgklp@pali> 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: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Saturday 30 April 2022 00:23:34 Andrew Lunn wrote: > 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 On those new Armada SoCs that register is used for unmasking interrupts from another hierarchy. Until you start using those new interrupts there probably could not be any issue. But in any case unmasking unwanted interrupt is not a wise idea... I spotted this because I started using those extended interrupts from another hierarchy. I'm planning to send a patch which properly export them via DTS. Consumer would be pci-mvebu.c driver as in this extended hierarchy are PCIe AER and PME interrupts. Anyway, Fixes tag is probably better in this situation than stable tag. So would it be fine to replace it by? Fixes: 28da06dfd9e4 ("irqchip: armada-370-xp: Enable the PMU interrupts")