linux59-tkg: Add back fsync patchset.

Thanks to @terencode for his restore futex_key patch 🐸 ❤️
This commit is contained in:
Tk-Glitch 2020-10-12 19:39:36 +02:00
parent 07c93cdc11
commit 7ca2ea2607
5 changed files with 1416 additions and 12 deletions

View File

@ -45,7 +45,7 @@ else
fi
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver="${_basekernel}"."${_sub}"
pkgrel=2
pkgrel=3
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -74,7 +74,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
#0005-v5.8_undead-pds099o.patch
0005-glitched-pds.patch
0006-add-acs-overrides_iommu.patch
#0007-v5.8-fsync.patch
0007-v5.9-fsync.patch
#0008-5.8-bcachefs.patch
0009-glitched-ondemand-bmq.patch
0009-glitched-bmq.patch
@ -94,6 +94,7 @@ sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
'7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7'
'fca63d15ca4502aebd73e76d7499b243d2c03db71ff5ab0bf5cf268b2e576320'
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
'edb93a2bef291c16dbcbf8d11f7a12febb77b2d193dd4be0dac988de91e0d97c'
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
'88c7e308e474c845e0cc09e09bd223fc39876eca757abf6d6c3b8321f49ce1f1'

View File

@ -24,6 +24,7 @@ You can optionally enable support for it at the beginning of the PKGBUILD file.
- using vm.max_map_count=524288 by default
- cherry-picked clear linux patches
- **optional** overrides for missing ACS capabilities
- **optional** Fsync support (proton)
## Install procedure

View File

@ -101,6 +101,9 @@ _acs_override=""
# 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="true"
# Set to "true" to enable support for fsync, an experimental replacement for esync found in Valve Proton 4.11+ - https://steamcommunity.com/games/221410/announcements/detail/2957094910196249305
_fsync=""
# A selection of patches from Zen/Liquorix kernel and additional tweaks for a better gaming experience (ZENIFY) - Default is "true"
_zenify="true"

View File

@ -746,16 +746,16 @@ _tkg_srcprep() {
#fi
# fsync support
#if [ -z "$_fsync" ]; then
# plain ""
# plain "Enable support for fsync, an experimental replacement for esync in Valve Proton 4.11+"
# plain "https://steamcommunity.com/games/221410/announcements/detail/2957094910196249305"
# read -rp "`echo $' > N/y : '`" CONDITION9;
#fi
#if [[ "$CONDITION9" =~ [yY] ]] || [ "$_fsync" = "true" ]; then
# msg2 "Patching Fsync support"
# patch -Np1 -i "$srcdir"/0007-v5.8-fsync.patch
#fi
if [ -z "$_fsync" ]; then
plain ""
plain "Enable support for fsync, an experimental replacement for esync in Valve Proton 4.11+"
plain "https://steamcommunity.com/games/221410/announcements/detail/2957094910196249305"
read -rp "`echo $' > N/y : '`" CONDITION9;
fi
if [[ "$CONDITION9" =~ [yY] ]] || [ "$_fsync" = "true" ]; then
msg2 "Patching Fsync support"
patch -Np1 -i "$srcdir"/0007-v5.9-fsync.patch
fi
# ZFS fix
if [ -z "$_zfsfix" ]; then

File diff suppressed because it is too large Load Diff