| From: |
| Peter Zijlstra <peterz-AT-infradead.org> |
| To: |
| x86-AT-kernel.org |
| Subject: |
| [PATCH v2 0/6] x86: Add stright-line-speculation mitigations |
| Date: |
| Sat, 04 Dec 2021 14:43:38 +0100 |
| Message-ID: |
| <20211204134338.760603010@infradead.org> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, peterz-AT-infradead.org, keescook-AT-chromium.org, hjl.tools-AT-gmail.com, andrew.cooper3-AT-citrix.com, mark.rutland-AT-arm.com, will-AT-kernel.org, ndesaulniers-AT-google.com |
| Archive-link: |
| Article |
Respin and split of the SLS patch.
Since the old patch hit a snag, I've split up the patch as per popular demand.
New this time are patches 1 and 5 and some minor edits to the last patch, the
rest is mostly identical.
Patch 1 removes a 32bit (abuse) of the RET macro; which got exposed by the
build robot due to a change in the last patch (defining RET even for
!CONFIG_SLS). It would've been possible to revert to the old method of relying
on AS being case insensitive and RET being a valid instruction etc.. but I
figured that code was convoluted enough to warrant cleaning up anyway.
Patch 5 is what made Boris' machine go BUG when he tried to use the SLS patch.
Combined it seems to boot and build a kernel for me, so it must be perfect this
time (fingers crossed).