default n
        depends on ISA_ARCV2
        select HIGHMEM
+       select PHYS_ADDR_T_64BIT
        help
          Enable access to physical memory beyond 4G, only supported on
          ARC cores with 40 bit Physical Addressing support
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool ARC_HAS_PAE40
-
 config ARCH_DMA_ADDR_T_64BIT
        bool
 
 
        else
                size -= aligned_start - start;
 
-#ifndef CONFIG_ARCH_PHYS_ADDR_T_64BIT
+#ifndef CONFIG_PHYS_ADDR_T_64BIT
        if (aligned_start > ULONG_MAX) {
                pr_crit("Ignoring memory at 0x%08llx outside 32-bit physical address space\n",
                        (long long)start);
 
        bool "Support for the Large Physical Address Extension"
        depends on MMU && CPU_32v7 && !CPU_32v6 && !CPU_32v5 && \
                !CPU_32v4 && !CPU_32v3
+       select PHYS_ADDR_T_64BIT
        help
          Say Y if you have an ARMv7 processor supporting the LPAE page
          table format and you would like to access memory beyond the
        def_bool y
        depends on ARM_LPAE && ARM_PATCH_PHYS_VIRT && ARCH_KEYSTONE
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool ARM_LPAE
-
 config ARCH_DMA_ADDR_T_64BIT
        bool
 
 
 config 64BIT
        def_bool y
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool y
-
 config MMU
        def_bool y
 
 
 
 config MIPS_ALCHEMY
        bool "Alchemy processor based machines"
-       select ARCH_PHYS_ADDR_T_64BIT
+       select PHYS_ADDR_T_64BIT
        select CEVT_R4K
        select CSRC_R4K
        select IRQ_MIPS_CPU
        bool "Cavium Networks Octeon SoC based boards"
        select CEVT_R4K
        select ARCH_HAS_PHYS_TO_DMA
-       select ARCH_PHYS_ADDR_T_64BIT
+       select PHYS_ADDR_T_64BIT
        select DMA_COHERENT
        select SYS_SUPPORTS_64BIT_KERNEL
        select SYS_SUPPORTS_BIG_ENDIAN
        select SWAP_IO_SPACE
        select SYS_SUPPORTS_32BIT_KERNEL
        select SYS_SUPPORTS_64BIT_KERNEL
-       select ARCH_PHYS_ADDR_T_64BIT
+       select PHYS_ADDR_T_64BIT
        select SYS_SUPPORTS_BIG_ENDIAN
        select SYS_SUPPORTS_HIGHMEM
        select DMA_COHERENT
        select HW_HAS_PCI
        select SYS_SUPPORTS_32BIT_KERNEL
        select SYS_SUPPORTS_64BIT_KERNEL
-       select ARCH_PHYS_ADDR_T_64BIT
+       select PHYS_ADDR_T_64BIT
        select GPIOLIB
        select SYS_SUPPORTS_BIG_ENDIAN
        select SYS_SUPPORTS_LITTLE_ENDIAN
        bool
 
 config ARCH_DMA_ADDR_T_64BIT
-       def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT
+       def_bool (HIGHMEM && PHYS_ADDR_T_64BIT) || 64BIT
 
 config ARCH_SUPPORTS_UPROBES
        bool
        depends on SYS_SUPPORTS_HIGHMEM
        select XPA
        select HIGHMEM
-       select ARCH_PHYS_ADDR_T_64BIT
+       select PHYS_ADDR_T_64BIT
        default n
        help
          Choose this option if you want to enable the Extended Physical
        default y
 
 
-config ARCH_PHYS_ADDR_T_64BIT
-       bool
-
 choice
        prompt "SmartMIPS or microMIPS ASE support"
 
 
        bool
        default y if PPC64
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool PPC64 || PHYS_64BIT
-
 config ARCH_DMA_ADDR_T_64BIT
-       def_bool ARCH_PHYS_ADDR_T_64BIT
+       def_bool PHYS_ADDR_T_64BIT
 
 config MMU
        bool
 
 config PHYS_64BIT
        bool 'Large physical address support' if E500 || PPC_86xx
        depends on (44x || E500 || PPC_86xx) && !PPC_83xx && !PPC_82xx
+       select PHYS_ADDR_T_64BIT
        ---help---
          This option enables kernel support for larger than 32-bit physical
          addresses.  This feature may not be available on all cores.
 
 
 config RISCV
        def_bool y
+       # even on 32-bit, physical (and DMA) addresses are > 32-bits
+       select PHYS_ADDR_T_64BIT
        select OF
        select OF_EARLY_FLATTREE
        select OF_IRQ
 config MMU
        def_bool y
 
-# even on 32-bit, physical (and DMA) addresses are > 32-bits
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool y
-
 config ZONE_DMA32
        bool
        default y
 
 config X86_PAE
        bool "PAE (Physical Address Extension) Support"
        depends on X86_32 && !HIGHMEM4G
+       select PHYS_ADDR_T_64BIT
        select SWIOTLB
        ---help---
          PAE is required for NX support, and furthermore enables
 
          Say N if unsure.
 
-config ARCH_PHYS_ADDR_T_64BIT
-       def_bool y
-       depends on X86_64 || X86_PAE
-
 config ARCH_DMA_ADDR_T_64BIT
        def_bool y
        depends on X86_64 || HIGHMEM64G
 
        bool
 
 config PHYS_ADDR_T_64BIT
-       def_bool 64BIT || ARCH_PHYS_ADDR_T_64BIT
+       def_bool 64BIT
 
 config BOUNCE
        bool "Enable bounce buffers"