Enable commonly used DRM/FB drivers for VMs. We may need to enable more
DRM drivers later but for now, just enabled these VM drivers.
Also update changelog. Latest OC public iso is already using OC 5.4
kernel as default kernel.
Signed-off-by: Kairui Song <kasong@tencent.com>
libperf-jvmti.so doesn't build in tmanager.
Add a dummy libperf-jvmti.so in perf to compat two system.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Remove the duplicate files from kernel-tools/bpftools but
included by perf.
Keep the python2, python-perf name and libraries location
for backward compatibility.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Add %{_mandir}/man7/bpf-helpers.7.gz to solve
the bug with kernel.
Signed-off-by: Honglin Li <honglinli@tencent.com>
Reviewed-by: Haisu Wang <haisuwang@tencent.com>
Tmanager generates tag to build kernel when branch specified.
The tag starts with x86, which leads to the build process failing
to parse the tag.
Modify the generate-rpms.sh to support building with "x86-*" tags.
Signed-off-by: Yushan Zhou <katrinzhou@tencent.com>
Hyperv is a native hypervisor that can create virtual machine on x86-64
platform. Enable all hyperv configurations for linux, then it can run
on windows hyperv.
Signed-off-by: Bin Lai <robinlai@tencent.com>
tl2 release system using repackage trick instead of full tl2
env to build kernel and other packages from scratch.
Update the perf tools spec to support build bpftool with
perf and kernel tools.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
The bash script mkmakefile generates Makefile which includes itself.
It leads to dead cycle when build rpm packages.
Signed-off-by: Yushan Zhou <katrinzhou@tencent.com>
ZRAM is a memory compression method that used for anon swap out/in,
it could help system reclaim more free memory when the applications
have consumed too much memory. So we introduce the ZRAM by kernel
modules, user could insmod it as needed.
Signed-off-by: Bin Lai <robinlai@tencent.com>
Reviewed-by: Bauerchen <bauerchen@tencent.com>
BPF CO-RE applications like libbpf are need kernel
headers with all types, so it require BTF type
information built-in.
CONFIG_DEBUG_INFO_BTF have already enabled in x86_64,
enable in aarch64 to align.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Httpchaos need both CONFIG_NETFILTER_XT_MATCH_SOCKET and
CONFIG_NETFILTER_XT_TARGET_TPROXY, these config were aleady opened in x86, but
not on arm64, so just open it.
generate-rpms.sh add parse parameters 'k' for build config of type.
usage: generate-rpms.sh -k config_type
config type is 'kasan' or 'nosign'.
Signed-off-by: kidzhang <kidzhang@tencent.com>
csig need enable support for block device writeback throttling,
so open CONFIG_BLK_WBT and CONFIG_BLK_WBT_MQ.
To sync the config to the same with x86's config, we open:
CONFIG_RT_GROUP_SCHED, CONFIG_SLUB_MEMCG_SYSFS_ON, CONFIG_BLK_CGROUP_IOLATENCY,
CONFIG_BLK_RQ_ALLOC_TIME, CONFIG_BLK_CGROUP_IOCOST, CONFIG_NET_CLS_CGROUP;
To sync the config to the same with x86's config, we close:
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED, CONFIG_SLAB_MERGE_DEFAULT,
CONFIG_CMDLINE_PARTITION
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
SLI is used for cgroup performance monitoring, but it is not
necessary for some cases(such as running the linux without
cgroups on the embedded device). Therefor we add this
configuration to decide whether package SLI into kernel or not.
Signed-off-by: Bin Lai <robinlai@tencent.com>
When running kmemleak , it will cost much CPU.
So, disable the auto scan of kmemleak, trigger kmemleak scan by manual if needed.
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
CONFIG_CGROUP_BPF CONFIG_DEBUG_MEMORY_INIT CONFIG_PANIC_ON_OOPS CONFIG_DEBUG_LIST CONFIG_DEBUG_SECTION_MISMATCH CONFIG_DEBUG_SHIRQ
centos aarch64 has enabled these configs , and tencent os x86_64 has also enabled these configs.
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.
The number of nodes will exceed 16(2^4) for arm64 server(such as
phytium cpu), so we should change the max number of nodes to adapt
these equipment. There is something wrong with IOMMU compatibility
of phytium CPU, so we have to set IOMMU as default passthrough mode
to avoid this isssue. And we can change the IOMMU mode by cmdline
on other arm64 hardware.
Signed-off-by: Bin Lai <robinlai@tencent.com>
CONFIG_UEFI_CPER and CONFIG_UEFI_CPER_ARM are auto opened because:
Symbol: UEFI_CPER [=y]
Type : bool
Defined at drivers/firmware/efi/Kconfig:199
Selected by [y]:
- ACPI_APEI [=y] && ACPI [=y] && HAVE_ACPI_APEI [=y]
Selected by [n]:
- ACPI_EXTLOG [=n] && ACPI [=y] && X86_MCE && X86_LOCAL_APIC && EDAC [=n]
Symbol: UEFI_CPER_ARM [=y]
Type : bool
Defined at drivers/firmware/efi/Kconfig:202
Depends on: UEFI_CPER [=y] && (ARM || ARM64 [=y])
CONFIG_CC_HAS_WARN_MAYBE_UNINITIALIZED is closed because:
there is no definition about CC_HAS_WARN_MAYBE_UNINITIALIZED in Kconfig*
CONFIG_ALTRA_ERRATUM_82288 is auto opened because:
the default value of ALTRA_ERRATUM_82288 is y, and it should be y as a matter of experience
CONFIG_NET_REDIRECT is auto opened because:
Symbol: NET_REDIRECT [=y]
Type : bool
Defined at net/Kconfig:55
Depends on: NET [=y]
Selected by [m]:
- IFB [=m] && NETDEVICES [=y] && NET_CORE [=y] && NET_CLS_ACT [=y]
CONFIG_NET_DEVLINK is auto opened because:
NET_DEVLINK is selected by others
CONFIG_ARM_GIC_PHYTIUM_2500 is auto opened because:
ARM_GIC_PHYTIUM_2500 is selected by ARCH_PHYTIUM, which has already been opened
CONFIG_CHECK_SIGNATURE is auto opened because:
CHECK_SIGNATURE is selected by others
CONFIG_BLK_DEV_RAM=y will create /dev/ram* by default which is unneeded,
just make it a module, ram block devices can still be created with
modprobe.
Signed-off-by: Kairui Song <kasong@tencent.com>