Commit Graph

24 Commits

Author SHA1 Message Date
Jianping Liu d0ebc6b8e3 config: sync config to origin 5.4.119-20.0009.32
Sync config.default_kasan and config.performance to the same with
5.4.119-20.0009.32. Note, config.default_kasan and config.performance
are useless now.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-06-11 21:01:05 +08:00
Yuehong Wu 85ba10e6ef config: enable BFQ io scheduler
Enable CONFIG_IOSCHED_BFQ,CONFIG_BFQ_GROUP_IOSCHED for ARM to
support bfq io-scheduler.

Signed-off-by: Yuehong Wu <yuehongwu@tencent.com>
Signed-off-by: Bin Lai <robinlai@tencent.com>
2024-06-11 20:50:53 +08:00
Ni Xun 3c048b0f89 config: change CONFIG_CONFIGFS_FS to Y for default conf
CONFIG_CONFIGFS_FS from M to Y for arm default config

Signed-off-by: Ni Xun <richardni@tencent.com>
2024-06-11 20:50:40 +08:00
Ni Xun 8782b3a1b0 config: change CONFIG_CONFIGFS_FS to Y for AARCH64
with CONFIG_CONFIGFS_FS=m, the default cpu cgroup has user.slice, which
will slowdown unixbench Pipe-based Context Switching score: 39660 ->
19626

Signed-off-by: Ni Xun <richardni@tencent.com>
2024-06-11 20:49:55 +08:00
johnnyaiai 45a150cd8d ARM64/conf: Disable CONFIG_RODATA_FULL_DEFAULT_ENABLED
[tapd]
ID877978657

This configuration resulted in a 15% regression on
unixbench's execl testing.

This additional enhancement can be turned on with
rodata=full after this patch.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: robinlai <robinlai@tencent.com>
2024-06-11 20:49:52 +08:00
Yuehong Wu 1768198a0c config: add DRM_AST hyperV,network and DRM modules
Some images are being built using 0009-kabi branch and was expected
to run on some virtualization environments, and might be used for
desktops. So enable related drivers. More test needed though.

config: enable more commonly used DRM drivers
config: enable CONFIG_DRM_AST
config: enable hyperv related configs
config: enable CONFIG_IGC

Signed-off-by: Yuehong Wu <yuehongwu@tencent.com>
Signed-off-by: Menglong Dong <imagedong@tencent.com>
2024-06-11 20:49:15 +08:00
sumiyawang a0fc351741 driver: update hisilicon hardware crypto engine
keep the hisilicon crypto driver up to 1.3.11, autoprobe
the modules when hardware enabled.

Signed-off-by: sumiyawang <sumiyawang@tencent.com>
2024-06-11 20:47:35 +08:00
johnnyaiai 01b127db01 config/performance: Enable CONFIG_PREEMPT_NONE by default
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: flyingpeng <flyingpeng@tencent.com>
2024-06-11 20:41:40 +08:00
johnnyaiai 4e616de0dc config/performance: Disable PV_SPINLOCK by default
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: flyingpeng <flyingpeng@tencent.com>
2024-06-11 20:41:39 +08:00
johnnyaiai c30056cab7 config/ARM64/performance: Enable CONFIG_ASYNC_PAGE_LOCKING
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
2024-06-11 20:41:25 +08:00
johnnyaiai e9417015a3 ARM64/conf: Disable CONFIG_FS_ENCRYPTION
[tapd]
ID877978657

This configuration resulted in a 10% regression on
unixbench's execl testing.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
2024-06-11 20:41:24 +08:00
johnnyaiai 3686f44e66 ARM64/conf: Disable CONFIG_RODATA_FULL_DEFAULT_ENABLED
[tapd]
ID877978657

This configuration resulted in a 15% regression on
unixbench's execl testing.

This additional enhancement can be turned on with
rodata=full after this patch.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
2024-06-11 20:41:24 +08:00
johnnyaiai 29ebe78817 ARM64/conf: Adjust PAGE_SIZE to 4K from 64K
[tapd]
ID880199289

Change default page size from 64K to 4K for ARM64.

Following configs are involved:
CONFIG_ARM64_PAGE_SHIFT=12
CONFIG_ARM64_CONT_SHIFT=4
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
CONFIG_ARCH_MMAP_RND_BITS_MAX=33
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
CONFIG_PGTABLE_LEVELS=4
CONFIG_ARM64_4K_PAGES=y
CONFIG_ARM64_64K_PAGES=n
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_FORCE_MAX_ZONEORDER=11

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: flyingpeng <flyingpeng@tencent.com>
2024-06-11 20:41:23 +08:00
Jianping Liu 1c606f5c80 open CONFIG_JUMP_LABEL to optimize very unlikely/likely branches
This option enables a transparent branch optimization that
makes certain almost-always-true or almost-always-false branch
conditions even cheaper to execute within the kernel.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: Alex Shi <alexsshi@tencent.com>
Reviewed-by: robinlai <robinlai@tencent.com>
2024-06-11 20:41:23 +08:00
johnnyaiai 793146009d config/x86: Disable CONFIG_LATENCYTOP by default
Performance degradation due to multi-core contending for
global spinlock.

Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: Alex Shi <alexsshi@tencent.com>
Reviewed-by: robinlai <robinlai@tencent.com>
2024-06-11 20:41:22 +08:00
johnnyaiai d3adf65bb5 config/performance: Enable CONFIG_ASYNC_PAGE_LOCKING
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
2024-06-11 20:41:22 +08:00
johnnyaiai 9584d7fe7e config/ARM64: Add config.performance for highest performing version
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: flyingpeng <flyingpeng@tencent.com>
2024-06-11 20:41:15 +08:00
johnnyaiai f96a06a0c4 config: Add config.performance for highest performing version
Signed-off-by: johnnyaiai <johnnyaiai@tencent.com>
Reviewed-by: flyingpeng <flyingpeng@tencent.com>
2024-06-11 20:41:14 +08:00
Jianping Liu ec6109aa0a kabi: change Module.kabi_tkci from all kabi to core kabi
Ori Module.kabi_tkci has more than 10000 symbols, most of
them won't be used by customer's ko. So, change Module.kabi_tkci
to core kabi, to reduce symbols.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: samuelliao <samuelliao@tencent.com>
2024-06-11 20:41:07 +08:00
Jianping Liu 8f18164a07 kabi: do not put __stack_chk_guard in Module.kabi baseline
__stack_chk_guard crc is depend on gcc version, and tkci's gcc
is gcc-11 (not gcc-8). So, remove gcc version related symbols
from Module.kabi baseline.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: samuelliao <samuelliao@tencent.com>
2024-06-11 20:41:07 +08:00
Jianping Liu 2c81bdeff6 kabi: update Module.kabi_tkci for checkkabi in tkci
Tkci has changed the config, that causing to change kabi.
So update Module.kabi_tkci as kabi baseline for checkkabi.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: samuelliao <samuelliao@tencent.com>
2024-06-11 20:41:06 +08:00
Jianping Liu 7317f41681 kabi: update Module.kabi files for tkci check kabi
In tkci, x86_tkbuild and arm64_tkbuild build the kernel with no
sign config. So, add Module.kabi_nosign for tkci check kabi.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: samuelliao <samuelliao@tencent.com>
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-06-11 20:41:06 +08:00
Jianping Liu c62d6b571d ock: sync codes to ock 5.4.119-20.0009.21
Gitee limit the repo's size to 3GB, to reduce the size of the code,
sync codes to ock 5.4.119-20.0009.21 in one commit.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-06-11 20:27:38 +08:00
Jianping Liu be16237b31 tkernel: add base tlinux kernel interfaces
Sync kernel codes to the same with 590eaf1fec ("Init Repo base on
linux 5.4.32 long term, and add base tlinux kernel interfaces."), which
is from tk4, and it is the base of tk4.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
2024-06-11 20:09:33 +08:00