Apply patches via `patch` instead of `git am`. The `patch` tool is more
liberal in accepting patches and allows patches that need relocation of
hunks, whereas git fails in such instances. Using git makes it harder to
maintain these patches accross multiple kernel versions and we would
need to regularly update them.
Commit separately to keep the git source tree clean before building.
This reverts commit 3c76d63bef.
Reason for revert:
These gcc10 patches are no longer needed as of 4.19.128
Signed-off-by: Tsuchiya Yuto (kitakar5525) <kitakar@gmail.com>
We need to disable CONFIG_DEBUG_INFO for build with GitHub's Actions
because of memory requirements.
Signed-off-by: Tsuchiya Yuto (kitakar5525) <kitakar@gmail.com>
These patches are taken from the Arch Linux LTS kernel source.
Including:
- Fix for kernel crashing with GCC 10 due to optimization causing
invalid stack protector (see https://lkml.org/lkml/2020/3/14/186).
- Fix for GCC 10 command-line option changes.
- Plugin updates for GCC 10.
- Updates USER_NS_UNPRIVILEGED patch.
Update patches via linux-surface/kernel@fccd0a489e.
Updated patches:
pick ea097eb Add secureboot pre-signing to the kernel
pick b50d617 surface3-power
pick 71ab90b surface3-spi
pick f109cbf surface3-oemb
pick c924fb6 surface-buttons
f 1a44682d3bea Input: soc_button_array - fix Wdiscarded-qualifiers for kernels below 4.20
pick 91a78cc surface-sam
pick 263250b suspend
pick 5ae0ab6 ipts
f a5db77a8ad47 ipts: Simplify feedback implementation
f 22c959edeaf2 ipts: Remove no_feedback quirk
f 21a71ef429b4 ipts: Remove quirk implementation
f f28c0f7b64aa ipts: companion: improve comment for hardware id on SP4
pick df219c0 surface-lte
pick 3484574 ioremap_uc
pick 4f727ac wifi
f f86788d75e54 Revert "BACKPORT: wireless/mwifiex: Fix S0ix / suspend"
f 169bb34570af mwifiex: pcie: Use dev_get_drvdata
f 6e9eefbca821 mwifiex_pcie: remove()/probe() card on suspend()/resume()
f 3619cec06fdc mwifiex_pcie: disable parent bridge_d3
f fda9d444d14d mwifiex: sta_cmd: do not enable auto_ds by default
f 74ab58241354 mwifiex: sta_cmd: add comment for not enabling ps_mode by default
Note: almost all part of the ioremap_uc patch is now upstream. So, the
remaining unupstreamed patch is now only linux-surface/kernel@de067f5c12
("docs: driver-model: add devm_ioremap_uc")
Signed-off-by: Tsuchiya Yuto (kitakar5525) <kitakar@gmail.com>
The PPA that is used for Ubuntu / Debian packages still doesn't have
anything higher than 5.6.7, so we can't update that at the moment.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
The Ubuntu PPA/mainline repository does not yet have v5.6.8, thus builds
targetting it will fail. Revert back to v5.6.7, which is available, and
increment pkgrel.
This commit reverts upstream commit
9945722afdc3443eab826b2da1122509a13a50a5 (builddeb: make headers package thinner)
which drops some files from the linux-headers package. These files seem
to be required by some out-of-tree modules (see #170).