Skip to content

irqchip/alpine-msi: Cleanups and debug logging

Eliav Farber linux-arm-kernel lkml 2 versions – Applied

Status from this message: The following commit has been merged into the irq/drivers branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesApplied
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Collected Reviewed-by from Radu on patches 1-3.
- New patch 4: use %u for the unsigned values in the existing "Registering" debug message and fix its wording (Radu).
- Patch 5: use %u for the unsigned values in the new messages (Radu), and write MSI/SPI in upper case to match patch 4.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5irqchip/alpine-msi: Use SPDX-License-Identifierdrivers/irqchip/irq-alpine-msi.c+1 -40 replies
2/5irqchip/alpine-msi: Drop redundant asm/msi.h includedrivers/irqchip/irq-alpine-msi.c+0 -10 replies
3/5irqchip/alpine-msi: Add missing space after comma in GENMASK_ULLdrivers/irqchip/irq-alpine-msi.c+1 -10 replies
4/5irqchip/alpine-msi: Fix format and wording of the registration debug printdrivers/irqchip/irq-alpine-msi.c+1 -11 reply
5/5irqchip/alpine-msi: Add debug logging for MSI allocationdrivers/irqchip/irq-alpine-msi.c+10 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRadu Rendec
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] irqchip/alpine-msi: Cleanups and debug logging

This series contains a few small cleanups for the Alpine MSIX irqchip driver, followed by the addition of some optional debug logging.

Patches 1-4 are trivial, no-functional-change cleanups: convert the license boilerplate to an SPDX identifier, drop the redundant <asm/msi.h> include (already pulled in via <linux/msi.h>), fix the missing space after a comma in a GENMASK_ULL() invocation, and use %u for the unsigned values in the existing registration debug message.

Patch 5 adds an info message on successful initialisation and debug messages on the MSI interrupt allocation and free paths, to make it easier to follow the driver flow when debugging.

Build-tested for arm64 with the aarch64 toolchain and KCFLAGS=-Werror. The driver is used by the Alpine V2, Alpine V3 and AL8 SoCs.

Changes in v2:
- Collected Reviewed-by from Radu on patches 1-3.
- New patch 4: use %u for the unsigned values in the existing "Registering" debug message and fix its wording (Radu).
- Patch 5: use %u for the unsigned values in the new messages (Radu), and write MSI/SPI in upper case to match patch 4.

v1: https://lore.kernel.org/r/[email protected]

Eliav Farber (5):
irqchip/alpine-msi: Use SPDX-License-Identifier irqchip/alpine-msi: Drop redundant asm/msi.h include irqchip/alpine-msi: Add missing space after comma in GENMASK_ULL irqchip/alpine-msi: Fix format and wording of the registration debug
print
irqchip/alpine-msi: Add debug logging for MSI allocation

 drivers/irqchip/irq-alpine-msi.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.47.3