linux56/57-tkg: Remove tp smapi ec support. The driver seems to be abandonned and creates a memory leak on at least 5.6 and 5.7 that I couldn't fix. The dkms driver seems to have the same issue so let's get rid of it, even if only temporarily.
This commit is contained in:
@@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||
_basekernel=5.6
|
||||
_sub=12
|
||||
pkgver="${_basekernel}"."${_sub}"
|
||||
pkgrel=28
|
||||
pkgrel=29
|
||||
pkgdesc='Linux-tkg'
|
||||
arch=('x86_64') # no i686 in here
|
||||
url="http://www.kernel.org/"
|
||||
@@ -123,7 +123,6 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
|
||||
0009-bmq_v5.6-r4.patch
|
||||
0011-ZFS-fix.patch
|
||||
0012-linux-hardened.patch # https://github.com/anthraxx/linux-hardened
|
||||
0013-tp_smapi_ec.patch
|
||||
)
|
||||
sha256sums=('e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622'
|
||||
'ef84dbd5f9e7879a5b53d26ab766614775c22343ecf2ddd6beb969dcde1f20a6'
|
||||
@@ -148,8 +147,7 @@ sha256sums=('e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622'
|
||||
'965a517a283f265a012545fbb5cc9e516efc9f6166d2aa1baf7293a32a1086b7'
|
||||
'1b95d36635c7dc48ce45a33d6b1f4eb6d34f51600901395d28fd22f28daee8e9'
|
||||
'49262ce4a8089fa70275aad742fc914baa28d9c384f710c9a62f64796d13e104'
|
||||
'573914ae79eb564032dce7e0c805fd59440696c148037b77013c8a4d5c4bd3b6'
|
||||
'5f55c825586955e7330c74acc39d3b1a7fa15333e474d85820f46727f3922e87')
|
||||
'573914ae79eb564032dce7e0c805fd59440696c148037b77013c8a4d5c4bd3b6')
|
||||
|
||||
export KBUILD_BUILD_HOST=archlinux
|
||||
export KBUILD_BUILD_USER=$pkgbase
|
||||
@@ -230,10 +228,6 @@ prepare() {
|
||||
|
||||
patch -Np1 -i ../0003-glitched-base.patch
|
||||
|
||||
if [ "${_tp_smapi_ec}" != "false" ]; then
|
||||
patch -Np1 -i ../0013-tp_smapi_ec.patch
|
||||
fi
|
||||
|
||||
if [ "${_cpusched}" == "MuQSS" ]; then
|
||||
# MuQSS
|
||||
patch -Np1 -i ../0004-5.6-ck2.patch
|
||||
@@ -270,7 +264,6 @@ prepare() {
|
||||
sed -i -e 's/CONFIG_DEFAULT_FQ_CODEL=y/# CONFIG_DEFAULT_FQ_CODEL is not set/' ./.config
|
||||
echo "CONFIG_DEFAULT_CAKE=y" >> ./.config
|
||||
echo "CONFIG_NR_TTY_DEVICES=63" >> ./.config
|
||||
echo "CONFIG_TP_SMAPI=m" >> ./.config
|
||||
echo "CONFIG_RAID6_USE_PREFER_GEN=y" >> ./.config
|
||||
echo "# CONFIG_NTP_PPS is not set" >> ./.config
|
||||
sed -i -e 's/CONFIG_CRYPTO_LZ4=m/CONFIG_CRYPTO_LZ4=y/' ./.config
|
||||
@@ -1096,11 +1089,6 @@ function exit_cleanup {
|
||||
rm -f "$srcdir"/linux-${_basekernel}/mm/prfile.c
|
||||
|
||||
rm -f "$srcdir"/linux-${_basekernel}/block/bfq*
|
||||
rm -f "$srcdir"/linux-${_basekernel}/Documentation/tp_smapi.txt
|
||||
|
||||
rm -f "$srcdir"/linux-${_basekernel}/drivers/platform/x86/thinkpad_ec.c
|
||||
rm -f "$srcdir"/linux-${_basekernel}/include/linux/thinkpad_ec.h
|
||||
rm -f "$srcdir"/linux-${_basekernel}/drivers/platform/x86/tp_smapi.c
|
||||
|
||||
rm -rf "$srcdir"/linux-${_basekernel}/drivers/scsi/vhba/*
|
||||
|
||||
|
@@ -24,7 +24,6 @@ You can enable support for it at the beginning of the PKGBUILD file. Make sure t
|
||||
- scheduling tweaks
|
||||
- using prefered raid6 gen function directly
|
||||
- using lz4 algo for zswap by default
|
||||
- built-in Thinkpad hardware functions driver / embedded controller LPC3 functions / SMAPI support
|
||||
- optional "Zenify" patchset using core blk, mm and scheduler tweaks from Zen
|
||||
- CFS tweaks
|
||||
- using yeah TCP congestion algo by default
|
||||
|
@@ -93,9 +93,6 @@ _acs_override=""
|
||||
# Set to "true" to add Bcache filesystem support. You'll have to install bcachefs-tools-git from AUR for utilities - https://bcachefs.org/ - If in doubt, set to "false"
|
||||
_bcachefs=""
|
||||
|
||||
# Enable builtin Thinkpad series absolute trackpad as well as SMAPI and EC support drivers, for features such as battery charging control. For more information about this driver see http://www.thinkwiki.org/wiki/tp_smapi
|
||||
_tp_smapi_ec="false"
|
||||
|
||||
# Set to "true" to add back missing symbol for AES-NI/AVX support on ZFS - https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/export_kernel_fpu_functions.patch - Kernel default is "false"
|
||||
_zfsfix=""
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user