Skip to contentSkip to conversation

Some defconfig updates

PATCH In review Anton Blanchard 2 participants 7 messages Jul 6, 2011 – Jul 19, 2011 PowerPC

lore
Share & tools
lore
#0 lore raw

cover Some defconfig updates

Here are a few defconfig updates I had lying around in my tree.

Anton

#1 lore raw

PATCH 1/4 powerpc: Sync pseries and ppc64 defconfigs

The pseries defconfig had a number of drivers enabled and we may as well add them to the ppc64 defconfig.

---

arch/powerpc/configs/ppc64_defconfig +12 -0
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -176,12 +176,18 @@ CONFIG_CHR_DEV_SG=y
 CONFIG_SCSI_MULTI_LUN=y
 CONFIG_SCSI_CONSTANTS=y
 CONFIG_SCSI_FC_ATTRS=y
+CONFIG_SCSI_SAS_ATTRS=m
+CONFIG_SCSI_CXGB3_ISCSI=m
+CONFIG_SCSI_CXGB4_ISCSI=m
+CONFIG_SCSI_BNX2_ISCSI=m
+CONFIG_BE2ISCSI=m
 CONFIG_SCSI_IBMVSCSI=y
 CONFIG_SCSI_IBMVFC=m
 CONFIG_SCSI_SYM53C8XX_2=y
 CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
 CONFIG_SCSI_IPR=y
 CONFIG_SCSI_QLA_FC=m
+CONFIG_SCSI_QLA_ISCSI=m
 CONFIG_SCSI_LPFC=m
 CONFIG_ATA=y
 CONFIG_SATA_SIL24=y
@@ -235,11 +241,13 @@ CONFIG_ACENIC_OMIT_TIGON_I=y
 CONFIG_E1000=y
 CONFIG_E1000E=y
 CONFIG_TIGON3=y
+CONFIG_BNX2=m
 CONFIG_SPIDER_NET=m
 CONFIG_GELIC_NET=m
 CONFIG_GELIC_WIRELESS=y
 CONFIG_CHELSIO_T1=m
 CONFIG_CHELSIO_T3=m
+CONFIG_CHELSIO_T4=m
 CONFIG_EHEA=m
 CONFIG_IXGBE=m
 CONFIG_IXGB=m
@@ -248,6 +256,8 @@ CONFIG_MYRI10GE=m
 CONFIG_NETXEN_NIC=m
 CONFIG_PASEMI_MAC=y
 CONFIG_MLX4_EN=m
+CONFIG_QLGE=m
+CONFIG_BE2NET=m
 CONFIG_ISERIES_VETH=m
 CONFIG_PPP=m
 CONFIG_PPP_ASYNC=m
@@ -330,6 +340,8 @@ CONFIG_INFINIBAND_USER_MAD=m
 CONFIG_INFINIBAND_USER_ACCESS=m
 CONFIG_INFINIBAND_MTHCA=m
 CONFIG_INFINIBAND_EHCA=m
+CONFIG_INFINIBAND_CXGB3=m
+CONFIG_INFINIBAND_CXGB4=m
 CONFIG_MLX4_INFINIBAND=m
 CONFIG_INFINIBAND_IPOIB=m
 CONFIG_INFINIBAND_IPOIB_CM=y
#2 lore raw

PATCH 2/4 powerpc: Disable IRQs off tracer in ppc64 defconfig

In reply to Anton Blanchard

The IRQs off tracer enables mcount which has a big impact on performance. Disable it.

---

arch/powerpc/configs/ppc64_defconfig +0 -1
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -446,7 +446,6 @@ CONFIG_DEBUG_MUTEXES=y
 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_IRQSOFF_TRACER=y
 CONFIG_SCHED_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_DEBUG_STACKOVERFLOW=y
#3 lore raw

PATCH 3/4 powerpc: Add mpt2sas driver to pseries and ppc64 defconfig

In reply to Anton Blanchard

Add mpt2sas driver to pseries and ppc64 defconfig.

---

arch/powerpc/configs/ppc64_defconfig +1 -0
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -181,6 +181,7 @@ CONFIG_SCSI_CXGB3_ISCSI=m
 CONFIG_SCSI_CXGB4_ISCSI=m
 CONFIG_SCSI_BNX2_ISCSI=m
 CONFIG_BE2ISCSI=m
+CONFIG_SCSI_MPT2SAS=m
 CONFIG_SCSI_IBMVSCSI=y
 CONFIG_SCSI_IBMVFC=m
 CONFIG_SCSI_SYM53C8XX_2=y
arch/powerpc/configs/pseries_defconfig +1 -0
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===================================================================
@@ -149,6 +149,7 @@ CONFIG_SCSI_CXGB3_ISCSI=m
 CONFIG_SCSI_CXGB4_ISCSI=m
 CONFIG_SCSI_BNX2_ISCSI=m
 CONFIG_BE2ISCSI=m
+CONFIG_SCSI_MPT2SAS=m
 CONFIG_SCSI_IBMVSCSI=y
 CONFIG_SCSI_IBMVFC=m
 CONFIG_SCSI_SYM53C8XX_2=y
#4 lore raw

PATCH 4/4 powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs

In reply to Anton Blanchard

As a result of changes to Kconfig files, we no longer enable the lockup and hung task detectors. Both are very light weight and provide useful information in the event of a hang, so reenable them.

---

arch/powerpc/configs/ppc64_defconfig +2 -0
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -443,6 +443,8 @@ CONFIG_NLS_KOI8_U=m
 CONFIG_CRC_T10DIF=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_KERNEL=y
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_DETECT_HUNG_TASK=y
 CONFIG_DEBUG_MUTEXES=y
 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
 CONFIG_LATENCYTOP=y
arch/powerpc/configs/pseries_defconfig +2 -0
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===================================================================
@@ -321,6 +321,8 @@ CONFIG_NLS_ISO8859_1=y
 CONFIG_CRC_T10DIF=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_KERNEL=y
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_DETECT_HUNG_TASK=y
 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
 CONFIG_LATENCYTOP=y
 CONFIG_SYSCTL_SYSCALL_CHECK=y
#5 lore raw

RE: [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand ppc64 defeconfigs

=20

Quoted 4 lines

As a result of changes to Kconfig files, we no longer enable the lockup and hung task detectors. Both are very light weight and provide useful information in the event of a hang, so reenable them.

...

Review

Quoted 2 lines
(quoted diff) +2 -0
+CONFIG_LOCKUP_DETECTOR=3Dy
+CONFIG_DETECT_HUNG_TASK=3Dy

Is one of thise responsible for generating a kernel stack traceback when a process has been sleeping uninterruptably for a 'long' time?

We have a kernel subsystem that has several 'worker' threads, these always sleep uninterruptable (they are shut down by explicit request) and, at times, can be idle for long periods.

Perhaps it should be possible to disable the check either on a per-process of per sleep basis?

David

#6 lore raw

Re: [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand ppc64 defeconfigs

Hi David,

Quoted 11 lines
Quoted 4 lines

As a result of changes to Kconfig files, we no longer enable the lockup and hung task detectors. Both are very light weight and provide useful information in the event of a hang, so reenable them.

...

Review

Quoted 2 lines
(quoted diff) +2 -0
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_DETECT_HUNG_TASK=y

Is one of thise responsible for generating a kernel stack traceback when a process has been sleeping uninterruptably for a 'long' time?

Quoted 6 lines

We have a kernel subsystem that has several 'worker' threads, these always sleep uninterruptable (they are shut down by explicit request) and, at times, can be idle for long periods.

Perhaps it should be possible to disable the check either on a per-process of per sleep basis?

I don't see any runtime options other than disabling it completely via:

/proc/sys/kernel/hung_task_timeout_secs

Anton