Compare commits

...

111 Commits

Author SHA1 Message Date
Thomas Lamprecht
65813c84e9 update ABI file for 5.4.203-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-08-26 16:54:32 +02:00
Thomas Lamprecht
a8fc8edb4d bump version to 5.4.203-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-08-26 16:38:02 +02:00
Thomas Lamprecht
a5bdb43175 backport known fixes of regressions from the stable tree
found with using the `stablefixes` tool from //git.lwn.net/gitdm.git
like:  git log --decorate v5.4.100^..v5.4.211 | stablefixes

The resulting stable-fixes.html was checked for entries with fixes
that got added later than v5.4.203 of regressions introduced earlier
than that version.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-08-26 16:38:02 +02:00
Thomas Lamprecht
60a431b5fd rebase patches on top of Ubuntu-5.4.0-126.142
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-08-26 14:42:56 +02:00
Thomas Lamprecht
deaf04345e update sources to Ubuntu-5.4.0-126.142
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-08-26 14:42:56 +02:00
Thomas Lamprecht
d33b94b407 update ABI file for 5.4.195-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-13 13:45:06 +02:00
Thomas Lamprecht
9ea98bbe8e bump version to 5.4.195-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-13 13:20:10 +02:00
Thomas Lamprecht
f9e8708607 update sources to Ubuntu-5.4.0-123.139
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-13 13:15:44 +02:00
Thomas Lamprecht
d218c2c38e update ABI file for 5.4.192-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-23 12:16:50 +02:00
Thomas Lamprecht
c82c59a3d4 bump version to 5.4.192-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-23 11:56:36 +02:00
Thomas Lamprecht
384f9c14cf rebase patches on top of Ubuntu-5.4.0-122.138
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-23 10:33:27 +02:00
Thomas Lamprecht
75ff911cd0 update sources to Ubuntu-5.4.0-122.138
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-23 10:33:27 +02:00
Fabian Grünbichler
ab14960899 update ABI file for 5.4.189-2-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-13 13:41:06 +02:00
Fabian Grünbichler
4b77d2927f bump version to 5.4.189-2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-13 13:10:02 +02:00
Fabian Grünbichler
18fc3af8e5 d/control: add dwarves B-D
without it the build fails for lack of `pahole`. note that in bullseye
and later, the dwarves-dfsg source package got renamed, and the pahole
binary split into its own binary package called `pahole`. the required
version is only available via buster-backports.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-13 12:10:07 +02:00
Fabian Grünbichler
5c1696be0c update sources to Ubuntu-5.4.0-117.132
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-06-13 09:39:23 +02:00
Thomas Lamprecht
1a4013e9e2 update ABI file for 5.4.189-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-11 07:33:55 +02:00
Thomas Lamprecht
8e0b5d8931 bump version to 5.4.189-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-11 07:10:54 +02:00
Thomas Lamprecht
e6e243d359 rebase patches on top of Ubuntu-5.4.0-112.126
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-11 07:09:24 +02:00
Thomas Lamprecht
c2f10a7bb3 update sources to Ubuntu-5.4.0-112.126
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-11 07:09:24 +02:00
Thomas Lamprecht
05c68c9253 update ABI file for 5.4.178-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-31 07:09:51 +02:00
Thomas Lamprecht
c61d020839 bump version to 5.4.178-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-30 15:16:42 +02:00
Thomas Lamprecht
adaa1ed1b0 rebase patches on top of Ubuntu-5.4.0-108.122
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-30 15:15:41 +02:00
Thomas Lamprecht
38d6968961 update sources to Ubuntu-5.4.0-108.122
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-30 15:15:41 +02:00
Thomas Lamprecht
80a41f6354 update ABI file for 5.4.174-2-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-10 16:54:59 +01:00
Thomas Lamprecht
61ac9aca18 bump version to 5.4.174-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-10 16:21:27 +01:00
Thomas Lamprecht
24f053e52d update to Ubuntu-5.4.0-105.119
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-10 15:58:09 +01:00
Thomas Lamprecht
01f60dbd5e update ABI file for 5.4.174-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-21 09:10:03 +01:00
Thomas Lamprecht
344b784396 bump version to 5.4.174-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-21 08:21:47 +01:00
Thomas Lamprecht
9c27c5eb47 update sources/patches to Ubuntu-5.4.0-101.114
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-21 08:20:46 +01:00
Thomas Lamprecht
e89035c6af update ABI file for 5.4.166-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-02 10:32:11 +01:00
Thomas Lamprecht
a2169a9463 bump version to 5.4.166-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-02 08:05:53 +01:00
Thomas Lamprecht
6b191b0e13 update submodule to Ubuntu-5.4.0-98.111
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-02 08:05:26 +01:00
Thomas Lamprecht
36afc72ee7 bump version to 5.4.162-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-20 17:09:15 +01:00
Thomas Lamprecht
fd3839f733 backport "vfs: fs_context: fix up param length parsing in legacy_parse_param"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit fc0472a18f)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-20 17:06:05 +01:00
Thomas Lamprecht
12596da3c2 update ABI file for 5.4.162-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-12 19:34:09 +01:00
Thomas Lamprecht
304314fb8f bump version to 5.4.162-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-12 18:50:19 +01:00
Thomas Lamprecht
a5424f26ff update ZFS module to 2.0.7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-12 18:49:26 +01:00
Thomas Lamprecht
86127be35d rebase patches on top of Ubuntu-5.4.0-95.107
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-12 18:43:49 +01:00
Thomas Lamprecht
6d27ecc907 update sources to Ubuntu-5.4.0-95.107
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-12 18:43:49 +01:00
Thomas Lamprecht
9fc612b928 update ABI file for 5.4.157-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-29 12:55:26 +01:00
Thomas Lamprecht
7216aed92b bump version to 5.4.157-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-29 12:14:34 +01:00
Thomas Lamprecht
4ae51f204a d/rules: fix revocation keys config from ubuntu for us
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-29 12:14:34 +01:00
Thomas Lamprecht
f8b324a82f rebase patches on top of Ubuntu-5.4.0-92.103
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-29 11:59:57 +01:00
Thomas Lamprecht
09ab71333a update sources to Ubuntu-5.4.0-92.103
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-29 11:59:57 +01:00
Thomas Lamprecht
28b6460ee9 update ABI file for 5.4.151-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-06 16:40:09 +01:00
Thomas Lamprecht
6d461b2d33 bump version to 5.4.151-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-06 16:10:27 +01:00
Thomas Lamprecht
e1db45b15e rebase patches on top of Ubuntu-5.4.0-91.102
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-06 16:09:48 +01:00
Thomas Lamprecht
624ad631a5 update sources to Ubuntu-5.4.0-91.102
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-06 16:09:48 +01:00
Thomas Lamprecht
0e3917d51f update ABI file for 5.4.148-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 15:46:54 +02:00
Thomas Lamprecht
09e761dba8 bump version to 5.4.148-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 15:24:43 +02:00
Thomas Lamprecht
ced00e40e2 rebase patches on top of Ubuntu-5.4.0-90.101
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 15:23:41 +02:00
Thomas Lamprecht
d930563013 update sources to Ubuntu-5.4.0-90.101
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 15:23:41 +02:00
Thomas Lamprecht
94c8fa26c9 update ABI file for 5.4.143-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 09:55:31 +02:00
Thomas Lamprecht
aff7c5e55d bump version to 5.4.143-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 09:21:29 +02:00
Thomas Lamprecht
ec345ffc74 update ZFS to 2.0.6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 09:21:07 +02:00
Thomas Lamprecht
f4485c6c02 fix #3558: backport "bnx2x: Fix enabling network interfaces without VFs"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit ab1510cecd)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 09:21:07 +02:00
Thomas Lamprecht
79281c1321 update submodule to Ubuntu-5.4.0-89.100
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-28 09:21:07 +02:00
Thomas Lamprecht
81f24f4c36 buildsys: add missing pbs to upload target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 09:50:59 +02:00
Thomas Lamprecht
19ab15b7a3 buildsys add dbgsym package from linux-tools to DEBS/upload
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 2c3b526416)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 09:48:35 +02:00
Thomas Lamprecht
cac072e773 update ABI file for 5.4.140-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 08:50:56 +02:00
Thomas Lamprecht
f12aea9cac update fwlist
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-09 08:49:35 +02:00
Thomas Lamprecht
ebbe0c5101 bump version to 5.4.140-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:22:10 +02:00
Thomas Lamprecht
0fb400434c zfs: update for cherry-pick "Revert Consolidate arc_buf allocation checks"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 16:21:50 +02:00
Thomas Lamprecht
9276de2e36 rebase patches on top of Ubuntu-5.4.0-85.95
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 15:29:38 +02:00
Thomas Lamprecht
8c7431e839 update sources to Ubuntu-5.4.0-85.95
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-08 15:29:38 +02:00
Stoiko Ivanov
35eed63155 bump version to 5.4.128-2
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-08-19 10:13:14 +02:00
Stoiko Ivanov
f290af2cd5 cherry-pick fixes for CVE-2021-3653 and CVE-2021-3656
from ubuntu-focal upstream/master-next

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-08-19 10:13:09 +02:00
Thomas Lamprecht
916656976b update ABI file for 5.4.128-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 18:56:07 +02:00
Thomas Lamprecht
701d2bac1b bump version to 5.4.128-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 18:32:09 +02:00
Thomas Lamprecht
a9d3e3c380 rebase patches on top of Ubuntu-5.4.0-81.91
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 18:30:41 +02:00
Thomas Lamprecht
0a9202604f update sources to Ubuntu-5.4.0-81.91
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 18:30:41 +02:00
Thomas Lamprecht
49aec382fe backport ZFS 2.0.5 update
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-21 18:30:17 +02:00
Thomas Lamprecht
60c7ce8ccc bump version to 5.4.124-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-20 21:43:56 +02:00
Thomas Lamprecht
c0ccc95d9a backport "seq_file: disallow extremely large seq buffer allocations"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-20 21:43:00 +02:00
Thomas Lamprecht
1733af1256 update ABI file for 5.4.124-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 15:20:55 +02:00
Thomas Lamprecht
bea47224e7 bump version to 5.4.124-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:47:16 +02:00
Thomas Lamprecht
36eda89b86 buildsys: add user header package to DEBS variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit e9850bee3f)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:46:16 +02:00
Fabian Grünbichler
c90a7b384c d/control: provide linux-libc-dev with version
needed for it to be a proper replacement for linux-libc-dev when
resolving dependencies, such as for liburing-dev

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 3636c8611a)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:41:18 +02:00
Thomas Lamprecht
dd03250dc8 rebase patches on top of Ubuntu-5.4.0-78.87
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:30:20 +02:00
Thomas Lamprecht
ac46634ed1 update sources to Ubuntu-5.4.0-78.87
(generated with debian/scripts/import-upstream-tag)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:30:20 +02:00
Thomas Lamprecht
8121a674a1 debian/scripts: --output-dir is not recoginzed anymore, use --output-directory
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 50953e9e4c)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:29:43 +02:00
Thomas Lamprecht
5c9ca70ef3 debian/scripts: use printf to ensure \t is actually printewd as tab
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 2819784679)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 13:29:43 +02:00
Thomas Lamprecht
7e2796e160 update ABI file for 5.4.119-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-01 16:00:18 +02:00
Thomas Lamprecht
bcd11a2cce bump version to 5.4.119-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-01 15:32:31 +02:00
Thomas Lamprecht
24755f9c71 update submodule and patches to Ubuntu-5.4.0-75.84
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-01 15:31:33 +02:00
Thomas Lamprecht
ee60bb7ce0 update ABI file for 5.4.114-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-09 17:39:49 +02:00
Thomas Lamprecht
cd81f880a4 bump version to 5.4.114-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-09 17:13:31 +02:00
Thomas Lamprecht
6af8a76c7f update to Ubuntu-5.4.0-74.83
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-09 17:01:56 +02:00
Thomas Lamprecht
6be7078ae0 update ABI file for 5.4.106-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-19 14:01:32 +01:00
Thomas Lamprecht
c3fdfb17a5 bump version to 5.4.106-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-19 11:08:54 +01:00
Thomas Lamprecht
fc2e5bd657 update focal submodule to Proxmox-5.4.106-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-19 11:07:53 +01:00
Thomas Lamprecht
447fbc7008 update ZFS to 2.0.4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 13:36:12 +01:00
Thomas Lamprecht
aed65cb97b update ABI file for 5.4.103-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-07 17:19:33 +01:00
Thomas Lamprecht
04a72a8970 bump version to 5.4.103-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-07 16:34:57 +01:00
Thomas Lamprecht
c3459f5147 drop patches applied upstream
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-07 16:34:57 +01:00
Thomas Lamprecht
67b7f5c72a cherry-pick stable releases 5.4.102 and 5.4.103
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-07 16:34:57 +01:00
Thomas Lamprecht
9410e09737 update ABI file for 5.4.101-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 14:15:13 +01:00
Thomas Lamprecht
7c6fb61916 bump version to 5.4.101-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 13:45:26 +01:00
Thomas Lamprecht
77470417db d/rules: disable CONFIG_SYSTEM_TRUSTED_KEYS config
we do not use module signing currently.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 13:45:26 +01:00
Thomas Lamprecht
cbc90f2383 backport "kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 13:45:26 +01:00
Thomas Lamprecht
4078fc25f1 update to 5.4.101 stable release
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 13:45:26 +01:00
Thomas Lamprecht
5b0d645b50 cosmetical update of zfsonlinux submodule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-25 13:53:50 +01:00
Thomas Lamprecht
996fdfe192 update ABI file for 5.4.98-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 19:17:23 +01:00
Thomas Lamprecht
6d861e84e6 bump version to 5.4.91-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 17:39:50 +01:00
Thomas Lamprecht
3261e6e147 update kernel to 5.4.98 stable release
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 17:19:08 +01:00
Thomas Lamprecht
3e5eaeade4 update ZFS on Linux to 2.0.3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-15 17:19:08 +01:00
Thomas Lamprecht
f261ed26fa update ZFS to 2.0.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-06 10:23:42 +01:00
Thomas Lamprecht
46f9b46ea1 update ABI file for 5.4.86-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-28 15:53:03 +01:00
Thomas Lamprecht
8603b9e2f3 bump version to 5.4.86-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-28 15:04:18 +01:00
Thomas Lamprecht
0657a49870 update submodule and patches to Ubuntu-5.4.0-66.74
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-28 14:55:45 +01:00
22 changed files with 24367 additions and 23883 deletions

View File

@ -1,12 +1,12 @@
# also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change
KERNEL_MAJ=5
KERNEL_MIN=4
KERNEL_PATCHLEVEL=78
KERNEL_PATCHLEVEL=203
# increment KREL if the ABI changes (abicheck target in debian/rules)
# rebuild packages with new KREL and run 'make abiupdate'
KREL=2
KREL=1
PKGREL=2
PKGREL=1
KERNEL_MAJMIN=$(KERNEL_MAJ).$(KERNEL_MIN)
KERNEL_VER=$(KERNEL_MAJMIN).$(KERNEL_PATCHLEVEL)
@ -46,9 +46,11 @@ DIRS=KERNEL_SRC ZFSDIR MODULES
DST_DEB=${PACKAGE}_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
HDR_DEB=${HDRPACKAGE}_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
USR_HDR_DEB=pve-kernel-libc-dev_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
LINUX_TOOLS_DEB=linux-tools-$(KERNEL_MAJMIN)_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
LINUX_TOOLS_DBG_DEB=linux-tools-$(KERNEL_MAJMIN)-dbgsym_${KERNEL_VER}-${PKGREL}_${ARCH}.deb
DEBS=${DST_DEB} ${HDR_DEB} ${LINUX_TOOLS_DEB}
DEBS=${DST_DEB} ${HDR_DEB} ${USR_HDR_DEB} ${LINUX_TOOLS_DEB} ${LINUX_TOOLS_DBG_DEB}
all: deb
deb: ${DEBS}
@ -102,7 +104,7 @@ ${ZFSDIR}.prepared: ${ZFSONLINUX_SUBMODULE}
.PHONY: upload
upload: ${DEBS}
tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist buster --arch ${ARCH}
tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster --arch ${ARCH}
.PHONY: distclean
distclean: clean

23836
abi-prev-5.4.203-1-pve Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

206
debian/changelog vendored
View File

@ -1,3 +1,209 @@
pve-kernel (5.4.203-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-126.142
-- Proxmox Support Team <support@proxmox.com> Fri, 26 Aug 2022 14:43:35 +0200
pve-kernel (5.4.195-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-123.139
-- Proxmox Support Team <support@proxmox.com> Wed, 13 Jul 2022 13:19:46 +0200
pve-kernel (5.4.192-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-122.138
-- Proxmox Support Team <support@proxmox.com> Thu, 23 Jun 2022 11:56:26 +0200
pve-kernel (5.4.189-2) buster; urgency=medium
* update sources to Ubuntu-5.4.0-117.132
* fixes: CVE-2022-1966, CVE-2022-21499, CVE-2022-28390, CVE-2022-29581,
CVE-2022-1116
* bump ABI to 5.4.189-2
-- Proxmox Support Team <support@proxmox.com> Mon, 13 Jun 2022 09:39:53 +0200
pve-kernel (5.4.189-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-112.126
-- Proxmox Support Team <support@proxmox.com> Wed, 11 May 2022 07:10:20 +0200
pve-kernel (5.4.178-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-108.122
-- Proxmox Support Team <support@proxmox.com> Wed, 30 Mar 2022 15:16:31 +0200
pve-kernel (5.4.174-2) buster; urgency=medium
* update sources to Ubuntu-5.4.0-105.119
* bump ABI to 5.4.174-2
-- Proxmox Support Team <support@proxmox.com> Thu, 10 Mar 2022 15:58:44 +0100
pve-kernel (5.4.174-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-101.114
-- Proxmox Support Team <support@proxmox.com> Mon, 21 Feb 2022 08:21:31 +0100
pve-kernel (5.4.166-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-98.111
-- Proxmox Support Team <support@proxmox.com> Wed, 02 Feb 2022 08:05:40 +0100
pve-kernel (5.4.162-2) buster; urgency=medium
* backport "vfs: fs_context: fix up param length parsing in
legacy_parse_param"
-- Proxmox Support Team <support@proxmox.com> Thu, 20 Jan 2022 16:38:53 +0100
pve-kernel (5.4.162-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-95.107
* bump ABI to 5.4.162-1
* update ZFS to 2.0.7
-- Proxmox Support Team <support@proxmox.com> Wed, 12 Jan 2022 18:49:53 +0100
pve-kernel (5.4.157-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-92.103
* bump ABI to 5.4.157-1
-- Proxmox Support Team <support@proxmox.com> Mon, 29 Nov 2021 12:01:44 +0100
pve-kernel (5.4.151-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-91.102
* bump ABI to 5.4.151-1
-- Proxmox Support Team <support@proxmox.com> Sat, 06 Nov 2021 16:10:09 +0100
pve-kernel (5.4.148-1) buster; urgency=medium
* update sources to Ubuntu-5.4.0-90.101
* bump ABI to 5.4.148-1
-- Proxmox Support Team <support@proxmox.com> Mon, 18 Oct 2021 15:24:06 +0200
pve-kernel (5.4.143-1) buster; urgency=medium
* update Sources to Ubuntu-5.4.0-89.100
* bump ABI to 5.4.143-1
* update ZFS to 2.0.6
* fix #3558: backport "bnx2x: Fix enabling network interfaces without VFs"
-- Proxmox Support Team <support@proxmox.com> Tue, 28 Sep 2021 09:10:37 +0200
pve-kernel (5.4.140-1) buster; urgency=medium
* update sources to 5.4.140 stable release based on Ubuntu-5.4.0-85.95
* ZFS: cherry-pick revert of "Consolidate arc_buf allocation checks" (ZFS GH
issue #11531)
-- Proxmox Support Team <support@proxmox.com> Wed, 08 Sep 2021 16:21:59 +0200
pve-kernel (5.4.128-2) buster; urgency=medium
* cherry-pick fixes for CVE-2021-3656 and CVE-2021-3653
-- Proxmox Support Team <support@proxmox.com> Wed, 18 Aug 2021 16:20:02 +0200
pve-kernel (5.4.128-1) buster; urgency=medium
* update sources to 5.4.128 stable release based on Ubuntu-5.4.0-81.91
* update ZFS to 2.0.5
-- Proxmox Support Team <support@proxmox.com> Wed, 21 Jul 2021 18:32:02 +0200
pve-kernel (5.4.124-2) buster; urgency=medium
* fix CVE-2021-33909: seq_file: disallow extremely large seq buffer
allocations
-- Proxmox Support Team <support@proxmox.com> Tue, 20 Jul 2021 21:43:44 +0200
pve-kernel (5.4.124-1) buster; urgency=medium
* update sources to 5.4.124 stable release based on Ubuntu-5.4.0-78.87
* pve-kernel-libc-dev: add version to Provides dependency field for
linux-libc-dev to satisfy versioned dependencies from other packages
-- Proxmox Support Team <support@proxmox.com> Wed, 23 Jun 2021 13:47:09 +0200
pve-kernel (5.4.119-1) buster; urgency=medium
* update sources to 5.4.119 stable release based on Ubuntu-5.4.0-75.84
-- Proxmox Support Team <support@proxmox.com> Tue, 01 Jun 2021 15:32:00 +0200
pve-kernel (5.4.114-1) buster; urgency=medium
* update sources to 5.4.114 stable release based on Ubuntu-5.4.0-74.83
-- Proxmox Support Team <support@proxmox.com> Sun, 09 May 2021 17:13:05 +0200
pve-kernel (5.4.106-1) pve pmg; urgency=medium
* update sources to 5.4.106 stable release
* update ZFS to 2.0.4
-- Proxmox Support Team <support@proxmox.com> Fri, 19 Mar 2021 11:08:47 +0100
pve-kernel (5.4.103-1) pve pmg; urgency=medium
* update sources to 5.4.103 stable release
-- Proxmox Support Team <support@proxmox.com> Sun, 07 Mar 2021 15:55:09 +0100
pve-kernel (5.4.101-1) pve pmg; urgency=medium
* update sources to 5.4.101 stable release
* fix #3320: backport "kvm: x86: replace kvm_spec_ctrl_test_value with
runtime test on the host"
-- Proxmox Support Team <support@proxmox.com> Fri, 26 Feb 2021 13:13:09 +0100
pve-kernel (5.4.98-1) pve pmg; urgency=medium
* update sources to 5.4.98 stable release
* update ZFS to 2.0.3
-- Proxmox Support Team <support@proxmox.com> Mon, 15 Feb 2021 16:33:27 +0100
pve-kernel (5.4.86-1) pve pmg; urgency=medium
* update sources to Ubuntu-5.4.0-66.74
* bump ABI to 5.4.86-1
* update ZFS to 2.0.1
-- Proxmox Support Team <support@proxmox.com> Thu, 28 Jan 2021 14:56:38 +0100
pve-kernel (5.4.78-2) pve pmg; urgency=medium
* revert commit 552b270b5784dc3 "scsi: be2iscsi: Fix a theoretical leak in

5
debian/control.in vendored
View File

@ -9,6 +9,7 @@ Build-Depends: asciidoc-base,
cpio,
debhelper (>= 10~),
dh-python,
dwarves (>= 1.13~),
file,
flex,
gcc (>= 8.3.0-6),
@ -25,7 +26,7 @@ Build-Depends: asciidoc-base,
lintian,
lz4,
perl-modules,
python-minimal,
python2-minimal,
rsync,
sed,
sphinx-common,
@ -74,7 +75,7 @@ Package: pve-kernel-libc-dev
Section: devel
Priority: optional
Architecture: any
Provides: linux-libc-dev,
Provides: linux-libc-dev (=${binary:Version}),
Conflicts: linux-libc-dev,
Replaces: linux-libc-dev,
Depends: ${misc:Depends}

2
debian/rules vendored
View File

@ -73,6 +73,8 @@ PVE_CONFIG_OPTS= \
-d CONFIG_UNWINDER_ORC \
-d CONFIG_UNWINDER_GUESS \
-e CONFIG_UNWINDER_FRAME_POINTER \
--set-str CONFIG_SYSTEM_TRUSTED_KEYS ""\
--set-str CONFIG_SYSTEM_REVOCATION_KEYS ""\
-d CONFIG_SECURITY_LOCKDOWN_LSM \
-d CONFIG_SECURITY_LOCKDOWN_LSM_EARLY \
--set-str CONFIG_LSM yama,integrity,apparmor \

View File

@ -6,7 +6,7 @@ top=$(pwd)
if [ "$#" -ne 3 ]; then
echo "USAGE: $0 repo patchdir ref"
echo "\t exports patches from 'repo' to 'patchdir' based on 'ref'"
printf "\t exports patches from 'repo' to 'patchdir' based on 'ref'\n"
exit 1
fi
@ -26,10 +26,9 @@ git format-patch \
--zero-commit \
--no-signature \
--diff-algorithm=myers \
--output-dir \
"${top}/${kernel_patchdir}" \
--output-directory="${top}/${kernel_patchdir}" \
"${base_ref}.."
git checkout ${base_ref}
git checkout "${base_ref}"
cd "${top}"

View File

@ -14,6 +14,9 @@ advansys/mcode.bin kernel/drivers/scsi/advansys.ko
agere_ap_fw.bin kernel/drivers/net/wireless/intersil/orinoco/orinoco.ko
agere_sta_fw.bin kernel/drivers/net/wireless/intersil/orinoco/orinoco.ko
aic94xx-seq.fw kernel/drivers/scsi/aic94xx/aic94xx.ko
amd/amd_sev_fam17h_model0xh.sbin kernel/drivers/crypto/ccp/ccp.ko
amd/amd_sev_fam17h_model3xh.sbin kernel/drivers/crypto/ccp/ccp.ko
amd/amd_sev_fam19h_model0xh.sbin kernel/drivers/crypto/ccp/ccp.ko
amdgpu/banks_k_2_smc.bin kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
amdgpu/bonaire_ce.bin kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
amdgpu/bonaire_k_smc.bin kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko

View File

@ -21,7 +21,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index d1d757c6edf4..7b57571cf574 100755
index 06c1e9e3bc38..6e7012175600 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -34,10 +34,14 @@ else

View File

@ -55,10 +55,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 files changed, 111 insertions(+)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 6351dd00e363..7e8ea458052b 100644
index 1520dc3ad4d2..d3db42dface6 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3441,6 +3441,15 @@
@@ -3489,6 +3489,15 @@
Also, it enforces the PCI Local Bus spec
rule that those bits should be 0 in system reset
events (useful for kexec/kdump cases).
@ -75,10 +75,10 @@ index 6351dd00e363..7e8ea458052b 100644
Safety option to keep boot IRQs enabled. This
should never be necessary.
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 706f27a86a8e..c3eac7a5426e 100644
index ff07d35046b0..81f720abe39e 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -192,6 +192,106 @@ static int __init pci_apply_final_quirks(void)
@@ -193,6 +193,106 @@ static int __init pci_apply_final_quirks(void)
}
fs_initcall_sync(pci_apply_final_quirks);
@ -185,8 +185,8 @@ index 706f27a86a8e..c3eac7a5426e 100644
/*
* Decoding should be disabled for a PCI device during BAR sizing to avoid
* conflict. But doing so may cause problems on host bridge and perhaps other
@@ -4825,6 +4925,8 @@ static const struct pci_dev_acs_enabled {
{ PCI_VENDOR_ID_CAVIUM, PCI_ANY_ID, pci_quirk_cavium_acs },
@@ -4948,6 +5048,8 @@ static const struct pci_dev_acs_enabled {
{ PCI_VENDOR_ID_CAVIUM, 0xA060, pci_quirk_mf_endpoint_acs },
/* APM X-Gene */
{ PCI_VENDOR_ID_AMCC, 0xE004, pci_quirk_xgene_acs },
+ /* Enable overrides for missing ACS capabilities */

View File

@ -13,7 +13,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 8769538a3d1d..d540a7d7f85c 100644
index 98edde13ec17..8344711583bc 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -76,7 +76,7 @@ module_param(halt_poll_ns, uint, 0644);

View File

@ -18,7 +18,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 2a1ed3aae100..c5dd076e8e61 100644
index 435dfebf5867..82c2afe46ebf 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -103,7 +103,7 @@ module_param(enable_apicv, bool, S_IRUGO);

View File

@ -10,10 +10,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 134add2cc8da..5be8d3b4cf68 100644
index f2c6fc836f9d..8940c12333b0 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -9279,7 +9279,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
@@ -9368,7 +9368,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
refcnt = netdev_refcnt_read(dev);
if (refcnt && time_after(jiffies, warning_time + 10 * HZ)) {

View File

@ -1,47 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Date: Thu, 3 Dec 2020 07:45:18 +0100
Subject: [PATCH] Revert "scsi: be2iscsi: Fix a theoretical leak in
beiscsi_create_eqs()"
This reverts commit 552b270b5784dc322807df89eb359e74fc570fde.
---
drivers/scsi/be2iscsi/be_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 0fa455357594..0760d0bd8a10 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3020,7 +3020,6 @@ static int beiscsi_create_eqs(struct beiscsi_hba *phba,
goto create_eq_error;
}
- mem->dma = paddr;
mem->va = eq_vaddress;
ret = be_fill_queue(eq, phba->params.num_eq_entries,
sizeof(struct be_eq_entry), eq_vaddress);
@@ -3030,6 +3029,7 @@ static int beiscsi_create_eqs(struct beiscsi_hba *phba,
goto create_eq_error;
}
+ mem->dma = paddr;
ret = beiscsi_cmd_eq_create(&phba->ctrl, eq,
BEISCSI_EQ_DELAY_DEF);
if (ret) {
@@ -3086,7 +3086,6 @@ static int beiscsi_create_cqs(struct beiscsi_hba *phba,
goto create_cq_error;
}
- mem->dma = paddr;
ret = be_fill_queue(cq, phba->params.num_cq_entries,
sizeof(struct sol_cqe), cq_vaddress);
if (ret) {
@@ -3096,6 +3095,7 @@ static int beiscsi_create_cqs(struct beiscsi_hba *phba,
goto create_cq_error;
}
+ mem->dma = paddr;
ret = beiscsi_cmd_cq_create(&phba->ctrl, cq, eq, false,
false, 0);
if (ret) {

View File

@ -39,7 +39,7 @@ index c5e6eff5a381..ba0ded7842a7 100644
exact_match, exact_lock, p);
if (error)
diff --git a/fs/namei.c b/fs/namei.c
index 311da290a58d..4d46e093c4ea 100644
index f9c46c7abd80..a5e907558b88 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3690,12 +3690,14 @@ EXPORT_SYMBOL(user_path_create);
@ -104,7 +104,7 @@ index 8557efe096dc..fc989487c273 100644
type = DEVCG_DEV_BLOCK;
else
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 21f93dfaf9d0..ae31b55fb69c 100644
index 2bd06577c02a..fc22bade5b21 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1719,7 +1719,11 @@ extern int vfs_link(struct dentry *, struct inode *, struct dentry *, struct ino

View File

@ -0,0 +1,35 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chuck Lever <chuck.lever@oracle.com>
Date: Thu, 30 Jun 2022 16:48:18 -0400
Subject: [PATCH] SUNRPC: Fix READ_PLUS crasher
commit a23dd544debcda4ee4a549ec7de59e85c3c8345c upstream.
Looks like there are still cases when "space_left - frag1bytes" can
legitimately exceed PAGE_SIZE. Ensure that xdr->end always remains
within the current encode buffer.
Reported-by: Bruce Fields <bfields@fieldses.org>
Reported-by: Zorro Lang <zlang@redhat.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216151
Fixes: 6c254bf3b637 ("SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
net/sunrpc/xdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c
index cb8740d15633..daa4165f1179 100644
--- a/net/sunrpc/xdr.c
+++ b/net/sunrpc/xdr.c
@@ -608,7 +608,7 @@ static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr,
*/
xdr->p = (void *)p + frag2bytes;
space_left = xdr->buf->buflen - xdr->buf->len;
- if (space_left - nbytes >= PAGE_SIZE)
+ if (space_left - frag1bytes >= PAGE_SIZE)
xdr->end = (void *)p + PAGE_SIZE;
else
xdr->end = (void *)p + space_left - frag1bytes;

View File

@ -0,0 +1,42 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Trond Myklebust <trond.myklebust@hammerspace.com>
Date: Tue, 2 Aug 2022 15:48:50 -0400
Subject: [PATCH] NFSv4/pnfs: Fix a use-after-free bug in open
commit 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac upstream.
If someone cancels the open RPC call, then we must not try to free
either the open slot or the layoutget operation arguments, since they
are likely still in use by the hung RPC call.
Fixes: 6949493884fe ("NFSv4: Don't hold the layoutget locks across multiple RPC calls")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
fs/nfs/nfs4proc.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index eee2d67d3ac9..831a16fec616 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -3041,12 +3041,13 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata,
}
out:
- if (opendata->lgp) {
- nfs4_lgopen_release(opendata->lgp);
- opendata->lgp = NULL;
- }
- if (!opendata->cancelled)
+ if (!opendata->cancelled) {
+ if (opendata->lgp) {
+ nfs4_lgopen_release(opendata->lgp);
+ opendata->lgp = NULL;
+ }
nfs4_sequence_free_slot(&opendata->o_res.seq_res);
+ }
return ret;
}

View File

@ -0,0 +1,70 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Nilesh Javali <njavali@marvell.com>
Date: Tue, 12 Jul 2022 22:20:36 -0700
Subject: [PATCH] scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
commit 5bc7b01c513a4a9b4cfe306e8d1720cfcfd3b8a3 upstream.
This fixes the regression of NVMe discovery failure during driver load
time.
This reverts commit 6a45c8e137d4e2c72eecf1ac7cf64f2fdfcead99.
Link: https://lore.kernel.org/r/20220713052045.10683-2-njavali@marvell.com
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
drivers/scsi/qla2xxx/qla_init.c | 5 ++---
drivers/scsi/qla2xxx/qla_nvme.c | 5 -----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 1800eb0aad1c..c662c8af6cc1 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5422,8 +5422,6 @@ qla2x00_reg_remote_port(scsi_qla_host_t *vha, fc_port_t *fcport)
if (atomic_read(&fcport->state) == FCS_ONLINE)
return;
- qla2x00_set_fcport_state(fcport, FCS_ONLINE);
-
rport_ids.node_name = wwn_to_u64(fcport->node_name);
rport_ids.port_name = wwn_to_u64(fcport->port_name);
rport_ids.port_id = fcport->d_id.b.domain << 16 |
@@ -5519,7 +5517,6 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport)
qla2x00_reg_remote_port(vha, fcport);
break;
case MODE_TARGET:
- qla2x00_set_fcport_state(fcport, FCS_ONLINE);
if (!vha->vha_tgt.qla_tgt->tgt_stop &&
!vha->vha_tgt.qla_tgt->tgt_stopped)
qlt_fc_port_added(vha, fcport);
@@ -5534,6 +5531,8 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport)
break;
}
+ qla2x00_set_fcport_state(fcport, FCS_ONLINE);
+
if (IS_IIDMA_CAPABLE(vha->hw) && vha->hw->flags.gpsc_supported) {
if (fcport->id_changed) {
fcport->id_changed = 0;
diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c
index a15af048cd82..f0de7089e9ae 100644
--- a/drivers/scsi/qla2xxx/qla_nvme.c
+++ b/drivers/scsi/qla2xxx/qla_nvme.c
@@ -36,11 +36,6 @@ int qla_nvme_register_remote(struct scsi_qla_host *vha, struct fc_port *fcport)
(fcport->nvme_flag & NVME_FLAG_REGISTERED))
return 0;
- if (atomic_read(&fcport->state) == FCS_ONLINE)
- return 0;
-
- qla2x00_set_fcport_state(fcport, FCS_ONLINE);
-
fcport->nvme_flag &= ~NVME_FLAG_RESETTING;
memset(&req, 0, sizeof(struct nvme_fc_port_info));

View File

@ -0,0 +1,73 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Li Lingfeng <lilingfeng3@huawei.com>
Date: Fri, 17 Jun 2022 14:25:15 +0800
Subject: [PATCH] ext4: recover csum seed of tmp_inode after migrating to
extents
[ Upstream commit 07ea7a617d6b278fb7acedb5cbe1a81ce2de7d0c ]
When migrating to extents, the checksum seed of temporary inode
need to be replaced by inode's, otherwise the inode checksums
will be incorrect when swapping the inodes data.
However, the temporary inode can not match it's checksum to
itself since it has lost it's own checksum seed.
mkfs.ext4 -F /dev/sdc
mount /dev/sdc /mnt/sdc
xfs_io -fc "pwrite 4k 4k" -c "fsync" /mnt/sdc/testfile
chattr -e /mnt/sdc/testfile
chattr +e /mnt/sdc/testfile
umount /dev/sdc
fsck -fn /dev/sdc
========
...
Pass 1: Checking inodes, blocks, and sizes
Inode 13 passes checks, but checksum does not match inode. Fix? no
...
========
The fix is simple, save the checksum seed of temporary inode, and
recover it after migrating to extents.
Fixes: e81c9302a6c3 ("ext4: set csum seed in tmp inode while migrating to extents")
Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220617062515.2113438-1-lilingfeng3@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
fs/ext4/migrate.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index c5b2ea1a9372..1faa8e4ffb9d 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -435,7 +435,7 @@ int ext4_ext_migrate(struct inode *inode)
struct inode *tmp_inode = NULL;
struct migrate_struct lb;
unsigned long max_entries;
- __u32 goal;
+ __u32 goal, tmp_csum_seed;
uid_t owner[2];
/*
@@ -483,6 +483,7 @@ int ext4_ext_migrate(struct inode *inode)
* the migration.
*/
ei = EXT4_I(inode);
+ tmp_csum_seed = EXT4_I(tmp_inode)->i_csum_seed;
EXT4_I(tmp_inode)->i_csum_seed = ei->i_csum_seed;
i_size_write(tmp_inode, i_size_read(inode));
/*
@@ -593,6 +594,7 @@ int ext4_ext_migrate(struct inode *inode)
* the inode is not visible to user space.
*/
tmp_inode->i_blocks = 0;
+ EXT4_I(tmp_inode)->i_csum_seed = tmp_csum_seed;
/* Reset the extent details */
ext4_ext_tree_init(handle, tmp_inode);

View File

@ -0,0 +1,72 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris.p.wilson@intel.com>
Date: Tue, 12 Jul 2022 16:21:33 +0100
Subject: [PATCH] drm/i915/gt: Serialize TLB invalidates with GT resets
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[ Upstream commit a1c5a7bf79c1faa5633b918b5c0666545e84c4d1 ]
Avoid trying to invalidate the TLB in the middle of performing an
engine reset, as this may result in the reset timing out. Currently,
the TLB invalidate is only serialised by its own mutex, forgoing the
uncore lock, but we can take the uncore->lock as well to serialise
the mmio access, thereby serialising with the GDRST.
Tested on a NUC5i7RYB, BIOS RYBDWi35.86A.0380.2019.0517.1530 with
i915 selftest/hangcheck.
Cc: stable@vger.kernel.org # v4.4 and upper
Fixes: 7938d61591d3 ("drm/i915: Flush TLBs before releasing backing store")
Reported-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Tested-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1e59a7c45dd919a530256b9ac721ac6ea86c0677.1657639152.git.mchehab@kernel.org
(cherry picked from commit 33da97894758737895e90c909f16786052680ef4)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
drivers/gpu/drm/i915/gt/intel_gt.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c b/drivers/gpu/drm/i915/gt/intel_gt.c
index c8c070375d29..f6d7f5d307d7 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt.c
+++ b/drivers/gpu/drm/i915/gt/intel_gt.c
@@ -339,6 +339,20 @@ void intel_gt_invalidate_tlbs(struct intel_gt *gt)
mutex_lock(&gt->tlb_invalidate_lock);
intel_uncore_forcewake_get(uncore, FORCEWAKE_ALL);
+ spin_lock_irq(&uncore->lock); /* serialise invalidate with GT reset */
+
+ for_each_engine(engine, gt, id) {
+ struct reg_and_bit rb;
+
+ rb = get_reg_and_bit(engine, regs == gen8_regs, regs, num);
+ if (!i915_mmio_reg_offset(rb.reg))
+ continue;
+
+ intel_uncore_write_fw(uncore, rb.reg, rb.bit);
+ }
+
+ spin_unlock_irq(&uncore->lock);
+
for_each_engine(engine, gt, id) {
/*
* HW architecture suggest typical invalidation time at 40us,
@@ -353,7 +367,6 @@ void intel_gt_invalidate_tlbs(struct intel_gt *gt)
if (!i915_mmio_reg_offset(rb.reg))
continue;
- intel_uncore_write_fw(uncore, rb.reg, rb.bit);
if (__intel_wait_for_register_fw(uncore,
rb.reg, rb.bit, 0,
timeout_us, timeout_ms,

@ -1 +1 @@
Subproject commit f8a15b6729cff5f5a39e1c941fa36f61c511df34
Subproject commit 7417995cec9792f496981d190924a9672d0b9733

@ -1 +1 @@
Subproject commit 5548e2b0b1d21b6b8bf05ef1c1313d16be7df418
Subproject commit ff279e6b9bf2f678e59f33f6253a7fb74e8eb04c