Re: [PATCH 2/3] arm64: nofpsmid: Clear TIF_FOREIGN_FPSTATE flag for early tasks

2019-10-17 Thread Dave Martin
On Thu, Oct 17, 2019 at 01:42:37PM +0100, Suzuki K Poulose wrote: > Hi Dave > > Thanks for the comments. > > On 11/10/2019 12:26, Dave Martin wrote: > >On Thu, Oct 10, 2019 at 06:15:16PM +0100, Suzuki K Poulose wrote: > >>We detect the absence of FP/SIMD after we boot the SMP CPUs, and by then >

Re: [PATCH 2/3] arm64: nofpsmid: Clear TIF_FOREIGN_FPSTATE flag for early tasks

2019-10-17 Thread Suzuki K Poulose
Hi Dave Thanks for the comments. On 11/10/2019 12:26, Dave Martin wrote: On Thu, Oct 10, 2019 at 06:15:16PM +0100, Suzuki K Poulose wrote: We detect the absence of FP/SIMD after we boot the SMP CPUs, and by then we have kernel threads running already with TIF_FOREIGN_FPSTATE set which could be

Re: [PATCH 2/3] arm64: nofpsmid: Clear TIF_FOREIGN_FPSTATE flag for early tasks

2019-10-11 Thread Dave Martin
On Thu, Oct 10, 2019 at 06:15:16PM +0100, Suzuki K Poulose wrote: > We detect the absence of FP/SIMD after we boot the SMP CPUs, and by then > we have kernel threads running already with TIF_FOREIGN_FPSTATE set which > could be inherited by early userspace applications (e.g, modprobe triggered > fr