Commit Graph

45 Commits

Author SHA1 Message Date
Hongbo Li a6ba82f4f6 config: open CONFIG_NETFILTER_XT_TARGET_TPROXY
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-12-13 17:41:15 +08:00
Kairui Song 54fe74a6b1 config: enable NF_CT_NETLINK_TIMEOUT and NF_CONNTRACK_TIMEOUT
Enable NF_CT_NETLINK_TIMEOUT as a module, it depends on
NF_CONNTRACK_TIMEOUT so enable that as well.

Signed-off-by: Kairui Song <kasong@tencent.com>
2021-12-10 15:53:24 +08:00
katrinzhou 1265b88089 default/config: set CONFIG_TCM_USER2 as module 2021-11-02 16:19:31 +08:00
caelli b80247552b cgroupfs: support for proc and sys
export files such as cpuinfo, meminfo, stat and so on, which can by used
by containers.

Signed-off-by: caelli <caelli@tencent.com>
Reviewed-by: Peng Hao <flyingpeng@tencent.com>
Reviewed-by: Bin Lai <robinlai@tencent.com>
2021-11-01 15:00:06 +08:00
markwhwu 4bba8351f9 mm: enable transparent hugepage by default
Signed-off-by: Mark whwu <markwhwu@tencent.com>
2021-10-29 08:50:28 +00:00
Fuhai Wang cdbc9c0b3f arm/config: set CONFIG_SCSI_MPT3SAS as module
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-10-19 07:18:46 +00:00
Kaixu Xia 47f5d67346 config: set timer frequency to 1000 HZ by default 2021-09-22 17:46:37 +08:00
Kaixu Xia e6e20d423d package/spec: add the kernel-tools kernel-tools-libs packages
Add the kernel-tools kernel-tools-libs files.
2021-08-05 17:23:46 +08:00
rogerhui feff7ae94d add the package-requirement of grubby 2021-08-03 09:00:22 +00:00
Kaixu Xia 5b20794a4a config/arm: enable CONFIG_SCSI_SMARTPQI
Open CONFIG_SCSI_SMARTPQI as module.
2021-07-16 12:26:49 +08:00
Fuhai Wang 0484b57289 arm64/cpufreq: enable ACPI_CPPC_CPUFREQ config on arm64
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-07-12 08:57:22 +00:00
Fuhai Wang 4429c58555 arm64: enable CONFIG_ARM64_LSE_ATOMICS
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-07-12 08:57:22 +00:00
Fuhai Wang 1e236c7732 ampere/led: Add Altra LED driver
Add Altra LED driver to control NVME LED.

This driver support control LED via SPCI interface on Altra system.
Currently, it is 2-LEDs system(Activity LED, Status LED). Activity
LED is completely controlled by hardware. Status LED is controlled
by this driver.
There are 4 stages of Status LED:
    - ON
    - OFF
    - Locate(blink at 1Hz)
    - Rebuild(blink at 4Hz)

Example:
To On, Off the LED on slot 9:
    1. Write the seg:bus_number corresponding to LED on slot 9 to
       altra:led
         echo 000b:03 > /sys/class/leds/altra:led/address
    2. Write 1 to brightness attr to ON, 0 to brightness attr to OFF
         echo 1 > /sys/class/leds/altra:led/brightness
         echo 0 > /sys/class/leds/altra:led/brightness
To blink the LED on slot 9:
    1. Write the seg:bus_number corresponding to LED on slot 9 to
       altra:led
         echo 000b:03 > /sys/class/leds/altra:led/address
    2. Write 1 to blink attr to select Locate(blink 1Hz), or 4 to
       blink attr to select Rebuild(blink 4Hz)
         echo 1 > /sys/class/leds/altra:led/blink
         echo 4 > /sys/class/leds/altra:led/blink
    3. Write 1 to shot attr to execute blink
         echo 1 > /sys/class/leds/altra:led/shot

cherry-pick from: AmpereComputing/ampere-centos-kernel@28c026a

Signed-off-by: Dung Cao <dcao@amperecomputing.com>
2021-07-12 08:57:22 +00:00
Fuhai Wang a10085f69f config: open intel sgx config
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-07-12 08:56:46 +00:00
Kaixu Xia 7de61cb2e3 config: enable RETOPLINE config for the Spectre issue
Enable RETOPLINE config for the Spectre mitigation.
2021-07-06 11:16:59 +08:00
Fuhai Wang 81930c4bec kabi: arm version kabi check support
add -c option to enable kabi check in generate script(arm version)
  add kabi Modver for arch aarch64 in gcc 8.3.1 version

Signed-off-by: Denise Cheng <denisecheng@tencent.com>
Signed-off-by: Fuhai Wang <Fuhaiwang@tencent.com>
2021-06-23 07:24:18 +00:00
denisecheng 1649a605e3 kabi: update kabi Modver file
Signed-off-by: Denise Cheng <denisecheng@tencent.com>
2021-06-23 07:24:18 +00:00
denisecheng 41c8ed76f7 kabi: kabi check support
add check-kabi scripts
  add -c option to enable kabi check in generate script(x86 version)
  add kabi Modver for arch x86_64 in gcc 8.3.1 version

Signed-off-by: Denise Cheng <denisecheng@tencent.com>
Signed-off-by: Fuhai Wang <Fuhaiwang@tencent.com>
2021-06-23 07:24:18 +00:00
denisecheng 7a9eb5f94c spec/x86: fix rpmbuild error
Fixes: a58601a0a ("spec/x86: fix ts3 installation")
Signed-off-by: denisecheng <denisecheng@tencent.com>
2021-06-23 07:24:18 +00:00
Kaixu Xia 96e329f55b package: use the correct description and packager
Use the correct description and packager.
2021-06-17 10:40:20 +08:00
Kaixu Xia 4a1052051d config: enable CONFIG_SCSI_SMARTPQI and CONFIG_VMXNET3
Open CONFIG_SCSI_SMARTPQI and CONFIG_VMXNET3 as module.
2021-06-02 17:31:05 +08:00
Kaixu Xia ca033c4908 Rebase to linux long term 5.4.119
Update to upstream 5.4.119.
2021-05-20 16:08:02 +08:00
Fuhai Wang 805b626a9a net: open CONFIG_XFRM_OFFLOAD for x86 public
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-05-18 07:22:15 +00:00
Fuhai Wang bef033fd4f config: enable pci acpi hotplug
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-05-18 07:22:15 +00:00
Kaixu Xia bd105940ec config: open CONFIG_GENEVE as module
Open CONFIG_GENEVE as module.
2021-04-27 16:43:36 +08:00
Hongbo Li 0ccaa935ab net: add mellanox arm driver
add mellanox arm driver MLNX_OFED_LINUX-5.1-2.5.8.0.46-rhel8.3-aarch64.

Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-04-15 08:35:28 +00:00
Honglin Li 75709b0882 spec/x86: modify perf-tlinux.spec
Signed-off-by: Honglin Li <honglinli@tencent.com>
2021-04-12 09:13:28 +00:00
Kaixu Xia 58c1e28d14 Rebase to linux long term 5.4.109
Update to upstream 5.4.109.
2021-04-12 12:53:32 +08:00
Honglin Li 2f000a7457 generate-rpms: modify the name of the kernel tag for x86 and arm64
Signed-off-by: Honglin Li <honglinli@tencent.com>
2021-04-07 06:53:59 +00:00
Hongbo Li 5eee46c539 mellanox: add x86 driver
Add mellanox x86 driver for 5.4 public kernel.

Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-03-18 07:09:21 +00:00
Kaixu Xia e031bb819a package: config: cleanup the unnecessary config files
Cleanup the unnecessary config files.
2021-03-16 16:44:00 +08:00
yongduan 097a748aec squashfs: enable CONFIG_SQUASHFS_ZLIB
Refer to the config of centos 8

Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:44:00 +08:00
honglinli 3218a487da net: update bnxt_en driver
Signed-off-by: honglinli <honglinli@tencent.com>
2021-03-16 16:44:00 +08:00
honglinli 29e5f3c105 config: open CONFIG_SCSI_HPSA for arm64 public
Signed-off-by: honglinli <honglinli@tencent.com>
2021-03-16 16:44:00 +08:00
Fuhai Wang 754aa27eb6 config: open CONFIG_ARM64_VHE and fix ampere config
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-03-16 16:44:00 +08:00
lho 345aa07d5b hwmon: Add Ampere Altra HW monitor driver
Add Ampere Altra HW monitor driver to support per core energy
and SoC temperature reporting.

cherry-pick from: f2e6dee522

Signed-off-by: lho <loc.ho@os.amperecomputing.com>
Signed-off-by: lho <hoan@os.amperecomputing.com>
2021-03-16 16:43:59 +08:00
Yi Li bf32b9cff3 Ampere: Add default kernel configure for Altra
Enable CONFIG_SENSORS_XGENE, CONFIG_I2C_XGENE_SLIMPRO,
CONFIG_IPMI_SSIF

Build CONFIG_SERIO_I8042 as module

Signed-off-by: Yi Li <adam.li@amperecomputing.com>
2021-03-16 16:43:59 +08:00
yongduan 835eeffefc enable CONFIG_CACHEFILES
fscache requires the cachefiles module.

Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:43:59 +08:00
yongduan b9bd144cf3 enable CONFIG_DEBUG_INFO_BTF
Signed-off-by: yongduan <yongduan@tencent.com>
2021-03-16 16:43:58 +08:00
Hongbo Li bd39464999 net: open CONFIG_XFRM_OFFLOAD for x86 public
Signed-off-by: Hongbo Li <herberthbli@tencent.com>
2021-03-16 16:43:58 +08:00
Kaixu Xia e020f6a105 config/x86: update config version 2021-03-16 16:43:58 +08:00
Fuhai Wang 8572885eb0 config: change default config
Signed-off-by: Fuhai Wang <fuhaiwang@tencent.com>
2021-03-16 16:43:57 +08:00
Kaixu Xia 8c52645de7 config: open CONFIG_EFI_CUSTOM_SSDT_OVERLAYS 2021-03-16 16:43:57 +08:00
Xiaoming Gao 54dc7b487e config/arm64: OPEN CONFIG_PSI and phytium configs
Signed-off-by: Xiaoming Gao <newtongao@tencent.com>
2021-03-16 11:02:59 +08:00
Kaixu Xia 590eaf1fec Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces.
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
2021-03-16 11:01:34 +08:00