From 4d1dc9317f8e4d9a21f80dc49c163080a5832ab7 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 14 Aug 2019 14:25:36 +0800 Subject: [PATCH] templates: add feature oran-guest-rt-tune and oran-host-rt-tune Issue-ID: INF-4 Signed-off-by: Jackie Huang Change-Id: If7276686ee14fafba6a21ce45e1ae4c1a4efff46 --- .../files/oran-guest-rt-tune.cfg | 67 ++++++++++++++++++++++ .../feature/oran-guest-rt-tune/template.conf | 6 ++ .../oran-host-rt-tune/files/oran-host-rt-tune.cfg | 63 ++++++++++++++++++++ .../feature/oran-host-rt-tune/template.conf | 6 ++ 4 files changed, 142 insertions(+) create mode 100644 meta-oran/templates/feature/oran-guest-rt-tune/files/oran-guest-rt-tune.cfg create mode 100644 meta-oran/templates/feature/oran-guest-rt-tune/template.conf create mode 100644 meta-oran/templates/feature/oran-host-rt-tune/files/oran-host-rt-tune.cfg create mode 100644 meta-oran/templates/feature/oran-host-rt-tune/template.conf diff --git a/meta-oran/templates/feature/oran-guest-rt-tune/files/oran-guest-rt-tune.cfg b/meta-oran/templates/feature/oran-guest-rt-tune/files/oran-guest-rt-tune.cfg new file mode 100644 index 0000000..73f9156 --- /dev/null +++ b/meta-oran/templates/feature/oran-guest-rt-tune/files/oran-guest-rt-tune.cfg @@ -0,0 +1,67 @@ +# CONFIG_PROFILING is not set +# CONFIG_KPROBES is not set + +CONFIG_NO_HZ=y +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ_COMMON=y +CONFIG_RCU_NOCB_CPU=y + +# CONFIG_SCHED_SMT is not set +# CONFIG_KSM is not set + +# CONFIG_SUSPEND is not set +# CONFIG_PM is not set + +# CONFIG_SCHED_MC_PRIO is not set +# CONFIG_CPU_FREQ is not set + +# CONFIG_INTEL_IDLE is not set + +# CONFIG_INPUT_MOUSEDEV is not set +# CONFIG_INPUT_KEYBOARD is not set +# CONFIG_INPUT_MOUSE is not set + +# CONFIG_SERIO is not set + +# CONFIG_HPET is not set + +# CONFIG_AGP is not set +# CONFIG_VGA_ARB is not set +# CONFIG_DRM is not set +# CONFIG_FB is not set + +# CONFIG_SOUND is not set + +# CONFIG_USB_SUPPORT is not set +# CONFIG_USB is not set + +# CONFIG_EDAC is not set + +# CONFIG_DMADEVICES is not set + +# CONFIG_HYPERV is not set + +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_DEBUG_FS is not set +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_PREEMPT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_DEBUG_BUGVERBOSE is not set +# CONFIG_DEBUG_INFO is not set +# CONFIG_FRAME_POINTER is not set +# CONFIG_LATENCYTOP is not set +# CONFIG_FTRACE is not set +# CONFIG_KGDB is not set +# CONFIG_X86_VERBOSE_BOOTUP is not set +# CONFIG_EARLY_PRINTK is not set +# CONFIG_DEBUG_RODATA is not set + +# CONFIG_E100 is not set +# CONFIG_E1000 is not set +# CONFIG_E1000E is not set +CONFIG_IGB=y +CONFIG_HIGH_RES_TIMERS=y diff --git a/meta-oran/templates/feature/oran-guest-rt-tune/template.conf b/meta-oran/templates/feature/oran-guest-rt-tune/template.conf new file mode 100644 index 0000000..066d80a --- /dev/null +++ b/meta-oran/templates/feature/oran-guest-rt-tune/template.conf @@ -0,0 +1,6 @@ +# +# Copyright (C) 2019 Wind River Systems, Inc. +# + +EXTRA_KERNEL_FILES =. "${TEMPLATES_PATH}/feature/oran-guest-rt-tune/files:" +EXTRA_KERNEL_SRC_URI += "file://oran-guest-rt-tune.cfg" diff --git a/meta-oran/templates/feature/oran-host-rt-tune/files/oran-host-rt-tune.cfg b/meta-oran/templates/feature/oran-host-rt-tune/files/oran-host-rt-tune.cfg new file mode 100644 index 0000000..8ab81b4 --- /dev/null +++ b/meta-oran/templates/feature/oran-host-rt-tune/files/oran-host-rt-tune.cfg @@ -0,0 +1,63 @@ +CONFIG_NO_HZ=y +CONFIG_NO_HZ_IDLE=y +CONFIG_NO_HZ_COMMON=y +CONFIG_RCU_NOCB_CPU=y + +CONFIG_CGROUPS=y +# CONFIG_CGROUP_SCHED is not set + +CONFIG_NAMESPACES=y + +# CONFIG_PROFILING is not set +# CONFIG_KPROBES is not set + +# CONFIG_SCHED_SMT is not set +CONFIG_KSM=y + +# CONFIG_SUSPEND is not set +# CONFIG_PM is not set + +# CONFIG_SCHED_MC_PRIO is not set +# CONFIG_CPU_FREQ is not set + +CONFIG_INPUT_KEYBOARD=y +CONFIG_INPUT_MOUSE=y + +# CONFIG_HPET is not set + +CONFIG_USB_SUPPORT=y +CONFIG_USB=y + +# CONFIG_HYPERV is not set + +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_PREEMPT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_DEBUG_BUGVERBOSE is not set +# CONFIG_DEBUG_INFO is not set +# CONFIG_LATENCYTOP is not set +# CONFIG_KGDB is not set +# CONFIG_X86_VERBOSE_BOOTUP is not set +# CONFIG_EARLY_PRINTK is not set + +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_CONTEXT_TRACKING is not set +# CONFIG_AUDIT is not set +# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set + +# CONFIG_SCSI_DEBUG is not set +# CONFIG_BLK_DEV_THROTTLING is not set +# CONFIG_CFS_BANDWIDTH is not set + +# CONFIG_HIBERNATION is not set + +# CONFIG_NUMA_BALANCING is not set +# CONFIG_X86_INTEL_MPX is not set +CONFIG_HOTPLUG_CPU=y +# CONFIG_CPU_IDLE_GOV_LADDER is not set +CONFIG_CPU_IDLE_GOV_MENU=y +CONFIG_INTEL_IDLE=y +# CONFIG_INPUT_MOUSEDEV is not set diff --git a/meta-oran/templates/feature/oran-host-rt-tune/template.conf b/meta-oran/templates/feature/oran-host-rt-tune/template.conf new file mode 100644 index 0000000..0b49079 --- /dev/null +++ b/meta-oran/templates/feature/oran-host-rt-tune/template.conf @@ -0,0 +1,6 @@ +# +# Copyright (C) 2019 Wind River Systems, Inc. +# + +EXTRA_KERNEL_FILES =. "${TEMPLATES_PATH}/feature/oran-host-rt-tune/files:" +EXTRA_KERNEL_SRC_URI += "file://oran-host-rt-tune.cfg" -- 2.16.6