[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YhzMOSXJZbApYUmE@sirena.org.uk>
Date: Mon, 28 Feb 2022 13:20:57 +0000
From: Mark Brown <broonie@...nel.org>
To: David Engraf <david.engraf@...go.com>
Cc: suzuki.poulose@....com, catalin.marinas@....com, will@...nel.org,
mark.rutland@....com, elver@...gle.com, ebiederm@...ssion.com,
seanjc@...gle.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: signal: nofpsimd: Do not allocate fp/simd context
when not available
On Fri, Feb 25, 2022 at 11:40:08AM +0100, David Engraf wrote:
> Commit 6d502b6ba1b2 ("arm64: signal: nofpsimd: Handle fp/simd context for
> signal frames") introduced saving the fp/simd context for signal handling
> only when support is available. But setup_sigframe_layout() always
> reserves memory for fp/simd context. The additional memory is not touched
> because preserve_fpsimd_context() is not called and thus the magic is
> invalid.
Reviwed-by: Mark Brown <broonie@...nel.org>
Download attachment "signature.asc" of type "application/pgp-signature" (485 bytes)
Powered by blists - more mailing lists