Re: [PATCH 03/19] LoongArch: Add build infrastructure

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

 



Hi, Randy,

On Wed, Jul 7, 2021 at 8:00 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Hi,
>
> On 7/5/21 9:18 PM, Huacai Chen wrote:
> > diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
> > new file mode 100644
> > index 000000000000..7d5889a264c6
> > --- /dev/null
> > +++ b/arch/loongarch/Kconfig
> > @@ -0,0 +1,403 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +config LOONGARCH
> > +     bool
> > +     default y
>
> Some arch/ maintainers prefer to keep this list in alphabetical order...
> It may make it easier to find entries -- prevent duplicates from being added.
I will try my best, but I will still keep function groups placed together.

>
> > +     select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
> > +     select ARCH_BINFMT_ELF_STATE
> > +     select ARCH_DISCARD_MEMBLOCK
> > +     select ARCH_HAS_ACPI_TABLE_UPGRADE      if ACPI
> > +     select ARCH_HAS_ELF_RANDOMIZE
> > +     select ARCH_HAS_PTE_SPECIAL if !32BIT
> > +     select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
> > +     select ARCH_INLINE_READ_LOCK if !PREEMPTION
> > +     select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION
> > +     select ARCH_INLINE_READ_UNLOCK if !PREEMPTION
> > +     select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_LOCK if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_LOCK if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION
> > +     select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
> > +     select ARCH_SUPPORTS_ACPI
> > +     select ARCH_SUPPORTS_HUGETLBFS
> > +     select ARCH_USE_BUILTIN_BSWAP
> > +     select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
> > +     select ARCH_USE_QUEUED_RWLOCKS
> > +     select ARCH_USE_QUEUED_SPINLOCKS
> > +     select BUILDTIME_TABLE_SORT
> > +     select GENERIC_ATOMIC64 if !64BIT
> > +     select GENERIC_CLOCKEVENTS
> > +     select GENERIC_CMOS_UPDATE
> > +     select GENERIC_CPU_AUTOPROBE
> > +     select GENERIC_GETTIMEOFDAY
> > +     select GENERIC_IOMAP
> > +     select GENERIC_IRQ_PROBE
> > +     select GENERIC_IRQ_SHOW
> > +     select GENERIC_LIB_ASHLDI3
> > +     select GENERIC_LIB_ASHRDI3
> > +     select GENERIC_LIB_CMPDI2
> > +     select GENERIC_LIB_LSHRDI3
> > +     select GENERIC_LIB_UCMPDI2
> > +     select GENERIC_TIME_VSYSCALL
> > +     select HANDLE_DOMAIN_IRQ
> > +     select HAVE_ARCH_AUDITSYSCALL
> > +     select HAVE_ARCH_COMPILER_H
> > +     select HAVE_ARCH_MMAP_RND_BITS if MMU
> > +     select HAVE_ARCH_SECCOMP_FILTER
> > +     select HAVE_ARCH_TRACEHOOK
> > +     select HAVE_ARCH_TRANSPARENT_HUGEPAGE
> > +     select HAVE_ASM_MODVERSIONS
> > +     select HAVE_CBPF_JIT if !64BIT
> > +     select HAVE_EBPF_JIT if 64BIT
> > +     select HAVE_CONTEXT_TRACKING
> > +     select HAVE_COPY_THREAD_TLS
> > +     select HAVE_DEBUG_KMEMLEAK
> > +     select HAVE_DEBUG_STACKOVERFLOW
> > +     select HAVE_DMA_CONTIGUOUS
> > +     select HAVE_EXIT_THREAD
> > +     select HAVE_FAST_GUP
> > +     select HAVE_FUTEX_CMPXCHG if FUTEX
> > +     select HAVE_GENERIC_VDSO
> > +     select HAVE_IDE
> > +     select HAVE_IOREMAP_PROT
> > +     select HAVE_IRQ_EXIT_ON_IRQ_STACK
> > +     select HAVE_IRQ_TIME_ACCOUNTING
> > +     select HAVE_MEMBLOCK
> > +     select HAVE_MEMBLOCK_NODE_MAP
> > +     select HAVE_MOD_ARCH_SPECIFIC
> > +     select HAVE_NMI
> > +     select HAVE_PERF_EVENTS
> > +     select HAVE_REGS_AND_STACK_ACCESS_API
> > +     select HAVE_RSEQ
> > +     select HAVE_SYSCALL_TRACEPOINTS
> > +     select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT
> > +     select IRQ_FORCED_THREADING
> > +     select MODULES_USE_ELF_RELA if MODULES && 64BIT
> > +     select MODULES_USE_ELF_REL if MODULES
> > +     select PCI_DOMAINS if PCI
> > +     select PCI_MSI_ARCH_FALLBACKS
> > +     select PERF_USE_VMALLOC
> > +     select RTC_LIB
> > +     select SYSCTL_EXCEPTION_TRACE
> > +     select VIRT_TO_BUS
> > +
> > +menu "Machine selection"
> > +
> > +choice
> > +     prompt "System type"
> > +     default MACH_LOONGSON64
> > +
> > +config MACH_LOONGSON64
>
>
> [...]
>
> > +choice
> > +     prompt "Kernel page size"
> > +     default PAGE_SIZE_16KB
> > +
> > +config PAGE_SIZE_4KB
> > +     bool "4kB"
> > +     help
> > +       This option select the standard 4kB Linux page size.
>
>                       selects
>
> > +
> > +config PAGE_SIZE_16KB
> > +     bool "16kB"
> > +     help
> > +       This option select the standard 16kB Linux page size.
>
>                       selects
>
> > +
> > +config PAGE_SIZE_64KB
> > +     bool "64kB"
> > +     help
> > +       This option select the standard 64kB Linux page size.
>
>                       selects
OK, thanks.

Huacai
>
> > +
> > +endchoice
>
>
> --
> ~Randy
>



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux