Skip to content

mpt fusion: Add logging support

Prakash, Sathya linux-scsi 1 version NAK

Status from this message: NACK

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/5mpt fusion: Changes for logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.hdrivers/message/fusion/Kconfig drivers/message/fusion/Makefile drivers/message/fusion/mptbase.h +1 more+308 -2290 replies
2/5mpt fusion: Changes in mptbase.c for logging supportdrivers/message/fusion/mptbase.c+234 -2330 replies
3/5mpt fusion: Changes in mptscsih.c for logging supportdrivers/message/fusion/mptscsih.c+260 -1863 replies
4/5mpt fusion: Changes in mptfc.c mptlan.c mptsas.c and mptspi.c for logging supportdrivers/message/fusion/mptfc.c drivers/message/fusion/mptlan.c drivers/message/fusion/mptsas.c +1 more+199 -2510 replies
5/5mpt fusion: Changes in mptctl.c for logging supportdrivers/message/fusion/mptctl.c+142 -1260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] mpt fusion: Add logging support

The patches in this patch set adds support for logging facility that can be used to debug a number of Fusion MPT related problems.

The logging support can be enabled or disabled changing the kernel configuration flag CONFIF_FUSION_LOGGING

The debug level can be programmed on the fly via SysFS (hex values)
echo [level] > /sys/class/scsi_host/host#/debug_level
and also can be passed as module parameter mpt_debug_level for mptbase.ko

There are various debug levels that can be found in the source file mptdebug.h

Since the difference is of size 175 KB, it is split into five different patches grouped based on the files as described below.

[PATCH 1/5] : Changes for logging support in Kconfig, Makefile,
mptbase.h and addition of mptdebug.h
[PATCH 2/5] : Changes in mptbase.c for logging support [PATCH 3/5] : Changes in mptscsih.c for logging support [PATCH 4/5] : Changes in mptfc.c mptlan.c mptsas.c and mptspi.c
for logging support
[PATCH 5/5] : Changes in mptctl.c for logging support

---