Re: [PATCH] powerpc: update config files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 30, 2022 at 9:42 AM Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
>
> Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> writes:
> > Clean up config files by:
> >   - removing configs that were deleted in the past
> >   - removing configs not in tree and without recently pending patches
> >   - adding new configs that are replacements for old configs in the file
> >
> > For some detailed information, see Link.
> >
> > Link: https://lore.kernel.org/kernel-janitors/20220929090645.1389-1-lukas.bulwahn@xxxxxxxxx/
>
> Ideally I'd like a list in the change log of each symbol and why they're
> being removed/changed. It's pretty easy to accidentally drop something
> otherwise.
>
> I think this is the list in this case:
>
> Renamed:
>   - CONFIG_PPC_PTDUMP -> CONFIG_GENERIC_PTDUMP
>     e084728393a5 ("powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP")
>
> Removed:
>   - CONFIG_BLK_DEV_CRYPTOLOOP
>     47e9624616c8 ("block: remove support for cryptoloop and the xor transfer")
>
>   - CONFIG_CRYPTO_RMD128
>     b21b9a5e0aef ("crypto: rmd128 - remove RIPE-MD 128 hash algorithm")
>
>   - CONFIG_CRYPTO_RMD256
>     c15d4167f0b0 ("crypto: rmd256 - remove RIPE-MD 256 hash algorithm")
>
>   - CONFIG_CRYPTO_RMD320
>     93f64202926f ("crypto: rmd320 - remove RIPE-MD 320 hash algorithm")
>
>   - CONFIG_CRYPTO_SALSA20
>     663f63ee6d9c ("crypto: salsa20 - remove Salsa20 stream cipher algorithm")
>
>   - CONFIG_CRYPTO_TGR192
>     87cd723f8978 ("crypto: tgr192 - remove Tiger 128/160/192 hash algorithms")
>
>   - CONFIG_HARDENED_USERCOPY_PAGESPAN
>     1109a5d90701 ("usercopy: Remove HARDENED_USERCOPY_PAGESPAN")
>
>   - CONFIG_RAPIDIO_TSI568, CONFIG_RAPIDIO_TSI57X
>     612d4904191f ("rapidio: remove not used code about RIO_VID_TUNDRA")
>
>   - CONFIG_RAW_DRIVER
>     603e4922f1c8 ("remove the raw driver")
>
>   - CONFIG_ROCKETPORT
>     3b00b6af7a5b ("tty: rocket, remove the driver")
>
>   - CONFIG_ENABLE_MUST_CHECK
>     196793946264 ("Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK")
>
>
> I'll fold that into the change log.
>

Sure. Go ahead. I have provided all information I collected in the
linked email (and this information drove my scripts to take actions)
and I am happy to provide it in any form a maintainer may think is
good for them. But I assume you did this with a simple script
yourself.

After going through the changes of Kconfig from the last decade, it
seems feasible that the information on Kconfig changes is actually
maintained somewhere and that would allow updating of arbitrary kernel
configs to newer kernel versions. It is not completely out of reach at
least.

And to really improve the situation, I would like to reduce all these
defconfigs in the repository to minimal kernel fragments that really
focus on what these config for specific machines intend to tell. E.g.,
these configs below (powerpc-configs) are about ensuring specific
hardware support, not about setting "CONFIG_CRYPTO_XYZ" one way or the
other. That is actually just "noise". I do not know how to do this
right yet, but with a bit of experimentation and investigation, I
might come with a first idea and then we will see.

Lukas

> cheers
>
> > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
> > ---
> >  arch/powerpc/configs/83xx/mpc837x_rdb_defconfig | 1 -
> >  arch/powerpc/configs/85xx/ge_imp3a_defconfig    | 1 -
> >  arch/powerpc/configs/85xx/ppa8548_defconfig     | 2 --
> >  arch/powerpc/configs/cell_defconfig             | 1 -
> >  arch/powerpc/configs/g5_defconfig               | 1 -
> >  arch/powerpc/configs/mpc512x_defconfig          | 1 -
> >  arch/powerpc/configs/mpc885_ads_defconfig       | 2 +-
> >  arch/powerpc/configs/pasemi_defconfig           | 1 -
> >  arch/powerpc/configs/pmac32_defconfig           | 1 -
> >  arch/powerpc/configs/powernv_defconfig          | 3 ---
> >  arch/powerpc/configs/ppc64_defconfig            | 3 ---
> >  arch/powerpc/configs/ppc64e_defconfig           | 3 ---
> >  arch/powerpc/configs/ppc6xx_defconfig           | 7 -------
> >  arch/powerpc/configs/ps3_defconfig              | 1 -
> >  arch/powerpc/configs/pseries_defconfig          | 3 ---
> >  arch/powerpc/configs/skiroot_defconfig          | 2 --
> >  arch/powerpc/configs/storcenter_defconfig       | 1 -
> >  17 files changed, 1 insertion(+), 33 deletions(-)
> >
> > diff --git a/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig b/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig
> > index cbcae2a927e9..4e3373381ab6 100644
> > --- a/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig
> > +++ b/arch/powerpc/configs/83xx/mpc837x_rdb_defconfig
> > @@ -77,6 +77,5 @@ CONFIG_NFS_FS=y
> >  CONFIG_NFS_V4=y
> >  CONFIG_ROOT_NFS=y
> >  CONFIG_CRC_T10DIF=y
> > -# CONFIG_ENABLE_MUST_CHECK is not set
> >  CONFIG_CRYPTO_ECB=m
> >  CONFIG_CRYPTO_PCBC=m
> > diff --git a/arch/powerpc/configs/85xx/ge_imp3a_defconfig b/arch/powerpc/configs/85xx/ge_imp3a_defconfig
> > index e7672c186325..ea719898b581 100644
> > --- a/arch/powerpc/configs/85xx/ge_imp3a_defconfig
> > +++ b/arch/powerpc/configs/85xx/ge_imp3a_defconfig
> > @@ -74,7 +74,6 @@ CONFIG_MTD_PHYSMAP_OF=y
> >  CONFIG_MTD_RAW_NAND=y
> >  CONFIG_MTD_NAND_FSL_ELBC=y
> >  CONFIG_BLK_DEV_LOOP=m
> > -CONFIG_BLK_DEV_CRYPTOLOOP=m
> >  CONFIG_BLK_DEV_NBD=m
> >  CONFIG_BLK_DEV_RAM=y
> >  CONFIG_BLK_DEV_RAM_SIZE=131072
> > diff --git a/arch/powerpc/configs/85xx/ppa8548_defconfig b/arch/powerpc/configs/85xx/ppa8548_defconfig
> > index 190978a5b7d5..4bd5f993d26a 100644
> > --- a/arch/powerpc/configs/85xx/ppa8548_defconfig
> > +++ b/arch/powerpc/configs/85xx/ppa8548_defconfig
> > @@ -7,9 +7,7 @@ CONFIG_RAPIDIO=y
> >  CONFIG_FSL_RIO=y
> >  CONFIG_RAPIDIO_DMA_ENGINE=y
> >  CONFIG_RAPIDIO_ENUM_BASIC=y
> > -CONFIG_RAPIDIO_TSI57X=y
> >  CONFIG_RAPIDIO_CPS_XX=y
> > -CONFIG_RAPIDIO_TSI568=y
> >  CONFIG_RAPIDIO_CPS_GEN2=y
> >  CONFIG_ADVANCED_OPTIONS=y
> >  CONFIG_LOWMEM_SIZE_BOOL=y
> > diff --git a/arch/powerpc/configs/cell_defconfig b/arch/powerpc/configs/cell_defconfig
> > index 7fd9e596ea33..06391cc2af3a 100644
> > --- a/arch/powerpc/configs/cell_defconfig
> > +++ b/arch/powerpc/configs/cell_defconfig
> > @@ -195,7 +195,6 @@ CONFIG_NLS_ISO8859_9=m
> >  CONFIG_NLS_ISO8859_13=m
> >  CONFIG_NLS_ISO8859_14=m
> >  CONFIG_NLS_ISO8859_15=m
> > -# CONFIG_ENABLE_MUST_CHECK is not set
> >  CONFIG_MAGIC_SYSRQ=y
> >  CONFIG_DEBUG_KERNEL=y
> >  CONFIG_DEBUG_MUTEXES=y
> > diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig
> > index 9d6212a8b195..71d9d112c0b6 100644
> > --- a/arch/powerpc/configs/g5_defconfig
> > +++ b/arch/powerpc/configs/g5_defconfig
> > @@ -119,7 +119,6 @@ CONFIG_INPUT_EVDEV=y
> >  # CONFIG_SERIO_I8042 is not set
> >  # CONFIG_SERIO_SERPORT is not set
> >  # CONFIG_HW_RANDOM is not set
> > -CONFIG_RAW_DRIVER=y
> >  CONFIG_I2C_CHARDEV=y
> >  CONFIG_AGP=m
> >  CONFIG_AGP_UNINORTH=m
> > diff --git a/arch/powerpc/configs/mpc512x_defconfig b/arch/powerpc/configs/mpc512x_defconfig
> > index e75d3f3060c9..10fe061c5e6d 100644
> > --- a/arch/powerpc/configs/mpc512x_defconfig
> > +++ b/arch/powerpc/configs/mpc512x_defconfig
> > @@ -114,5 +114,4 @@ CONFIG_NFS_FS=y
> >  CONFIG_ROOT_NFS=y
> >  CONFIG_NLS_CODEPAGE_437=y
> >  CONFIG_NLS_ISO8859_1=y
> > -# CONFIG_ENABLE_MUST_CHECK is not set
> >  # CONFIG_CRYPTO_HW is not set
> > diff --git a/arch/powerpc/configs/mpc885_ads_defconfig b/arch/powerpc/configs/mpc885_ads_defconfig
> > index 700115d85d6f..56b876e418e9 100644
> > --- a/arch/powerpc/configs/mpc885_ads_defconfig
> > +++ b/arch/powerpc/configs/mpc885_ads_defconfig
> > @@ -78,4 +78,4 @@ CONFIG_DEBUG_VM_PGTABLE=y
> >  CONFIG_DETECT_HUNG_TASK=y
> >  CONFIG_BDI_SWITCH=y
> >  CONFIG_PPC_EARLY_DEBUG=y
> > -CONFIG_PPC_PTDUMP=y
> > +CONFIG_GENERIC_PTDUMP=y
> > diff --git a/arch/powerpc/configs/pasemi_defconfig b/arch/powerpc/configs/pasemi_defconfig
> > index e00a703581c3..96aa5355911f 100644
> > --- a/arch/powerpc/configs/pasemi_defconfig
> > +++ b/arch/powerpc/configs/pasemi_defconfig
> > @@ -92,7 +92,6 @@ CONFIG_LEGACY_PTY_COUNT=4
> >  CONFIG_SERIAL_8250=y
> >  CONFIG_SERIAL_8250_CONSOLE=y
> >  CONFIG_HW_RANDOM=y
> > -CONFIG_RAW_DRIVER=y
> >  CONFIG_I2C_CHARDEV=y
> >  CONFIG_I2C_PASEMI=y
> >  CONFIG_SENSORS_LM85=y
> > diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig
> > index 13885ec563d1..019163c2571e 100644
> > --- a/arch/powerpc/configs/pmac32_defconfig
> > +++ b/arch/powerpc/configs/pmac32_defconfig
> > @@ -284,7 +284,6 @@ CONFIG_BOOTX_TEXT=y
> >  CONFIG_CRYPTO_PCBC=m
> >  CONFIG_CRYPTO_MD4=m
> >  CONFIG_CRYPTO_SHA512=m
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> > diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> > index 4acca5263404..e1213973d858 100644
> > --- a/arch/powerpc/configs/powernv_defconfig
> > +++ b/arch/powerpc/configs/powernv_defconfig
> > @@ -251,7 +251,6 @@ CONFIG_RTC_CLASS=y
> >  CONFIG_RTC_DRV_GENERIC=y
> >  # CONFIG_VIRTIO_MENU is not set
> >  CONFIG_LIBNVDIMM=y
> > -# CONFIG_ND_BLK is not set
> >  CONFIG_EXT2_FS=y
> >  CONFIG_EXT2_FS_XATTR=y
> >  CONFIG_EXT2_FS_POSIX_ACL=y
> > @@ -324,13 +323,11 @@ CONFIG_CRYPTO_MD5_PPC=m
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> >  CONFIG_CRYPTO_SHA1_PPC=m
> >  CONFIG_CRYPTO_SHA256=y
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> >  CONFIG_CRYPTO_CAST6=m
> >  CONFIG_CRYPTO_KHAZAD=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_SERPENT=m
> >  CONFIG_CRYPTO_TEA=m
> >  CONFIG_CRYPTO_TWOFISH=m
> > diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
> > index 6be0c43397b4..d6949a6c5b2b 100644
> > --- a/arch/powerpc/configs/ppc64_defconfig
> > +++ b/arch/powerpc/configs/ppc64_defconfig
> > @@ -215,7 +215,6 @@ CONFIG_HVC_RTAS=y
> >  CONFIG_HVCS=m
> >  CONFIG_VIRTIO_CONSOLE=m
> >  CONFIG_IBM_BSR=m
> > -CONFIG_RAW_DRIVER=y
> >  CONFIG_I2C_CHARDEV=y
> >  CONFIG_I2C_AMD8111=y
> >  CONFIG_I2C_PASEMI=y
> > @@ -344,13 +343,11 @@ CONFIG_CRYPTO_MD5_PPC=m
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> >  CONFIG_CRYPTO_SHA1_PPC=m
> >  CONFIG_CRYPTO_SHA256=y
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> >  CONFIG_CRYPTO_CAST6=m
> >  CONFIG_CRYPTO_KHAZAD=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_SERPENT=m
> >  CONFIG_CRYPTO_TEA=m
> >  CONFIG_CRYPTO_TWOFISH=m
> > diff --git a/arch/powerpc/configs/ppc64e_defconfig b/arch/powerpc/configs/ppc64e_defconfig
> > index 5cf49a515f8e..f97a2d31bbf7 100644
> > --- a/arch/powerpc/configs/ppc64e_defconfig
> > +++ b/arch/powerpc/configs/ppc64e_defconfig
> > @@ -118,7 +118,6 @@ CONFIG_INPUT_MISC=y
> >  CONFIG_SERIAL_8250=y
> >  CONFIG_SERIAL_8250_CONSOLE=y
> >  # CONFIG_HW_RANDOM is not set
> > -CONFIG_RAW_DRIVER=y
> >  CONFIG_I2C_CHARDEV=y
> >  CONFIG_I2C_AMD8111=y
> >  CONFIG_FB=y
> > @@ -234,13 +233,11 @@ CONFIG_CRYPTO_PCBC=m
> >  CONFIG_CRYPTO_HMAC=y
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> >  CONFIG_CRYPTO_SHA512=m
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> >  CONFIG_CRYPTO_CAST6=m
> >  CONFIG_CRYPTO_KHAZAD=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_SERPENT=m
> >  CONFIG_CRYPTO_TEA=m
> >  CONFIG_CRYPTO_TWOFISH=m
> > diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig
> > index a24f484bfbd2..d23deb94b36e 100644
> > --- a/arch/powerpc/configs/ppc6xx_defconfig
> > +++ b/arch/powerpc/configs/ppc6xx_defconfig
> > @@ -321,7 +321,6 @@ CONFIG_PNP=y
> >  CONFIG_ISAPNP=y
> >  CONFIG_MAC_FLOPPY=m
> >  CONFIG_BLK_DEV_LOOP=m
> > -CONFIG_BLK_DEV_CRYPTOLOOP=m
> >  CONFIG_BLK_DEV_NBD=m
> >  CONFIG_BLK_DEV_RAM=y
> >  CONFIG_BLK_DEV_RAM_SIZE=16384
> > @@ -590,7 +589,6 @@ CONFIG_GAMEPORT_EMU10K1=m
> >  CONFIG_GAMEPORT_FM801=m
> >  # CONFIG_LEGACY_PTYS is not set
> >  CONFIG_SERIAL_NONSTANDARD=y
> > -CONFIG_ROCKETPORT=m
> >  CONFIG_SYNCLINK_GT=m
> >  CONFIG_NOZOMI=m
> >  CONFIG_N_HDLC=m
> > @@ -1107,13 +1105,9 @@ CONFIG_CRYPTO_XTS=m
> >  CONFIG_CRYPTO_HMAC=y
> >  CONFIG_CRYPTO_XCBC=m
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> > -CONFIG_CRYPTO_RMD128=m
> >  CONFIG_CRYPTO_RMD160=m
> > -CONFIG_CRYPTO_RMD256=m
> > -CONFIG_CRYPTO_RMD320=m
> >  CONFIG_CRYPTO_SHA1=y
> >  CONFIG_CRYPTO_SHA512=m
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> > @@ -1121,7 +1115,6 @@ CONFIG_CRYPTO_CAMELLIA=m
> >  CONFIG_CRYPTO_CAST6=m
> >  CONFIG_CRYPTO_FCRYPT=m
> >  CONFIG_CRYPTO_KHAZAD=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_SEED=m
> >  CONFIG_CRYPTO_SERPENT=m
> >  CONFIG_CRYPTO_TEA=m
> > diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig
> > index 2d9ac233da68..0a1b42c4f26a 100644
> > --- a/arch/powerpc/configs/ps3_defconfig
> > +++ b/arch/powerpc/configs/ps3_defconfig
> > @@ -165,6 +165,5 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
> >  # CONFIG_FTRACE is not set
> >  CONFIG_CRYPTO_PCBC=m
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_LZO=m
> >  CONFIG_PRINTK_TIME=y
> > diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
> > index 44c0e6e5f546..7497e17ea657 100644
> > --- a/arch/powerpc/configs/pseries_defconfig
> > +++ b/arch/powerpc/configs/pseries_defconfig
> > @@ -189,7 +189,6 @@ CONFIG_HVC_RTAS=y
> >  CONFIG_HVCS=m
> >  CONFIG_VIRTIO_CONSOLE=m
> >  CONFIG_IBM_BSR=m
> > -CONFIG_RAW_DRIVER=y
> >  CONFIG_I2C_CHARDEV=y
> >  CONFIG_FB=y
> >  CONFIG_FIRMWARE_EDID=y
> > @@ -304,13 +303,11 @@ CONFIG_CRYPTO_MD5_PPC=m
> >  CONFIG_CRYPTO_MICHAEL_MIC=m
> >  CONFIG_CRYPTO_SHA1_PPC=m
> >  CONFIG_CRYPTO_SHA256=y
> > -CONFIG_CRYPTO_TGR192=m
> >  CONFIG_CRYPTO_WP512=m
> >  CONFIG_CRYPTO_ANUBIS=m
> >  CONFIG_CRYPTO_BLOWFISH=m
> >  CONFIG_CRYPTO_CAST6=m
> >  CONFIG_CRYPTO_KHAZAD=m
> > -CONFIG_CRYPTO_SALSA20=m
> >  CONFIG_CRYPTO_SERPENT=m
> >  CONFIG_CRYPTO_TEA=m
> >  CONFIG_CRYPTO_TWOFISH=m
> > diff --git a/arch/powerpc/configs/skiroot_defconfig b/arch/powerpc/configs/skiroot_defconfig
> > index f491875700e8..e0964210f259 100644
> > --- a/arch/powerpc/configs/skiroot_defconfig
> > +++ b/arch/powerpc/configs/skiroot_defconfig
> > @@ -133,7 +133,6 @@ CONFIG_ACENIC_OMIT_TIGON_I=y
> >  # CONFIG_NET_VENDOR_AQUANTIA is not set
> >  # CONFIG_NET_VENDOR_ARC is not set
> >  # CONFIG_NET_VENDOR_ATHEROS is not set
> > -# CONFIG_NET_VENDOR_AURORA is not set
> >  CONFIG_TIGON3=m
> >  CONFIG_BNX2X=m
> >  # CONFIG_NET_VENDOR_BROCADE is not set
> > @@ -274,7 +273,6 @@ CONFIG_NLS_UTF8=y
> >  CONFIG_ENCRYPTED_KEYS=y
> >  CONFIG_SECURITY=y
> >  CONFIG_HARDENED_USERCOPY=y
> > -CONFIG_HARDENED_USERCOPY_PAGESPAN=y
> >  CONFIG_FORTIFY_SOURCE=y
> >  CONFIG_SECURITY_LOCKDOWN_LSM=y
> >  CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
> > diff --git a/arch/powerpc/configs/storcenter_defconfig b/arch/powerpc/configs/storcenter_defconfig
> > index 47dcfaddc1ac..7a978d396991 100644
> > --- a/arch/powerpc/configs/storcenter_defconfig
> > +++ b/arch/powerpc/configs/storcenter_defconfig
> > @@ -76,4 +76,3 @@ CONFIG_NLS_CODEPAGE_437=y
> >  CONFIG_NLS_ISO8859_1=y
> >  CONFIG_NLS_UTF8=y
> >  CONFIG_CRC_T10DIF=y
> > -# CONFIG_ENABLE_MUST_CHECK is not set
> > --
> > 2.17.1



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux