Skip to content

powerpc: several cleanup patches for the FPU

Kevin Hao linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc: remove the unused function disable_kernel_fp()arch/powerpc/include/asm/switch_to.h arch/powerpc/kernel/misc_64.S+0 -140 replies
2/4powerpc: remove the redundant flush_fp_to_thread() in setup_sigcontext()arch/powerpc/kernel/signal_64.c+0 -20 replies
3/4powerpc: make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabledarch/powerpc/include/asm/switch_to.h arch/powerpc/kernel/process.c arch/powerpc/math-emu/math.c+9 -30 replies
4/4powerpc: remove the empty giveup_fpu() function on 32bit kernelarch/powerpc/include/asm/switch_to.h arch/powerpc/kernel/head_40x.S arch/powerpc/kernel/head_44x.S +3 more+4 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] powerpc: several cleanup patches for the FPU

All these patches passed the build test for the following configurations:

	ppc40x_defconfig
        ppc64e_defconfig
        ppc64_defconfig
	mpc85xx_defconfig
	mpc85xx_smp_defconfig
        corenet32_smp_defconfig
        corenet64_smp_defconfig
        ppc44x_defconfig
	mpc885_ads_defconfig
        pseries_defconfig

Also passed the boot test on a t4240qds board.

Kevin Hao (4):
powerpc: remove the unused function disable_kernel_fp()
powerpc: remove the redundant flush_fp_to_thread() in
setup_sigcontext()
powerpc: make flush_fp_to_thread() nop when CONFIG_PPC_FPU is disabled
powerpc: remove the empty giveup_fpu() function on 32bit kernel

 arch/powerpc/include/asm/switch_to.h | 11 ++++++++---
 arch/powerpc/kernel/head_40x.S       |  8 --------
 arch/powerpc/kernel/head_44x.S       | 10 ----------
 arch/powerpc/kernel/head_8xx.S       |  4 ----
 arch/powerpc/kernel/head_fsl_booke.S | 10 ----------
 arch/powerpc/kernel/misc_64.S        | 13 -------------
 arch/powerpc/kernel/ppc_ksyms.c      |  2 ++
 arch/powerpc/kernel/process.c        |  2 ++
 arch/powerpc/kernel/signal_64.c      |  2 --
 arch/powerpc/math-emu/math.c         |  3 +--
 10 files changed, 13 insertions(+), 52 deletions(-)
Signature · 1 line
1.8.1.4