Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3294061rwa; Tue, 23 Aug 2022 02:09:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR6EdItYjIrTwEiawz0gIVeHCdrFehdzkpgWFePkk9ImjTmHyB+4qPL/5ojU++7Y9dU2y2NS X-Received: by 2002:a17:907:60c7:b0:731:2be4:f72d with SMTP id hv7-20020a17090760c700b007312be4f72dmr15554217ejc.639.1661245775794; Tue, 23 Aug 2022 02:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661245775; cv=none; d=google.com; s=arc-20160816; b=D39R8qnW9KKBhn4m6BN5bGRV6QB/Wude0tsG/QKeGrddC26HcFBWPK9Sf8cDCoQ4U6 naS9nYMeb4q/tV1ZlBtOIsgmDVnQr3PWoCCYqHsb7mrXt3J0G86aUDZxQ3KAeyJDvnzB uNXz9NhTsP+jhxRu673+NFRLmFfXJWw4zbzYjo6TuoowKgPc3IEhDP+q2LPQ2FIvWDHK T+bul9J9KIPcjxPQIuLBJshJ94OSKaeYB+teeTBJm7VjzHKJChfDqfUpBNtmiYcm5nN+ vTsBpL5XiD03HSjPdPDfWCra+xhKgOw7VGlC6QOGrbXvIxlM3zNWQsUC3o05OW4Eb+jr uvkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mYcHml6XqLBhD3rkUwmc30uXWCwhDT/Wv/CgI0YYPt4=; b=Azuvzy/sjFWGNOuRW4h/stuSRaoMQTCYu7d3UmnJW0Rn9bk6trvEaUrZXsrPopMADt WtKJTN4S+rbvbjmrfBMn4VyoCtNdr9nui/lO7ZJKcPm14OYxDAQZWk48xvA4zgqoyIM5 dJb7hFBicKuk3RKO5FCAWPiVGD4pXCfJM5sAB7HbZkeWiFpzKgdo1kfQf79R2VSFjIXu kagihHjeK0xxAHThS+042ACiaT9QOZjVPqm617ZuMczX7SeUZugAPJ+xIQKPqQw7+t8V 8+0SZfFlt5I1NCbQlfMpHCsc8A6ksfKTqShQBA/fEk+bvu1bHsoIoMmGU+JsxsMW0/SY QNZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SHCByObl; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a056402281100b00446c0ad79ecsi2154182ede.1.2022.08.23.02.09.08; Tue, 23 Aug 2022 02:09:35 -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=@linuxfoundation.org header.s=korg header.b=SHCByObl; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240876AbiHWJBa (ORCPT + 99 others); Tue, 23 Aug 2022 05:01:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242299AbiHWJAz (ORCPT ); Tue, 23 Aug 2022 05:00:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8816E82847; Tue, 23 Aug 2022 01:27:33 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 61FD46148B; Tue, 23 Aug 2022 08:27:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54FDEC433C1; Tue, 23 Aug 2022 08:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661243249; bh=345bHoukE6/6gcTgtuzxsrdukBDfqb0aeEMIu5LhdZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SHCByOblcUEBxeX9f8eW569cL4C+4MYLJorvyv/xwQ1rHrd2R/gwiZddYXLDMUE+D 66GxSE40G5Sww0aBFTdUgSOWYTYBgLJXxE4uMOzZwJVbFHF01yOqFnJXNuHI24NJG5 LPvmKOqjbLyhvk/01A/kPoRQmrNwrxUWFCxY/i9o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vladimir Oltean , Jakub Kicinski Subject: [PATCH 5.19 217/365] net: mscc: ocelot: fix address of SYS_COUNT_TX_AGING counter Date: Tue, 23 Aug 2022 10:01:58 +0200 Message-Id: <20220823080127.275379834@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080118.128342613@linuxfoundation.org> References: <20220823080118.128342613@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 From: Vladimir Oltean commit 173ca86618d751bd183456c9cdbb69952ba283c8 upstream. This register, used as part of stats->tx_dropped in ocelot_get_stats64(), has a wrong address. At the address currently given, there is actually the c_tx_green_prio_6 counter. Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support") Signed-off-by: Vladimir Oltean Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/mscc/vsc7514_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/mscc/vsc7514_regs.c +++ b/drivers/net/ethernet/mscc/vsc7514_regs.c @@ -202,7 +202,7 @@ const u32 vsc7514_sys_regmap[] = { REG(SYS_COUNT_TX_512_1023, 0x00012c), REG(SYS_COUNT_TX_1024_1526, 0x000130), REG(SYS_COUNT_TX_1527_MAX, 0x000134), - REG(SYS_COUNT_TX_AGING, 0x000170), + REG(SYS_COUNT_TX_AGING, 0x000178), REG(SYS_RESET_CFG, 0x000508), REG(SYS_CMID, 0x00050c), REG(SYS_VLAN_ETYPE_CFG, 0x000510),