On Wed, Feb 15, 2023, at 11:19, Arnd Bergmann wrote: > > I can probably do the same recursive check for removed Kconfig > options that I used for finding dead code after the boardfile > removal. FWIW, here is the list from a bit of scripting. Symbols that are only defined in arch/ia64 but are referenced elsewhere are: CONFIG_IA64 CONFIG_IA64_PAGE_SIZE_64KB CONFIG_IA64_SGI_UV CONFIG_IA64_DEBUG_CMPXCHG CONFIG_MSPEC Kconfig symbols that are only selected in arch/ia64 but defined elsewhere are CONFIG_ARCH_HAS_DMA_MARK_CLEAN CONFIG_ARCH_TASK_STRUCT_ALLOCATOR CONFIG_ARCH_TASK_STRUCT_ON_STACK CONFIG_ARCH_THREAD_STACK_ALLOCATOR CONFIG_GENERIC_IRQ_LEGACY plus a few that have only one or two other places selecting them: CONFIG_ARCH_CLOCKSOURCE_DATA (sparc64) CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC (x86) CONFIG_ATA_NONSTANDARD (powerpc-maple) CONFIG_FUNCTION_ALIGNMENT_32B (i386) CONFIG_HUGETLB_PAGE_SIZE_VARIABLE (powerpc64) CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT (x86, loongarch) CONFIG_ARCH_BINFMT_ELF_EXTRA_PHDRS (arm64, arch/um 32-bit) CONFIG_HAVE_FUNCTION_DESCRIPTORS (ppc64be, parisc64) CONFIG_HAVE_UNSTABLE_SCHED_CLOCK (parisc, x86) CONFIG_HAVE_VIRT_CPU_ACCOUNTING (powerpc, s390) CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN (arc, loongarch) Arnd