Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-09 Thread Herbert Xu
On Wed, Feb 03, 2021 at 12:36:17PM +0100, Ard Biesheuvel wrote: > Given how kernel mode NEON code disables preemption (to ensure that the > FP/SIMD register state is protected without having to context switch it), > we need to take care not to let those algorithms operate on unbounded > input data,

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-04 Thread Herbert Xu
On Thu, Feb 04, 2021 at 01:03:11PM +, Will Deacon wrote: > > Cheers, Herbert. Please just leave the final patch ("arm64: assembler: > remove conditional NEON yield macro"), as we can come back to that for > 5.13. Sure I'll leave out the last patch. Thanks, -- Email: Herbert Xu Home Page: ht

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-04 Thread Will Deacon
On Thu, Feb 04, 2021 at 10:10:26PM +1100, Herbert Xu wrote: > On Thu, Feb 04, 2021 at 09:29:16AM +0100, Ard Biesheuvel wrote: > > > > Half of the patches in this series conflict with > > > > 0df07d8117c3 crypto: arm64/sha - add missing module aliases > > > > in the cryptodev tree, so that won't w

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-04 Thread Herbert Xu
On Thu, Feb 04, 2021 at 09:29:16AM +0100, Ard Biesheuvel wrote: > > Half of the patches in this series conflict with > > 0df07d8117c3 crypto: arm64/sha - add missing module aliases > > in the cryptodev tree, so that won't work. Fair enough. I'll take the patches. Thanks, -- Email: Herbert Xu

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-04 Thread Will Deacon
On Wed, Feb 03, 2021 at 09:31:31PM +, Will Deacon wrote: > On Wed, 3 Feb 2021 12:36:17 +0100, Ard Biesheuvel wrote: > > Given how kernel mode NEON code disables preemption (to ensure that the > > FP/SIMD register state is protected without having to context switch it), > > we need to take care

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 03:44, Herbert Xu wrote: > > On Wed, Feb 03, 2021 at 09:31:31PM +, Will Deacon wrote: > > > > Applied first patch only to arm64 (for-next/crypto), thanks! > > > > [1/9] arm64: assembler: add cond_yield macro > > https://git.kernel.org/arm64/c/d13c613f136c > > > > Th

Re: (subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-03 Thread Herbert Xu
On Wed, Feb 03, 2021 at 09:31:31PM +, Will Deacon wrote: > > Applied first patch only to arm64 (for-next/crypto), thanks! > > [1/9] arm64: assembler: add cond_yield macro > https://git.kernel.org/arm64/c/d13c613f136c > > This is the only patch on the branch, so I'm happy for it to be pu

(subset) Re: [PATCH v2 0/9] arm64: rework NEON yielding to avoid scheduling from asm code

2021-02-03 Thread Will Deacon
On Wed, 3 Feb 2021 12:36:17 +0100, Ard Biesheuvel wrote: > Given how kernel mode NEON code disables preemption (to ensure that the > FP/SIMD register state is protected without having to context switch it), > we need to take care not to let those algorithms operate on unbounded > input data, or we