Thomas Gleixner b3607269ff x86/pkeys: Revert a5eff7259790 ("x86/pkeys: Add PKRU value to init_fpstate")
This cannot work and it's unclear how that ever made a difference.

init_fpstate.xsave.header.xfeatures is always 0 so get_xsave_addr() will
always return a NULL pointer, which will prevent storing the default PKRU
value in init_fpstate.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210623121451.451391598@linutronix.de
2021-06-23 17:49:45 +02:00
..
2021-04-29 11:41:43 -07:00
2020-11-06 23:14:58 +01:00
2021-03-18 15:31:53 +01:00
2021-03-18 15:31:53 +01:00
2021-05-01 10:14:08 -07:00
2021-01-15 08:23:10 +01:00
2018-10-31 08:54:16 -07:00
2021-04-29 11:41:43 -07:00