[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250814101340.GA17288@redhat.com>
Date: Thu, 14 Aug 2025 12:13:40 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
Jens Axboe <axboe@...nel.dk>, Peter Zijlstra <peterz@...radead.org>,
Rick Edgecombe <rick.p.edgecombe@...el.com>,
Sohil Mehta <sohil.mehta@...el.com>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org
Subject: [PATCH 0/6] x86/fpu: don't abuse x86_task_fpu(PF_USER_WORKER) in
.regset_get() paths
Sorry, I have no idea how to test these changes, please review. Especially
4/6 and 5/6, I don't really understand shstk.c.
If you are fine with these changes, I'll try to update the fpregs_soft_get()
and user_regset.set() paths as well.
Oleg.
---
arch/x86/include/asm/shstk.h | 8 ++++----
arch/x86/kernel/fpu/regset.c | 46 ++++++++++++++++++++++++++------------------
arch/x86/kernel/fpu/xstate.c | 12 ++++++------
arch/x86/kernel/fpu/xstate.h | 4 ++--
arch/x86/kernel/process.c | 2 +-
arch/x86/kernel/process_64.c | 2 +-
arch/x86/kernel/shstk.c | 19 +++++++++++++-----
7 files changed, 55 insertions(+), 38 deletions(-)
Powered by blists - more mailing lists