Skip to content

Commit

Permalink
kona-perf_defconfig: Debloat
Browse files Browse the repository at this point in the history
- Inspired by: cyberknight777/dragonheart_kernel_oneplus_sm8150@807d2d8

Co-authored-by: Cyber Knight <[email protected]>
Co-authored-by: Sultan Alsawaf <[email protected]>
  • Loading branch information
3 people authored and HELLBOY017 committed Feb 10, 2023
1 parent 6609f45 commit 36b61ef
Showing 1 changed file with 28 additions and 65 deletions.
93 changes: 28 additions & 65 deletions arch/arm64/configs/vendor/kona-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ CONFIG_PREEMPT_COUNT=y
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
CONFIG_IRQ_TIME_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_SCHED_WALT=y
CONFIG_SONY_SCHED=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
Expand Down Expand Up @@ -451,19 +451,15 @@ CONFIG_SECCOMP=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_XEN is not set
CONFIG_OKL4_GUEST=y
# CONFIG_OKL4_GUEST is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_UNMAP_KERNEL_AT_EL0=y
CONFIG_HARDEN_BRANCH_PREDICTOR=y
CONFIG_HARDEN_EL2_VECTORS=y
CONFIG_ARM64_SSBD=y
# CONFIG_PRINT_VMEMLAYOUT is not set
CONFIG_ARM64_TAGGED_ADDR_ABI=y
CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
CONFIG_CP15_BARRIER_EMULATION=y
CONFIG_SETEND_EMULATION=y
# CONFIG_ARMV8_DEPRECATED is not set
# CONFIG_ARM64_SW_TTBR0_PAN is not set

#
Expand Down Expand Up @@ -940,7 +936,7 @@ CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IP_TUNNEL=y
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
CONFIG_SYN_COOKIES=y
# CONFIG_SYN_COOKIES is not set
CONFIG_NET_IPVTI=y
CONFIG_NET_UDP_TUNNEL=y
# CONFIG_NET_FOU is not set
Expand Down Expand Up @@ -1027,9 +1023,9 @@ CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
# CONFIG_NETFILTER_NETLINK_ACCT is not set
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
# CONFIG_NETFILTER_NETLINK_LOG is not set
# CONFIG_NETFILTER_NETLINK_OSF is not set
CONFIG_NF_CONNTRACK=y
CONFIG_NF_LOG_COMMON=y
Expand Down Expand Up @@ -1093,11 +1089,11 @@ CONFIG_NETFILTER_XT_TARGET_DSCP=y
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
CONFIG_NETFILTER_XT_TARGET_HARDIDLETIMER=y
# CONFIG_NETFILTER_XT_TARGET_LED is not set
CONFIG_NETFILTER_XT_TARGET_LOG=y
# CONFIG_NETFILTER_XT_TARGET_LOG is not set
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
CONFIG_NETFILTER_XT_TARGET_NOTRACK=y
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
Expand Down Expand Up @@ -1146,7 +1142,7 @@ CONFIG_NETFILTER_XT_MATCH_POLICY=y
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
CONFIG_NETFILTER_XT_MATCH_QUOTA2=y
CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG=y
# CONFIG_NETFILTER_XT_MATCH_QUOTA2_LOG is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
Expand Down Expand Up @@ -1205,7 +1201,7 @@ CONFIG_NF_SOCKET_IPV6=y
CONFIG_NF_TPROXY_IPV6=y
CONFIG_NF_DUP_IPV6=y
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=y
# CONFIG_NF_LOG_IPV6 is not set
# CONFIG_NF_NAT_IPV6 is not set
CONFIG_IP6_NF_IPTABLES=y
# CONFIG_IP6_NF_MATCH_AH is not set
Expand Down Expand Up @@ -1667,12 +1663,8 @@ CONFIG_VSERVICES_BLOCK_CLIENT=y
CONFIG_HDCP_QSEECOM=y
CONFIG_QSEECOM=y
# CONFIG_PCI_ENDPOINT_TEST is not set
CONFIG_UID_SYS_STATS=y
# CONFIG_UID_SYS_STATS_DEBUG is not set
# CONFIG_UID_SYS_STATS is not set
# CONFIG_QPNP_MISC is not set
CONFIG_OKL4_USER_VIRQ=y
# CONFIG_OKL4_RINGBUF is not set
# CONFIG_TEST_IRQ_REQUESTER is not set
CONFIG_QTI_XR_SMRTVWR_MISC=y
CONFIG_QTI_MAXIM_FAN_CONTROLLER=y
CONFIG_KINECTICS_XR_NORDIC=y
Expand Down Expand Up @@ -1758,8 +1750,6 @@ CONFIG_HAPTIC_FEEDBACK=y
# qrc device driver
#
# CONFIG_QRC is not set
# CONFIG_OKL4_USER_VIPC is not set
CONFIG_OKL4_LINK_SHBUF=y

#
# SCSI device support
Expand All @@ -1781,7 +1771,7 @@ CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
CONFIG_CHR_DEV_SCH=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# CONFIG_SCSI_LOGGING is not set
CONFIG_SCSI_SCAN_ASYNC=y

#
Expand Down Expand Up @@ -1919,7 +1909,7 @@ CONFIG_IFB=y
# CONFIG_NETCONSOLE is not set
CONFIG_TUN=y
# CONFIG_TUN_VNET_CROSS_LE is not set
CONFIG_VETH=y
# CONFIG_VETH is not set
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set

Expand Down Expand Up @@ -2031,8 +2021,6 @@ CONFIG_IGB_HWMON=y
CONFIG_NET_VENDOR_MARVELL=y
# CONFIG_MVMDIO is not set
# CONFIG_SKGE is not set
CONFIG_SKY2=y
# CONFIG_SKY2_DEBUG is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
# CONFIG_MLX5_CORE is not set
Expand Down Expand Up @@ -2101,7 +2089,7 @@ CONFIG_NET_VENDOR_SIS=y
CONFIG_NET_VENDOR_SMSC=y
# CONFIG_SMC91X is not set
# CONFIG_EPIC100 is not set
CONFIG_SMSC911X=y
# CONFIG_SMSC911X is not set
# CONFIG_SMSC9420 is not set
CONFIG_NET_VENDOR_SOCIONEXT=y
CONFIG_NET_VENDOR_STMICRO=y
Expand Down Expand Up @@ -2165,7 +2153,7 @@ CONFIG_FIXED_PHY=y
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MICREL_PHY is not set
CONFIG_MICROCHIP_PHY=y
# CONFIG_MICROCHIP_PHY is not set
# CONFIG_MICROCHIP_T1_PHY is not set
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_NATIONAL_PHY is not set
Expand Down Expand Up @@ -2198,7 +2186,7 @@ CONFIG_USB_NET_DRIVERS=y
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_RTL8152=y
CONFIG_USB_LAN78XX=y
# CONFIG_USB_LAN78XX is not set
CONFIG_USB_USBNET=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_NET_AX88179_178A=y
Expand Down Expand Up @@ -2544,7 +2532,6 @@ CONFIG_SERIO_LIBPS2=y
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_TTY_FLUSH_LOCAL_ECHO=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
Expand All @@ -2556,8 +2543,6 @@ CONFIG_UNIX98_PTYS=y
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_OKL4_VTTY=y
CONFIG_OKL4_VTTY_CONSOLE=y
CONFIG_LDISC_AUTOLOAD=y
# CONFIG_DEVMEM is not set

Expand Down Expand Up @@ -2622,7 +2607,6 @@ CONFIG_MSM_ADSPRPC=y
# CONFIG_MSM_RDBG is not set
# CONFIG_RB5_FAN_CONTROLLER is not set
# CONFIG_RB5_GPIOS_ENABLE is not set
CONFIG_RANDOM_DEFAULT_IMPL=y
CONFIG_LRNG=y

#
Expand Down Expand Up @@ -2679,7 +2663,6 @@ CONFIG_LRNG_DFLT_DRNG_CHACHA20=y
# CONFIG_LRNG_DFLT_DRNG_KCAPI is not set
# CONFIG_LRNG_TESTING_MENU is not set
# CONFIG_LRNG_SELFTEST is not set
CONFIG_OKL4_PIPE=y
CONFIG_VSERVICES_SERIAL=y
CONFIG_VSERVICES_SERIAL_SERVER=y
CONFIG_VSERVICES_SERIAL_CLIENT=y
Expand Down Expand Up @@ -2808,7 +2791,7 @@ CONFIG_SPI_SPIDEV=y
# CONFIG_SPI_SLAVE is not set
CONFIG_SPMI=y
CONFIG_SPMI_MSM_PMIC_ARB=y
CONFIG_SPMI_MSM_PMIC_ARB_DEBUG=y
# CONFIG_SPMI_MSM_PMIC_ARB_DEBUG is not set
# CONFIG_HSI is not set
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
Expand Down Expand Up @@ -4139,11 +4122,7 @@ CONFIG_USB_DWC3_QCOM=y
CONFIG_USB_DWC3_MSM=y
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
CONFIG_USB_ISP1760=y
CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_ISP1760_HOST_ROLE=y
# CONFIG_USB_ISP1760_GADGET_ROLE is not set
# CONFIG_USB_ISP1760_DUAL_ROLE is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
Expand Down Expand Up @@ -4223,14 +4202,14 @@ CONFIG_USB_SERIAL_FTDI_SIO=y
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
CONFIG_USB_EHSET_TEST_FIXTURE=y
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HUB_USB251XB is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_HSIC_USB4604 is not set
CONFIG_USB_LINK_LAYER_TEST=y
# CONFIG_USB_LINK_LAYER_TEST is not set
CONFIG_USB_REDRIVER_NB7VPQ904M=y
# CONFIG_USB_QTI_KS_BRIDGE is not set
# CONFIG_USB_QCOM_DIAG_BRIDGE is not set
Expand Down Expand Up @@ -4426,17 +4405,6 @@ CONFIG_LEDS_TRIGGER_TIMER=y
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
CONFIG_EDAC_LEGACY_SYSFS=y
# CONFIG_EDAC_DEBUG is not set
# CONFIG_EDAC_THUNDERX is not set
CONFIG_EDAC_KRYO_ARM64=y
# CONFIG_EDAC_KRYO_ARM64_POLL is not set
# CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE is not set
# CONFIG_EDAC_KRYO_ARM64_PANIC_ON_UE is not set
# CONFIG_EDAC_XGENE is not set
# CONFIG_EDAC_CORTEX_ARM64 is not set
# CONFIG_EDAC_QCOM is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
Expand Down Expand Up @@ -4616,7 +4584,6 @@ CONFIG_VSERVICES_CLIENT=y
#
# Transport drivers
#
CONFIG_VSERVICES_OKL4_AXON=y

#
# Protocol drivers
Expand Down Expand Up @@ -4760,9 +4727,7 @@ CONFIG_IPA3_MHI_PRIME_MANAGER=y
# CONFIG_MSM_11AD is not set
CONFIG_USB_BAM=y
CONFIG_QCOM_GENI_SE=y
CONFIG_IPA3_REGDUMP=y
CONFIG_IPA3_REGDUMP_IPA_4_5=y
CONFIG_IPA3_REGDUMP_NUM_EXTRA_ENDP_REGS=0
# CONFIG_IPA3_REGDUMP is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
Expand Down Expand Up @@ -4993,7 +4958,7 @@ CONFIG_MSM_SUBSYSTEM_RESTART=y
CONFIG_MSM_PIL=y
CONFIG_MSM_SYSMON_QMI_COMM=y
CONFIG_MSM_PIL_SSR_GENERIC=y
CONFIG_MSM_BOOT_STATS=y
# CONFIG_MSM_BOOT_STATS is not set
CONFIG_QCOM_DCC_V2=y
CONFIG_QCOM_EUD=y
CONFIG_QCOM_MINIDUMP=y
Expand Down Expand Up @@ -5021,7 +4986,7 @@ CONFIG_QCOM_QDSS_BRIDGE=y
CONFIG_MSM_CDSP_LOADER=y
CONFIG_QTI_SYSTEM_PM=y
CONFIG_QCOM_SMCINVOKE=y
CONFIG_MSM_EVENT_TIMER=y
# CONFIG_MSM_EVENT_TIMER is not set
CONFIG_MSM_PM=y
CONFIG_MSM_IDLE_STATS=y
CONFIG_MSM_IDLE_STATS_FIRST_BUCKET=62500
Expand All @@ -5030,8 +4995,8 @@ CONFIG_MSM_IDLE_STATS_BUCKET_COUNT=10
CONFIG_MSM_SUSPEND_STATS_FIRST_BUCKET=1000000000
# CONFIG_QTI_L2_REUSE is not set
# CONFIG_QCOM_DCC is not set
CONFIG_QTI_RPM_STATS_LOG=y
CONFIG_QTI_DDR_STATS_LOG=y
# CONFIG_QTI_RPM_STATS_LOG is not set
# CONFIG_QTI_DDR_STATS_LOG is not set
# CONFIG_MSM_JTAGV8 is not set
CONFIG_QTEE_SHM_BRIDGE=y
# CONFIG_MEM_SHARE_QMI_SERVICE is not set
Expand All @@ -5043,7 +5008,6 @@ CONFIG_QCOM_CDSP_RM=y
CONFIG_QTI_CRYPTO_COMMON=y
CONFIG_QTI_CRYPTO_TZ=y
# CONFIG_MSM_BAM_DMUX is not set
# CONFIG_QCOM_HYP_CORE_CTL is not set
# CONFIG_QTI_HW_KEY_MANAGER is not set
# CONFIG_ICNSS2 is not set
# CONFIG_ICNSS is not set
Expand Down Expand Up @@ -5120,7 +5084,7 @@ CONFIG_EXTCON=y
# CONFIG_EXTCON_QCOM_SPMI_MISC is not set
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
CONFIG_EXTCON_USB_GPIO=y
# CONFIG_EXTCON_USB_GPIO is not set
# CONFIG_MEMORY is not set
CONFIG_IIO=y
# CONFIG_IIO_BUFFER is not set
Expand Down Expand Up @@ -5526,7 +5490,7 @@ CONFIG_ARM_DSU_PMU=y
# CONFIG_QCOM_L2_COUNTERS is not set
CONFIG_QCOM_LLCC_PMU=y
# CONFIG_ARM_SPE_PMU is not set
CONFIG_RAS=y
# CONFIG_RAS is not set

#
# Android
Expand Down Expand Up @@ -5690,8 +5654,7 @@ CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=y
CONFIG_ECRYPT_FS_MESSAGING=y
# CONFIG_ECRYPT_FS is not set
CONFIG_SDCARD_FS=y
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
Expand Down

0 comments on commit 36b61ef

Please sign in to comment.