Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6655268ybn; Mon, 30 Sep 2019 01:21:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWB76RZYEt6J1YoVfT2cKwH6qE6kOtdVTGjF9C3Phxyo0Go96UKasWWk/ZbPvBoBIpIpgS X-Received: by 2002:a17:906:3e96:: with SMTP id a22mr18003795ejj.268.1569831713225; Mon, 30 Sep 2019 01:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569831713; cv=none; d=google.com; s=arc-20160816; b=zQTi7vPIXu0QLRgXw3BP+oJrdkdqaVoE++VDNOQ/WU54dkdX+YNKhLCkP5nL3xkOn3 YvdZZaov/72KpXL2jjxhjSOKn3wZEAlm/Br7UTt4uLW3yT3b34+TOcvskNdj2MlvLRNF KLpnkxqN6wCBuyM/rIst59z9/AsrAEVcmRj6ju/zhiSIinuV3vg5KOf7pHDp6dS2gPfL /BFBjOsNurhk7/4ogQdDbwc6P6ZgKgyqIaUvhJixNHaWdj5kd3w24c0VWeWLvNOyQnMK aF+d4wgs7Ki5KbNSCQpXb45jHAJ9BRSluHyX4mDCY17e8TdJEfkwn0oxY9kgETsswmir +Pyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=AswHxSiiYqoU/XgMqE59UuRJY1a7X700+wkW3QFrZ9M=; b=MYh1nOiWSXT2DEHzwov3hl7DWne7X0xRc0IfpjdDg/xd06UElVY325ez8/2KCR5pO3 Fux1H20iMTR3fqjf3gxHB4t3x4gE8ODzX48xjudPNNpBX9hwxftj8bl8xg2p3TQt2cYa xXMIbB0t6ibcmph3ZdbcAjF9dnpL+LgmvG2ED2qDKbDuSav3Zq3lsZJbcTsdkQntbuSB OQq+Z4sKWaLAP8gBDkzZj270xq5iy+pgorFv56iLrmKGH6Pro0HMvZqgwIX4qgooQsCq v+ESa1NehcM73aO7OYh+aJKVTtMih3kKKpfUXTx43mDp37i0rsLCBZQy9AzBw0wzVQr5 UUNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=gy0H2pXm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si6264453edv.21.2019.09.30.01.21.28; Mon, 30 Sep 2019 01:21:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=gy0H2pXm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730230AbfI3IUN (ORCPT + 99 others); Mon, 30 Sep 2019 04:20:13 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.61.142]:46046 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730015AbfI3IT1 (ORCPT ); Mon, 30 Sep 2019 04:19:27 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 0783FC037B; Mon, 30 Sep 2019 08:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1569831566; bh=G+vfQq1R/8y3p6u1/BPNdwwbxWCUNbBVqRhlj5S5ctE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=gy0H2pXmZs2oFRI/slPIAg7mM68ugG3jHSaQKPlO6HGAU+gYxXg/pTpStJKRI8UT8 CnA4Y/sexqvoKNhPPGycOxisjjplp8jKznHWLthuam+ymW1lvnACnWHPb5A+/gPkpL mYPOmyuG0tXNx8jN4xL+z8SBnmsJRh77lh6whatUpZEa6lyKJ+xlJV9vyjfoNIz/dw CotOBG0sXJ6QlHLEOhXM11+E1pZtjvjJsXdWOJcK7kHzHPmTgx5BFTQajKe2Zmjtcg 7fJ1RSyjlNydo5oBMMYxH8UwmsKC64PUE6iEJsiY5sc2qzxilhMKN61E5q5W7jTXux yxX/nBOcrPZZQ== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 95829A0089; Mon, 30 Sep 2019 08:19:23 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Cc: Joao Pinto , Jose Abreu , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 net 7/9] net: stmmac: xgmac: Disable the Timestamp interrupt by default Date: Mon, 30 Sep 2019 10:19:11 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We don't use it anyway as XGMAC only supports polling for timestamp (in current SW implementation). This greatly reduces the system load by reducing the number of interrupts. Fixes: 2142754f8b9c ("net: stmmac: Add MAC related callbacks for XGMAC2") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: netdev@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h index f7eb06f8fb37..99037386080a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h @@ -84,7 +84,7 @@ #define XGMAC_TSIE BIT(12) #define XGMAC_LPIIE BIT(5) #define XGMAC_PMTIE BIT(4) -#define XGMAC_INT_DEFAULT_EN (XGMAC_LPIIE | XGMAC_PMTIE | XGMAC_TSIE) +#define XGMAC_INT_DEFAULT_EN (XGMAC_LPIIE | XGMAC_PMTIE) #define XGMAC_Qx_TX_FLOW_CTRL(x) (0x00000070 + (x) * 4) #define XGMAC_PT GENMASK(31, 16) #define XGMAC_PT_SHIFT 16 -- 2.7.4