Re: [PATCH 0/5] MIPS: FP cleanup & no-FP support

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

 



On Mon, 5 Jun 2017, Paul Burton wrote:

> This series tidies up support for floating point a little, then
> introduces support for disabling it via Kconfig. The end result is that
> it becomes possible to compile a kernel which does not include any
> support for userland which makes use of floating point instructions -
> meaning that it never enables an FPU & does not include the FPU
> emulator. The benefit of this is that if you know your userland code
> will not use FP instructions then you can shrink the kernel by around
> 65KiB.
> 
> Applies atop v4.12-rc4.
> 
> Paul Burton (5):
>   MIPS: Remove unused R6000 support
>   MIPS: Move r4k FP code from r4k_switch.S to r4k_fpu.S
>   MIPS: Move r2300 FP code from r2300_switch.S to r2300_fpu.S
>   MIPS: Remove unused ST_OFF from r2300_switch.S
>   MIPS: Allow floating point support to be disabled

 Doesn't ptrace(2) require suitable updates for requests that deal with 
the FP context?  Preferably along with the last change (or maybe ahead of 
it) so that we don't have a kernel revision that presents rubbish to the 
userland (of course tools like GDB will have to be updated accordingly to 
cope, but that's out of scope for Linux itself).

 Also how about those prctl(2) calls that also operate on FP state?

  Maciej




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux