From 68e7a2a0b7d8730933d3788806c3480c8f0d09de Mon Sep 17 00:00:00 2001 From: Sergey Ryazanov Date: Wed, 31 May 2017 00:46:40 +0300 Subject: [PATCH] kernel: disable CONFIG_SG_POOL by default CONFIG_SG_POOL symbol is selected only by CONFIG_SCSI, since the last one is disabled by default then disable CONFIG_SG_POOL by default too. And explicitly enable it only for platforms that use CONFIG_SCSI. Signed-off-by: Sergey Ryazanov --- target/linux/apm821xx/config-4.9 | 1 - target/linux/arc770/config-4.9 | 1 - target/linux/archs38/config-4.9 | 1 - target/linux/bcm53xx/config-4.9 | 1 - target/linux/brcm2708/bcm2708/config-4.9 | 1 + target/linux/brcm2708/bcm2709/config-4.9 | 1 + target/linux/brcm2708/bcm2710/config-4.9 | 1 + target/linux/cns3xxx/config-4.9 | 1 + target/linux/generic/config-4.9 | 2 +- target/linux/imx6/config-4.9 | 1 + target/linux/ipq806x/config-4.9 | 1 - target/linux/lantiq/config-4.9 | 1 - target/linux/mediatek/config-4.9 | 1 - target/linux/mpc85xx/config-4.9 | 1 - target/linux/mvebu/config-4.9 | 1 + target/linux/octeon/config-4.9 | 1 + target/linux/pistachio/config-4.9 | 1 + target/linux/ramips/mt7620/config-4.9 | 1 - target/linux/ramips/mt7621/config-4.9 | 1 - target/linux/ramips/mt7628/config-4.9 | 1 - target/linux/ramips/mt7688/config-4.9 | 1 - target/linux/ramips/rt288x/config-4.9 | 1 - target/linux/ramips/rt305x/config-4.9 | 1 - target/linux/ramips/rt3883/config-4.9 | 1 - target/linux/x86/config-4.9 | 1 + 25 files changed, 10 insertions(+), 16 deletions(-) diff --git a/target/linux/apm821xx/config-4.9 b/target/linux/apm821xx/config-4.9 index b31df63083f3..2446a7bdb92f 100644 --- a/target/linux/apm821xx/config-4.9 +++ b/target/linux/apm821xx/config-4.9 @@ -301,7 +301,6 @@ CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SIMPLE_GPIO=y CONFIG_SPARSE_IRQ=y CONFIG_SRCU=y diff --git a/target/linux/arc770/config-4.9 b/target/linux/arc770/config-4.9 index 2472ce28e49a..fb5cd439e18e 100644 --- a/target/linux/arc770/config-4.9 +++ b/target/linux/arc770/config-4.9 @@ -185,7 +185,6 @@ CONFIG_SERIAL_ARC=y CONFIG_SERIAL_ARC_CONSOLE=y CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SRCU=y CONFIG_STACKTRACE=y CONFIG_STMMAC_ETH=y diff --git a/target/linux/archs38/config-4.9 b/target/linux/archs38/config-4.9 index 311315e44c5c..997a3c2338e8 100644 --- a/target/linux/archs38/config-4.9 +++ b/target/linux/archs38/config-4.9 @@ -198,7 +198,6 @@ CONFIG_SERIAL_ARC=y CONFIG_SERIAL_ARC_CONSOLE=y CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SMP=y CONFIG_SRCU=y CONFIG_STACKTRACE=y diff --git a/target/linux/bcm53xx/config-4.9 b/target/linux/bcm53xx/config-4.9 index 3f6b7c32db59..2859f03cad0e 100644 --- a/target/linux/bcm53xx/config-4.9 +++ b/target/linux/bcm53xx/config-4.9 @@ -293,7 +293,6 @@ CONFIG_SERIAL_8250_FSL=y # CONFIG_SERIAL_AMBA_PL010 is not set # CONFIG_SERIAL_AMBA_PL011 is not set CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SPARSE_IRQ=y diff --git a/target/linux/brcm2708/bcm2708/config-4.9 b/target/linux/brcm2708/bcm2708/config-4.9 index 7eb5a72bc9f7..b766b742b4c7 100644 --- a/target/linux/brcm2708/bcm2708/config-4.9 +++ b/target/linux/brcm2708/bcm2708/config-4.9 @@ -342,6 +342,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SG_POOL=y CONFIG_SPARSE_IRQ=y # CONFIG_SQUASHFS is not set CONFIG_SRCU=y diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9 index 9ee233817cd2..26b2c6c8e5b8 100644 --- a/target/linux/brcm2708/bcm2709/config-4.9 +++ b/target/linux/brcm2708/bcm2709/config-4.9 @@ -370,6 +370,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SPARSE_IRQ=y diff --git a/target/linux/brcm2708/bcm2710/config-4.9 b/target/linux/brcm2708/bcm2710/config-4.9 index f672c400ec4b..f2f27cf9af17 100644 --- a/target/linux/brcm2708/bcm2710/config-4.9 +++ b/target/linux/brcm2708/bcm2710/config-4.9 @@ -388,6 +388,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SPARSEMEM=y CONFIG_SPARSEMEM_EXTREME=y diff --git a/target/linux/cns3xxx/config-4.9 b/target/linux/cns3xxx/config-4.9 index 2fec4f0f135f..6c0746594819 100644 --- a/target/linux/cns3xxx/config-4.9 +++ b/target/linux/cns3xxx/config-4.9 @@ -260,6 +260,7 @@ CONFIG_SENSORS_AD7418=y CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3 +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SPARSE_IRQ=y diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9 index a9794873671b..f50f0f0e8063 100644 --- a/target/linux/generic/config-4.9 +++ b/target/linux/generic/config-4.9 @@ -3967,7 +3967,7 @@ CONFIG_SERIAL_EARLYCON=y # CONFIG_SGI_IP28 is not set # CONFIG_SGI_IP32 is not set # CONFIG_SGI_PARTITION is not set -CONFIG_SG_POOL=y +# CONFIG_SG_POOL is not set # CONFIG_SG_SPLIT is not set CONFIG_SHMEM=y # CONFIG_SH_ETH is not set diff --git a/target/linux/imx6/config-4.9 b/target/linux/imx6/config-4.9 index 701bb53e4b1d..590e192041de 100644 --- a/target/linux/imx6/config-4.9 +++ b/target/linux/imx6/config-4.9 @@ -425,6 +425,7 @@ CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_IMX=y CONFIG_SERIAL_IMX_CONSOLE=y CONFIG_SERIAL_MCTRL_GPIO=y +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SOC_BUS=y diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9 index 072ab6a89778..7e6ec7048858 100644 --- a/target/linux/ipq806x/config-4.9 +++ b/target/linux/ipq806x/config-4.9 @@ -447,7 +447,6 @@ CONFIG_SERIAL_8250_FSL=y # CONFIG_SERIAL_AMBA_PL011 is not set CONFIG_SERIAL_MSM=y CONFIG_SERIAL_MSM_CONSOLE=y -# CONFIG_SG_POOL is not set CONFIG_SMP=y CONFIG_SMP_ON_UP=y CONFIG_SPARSE_IRQ=y diff --git a/target/linux/lantiq/config-4.9 b/target/linux/lantiq/config-4.9 index edfc1c10dc99..52e58ab1f45b 100644 --- a/target/linux/lantiq/config-4.9 +++ b/target/linux/lantiq/config-4.9 @@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SENSORS_LTQ_CPUTEMP is not set # CONFIG_SERIAL_8250 is not set CONFIG_SERIAL_LANTIQ=y -# CONFIG_SG_POOL is not set # CONFIG_SOC_AMAZON_SE is not set # CONFIG_SOC_FALCON is not set CONFIG_SOC_TYPE_XWAY=y diff --git a/target/linux/mediatek/config-4.9 b/target/linux/mediatek/config-4.9 index 9f5b20004095..268154b45e4f 100644 --- a/target/linux/mediatek/config-4.9 +++ b/target/linux/mediatek/config-4.9 @@ -397,7 +397,6 @@ CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_MT6577=y CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 -# CONFIG_SG_POOL is not set CONFIG_SMP=y # CONFIG_SMP_ON_UP is not set CONFIG_SPARSE_IRQ=y diff --git a/target/linux/mpc85xx/config-4.9 b/target/linux/mpc85xx/config-4.9 index 9bd8a5d6db2c..33b8a519a3d3 100644 --- a/target/linux/mpc85xx/config-4.9 +++ b/target/linux/mpc85xx/config-4.9 @@ -315,7 +315,6 @@ CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_OF_PLATFORM=y # CONFIG_SERIAL_QE is not set -# CONFIG_SG_POOL is not set CONFIG_SIMPLE_GPIO=y # CONFIG_SOCRATES is not set CONFIG_SPARSE_IRQ=y diff --git a/target/linux/mvebu/config-4.9 b/target/linux/mvebu/config-4.9 index a84a7b9baf7f..bc7e91eba877 100644 --- a/target/linux/mvebu/config-4.9 +++ b/target/linux/mvebu/config-4.9 @@ -397,6 +397,7 @@ CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_MVEBU_CONSOLE=y CONFIG_SERIAL_MVEBU_UART=y +CONFIG_SG_POOL=y CONFIG_SFP=y CONFIG_SMP=y CONFIG_SMP_ON_UP=y diff --git a/target/linux/octeon/config-4.9 b/target/linux/octeon/config-4.9 index 7e959f11b243..2802446692e9 100644 --- a/target/linux/octeon/config-4.9 +++ b/target/linux/octeon/config-4.9 @@ -245,6 +245,7 @@ CONFIG_SECCOMP=y CONFIG_SECCOMP_FILTER=y CONFIG_SERIAL_8250_DW=y # CONFIG_SERIAL_8250_FSL is not set +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SPARSEMEM=y CONFIG_SPARSEMEM_STATIC=y diff --git a/target/linux/pistachio/config-4.9 b/target/linux/pistachio/config-4.9 index 00af5875b287..0a882e456577 100644 --- a/target/linux/pistachio/config-4.9 +++ b/target/linux/pistachio/config-4.9 @@ -284,6 +284,7 @@ CONFIG_SCSI_SPI_ATTRS=y CONFIG_SERIAL_8250_DW=y # CONFIG_SERIAL_8250_FSL is not set CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SG_POOL=y CONFIG_SMP=y CONFIG_SMP_UP=y CONFIG_SPI=y diff --git a/target/linux/ramips/mt7620/config-4.9 b/target/linux/ramips/mt7620/config-4.9 index 508f5487d9a4..2c1d1bc5a971 100644 --- a/target/linux/ramips/mt7620/config-4.9 +++ b/target/linux/ramips/mt7620/config-4.9 @@ -187,7 +187,6 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SERIAL_8250_FSL is not set CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SOC_MT7620=y # CONFIG_SOC_MT7621 is not set # CONFIG_SOC_RT288X is not set diff --git a/target/linux/ramips/mt7621/config-4.9 b/target/linux/ramips/mt7621/config-4.9 index 40477c98c580..6e954680b799 100644 --- a/target/linux/ramips/mt7621/config-4.9 +++ b/target/linux/ramips/mt7621/config-4.9 @@ -241,7 +241,6 @@ CONFIG_SCHED_SMT=y CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SMP=y CONFIG_SMP_UP=y # CONFIG_SOC_MT7620 is not set diff --git a/target/linux/ramips/mt7628/config-4.9 b/target/linux/ramips/mt7628/config-4.9 index 6f8e7f17d3fa..6f0962f40a3f 100644 --- a/target/linux/ramips/mt7628/config-4.9 +++ b/target/linux/ramips/mt7628/config-4.9 @@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SOC_MT7620=y # CONFIG_SOC_MT7621 is not set # CONFIG_SOC_RT288X is not set diff --git a/target/linux/ramips/mt7688/config-4.9 b/target/linux/ramips/mt7688/config-4.9 index 5e1290b74207..1e89b77da9af 100644 --- a/target/linux/ramips/mt7688/config-4.9 +++ b/target/linux/ramips/mt7688/config-4.9 @@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set CONFIG_SOC_MT7620=y # CONFIG_SOC_MT7621 is not set # CONFIG_SOC_RT288X is not set diff --git a/target/linux/ramips/rt288x/config-4.9 b/target/linux/ramips/rt288x/config-4.9 index 5864009fe9a8..01f4f21e7c48 100644 --- a/target/linux/ramips/rt288x/config-4.9 +++ b/target/linux/ramips/rt288x/config-4.9 @@ -175,7 +175,6 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SERIAL_8250_FSL is not set CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set # CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7621 is not set CONFIG_SOC_RT288X=y diff --git a/target/linux/ramips/rt305x/config-4.9 b/target/linux/ramips/rt305x/config-4.9 index feacc95aedab..0009a58bdfed 100644 --- a/target/linux/ramips/rt305x/config-4.9 +++ b/target/linux/ramips/rt305x/config-4.9 @@ -172,7 +172,6 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SERIAL_8250_FSL is not set CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set # CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7621 is not set # CONFIG_SOC_RT288X is not set diff --git a/target/linux/ramips/rt3883/config-4.9 b/target/linux/ramips/rt3883/config-4.9 index eb77d3421c16..c632ea55179e 100644 --- a/target/linux/ramips/rt3883/config-4.9 +++ b/target/linux/ramips/rt3883/config-4.9 @@ -180,7 +180,6 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SERIAL_8250_FSL is not set CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_SG_POOL is not set # CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7621 is not set # CONFIG_SOC_RT288X is not set diff --git a/target/linux/x86/config-4.9 b/target/linux/x86/config-4.9 index a9de3d20ec8d..9747e536eb16 100644 --- a/target/linux/x86/config-4.9 +++ b/target/linux/x86/config-4.9 @@ -386,6 +386,7 @@ CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_SERIO_LIBPS2=y CONFIG_SERIO_SERPORT=y +CONFIG_SG_POOL=y # CONFIG_SMSC37B787_WDT is not set # CONFIG_SMSC_SCH311X_WDT is not set CONFIG_SPARSEMEM_STATIC=y -- 2.30.2