L1TFv8
A message that is not in the archive (sent off-list or not yet received): [email protected]
On Wed, 13 Jun 2018, speck for Andi Kleen wrote:
Thanks for adding Message-IDs this time. Though now the remailer messed it up due to a recent change dealing with windooze mails.. Fixed now. I'm replaying the series. Sorry for the extra spam.
Thanks,
tglx
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.
I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Git bundle against Linus tree is attached.
Thanks,
tglx
Quoted 11 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.
Quoted 5 lines
I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because _PAGE_NUMA == _PAGE_PROTNONE. Not sure if this problem also exists upstream.
Andrea is looking into it (and I think he'll be joining this list shortly).
Signature · 1 line
Josh
Quoted 16 lines · speck for Josh Poimboeuf
Quoted 15 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Quoted 8 lines
Quoted 1 line
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because
_PAGE_NUMA==_PAGE_PROTNONE. Not sure if this problem also exists upstream.Andrea is looking into it (and I think he'll be joining this list shortly).
He's subscribed, so he should have received your mail already.
Thanks,
tglx
Quoted 16 lines · speck for Josh Poimboeuf
Quoted 15 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Quoted 5 lines
Quoted 1 line
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because
_PAGE_NUMA==_PAGE_PROTNONE. Not sure if this problem also exists upstream.
Not sure if there was a test with numa balancing on. I'll check. -Andi
Quoted 16 lines · speck for Josh Poimboeuf
Quoted 15 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Quoted 8 lines
Quoted 1 line
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because
_PAGE_NUMA==_PAGE_PROTNONE. Not sure if this problem also exists upstream.Andrea is looking into it (and I think he'll be joining this list shortly).
I did some testing and autonuma seems to work.
Shouldn't really anything special about numa hinting ptes. They get inverted of course, but the access macros all handle it.
-Andi
Quoted 16 lines · speck for Josh Poimboeuf
Quoted 15 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Quoted 8 lines
Quoted 1 line
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because
_PAGE_NUMA==_PAGE_PROTNONE. Not sure if this problem also exists upstream.Andrea is looking into it (and I think he'll be joining this list shortly).
The numa balancing pte encoding has changed not that long ago. Have a look at 21d9ee3eda77 and the pile from the same patch series (sorry I do not have the reference handy).
Signature · 2 lines
Michal Hocko SUSE Labs
Quoted 13 lines · speck for Michal Hocko
Quoted 12 lines · speck for Josh Poimboeuf
Quoted 11 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Git bundle against Linus tree is attached.
Hi Thomas,
I see you pushed that in the tree but I think you need to rebase, mainly:
commit 43d5c223374710cc41617ca6e33284eb1f646277 (speck/master, l1tf)
Author: speck for Andi Kleen <[email protected]> <== 'speck for' Date: Wed Jun 13 15:48:28 2018 -0700
x86/speculation/l1tf: Limit swap file size to MAX_PA/2
is on them.
Quoted 23 lines · speck for Konrad Rzeszutek Wilk
Quoted 13 lines · speck for Michal Hocko
Quoted 12 lines · speck for Josh Poimboeuf
Quoted 11 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Git bundle against Linus tree is attached.
Hi Thomas,
Quoted 7 lines
I see you pushed that in the tree but I think you need to rebase, mainly:
commit
43d5c223374710cc41617ca6e33284eb1f646277(speck/master, l1tf)Author: speck for Andi Kleen <[email protected]> <== 'speck for' Date: Wed Jun 13 15:48:28 2018 -0700x86/speculation/l1tf: Limit swap file size to MAX_PA/2
Blush. /me goes to fix
Quoted 1 line · speck for Thomas Gleixner
Blush. /me goes to fix
The branches are rebased to 4.18-rc1 and the latest stable versions. The fixed up series have been applied on top. Stable branches also have the new upstream commit references updated. All pushed out.
Bundle against 4.18-rc1 attached. Sorry for the churn.
Thanks,
tglx
Quoted 16 lines · speck for Josh Poimboeuf
Quoted 15 lines · speck for Thomas Gleixner
Quoted 8 lines · speck for Andi Kleen
This is v8 of the native OS patchkit to mitigate the L1TF side channel. It does not cover KVM.
This version addresses the latest review feedbacks. The mitigation setup has been moved into
check_bugs, and the memory size checking patch is now integrated into the standard setup. The swap mitigation has been split into two patches. Various other changes. For more details see the individual changelogs.I've picked up the whole set with a few edits and applied it to the master branch of the speck git repository and backported it to the linux-4.17.y, linux-4.16.y and linux-4.14.y branches.
Quoted 8 lines
Quoted 1 line
Git bundle against Linus tree is attached.
Has anyone tested these patches on a multi-node system with NUMA balancing enabled? We've see some panics on RHEL because
_PAGE_NUMA==_PAGE_PROTNONE. Not sure if this problem also exists upstream.Andrea is looking into it (and I think he'll be joining this list shortly).
This didn't have any follow up but I guess you have figured out in the meantime. So JFTR. We have encountered oopses on older 4.4 kernels as well. And it turned out that fd7e315988b7 ("x86/mm: Simplify p[g4um]d_page() macros") is really needed.
HTH
Signature · 2 lines
Michal Hocko SUSE Labs