[OpenWrt-Devel] [Patch] [x86_64] Enable multi-processor support and hyperthreading by default

hanno hanno.schupp at gmail.com
Sun Jan 18 06:15:20 EST 2015


There are very few (if any?) x86 64bit processors with a single core.
This patch enables multiple processor support and hyperthreading for
x86_64 target by default.

Signed-off-by: Hanno Schupp <hanno.schupp at gmail.com>
---
--- ../trunk/target/linux/x86_64/config-default	2015-01-18 23:59:55.665702005 +1300
+++ ./target/linux/x86_64/config-default	2015-01-19 00:08:38.989511804 +1300
@@ -48,6 +48,7 @@ CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
 CONFIG_ARCH_SELECT_MEMORY_MODEL=y
 CONFIG_ARCH_SPARSEMEM_DEFAULT=y
 CONFIG_ARCH_SPARSEMEM_ENABLE=y
+CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
 CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
 CONFIG_ARCH_SUPPORTS_INT128=y
 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
@@ -93,6 +94,7 @@ CONFIG_CPU_FREQ_STAT=y
 CONFIG_CPU_FREQ_STAT_DETAILS=y
 CONFIG_CPU_IDLE=y
 CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_RMAP=y
 CONFIG_CPU_SUP_AMD=y
 CONFIG_CPU_SUP_CENTAUR=y
 CONFIG_CPU_SUP_INTEL=y
@@ -169,8 +171,8 @@ CONFIG_GENERIC_IO=y
 CONFIG_GENERIC_IOMAP=y
 CONFIG_GENERIC_IRQ_SHOW=y
 CONFIG_GENERIC_ISA_DMA=y
-CONFIG_GENERIC_NET_UTILS=y
 CONFIG_GENERIC_PCI_IOMAP=y
+CONFIG_GENERIC_PENDING_IRQ=y
 CONFIG_GENERIC_SMP_IDLE_THREAD=y
 CONFIG_GENERIC_STRNCPY_FROM_USER=y
 CONFIG_GENERIC_STRNLEN_USER=y
@@ -278,6 +280,7 @@ CONFIG_INSTRUCTION_DECODER=y
 # CONFIG_IOMMU_DEBUG is not set
 CONFIG_IOMMU_HELPER=y
 # CONFIG_IOMMU_STRESS is not set
+CONFIG_IOSF_MBI=m
 CONFIG_IO_DELAY_0X80=y
 # CONFIG_IO_DELAY_0XED is not set
 # CONFIG_IO_DELAY_NONE is not set
@@ -304,6 +307,7 @@ CONFIG_KVM_GUEST=y
 CONFIG_LPC_ICH=y
 # CONFIG_MACHZ_WDT is not set
 # CONFIG_MATOM is not set
+# CONFIG_MAXSMP is not set
 # CONFIG_MCORE2 is not set
 # CONFIG_MEMORY_HOTPLUG is not set
 # CONFIG_MEMTEST is not set
@@ -312,28 +316,29 @@ CONFIG_MFD_CORE=y
 # CONFIG_MICROCODE_AMD_EARLY is not set
 # CONFIG_MICROCODE_INTEL_EARLY is not set
 # CONFIG_MK8 is not set
-# CONFIG_MLX5_CORE is not set
 CONFIG_MODULES_USE_ELF_RELA=y
 # CONFIG_MPSC is not set
 CONFIG_MTD_BLOCK2MTD=y
 # CONFIG_MTD_NETSC520 is not set
 # CONFIG_MTD_SBC_GXX is not set
 # CONFIG_MTD_SC520CDP is not set
+CONFIG_MTD_SPLIT_SUPPORT=y
 # CONFIG_MTD_TS5500 is not set
 CONFIG_MTRR=y
 # CONFIG_MTRR_SANITIZER is not set
+CONFIG_MUTEX_SPIN_ON_OWNER=y
 CONFIG_NAMESPACES=y
 CONFIG_NEED_DMA_MAP_STATE=y
 CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
-CONFIG_NEED_PER_CPU_KM=y
 CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
 CONFIG_NEED_SG_DMA_LENGTH=y
+CONFIG_NET_FLOW_LIMIT=y
 # CONFIG_NET_NS is not set
-CONFIG_NET_RX_BUSY_POLL=y
 CONFIG_NLS=y
 CONFIG_NO_BOOTMEM=y
-CONFIG_NR_CPUS=1
+CONFIG_NR_CPUS=2
 # CONFIG_NTB is not set
+# CONFIG_NUMA is not set
 CONFIG_NVRAM=y
 CONFIG_OPROFILE_NMI_TIMER=y
 # CONFIG_OPTIMIZE_INLINING is not set
@@ -342,6 +347,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
 CONFIG_PARAVIRT=y
 CONFIG_PARAVIRT_CLOCK=y
 # CONFIG_PARAVIRT_DEBUG is not set
+# CONFIG_PARAVIRT_SPINLOCKS is not set
 # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
 # CONFIG_PC87413_WDT is not set
 CONFIG_PCI=y
@@ -365,10 +371,12 @@ CONFIG_POWER_SUPPLY=y
 CONFIG_PROC_PAGE_MONITOR=y
 # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
 # CONFIG_PVPANIC is not set
-# CONFIG_RCU_STALL_COMMON is not set
+CONFIG_RCU_STALL_COMMON=y
 CONFIG_RD_BZIP2=y
 CONFIG_RD_GZIP=y
 # CONFIG_RELOCATABLE is not set
+CONFIG_RFS_ACCEL=y
+CONFIG_RPS=y
 CONFIG_RTC_CLASS=y
 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 # CONFIG_SAMSUNG_Q10 is not set
@@ -377,7 +385,9 @@ CONFIG_SATA_AHCI=y
 # CONFIG_SBC_EPX_C3_WATCHDOG is not set
 # CONFIG_SC1200_WDT is not set
 # CONFIG_SC520_WDT is not set
-# CONFIG_SCHED_HRTICK is not set
+CONFIG_SCHED_HRTICK=y
+CONFIG_SCHED_MC=y
+CONFIG_SCHED_SMT=y
 CONFIG_SCSI=y
 CONFIG_SCSI_VIRTIO=y
 CONFIG_SERIAL_8250_PCI=y
@@ -389,8 +399,10 @@ CONFIG_SERIO_LIBPS2=y
 CONFIG_SERIO_SERPORT=y
 # CONFIG_SLAB is not set
 CONFIG_SLUB=y
+CONFIG_SLUB_CPU_PARTIAL=y
 CONFIG_SLUB_DEBUG=y
 # CONFIG_SLUB_DEBUG_ON is not set
+CONFIG_SMP=y
 # CONFIG_SMSC37B787_WDT is not set
 # CONFIG_SMSC_SCH311X_WDT is not set
 CONFIG_SPARSEMEM=y
@@ -400,6 +412,7 @@ CONFIG_SPARSEMEM_MANUAL=y
 # CONFIG_SPARSEMEM_VMEMMAP is not set
 CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
 CONFIG_SPARSE_IRQ=y
+CONFIG_STOP_MACHINE=y
 CONFIG_STRICT_DEVMEM=y
 CONFIG_SWIOTLB=y
 CONFIG_SYSCTL_EXCEPTION_TRACE=y
@@ -414,8 +427,10 @@ CONFIG_THERMAL_GOV_STEP_WISE=y
 # CONFIG_THERMAL_GOV_USER_SPACE is not set
 # CONFIG_THINKPAD_ACPI is not set
 CONFIG_TICK_CPU_ACCOUNTING=y
+# CONFIG_TINY_RCU is not set
 # CONFIG_TOPSTAR_LAPTOP is not set
 # CONFIG_TOSHIBA_BT_RFKILL is not set
+CONFIG_TREE_RCU=y
 CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_EHCI_HCD=y
@@ -457,7 +472,9 @@ CONFIG_VT_HW_CONSOLE_BINDING=y
 # CONFIG_WAFER_WDT is not set
 CONFIG_WATCHDOG_CORE=y
 CONFIG_X86=y
+# CONFIG_X86_16BIT is not set
 CONFIG_X86_64=y
+CONFIG_X86_64_SMP=y
 # CONFIG_X86_ACPI_CPUFREQ is not set
 # CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
 CONFIG_X86_CMOV=y
@@ -466,6 +483,7 @@ CONFIG_X86_CMPXCHG64=y
 CONFIG_X86_DEBUGCTLMSR=y
 CONFIG_X86_DEV_DMA_OPS=y
 # CONFIG_X86_EXTENDED_PLATFORM is not set
+CONFIG_X86_HT=y
 # CONFIG_X86_INTEL_LPSS is not set
 # CONFIG_X86_INTEL_PSTATE is not set
 CONFIG_X86_INTERNODE_CACHE_SHIFT=6
@@ -475,7 +493,6 @@ CONFIG_X86_LOCAL_APIC=y
 CONFIG_X86_MCE=y
 CONFIG_X86_MCE_AMD=y
 # CONFIG_X86_MCE_INJECT is not set
-# CONFIG_X86_16BIT is not set
 CONFIG_X86_MCE_INTEL=y
 CONFIG_X86_MCE_THRESHOLD=y
 CONFIG_X86_MINIMUM_CPU_FAMILY=64
@@ -499,8 +516,8 @@ CONFIG_X86_VERBOSE_BOOTUP=y
 # CONFIG_XEN is not set
 # CONFIG_XEN_PRIVILEGED_GUEST is not set
 # CONFIG_XO15_EBOOK is not set
+CONFIG_XPS=y
 CONFIG_XZ_DEC_BCJ=y
 CONFIG_XZ_DEC_X86=y
-# CONFIG_ZBUD is not set
 CONFIG_ZLIB_INFLATE=y
 CONFIG_ZONE_DMA32=y
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list