From 53a10f54c17019dff4d6905cc4cc5501e6efaa60 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 30 Mar 2024 20:35:37 +0100 Subject: [PATCH] - more modularization, no config, nr CPUs, misc settings --- kernel-x86_64.config | 43 +++++++++++++++++++++---------------------- kernel.spec | 2 +- 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/kernel-x86_64.config b/kernel-x86_64.config index 9eb5f46..cf4d059 100644 --- a/kernel-x86_64.config +++ b/kernel-x86_64.config @@ -140,8 +140,7 @@ CONFIG_RCU_NEED_SEGCBLIST=y # end of RCU Subsystem CONFIG_BUILD_BIN2C=y -CONFIG_IKCONFIG=y -# CONFIG_IKCONFIG_PROC is not set +# CONFIG_IKCONFIG is not set CONFIG_IKHEADERS=m CONFIG_LOG_BUF_SHIFT=16 CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 @@ -333,7 +332,7 @@ CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y CONFIG_PARAVIRT_XXL=y -# CONFIG_PARAVIRT_SPINLOCKS is not set +CONFIG_PARAVIRT_SPINLOCKS=y CONFIG_X86_HV_CALLBACK_VECTOR=y CONFIG_XEN=y CONFIG_XEN_PV=y @@ -378,7 +377,7 @@ CONFIG_GART_IOMMU=y CONFIG_NR_CPUS_RANGE_BEGIN=2 CONFIG_NR_CPUS_RANGE_END=512 CONFIG_NR_CPUS_DEFAULT=64 -CONFIG_NR_CPUS=32 +CONFIG_NR_CPUS=512 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_SCHED_MC_PRIO=y @@ -422,7 +421,7 @@ CONFIG_NUMA=y CONFIG_AMD_NUMA=y CONFIG_X86_64_ACPI_NUMA=y # CONFIG_NUMA_EMU is not set -CONFIG_NODES_SHIFT=6 +CONFIG_NODES_SHIFT=10 CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y @@ -450,10 +449,10 @@ CONFIG_EFI=y CONFIG_EFI_STUB=y # CONFIG_EFI_MIXED is not set # CONFIG_HZ_100 is not set -# CONFIG_HZ_250 is not set +CONFIG_HZ_250=y # CONFIG_HZ_300 is not set -CONFIG_HZ_1000=y -CONFIG_HZ=1000 +# CONFIG_HZ_1000 is not set +CONFIG_HZ=250 CONFIG_SCHED_HRTICK=y CONFIG_KEXEC=y CONFIG_KEXEC_FILE=y @@ -766,7 +765,7 @@ CONFIG_HAVE_OPROFILE=y CONFIG_OPROFILE_NMI_TIMER=y # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=y -CONFIG_STATIC_KEYS_SELFTEST=y +# CONFIG_STATIC_KEYS_SELFTEST is not set # CONFIG_STATIC_CALL_SELFTEST is not set CONFIG_UPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y @@ -883,12 +882,12 @@ CONFIG_ASM_MODVERSIONS=y CONFIG_MODULE_SIG=y # CONFIG_MODULE_SIG_FORCE is not set CONFIG_MODULE_SIG_ALL=y -CONFIG_MODULE_SIG_SHA1=y +# CONFIG_MODULE_SIG_SHA1 is not set # CONFIG_MODULE_SIG_SHA224 is not set -# CONFIG_MODULE_SIG_SHA256 is not set +CONFIG_MODULE_SIG_SHA256=y # CONFIG_MODULE_SIG_SHA384 is not set # CONFIG_MODULE_SIG_SHA512 is not set -CONFIG_MODULE_SIG_HASH="sha1" +CONFIG_MODULE_SIG_HASH="sha256" CONFIG_MODULE_COMPRESS=y # CONFIG_MODULE_COMPRESS_GZIP is not set CONFIG_MODULE_COMPRESS_XZ=y @@ -1057,7 +1056,7 @@ CONFIG_ZSWAP_DEFAULT_ON=y CONFIG_ZPOOL=y CONFIG_ZBUD=y CONFIG_Z3FOLD=m -CONFIG_ZSMALLOC=y +CONFIG_ZSMALLOC=m # CONFIG_ZSMALLOC_STAT is not set CONFIG_GENERIC_EARLY_IOREMAP=y # CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set @@ -2124,7 +2123,7 @@ CONFIG_PCI_LABEL=y CONFIG_PCI_HYPERV=m CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_ACPI=y -CONFIG_HOTPLUG_PCI_ACPI_IBM=y +CONFIG_HOTPLUG_PCI_ACPI_IBM=m CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m @@ -2134,8 +2133,8 @@ CONFIG_HOTPLUG_PCI_SHPC=y # PCI controller drivers # CONFIG_PCI_FTPCI100=y -CONFIG_PCI_HOST_COMMON=y -CONFIG_PCI_HOST_GENERIC=y +CONFIG_PCI_HOST_COMMON=m +CONFIG_PCI_HOST_GENERIC=m CONFIG_PCIE_XILINX=y CONFIG_VMD=m CONFIG_PCI_HYPERV_INTERFACE=m @@ -2150,7 +2149,7 @@ CONFIG_PCIE_DW_PLAT=y CONFIG_PCIE_DW_PLAT_HOST=y CONFIG_PCIE_DW_PLAT_EP=y CONFIG_PCIE_INTEL_GW=y -CONFIG_PCI_MESON=y +CONFIG_PCI_MESON=m # end of DesignWare PCI Core Support # @@ -3496,10 +3495,10 @@ CONFIG_ROADRUNNER=m # CONFIG_ROADRUNNER_LARGE_RINGS is not set CONFIG_NET_SB1000=m CONFIG_PHYLINK=m -CONFIG_PHYLIB=y +CONFIG_PHYLIB=m CONFIG_SWPHY=y CONFIG_LED_TRIGGER_PHY=y -CONFIG_FIXED_PHY=y +CONFIG_FIXED_PHY=m CONFIG_SFP=m # @@ -3547,9 +3546,9 @@ CONFIG_VITESSE_PHY=m CONFIG_XILINX_GMII2RGMII=m CONFIG_MICREL_KS8995MA=m CONFIG_MDIO_DEVICE=y -CONFIG_MDIO_BUS=y -CONFIG_OF_MDIO=y -CONFIG_MDIO_DEVRES=y +CONFIG_MDIO_BUS=m +CONFIG_OF_MDIO=m +CONFIG_MDIO_DEVRES=m CONFIG_MDIO_BITBANG=m CONFIG_MDIO_BCM_UNIMAC=m CONFIG_MDIO_CAVIUM=m diff --git a/kernel.spec b/kernel.spec index e8b46c8..878fdb9 100644 --- a/kernel.spec +++ b/kernel.spec @@ -5,7 +5,7 @@ %define basever 5.10 %define postver 214 -%define rel 0.4 +%define rel 0.5 %define __alt_kernel %{nil} -- 2.46.0