Re: [PATCH v9 00/17] Enable FSGSBASE instructions

From: Sasha Levin
Date: Sat Apr 25 2020 - 22:52:47 EST


On Sun, Apr 26, 2020 at 12:39:27AM +0200, Thomas Gleixner wrote:
Sasha Levin <sashal@xxxxxxxxxx> writes:
On Wed, Apr 22, 2020 at 04:00:16PM -0700, Andy Lutomirski wrote:

gdb and rr are certainly a good start. If patches show up, I'll take a look.

I'm sorry, but what patches are we talking about?

About patches which:

- Are rebased to current upstream

v10 of this series was sent a few days ago and is rebased on top of
v5.7-rc1:
https://lore.kernel.org/lkml/20200423232207.5797-1-sashal@xxxxxxxxxx/ .

- Addressed the outstanding review comments

I saw a review that Andy has just sent on patch #1 from the new series,
I'll address that.

- Have proper documentation in the changelog of the user space visible
ABI changes why it does not break any existing usage and having the
relevant people who maintain tools which utilize the affected
interfaces Cc'ed on submission.

The cover letter has references to mail correspondence with maintainers
of these tools that are affected by this change. Each of those exchanges
goes over what FSGSBASE does and answers any specific questions those
maintainers had.

If you want it out of the cover letter and into one of the patches I'd
be happy to do that. If you want me to go chase down another userspace
which we might be breaking just let me know which.

I didn't want to have them on the Cc line as they have already acked
this change from their end and I wanted to avoid additional noise. I'll
be happy to add them back to the next spin of this.

- Made sure that the cleanups I did when merging them initially have
been picked up. I'm not going to waste another couple of days on
this mess just to revert it because it hadn't seen any serious
testing in development.

Based on your revert
(https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/cpu&id=049331f277fef1c3f2527c2c9afa1d285e9a1247)
I believe that we have all the relevant patches in the series.

I'll also add here that several groups at Microsoft have been running
workloads that heavily exercise the functionality added by this patch.
I'd say that it has gotten a solid round of testing for the past few
months.

--
Thanks,
Sasha