Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp598245rdb; Thu, 21 Dec 2023 21:45:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRjw8+iyxAf+ZaIc3MzhYaAqFC4nwAx7NEus5HfElHLNtKXqnDWIS9AhoE/WhGM1PW6RFa X-Received: by 2002:a05:6870:d8cf:b0:204:c28:9f1c with SMTP id of15-20020a056870d8cf00b002040c289f1cmr961896oac.101.1703223957362; Thu, 21 Dec 2023 21:45:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703223957; cv=none; d=google.com; s=arc-20160816; b=cBw8klri3OtdaPW8KOHOHqzCGYkFoPyqFdUEKw+rruGKoNrMn7zLCKaGyt5PJy98GZ LCP1Ot+6/SOeCZ68JQrSaZjnq7NPiZvewTe0ZM/ZK0f4lOcA8QhQmHGmGAXnRmzLTNCa YSMXs/sm8e0pPDVsbQxNXMq0ssXBb15VYgJZYQ83uSNCpmzhluxHRNkN7DE+edDmxVLN Q2nGONT4FHWvFMbpmwxTvvHnRQ1byhEn0qW/QHYHGFbdzCeqI5KauZA7XjLc3HUqFv/f xm/l/lgRmuws8oCEHpS5ZzkqkdhJQDrxOHoIefgZxrH1MHh3w7G6pZ4FG9KLoIP/tRfE 3kIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Sdcr6vMpYl/JDZfRWAhNz0yCW2tbDFQPPRIONs0VYDk=; fh=YhHuXr0fjC74i25cidMiOrp1IM9VeajoJTKsurriQfo=; b=AX28ZCRgMWL5ElaIa1rQhjMWKXi1f+RbkKfUFKANuBr94/M6cpBbWzJ/SB2z2A/RDM rjp0oWqNdO/z9s53UPfsquNv/MO0c5LJpYP2v471aN+mi7KceVCkuKJjZI2W8k2XgGvE rmegGddpGa+J5h4afeUkigOlC28uJqnOwD6qHXyzWBTzI4xU5Hm9wgT/aSXIKat6C8M9 kZMit6iVlvHzhYv5t7ZfM8esL0OHJhNokmSb6ZfJYi1V4WCBiKwfofKXbS8j1NQw6y9P 7fjgDEzgimYDwLtNzm0AQn5zHR1btIvarEHn7K+L+DMxfhXh/4Sh0c8/i67XwYTIhLLH BH1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MOif9ryk; spf=pass (google.com: domain of linux-kernel+bounces-9373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ca39-20020a056a0206a700b005cd87dc0188si2926178pgb.810.2023.12.21.21.45.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 21:45:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MOif9ryk; spf=pass (google.com: domain of linux-kernel+bounces-9373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 06D85287F95 for ; Fri, 22 Dec 2023 05:45:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C9E863B9; Fri, 22 Dec 2023 05:45:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MOif9ryk" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C54B46A8; Fri, 22 Dec 2023 05:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703223945; x=1734759945; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CjRK6L+3YHfQxLdgqWH6wzL66WcY3RprmAfaaHBD6ss=; b=MOif9rykfTPTPmFSirrH7KqOH4T+y952TsfZVmguJt6TAzAvQinYM8UM c9OOK99gj/vPWDTaJJdDMXU9CXv3p7lJZdDhx90vhVmbIUZPrMzrSwE8X GGyEz8NGlXTkemqpytzP/P4P5LFoQoOumZJaudlgY6f5N4E77nAb7EcAT Mc0oe3gUmqupncAp9HMQqoWdmZAGBNYZ7Ma86P3r0Nc+UjrpTawsYXvZk Z8pqeZkZqtYlLw1zYkgGrQyj8KY3RD5zn7k4UZ3Zbi4P4wc/N2lIHqTKc QMhXtxZoWmFvm5d6NLxPzjEF8qydjyAZBWnsGM3NpybeHBMAKwipWspl+ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="9470499" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="9470499" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 21:45:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="900324167" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="900324167" Received: from pg-esw-build.png.intel.com ([10.226.214.57]) by orsmga004.jf.intel.com with ESMTP; 21 Dec 2023 21:45:39 -0800 From: Leong Ching Swee To: Maxime Coquelin , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, Swee Leong Ching Subject: [PATCH net-next v1 0/4] net: stmmac: Enable Per DMA Channel interrupt Date: Fri, 22 Dec 2023 13:44:47 +0800 Message-Id: <20231222054451.2683242-1-leong.ching.swee@intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Swee Leong Ching Hi, Add Per DMA Channel interrupt feature for DWXGMAC IP. Patchset (link below) contains per DMA channel interrupt, But it was achieved. https://lore.kernel.org/lkml/20230821203328.GA2197059- robh@kernel.org/t/#m849b529a642e1bff89c05a07efc25d6a94c8bfb4 Some of the changes in this patchset are based on reviewer comment on patchset mentioned beforehand. Swee Leong Ching (4): dt-bindings: net: snps,dwmac: per channel irq net: stmmac: Make MSI interrupt routine generic net: stmmac: Add support for TX/RX channel interrupt net: stmmac: Use interrupt mode INTM=1 for per channel irq .../devicetree/bindings/net/snps,dwmac.yaml | 24 ++++++++++---- .../net/ethernet/stmicro/stmmac/dwmac-intel.c | 4 +-- .../net/ethernet/stmicro/stmmac/dwmac4_dma.c | 2 +- .../net/ethernet/stmicro/stmmac/dwxgmac2.h | 3 ++ .../ethernet/stmicro/stmmac/dwxgmac2_dma.c | 32 +++++++++++-------- .../net/ethernet/stmicro/stmmac/stmmac_main.c | 29 +++++++++-------- .../ethernet/stmicro/stmmac/stmmac_platform.c | 24 ++++++++++++++ include/linux/stmmac.h | 4 +-- 8 files changed, 84 insertions(+), 38 deletions(-) -- 2.34.1