]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Provide struct fpu_config
authorThomas Gleixner <tglx@linutronix.de>
Thu, 14 Oct 2021 23:09:29 +0000 (01:09 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 21 Oct 2021 17:17:58 +0000 (19:17 +0200)
commit38dad8c246e754722f7a9c51a57d46ecd5836d21
tree971abc05ae64e282d3d96abdd7c9b2788567b402
parent9c958d1537c5b9dad7858fe9e1ebc14371424e0d
x86/fpu: Provide struct fpu_config

Provide a struct to store information about the maximum supported and the
default feature set and buffer sizes for both user and kernel space.

This allows quick retrieval of this information for the upcoming support
for dynamically enabled features.

 [ bp: Add vertical spacing between the struct members. ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211014230739.126107370@linutronix.de
arch/x86/include/asm/fpu/types.h
arch/x86/kernel/fpu/core.c