From patchwork Wed Jan 24 22:31:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13529737 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 BFECA2C9A; Wed, 24 Jan 2024 22:32:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706135573; cv=none; b=OMTZdcp38lKzv4SrLi9mdhiiix/H5l2tgg4mp6ghoj1L+lXqzny73KpmhTsFfxV1xZmFLN/xwK0ornLJbPPEsSCOgMaCEetF752hh7nwb/EDmVvo9KescBmSG5SKEEWVLV3et53I/KN/acXkQd93N30QkDz/LXyidL7CrVj4h+A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706135573; c=relaxed/simple; bh=htt4WYNlHFFscLRqL8HdJgCZGwjTOJEUdN3kt/lnatA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NqqJbhZONje1F3e1xm2ThcirqhdegP4iv8YB8u0Z9/o91AsO9BoZJ3Ns33MVcLY8tkd8Q3CX/DdPdlZMu2hoLZrCp4vUwK3q9wgax4DjljGJ0uLBH7TBkCwWd2HsoIf7acA9cWO2YlaLWxFSM9iE5d4UMyVJ5nXZDVJoIp/hX2A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b=hrYHPw7H; arc=none smtp.client-ip=212.227.17.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b="hrYHPw7H" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1706135556; x=1706740356; i=wahrenst@gmx.net; bh=htt4WYNlHFFscLRqL8HdJgCZGwjTOJEUdN3kt/lnatA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=hrYHPw7HCacNom8FrAhDFbtCnCsDaJxuRxlFsIVFYcOPN5fHSwNsjPnJcR1lP2t9 JrudfQc50OZ+agzM5i4GEBqlcYzIWvtAFlLrAff5c5g+KLrskA6JVRS9joAIENUlm YT8KFQ/bPB96ygo4nqNSF1dtUtftt7rbd2oSsiqzZROJ4CWJHHR9kPubiLnqA6yuN OWCFQRMflthO4CFw24+E068fZbu7Ug50vLJXrVRIKJNTiCzisroY/Ay4FkNpmplXu 5u9SEH8KFv8Bg8WfwsFuZ1SHTY8ctLTTIzFq6okGBDSmqGteLolL/gt1cqaatMW0X oWW5DyV/P14UvSlVeQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MiaYJ-1qqOuZ1nzL-00fisF; Wed, 24 Jan 2024 23:32:36 +0100 From: Stefan Wahren To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Lino Sanfilippo , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 00/14 next] qca_spi: collection of improvements Date: Wed, 24 Jan 2024 23:31:57 +0100 Message-Id: <20240124223211.4687-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MI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XImjyiKDfgD6Cwa2JW1v6vsO61GhZ1On2T8akMOSg/J80v5fDK5D0cc k+gyzDybSu48HMjbJA4E+FWnrhuFNUiT6clvE61wDObdeEsFm7TUBAotMbxOQ0wTX4sONqbuR L4EaPC9o13HKLPfx5rSvTE3q6qmg19mMDCkEHb6HSSxKjnur5P8UjfTc/3jlLertg9MEN6CJc xFmpK63l0BOoxCSeG2IYctrV1y0= This series contains a wild collection of improvements for the qca_spi driver. This is a follow-up series to the recent bugfixes [1]. Patch 1 & 2 in this series is the initially intended rework of netdev_open/close. Patch 3 & 9 are minor functional improvements and the rest is clean-up. Changes in V3: - rebase on net-next-20240124 - improve commit message in Patch 8 - add Reviewed-by's from Jacob Keller - add Patch 13 for mailmap as suggested by Jacob - add Patch 14 for MAINTAINERS entry Changes in V2: - rebase on net-next-20231218 - improve cover letter Stefan Wahren (14): qca_spi: Improve SPI thread creation qca_spi: Improve SPI IRQ handling qca_spi: Avoid skb_copy_expand in TX path qca_7k_common: Drop unnecessary function description qca_7k_common: Drop unused len from qcafrm_handle qca_spi: Add QCASPI prefix to ring defines qca_spi: Introduce QCASPI_RX_MAX_FRAMES qca_spi: Improve calculation of RX buffer size qca_spi: Log expected signature in error case qca_spi: Adjust log of SPI_REG_RDBUF_BYTE_AVA qca_7k: Replace BSD boilerplate with SPDX qca_7k: Replace old mail address mailmap: add entry for Stefan Wahren MAINTAINERS: add entry for qca7k driver(s) .mailmap | 1 + MAINTAINERS | 7 ++ drivers/net/ethernet/qualcomm/qca_7k.c | 17 +--- drivers/net/ethernet/qualcomm/qca_7k.h | 16 +--- drivers/net/ethernet/qualcomm/qca_7k_common.c | 17 +--- drivers/net/ethernet/qualcomm/qca_7k_common.h | 29 +------ drivers/net/ethernet/qualcomm/qca_debug.c | 21 +---- drivers/net/ethernet/qualcomm/qca_debug.h | 15 +--- drivers/net/ethernet/qualcomm/qca_spi.c | 86 +++++++++---------- drivers/net/ethernet/qualcomm/qca_spi.h | 22 ++--- drivers/net/ethernet/qualcomm/qca_uart.c | 17 +--- 11 files changed, 65 insertions(+), 183 deletions(-) --- 2.34.1