OpenCloudOS-Kernel/arch
Yang Zhong 063452fd94 x86/fpu/xstate: Fix the ARCH_REQ_XCOMP_PERM implementation
ARCH_REQ_XCOMP_PERM is supposed to add the requested feature to the
permission bitmap of thread_group_leader()->fpu. But the code overwrites
the bitmap with the requested feature bit only rather than adding it.

Fix the code to add the requested feature bit to the master bitmask.

Fixes: db8268df09 ("x86/arch_prctl: Add controls for dynamic XSTATE components")
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Paolo Bonzini <bonzini@gnu.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220129173647.27981-2-chang.seok.bae@intel.com
2022-03-23 21:28:34 +01:00
..
alpha Folio changes for 5.18 2022-03-22 17:03:12 -07:00
arc arch: Add pmd_pfn() where it is missing 2022-03-21 12:59:02 -04:00
arm Folio changes for 5.18 2022-03-22 17:03:12 -07:00
arm64 Folio changes for 5.18 2022-03-22 17:03:12 -07:00
csky arch: Add pmd_pfn() where it is missing 2022-03-21 12:59:02 -04:00
h8300 bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
hexagon Folio changes for 5.18 2022-03-22 17:03:12 -07:00
ia64 Folio changes for 5.18 2022-03-22 17:03:12 -07:00
m68k Folio changes for 5.18 2022-03-22 17:03:12 -07:00
microblaze Folio changes for 5.18 2022-03-22 17:03:12 -07:00
mips Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nds32 Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nios2 arch: Add pmd_pfn() where it is missing 2022-03-21 12:59:02 -04:00
openrisc Folio changes for 5.18 2022-03-22 17:03:12 -07:00
parisc Folio changes for 5.18 2022-03-22 17:03:12 -07:00
powerpc Folio changes for 5.18 2022-03-22 17:03:12 -07:00
riscv drivers/base/node: consolidate node device subsystem initialization in node_dev_init() 2022-03-22 15:57:10 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2022-03-22 16:11:53 -07:00
sh Folio changes for 5.18 2022-03-22 17:03:12 -07:00
sparc Folio changes for 5.18 2022-03-22 17:03:12 -07:00
um Folio changes for 5.18 2022-03-22 17:03:12 -07:00
x86 x86/fpu/xstate: Fix the ARCH_REQ_XCOMP_PERM implementation 2022-03-23 21:28:34 +01:00
xtensa Folio changes for 5.18 2022-03-22 17:03:12 -07:00
.gitignore
Kconfig Changes in this cycle were: 2022-03-22 14:39:12 -07:00