mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
902861e34c
from hotplugged memory rather than only from main memory. Series "implement "memmap on memory" feature on s390". - More folio conversions from Matthew Wilcox in the series "Convert memcontrol charge moving to use folios" "mm: convert mm counter to take a folio" - Chengming Zhou has optimized zswap's rbtree locking, providing significant reductions in system time and modest but measurable reductions in overall runtimes. The series is "mm/zswap: optimize the scalability of zswap rb-tree". - Chengming Zhou has also provided the series "mm/zswap: optimize zswap lru list" which provides measurable runtime benefits in some swap-intensive situations. - And Chengming Zhou further optimizes zswap in the series "mm/zswap: optimize for dynamic zswap_pools". Measured improvements are modest. - zswap cleanups and simplifications from Yosry Ahmed in the series "mm: zswap: simplify zswap_swapoff()". - In the series "Add DAX ABI for memmap_on_memory", Vishal Verma has contributed several DAX cleanups as well as adding a sysfs tunable to control the memmap_on_memory setting when the dax device is hotplugged as system memory. - Johannes Weiner has added the large series "mm: zswap: cleanups", which does that. - More DAMON work from SeongJae Park in the series "mm/damon: make DAMON debugfs interface deprecation unignorable" "selftests/damon: add more tests for core functionalities and corner cases" "Docs/mm/damon: misc readability improvements" "mm/damon: let DAMOS feeds and tame/auto-tune itself" - In the series "mm/mempolicy: weighted interleave mempolicy and sysfs extension" Rakie Kim has developed a new mempolicy interleaving policy wherein we allocate memory across nodes in a weighted fashion rather than uniformly. This is beneficial in heterogeneous memory environments appearing with CXL. - Christophe Leroy has contributed some cleanup and consolidation work against the ARM pagetable dumping code in the series "mm: ptdump: Refactor CONFIG_DEBUG_WX and check_wx_pages debugfs attribute". - Luis Chamberlain has added some additional xarray selftesting in the series "test_xarray: advanced API multi-index tests". - Muhammad Usama Anjum has reworked the selftest code to make its human-readable output conform to the TAP ("Test Anything Protocol") format. Amongst other things, this opens up the use of third-party tools to parse and process out selftesting results. - Ryan Roberts has added fork()-time PTE batching of THP ptes in the series "mm/memory: optimize fork() with PTE-mapped THP". Mainly targeted at arm64, this significantly speeds up fork() when the process has a large number of pte-mapped folios. - David Hildenbrand also gets in on the THP pte batching game in his series "mm/memory: optimize unmap/zap with PTE-mapped THP". It implements batching during munmap() and other pte teardown situations. The microbenchmark improvements are nice. - And in the series "Transparent Contiguous PTEs for User Mappings" Ryan Roberts further utilizes arm's pte's contiguous bit ("contpte mappings"). Kernel build times on arm64 improved nicely. Ryan's series "Address some contpte nits" provides some followup work. - In the series "mm/hugetlb: Restore the reservation" Breno Leitao has fixed an obscure hugetlb race which was causing unnecessary page faults. He has also added a reproducer under the selftest code. - In the series "selftests/mm: Output cleanups for the compaction test", Mark Brown did what the title claims. - Kinsey Ho has added the series "mm/mglru: code cleanup and refactoring". - Even more zswap material from Nhat Pham. The series "fix and extend zswap kselftests" does as claimed. - In the series "Introduce cpu_dcache_is_aliasing() to fix DAX regression" Mathieu Desnoyers has cleaned up and fixed rather a mess in our handling of DAX on archiecctures which have virtually aliasing data caches. The arm architecture is the main beneficiary. - Lokesh Gidra's series "per-vma locks in userfaultfd" provides dramatic improvements in worst-case mmap_lock hold times during certain userfaultfd operations. - Some page_owner enhancements and maintenance work from Oscar Salvador in his series "page_owner: print stacks and their outstanding allocations" "page_owner: Fixup and cleanup" - Uladzislau Rezki has contributed some vmalloc scalability improvements in his series "Mitigate a vmap lock contention". It realizes a 12x improvement for a certain microbenchmark. - Some kexec/crash cleanup work from Baoquan He in the series "Split crash out from kexec and clean up related config items". - Some zsmalloc maintenance work from Chengming Zhou in the series "mm/zsmalloc: fix and optimize objects/page migration" "mm/zsmalloc: some cleanup for get/set_zspage_mapping()" - Zi Yan has taught the MM to perform compaction on folios larger than order=0. This a step along the path to implementaton of the merging of large anonymous folios. The series is named "Enable >0 order folio memory compaction". - Christoph Hellwig has done quite a lot of cleanup work in the pagecache writeback code in his series "convert write_cache_pages() to an iterator". - Some modest hugetlb cleanups and speedups in Vishal Moola's series "Handle hugetlb faults under the VMA lock". - Zi Yan has changed the page splitting code so we can split huge pages into sizes other than order-0 to better utilize large folios. The series is named "Split a folio to any lower order folios". - David Hildenbrand has contributed the series "mm: remove total_mapcount()", a cleanup. - Matthew Wilcox has sought to improve the performance of bulk memory freeing in his series "Rearrange batched folio freeing". - Gang Li's series "hugetlb: parallelize hugetlb page init on boot" provides large improvements in bootup times on large machines which are configured to use large numbers of hugetlb pages. - Matthew Wilcox's series "PageFlags cleanups" does that. - Qi Zheng's series "minor fixes and supplement for ptdesc" does that also. S390 is affected. - Cleanups to our pagemap utility functions from Peter Xu in his series "mm/treewide: Replace pXd_large() with pXd_leaf()". - Nico Pache has fixed a few things with our hugepage selftests in his series "selftests/mm: Improve Hugepage Test Handling in MM Selftests". - Also, of course, many singleton patches to many things. Please see the individual changelogs for details. -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTTMBEPP41GrTpTJgfdBJ7gKXxAjgUCZfJpPQAKCRDdBJ7gKXxA joxeAP9TrcMEuHnLmBlhIXkWbIR4+ki+pA3v+gNTlJiBhnfVSgD9G55t1aBaRplx TMNhHfyiHYDTx/GAV9NXW84tasJSDgA= =TG55 -----END PGP SIGNATURE----- Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Pull MM updates from Andrew Morton: - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames from hotplugged memory rather than only from main memory. Series "implement "memmap on memory" feature on s390". - More folio conversions from Matthew Wilcox in the series "Convert memcontrol charge moving to use folios" "mm: convert mm counter to take a folio" - Chengming Zhou has optimized zswap's rbtree locking, providing significant reductions in system time and modest but measurable reductions in overall runtimes. The series is "mm/zswap: optimize the scalability of zswap rb-tree". - Chengming Zhou has also provided the series "mm/zswap: optimize zswap lru list" which provides measurable runtime benefits in some swap-intensive situations. - And Chengming Zhou further optimizes zswap in the series "mm/zswap: optimize for dynamic zswap_pools". Measured improvements are modest. - zswap cleanups and simplifications from Yosry Ahmed in the series "mm: zswap: simplify zswap_swapoff()". - In the series "Add DAX ABI for memmap_on_memory", Vishal Verma has contributed several DAX cleanups as well as adding a sysfs tunable to control the memmap_on_memory setting when the dax device is hotplugged as system memory. - Johannes Weiner has added the large series "mm: zswap: cleanups", which does that. - More DAMON work from SeongJae Park in the series "mm/damon: make DAMON debugfs interface deprecation unignorable" "selftests/damon: add more tests for core functionalities and corner cases" "Docs/mm/damon: misc readability improvements" "mm/damon: let DAMOS feeds and tame/auto-tune itself" - In the series "mm/mempolicy: weighted interleave mempolicy and sysfs extension" Rakie Kim has developed a new mempolicy interleaving policy wherein we allocate memory across nodes in a weighted fashion rather than uniformly. This is beneficial in heterogeneous memory environments appearing with CXL. - Christophe Leroy has contributed some cleanup and consolidation work against the ARM pagetable dumping code in the series "mm: ptdump: Refactor CONFIG_DEBUG_WX and check_wx_pages debugfs attribute". - Luis Chamberlain has added some additional xarray selftesting in the series "test_xarray: advanced API multi-index tests". - Muhammad Usama Anjum has reworked the selftest code to make its human-readable output conform to the TAP ("Test Anything Protocol") format. Amongst other things, this opens up the use of third-party tools to parse and process out selftesting results. - Ryan Roberts has added fork()-time PTE batching of THP ptes in the series "mm/memory: optimize fork() with PTE-mapped THP". Mainly targeted at arm64, this significantly speeds up fork() when the process has a large number of pte-mapped folios. - David Hildenbrand also gets in on the THP pte batching game in his series "mm/memory: optimize unmap/zap with PTE-mapped THP". It implements batching during munmap() and other pte teardown situations. The microbenchmark improvements are nice. - And in the series "Transparent Contiguous PTEs for User Mappings" Ryan Roberts further utilizes arm's pte's contiguous bit ("contpte mappings"). Kernel build times on arm64 improved nicely. Ryan's series "Address some contpte nits" provides some followup work. - In the series "mm/hugetlb: Restore the reservation" Breno Leitao has fixed an obscure hugetlb race which was causing unnecessary page faults. He has also added a reproducer under the selftest code. - In the series "selftests/mm: Output cleanups for the compaction test", Mark Brown did what the title claims. - Kinsey Ho has added the series "mm/mglru: code cleanup and refactoring". - Even more zswap material from Nhat Pham. The series "fix and extend zswap kselftests" does as claimed. - In the series "Introduce cpu_dcache_is_aliasing() to fix DAX regression" Mathieu Desnoyers has cleaned up and fixed rather a mess in our handling of DAX on archiecctures which have virtually aliasing data caches. The arm architecture is the main beneficiary. - Lokesh Gidra's series "per-vma locks in userfaultfd" provides dramatic improvements in worst-case mmap_lock hold times during certain userfaultfd operations. - Some page_owner enhancements and maintenance work from Oscar Salvador in his series "page_owner: print stacks and their outstanding allocations" "page_owner: Fixup and cleanup" - Uladzislau Rezki has contributed some vmalloc scalability improvements in his series "Mitigate a vmap lock contention". It realizes a 12x improvement for a certain microbenchmark. - Some kexec/crash cleanup work from Baoquan He in the series "Split crash out from kexec and clean up related config items". - Some zsmalloc maintenance work from Chengming Zhou in the series "mm/zsmalloc: fix and optimize objects/page migration" "mm/zsmalloc: some cleanup for get/set_zspage_mapping()" - Zi Yan has taught the MM to perform compaction on folios larger than order=0. This a step along the path to implementaton of the merging of large anonymous folios. The series is named "Enable >0 order folio memory compaction". - Christoph Hellwig has done quite a lot of cleanup work in the pagecache writeback code in his series "convert write_cache_pages() to an iterator". - Some modest hugetlb cleanups and speedups in Vishal Moola's series "Handle hugetlb faults under the VMA lock". - Zi Yan has changed the page splitting code so we can split huge pages into sizes other than order-0 to better utilize large folios. The series is named "Split a folio to any lower order folios". - David Hildenbrand has contributed the series "mm: remove total_mapcount()", a cleanup. - Matthew Wilcox has sought to improve the performance of bulk memory freeing in his series "Rearrange batched folio freeing". - Gang Li's series "hugetlb: parallelize hugetlb page init on boot" provides large improvements in bootup times on large machines which are configured to use large numbers of hugetlb pages. - Matthew Wilcox's series "PageFlags cleanups" does that. - Qi Zheng's series "minor fixes and supplement for ptdesc" does that also. S390 is affected. - Cleanups to our pagemap utility functions from Peter Xu in his series "mm/treewide: Replace pXd_large() with pXd_leaf()". - Nico Pache has fixed a few things with our hugepage selftests in his series "selftests/mm: Improve Hugepage Test Handling in MM Selftests". - Also, of course, many singleton patches to many things. Please see the individual changelogs for details. * tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (435 commits) mm/zswap: remove the memcpy if acomp is not sleepable crypto: introduce: acomp_is_async to expose if comp drivers might sleep memtest: use {READ,WRITE}_ONCE in memory scanning mm: prohibit the last subpage from reusing the entire large folio mm: recover pud_leaf() definitions in nopmd case selftests/mm: skip the hugetlb-madvise tests on unmet hugepage requirements selftests/mm: skip uffd hugetlb tests with insufficient hugepages selftests/mm: dont fail testsuite due to a lack of hugepages mm/huge_memory: skip invalid debugfs new_order input for folio split mm/huge_memory: check new folio order when split a folio mm, vmscan: retry kswapd's priority loop with cache_trim_mode off on failure mm: add an explicit smp_wmb() to UFFDIO_CONTINUE mm: fix list corruption in put_pages_list mm: remove folio from deferred split list before uncharging it filemap: avoid unnecessary major faults in filemap_fault() mm,page_owner: drop unnecessary check mm,page_owner: check for null stack_record before bumping its refcount mm: swap: fix race between free_swap_and_cache() and swapoff() mm/treewide: align up pXd_leaf() retval across archs mm/treewide: drop pXd_large() ...
360 lines
8.5 KiB
Plaintext
360 lines
8.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config CSKY
|
|
def_bool y
|
|
select ARCH_32BIT_OFF_T
|
|
select ARCH_HAS_CPU_CACHE_ALIASING
|
|
select ARCH_HAS_DMA_PREP_COHERENT
|
|
select ARCH_HAS_GCOV_PROFILE_ALL
|
|
select ARCH_HAS_SYNC_DMA_FOR_CPU
|
|
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
|
|
select ARCH_USE_BUILTIN_BSWAP
|
|
select ARCH_USE_QUEUED_RWLOCKS
|
|
select ARCH_USE_QUEUED_SPINLOCKS
|
|
select ARCH_HAS_CURRENT_STACK_POINTER
|
|
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_WANT_FRAME_POINTERS if !CPU_CK610 && $(cc-option,-mbacktrace)
|
|
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
|
|
select COMMON_CLK
|
|
select CLKSRC_MMIO
|
|
select CSKY_MPINTC if CPU_CK860
|
|
select CSKY_MP_TIMER if CPU_CK860
|
|
select CSKY_APB_INTC
|
|
select DMA_DIRECT_REMAP
|
|
select IRQ_DOMAIN
|
|
select DW_APB_TIMER_OF
|
|
select GENERIC_IOREMAP
|
|
select GENERIC_LIB_ASHLDI3
|
|
select GENERIC_LIB_ASHRDI3
|
|
select GENERIC_LIB_LSHRDI3
|
|
select GENERIC_LIB_MULDI3
|
|
select GENERIC_LIB_CMPDI2
|
|
select GENERIC_LIB_UCMPDI2
|
|
select GENERIC_ALLOCATOR
|
|
select GENERIC_ATOMIC64
|
|
select GENERIC_CPU_DEVICES
|
|
select GENERIC_IRQ_CHIP
|
|
select GENERIC_IRQ_PROBE
|
|
select GENERIC_IRQ_SHOW
|
|
select GENERIC_IRQ_MULTI_HANDLER
|
|
select GENERIC_SCHED_CLOCK
|
|
select GENERIC_SMP_IDLE_THREAD
|
|
select GENERIC_TIME_VSYSCALL
|
|
select GENERIC_VDSO_32
|
|
select GENERIC_GETTIMEOFDAY
|
|
select GX6605S_TIMER if CPU_CK610
|
|
select HAVE_ARCH_TRACEHOOK
|
|
select HAVE_ARCH_AUDITSYSCALL
|
|
select HAVE_ARCH_JUMP_LABEL if !CPU_CK610
|
|
select HAVE_ARCH_JUMP_LABEL_RELATIVE
|
|
select HAVE_ARCH_MMAP_RND_BITS
|
|
select HAVE_ARCH_SECCOMP_FILTER
|
|
select HAVE_CONTEXT_TRACKING_USER
|
|
select HAVE_VIRT_CPU_ACCOUNTING_GEN
|
|
select HAVE_DEBUG_BUGVERBOSE
|
|
select HAVE_DEBUG_KMEMLEAK
|
|
select HAVE_DYNAMIC_FTRACE
|
|
select HAVE_DYNAMIC_FTRACE_WITH_REGS
|
|
select HAVE_GENERIC_VDSO
|
|
select HAVE_FUNCTION_TRACER
|
|
select HAVE_FUNCTION_GRAPH_TRACER
|
|
select HAVE_FUNCTION_ERROR_INJECTION
|
|
select HAVE_FTRACE_MCOUNT_RECORD
|
|
select HAVE_KERNEL_GZIP
|
|
select HAVE_KERNEL_LZO
|
|
select HAVE_KERNEL_LZMA
|
|
select HAVE_KPROBES if !CPU_CK610
|
|
select HAVE_KPROBES_ON_FTRACE if !CPU_CK610
|
|
select HAVE_KRETPROBES if !CPU_CK610
|
|
select HAVE_PAGE_SIZE_4KB
|
|
select HAVE_PERF_EVENTS
|
|
select HAVE_PERF_REGS
|
|
select HAVE_PERF_USER_STACK_DUMP
|
|
select HAVE_DMA_CONTIGUOUS
|
|
select HAVE_REGS_AND_STACK_ACCESS_API
|
|
select HAVE_STACKPROTECTOR
|
|
select HAVE_SYSCALL_TRACEPOINTS
|
|
select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU
|
|
select LOCK_MM_AND_FIND_VMA
|
|
select MAY_HAVE_SPARSE_IRQ
|
|
select MODULES_USE_ELF_RELA if MODULES
|
|
select OF
|
|
select OF_EARLY_FLATTREE
|
|
select PERF_USE_VMALLOC if CPU_CK610
|
|
select RTC_LIB
|
|
select TIMER_OF
|
|
select GENERIC_PCI_IOMAP
|
|
select HAVE_PCI
|
|
select PCI_DOMAINS_GENERIC if PCI
|
|
select PCI_SYSCALL if PCI
|
|
select PCI_MSI if PCI
|
|
select TRACE_IRQFLAGS_SUPPORT
|
|
|
|
config LOCKDEP_SUPPORT
|
|
def_bool y
|
|
|
|
config ARCH_SUPPORTS_UPROBES
|
|
def_bool y if !CPU_CK610
|
|
|
|
config CPU_HAS_CACHEV2
|
|
bool
|
|
|
|
config CPU_HAS_FPUV2
|
|
bool
|
|
|
|
config CPU_HAS_HILO
|
|
bool
|
|
|
|
config CPU_HAS_TLBI
|
|
bool
|
|
|
|
config CPU_HAS_LDSTEX
|
|
bool
|
|
help
|
|
For SMP, CPU needs "ldex&stex" instructions for atomic operations.
|
|
|
|
config CPU_NEED_TLBSYNC
|
|
bool
|
|
|
|
config CPU_NEED_SOFTALIGN
|
|
bool
|
|
|
|
config CPU_NO_USER_BKPT
|
|
bool
|
|
help
|
|
For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because
|
|
abiv2 is 16/32bit instruction set and "trap 1" is 32bit.
|
|
So we need a 16bit instruction as user space bkpt, and it will cause an illegal
|
|
instruction exception.
|
|
In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
def_bool y
|
|
|
|
config GENERIC_CSUM
|
|
def_bool y
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config MMU
|
|
def_bool y
|
|
|
|
config STACKTRACE_SUPPORT
|
|
def_bool y
|
|
|
|
config TIME_LOW_RES
|
|
def_bool y
|
|
|
|
config CPU_ASID_BITS
|
|
int
|
|
default "8" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
|
|
default "12" if (CPU_CK860)
|
|
|
|
config L1_CACHE_SHIFT
|
|
int
|
|
default "4" if (CPU_CK610)
|
|
default "5" if (CPU_CK807 || CPU_CK810)
|
|
default "6" if (CPU_CK860)
|
|
|
|
config ARCH_MMAP_RND_BITS_MIN
|
|
default 8
|
|
|
|
# max bits determined by the following formula:
|
|
# VA_BITS - PAGE_SHIFT - 3
|
|
config ARCH_MMAP_RND_BITS_MAX
|
|
default 17
|
|
|
|
menu "Processor type and features"
|
|
|
|
choice
|
|
prompt "CPU MODEL"
|
|
default CPU_CK807
|
|
|
|
config CPU_CK610
|
|
bool "CSKY CPU ck610"
|
|
select CPU_NEED_TLBSYNC
|
|
select CPU_NEED_SOFTALIGN
|
|
select CPU_NO_USER_BKPT
|
|
|
|
config CPU_CK810
|
|
bool "CSKY CPU ck810"
|
|
select CPU_HAS_HILO
|
|
select CPU_NEED_TLBSYNC
|
|
|
|
config CPU_CK807
|
|
bool "CSKY CPU ck807"
|
|
select CPU_HAS_HILO
|
|
|
|
config CPU_CK860
|
|
bool "CSKY CPU ck860"
|
|
select CPU_HAS_TLBI
|
|
select CPU_HAS_CACHEV2
|
|
select CPU_HAS_LDSTEX
|
|
select CPU_HAS_FPUV2
|
|
endchoice
|
|
|
|
choice
|
|
prompt "PAGE OFFSET"
|
|
default PAGE_OFFSET_80000000
|
|
|
|
config PAGE_OFFSET_80000000
|
|
bool "PAGE OFFSET 2G (user:kernel = 2:2)"
|
|
|
|
config PAGE_OFFSET_A0000000
|
|
bool "PAGE OFFSET 2.5G (user:kernel = 2.5:1.5)"
|
|
endchoice
|
|
|
|
config PAGE_OFFSET
|
|
hex
|
|
default 0x80000000 if PAGE_OFFSET_80000000
|
|
default 0xa0000000 if PAGE_OFFSET_A0000000
|
|
choice
|
|
|
|
prompt "C-SKY PMU type"
|
|
depends on PERF_EVENTS
|
|
depends on CPU_CK807 || CPU_CK810 || CPU_CK860
|
|
|
|
config CPU_PMU_NONE
|
|
bool "None"
|
|
|
|
config CSKY_PMU_V1
|
|
bool "Performance Monitoring Unit Ver.1"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Power Manager Instruction (wait/doze/stop)"
|
|
default CPU_PM_NONE
|
|
|
|
config CPU_PM_NONE
|
|
bool "None"
|
|
|
|
config CPU_PM_WAIT
|
|
bool "wait"
|
|
|
|
config CPU_PM_DOZE
|
|
bool "doze"
|
|
|
|
config CPU_PM_STOP
|
|
bool "stop"
|
|
endchoice
|
|
|
|
menuconfig HAVE_TCM
|
|
bool "Tightly-Coupled/Sram Memory"
|
|
depends on !COMPILE_TEST
|
|
help
|
|
The implementation are not only used by TCM (Tightly-Coupled Memory)
|
|
but also used by sram on SOC bus. It follow existed linux tcm
|
|
software interface, so that old tcm application codes could be
|
|
re-used directly.
|
|
|
|
if HAVE_TCM
|
|
config ITCM_RAM_BASE
|
|
hex "ITCM ram base"
|
|
default 0xffffffff
|
|
|
|
config ITCM_NR_PAGES
|
|
int "Page count of ITCM size: NR*4KB"
|
|
range 1 256
|
|
default 32
|
|
|
|
config HAVE_DTCM
|
|
bool "DTCM Support"
|
|
|
|
config DTCM_RAM_BASE
|
|
hex "DTCM ram base"
|
|
depends on HAVE_DTCM
|
|
default 0xffffffff
|
|
|
|
config DTCM_NR_PAGES
|
|
int "Page count of DTCM size: NR*4KB"
|
|
depends on HAVE_DTCM
|
|
range 1 256
|
|
default 32
|
|
endif
|
|
|
|
config CPU_HAS_VDSP
|
|
bool "CPU has VDSP coprocessor"
|
|
depends on CPU_HAS_FPU && CPU_HAS_FPUV2
|
|
|
|
config CPU_HAS_FPU
|
|
bool "CPU has FPU coprocessor"
|
|
depends on CPU_CK807 || CPU_CK810 || CPU_CK860
|
|
|
|
config CPU_HAS_ICACHE_INS
|
|
bool "CPU has Icache invalidate instructions"
|
|
depends on CPU_HAS_CACHEV2
|
|
|
|
config CPU_HAS_TEE
|
|
bool "CPU has Trusted Execution Environment"
|
|
depends on CPU_CK810
|
|
|
|
config SMP
|
|
bool "Symmetric Multi-Processing (SMP) support for C-SKY"
|
|
depends on CPU_CK860
|
|
default n
|
|
|
|
config NR_CPUS
|
|
int "Maximum number of CPUs (2-32)"
|
|
range 2 32
|
|
depends on SMP
|
|
default "4"
|
|
|
|
config HIGHMEM
|
|
bool "High Memory Support"
|
|
depends on !CPU_CK610
|
|
select KMAP_LOCAL
|
|
default y
|
|
|
|
config DRAM_BASE
|
|
hex "DRAM start addr (the same with memory-section in dts)"
|
|
default 0x0
|
|
|
|
config HOTPLUG_CPU
|
|
bool "Support for hot-pluggable CPUs"
|
|
select GENERIC_IRQ_MIGRATION
|
|
depends on SMP
|
|
help
|
|
Say Y here to allow turning CPUs off and on. CPUs can be
|
|
controlled through /sys/devices/system/cpu/cpu1/hotplug/target.
|
|
|
|
Say N if you want to disable CPU hotplug.
|
|
|
|
config HAVE_EFFICIENT_UNALIGNED_STRING_OPS
|
|
bool "Enable EFFICIENT_UNALIGNED_STRING_OPS for abiv2"
|
|
depends on CPU_CK807 || CPU_CK810 || CPU_CK860
|
|
help
|
|
Say Y here to enable EFFICIENT_UNALIGNED_STRING_OPS. Some CPU models could
|
|
deal with unaligned access by hardware.
|
|
|
|
endmenu
|
|
|
|
source "arch/csky/Kconfig.platforms"
|
|
|
|
source "kernel/Kconfig.hz"
|