Kconfig: cover sheet.
cover Kconfig: cover sheet.
I spent some more time on my kconfig rework in order to get s390 use the standard drivers/Kconfig instead of the home-brewn drivers/s390/Kconfig. Most important improvement compared to older patches: the disable command can now be placed anywhere.
With all 5 patches applied on-top of 2.6.18-rc5-mm1 s390 now has a decent configuration while including all the standard Kconfig files. Trying to get the current -mm tree to work is another issue. allnoconfig doesn't link because blk_congestion_end is not defined. Enabling the block layer gets it to compile but the kernel is naturally pretty useless.
It compiles fine with allmodconfig and compiles almost with allyesconfig. There is a bug in the cachefiles filesystem (misplaced __exit). These two kernels didn't boot as well, there are still many problems left in -mm in regard to s390. The likely/unlikely profiler doesn't work, the lock dependency validator still has problems, atm crashes ...
I stopped there, dealing with a 17MB allyesconfig kernel is too scary, the listing of vmlinux had 1,46 GB.
The only stain left in regard to Kconfig is the following warning:
drivers/hwmon/Kconfig:533:warning: 'select' used by config symbol 'SENSORS_HDAPS' refer to undefined symbol 'THINKPAD_EC'THINKPAD_EC is defined in drivers/firmware/Kconfig which is only included for i386, ia64 and x86_64. Imho, a common Kconfig should never refer to a symbol that is only available for a subset of architectures.
What I'd like to see is a decision about the proposed "disable" command. Should it be added or not? The alternative solution for the s390 config problem would be to add more "depends on !S390" to the features that are disabled.
Signature · 8 lines
blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin.