Remove fpu lazy mode deadcode from 4.4.y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Greg,
#Forgot to add --compose

Following up on our discussion during the review of
kernel 4.4.138-stable, I have backported a few
patches that remove the remaining FPU lazy mode deadcode
from 4.4.y and 4.9.y. To avoid confusion I will send the
explanation on separate e-mails:

Patches for 4.4.y:
[PATCH 1/4] KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch
	- This is a git cherry-pick of 
	  5a5fbdc0e3f1 ("KVM: x86: remove eager_fpu field of struct kvm_vcpu_arch").
	  It applies cleanly and is required for the next patch not to cause conflicts
	  on arch/x86/kvm/cpuid.c

[PATCH 2/4] x86/fpu: Remove use_eager_fpu()
	- The main conflict ocurred on fpu/core.c because commit
	bf15a8cf8d14 ("x86/fpu/xstate: Rename 'xstate_size' to 'fpu_kernel_xstate_size', to distinguish it from 'fpu_user_xstate_size'")
	is not on 4.4.y. That commit renames xstate_size to fpu_kernel_xstate_size
	but it also has its conflicts so I decided just to fix the conflict manually/

[PATCH 3/4] x86/fpu: Remove struct fpu::counter
	- caused one conflict because 4.4.y does not have commit
	d1898b733619 ("x86/fpu: Add tracepoints to dump FPU state at key points")
	I fixed it manually.

[PATCH 4/4] x86/fpu: Finish excising 'eagerfpu'
	- caused a small conflict because 'nopku' is not in 4.4.y
	- sorry my editor might have removed a couple of trailing spaces
	  automatically to Documentation/kernel-paramters.txt
	- cause one conflict in these files because they didn't exist
		arch/x86/include/asm/cpufeatures.h
		arch/x86/mm/pkeys.c
		tools/arch/x86/include/asm/cpufeatures.h
	- Instead I removed the X86_FEATURE_EAGER_FPU definition from arch/x86/include/asm/cpufeature.h

Best regards,
Daniel Sangorrin

PS: Used git send-email --to stable@xxxxxxxxxxxxxxx --cc-cmd="./scripts/get_maintainer.pl --norolestats" 2197a44..HEAD
but it doesn't seem to work sorry...humm






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux