mbox series

[0/2] kselftest/arm64: Minor SME signals test additions

Message ID 20230117-arm64-test-ssve-za-v1-0-203c00150154@kernel.org (mailing list archive)
Headers show
Series kselftest/arm64: Minor SME signals test additions | expand

Message

Mark Brown Jan. 20, 2023, 12:04 p.m. UTC
While discussing the SME signal handling support I realised that
we were not verifying that SVE_SIG_FLAG_SM is set for streaming
SVE, and not explicitly covering the case where we are both in
streaming mode and have ZA enabled.  Add coverage of these cases,
I didn't find any problems running these new tests.

To: Catalin Marinas <catalin.marinas@arm.com>
To: Will Deacon <will@kernel.org>
To: Shuah Khan <shuah@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kselftest@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

---
Mark Brown (2):
      kselftest/arm64: Verify that SSVE signal context has SVE_SIG_FLAG_SM set
      kselftest/arm64: Verify simultaneous SSVE and ZA context generation

 .../selftests/arm64/signal/testcases/ssve_regs.c   |   5 +
 .../arm64/signal/testcases/ssve_za_regs.c          | 162 +++++++++++++++++++++
 2 files changed, 167 insertions(+)
---
base-commit: b7bfaa761d760e72a969d116517eaa12e404c262
change-id: 20230117-arm64-test-ssve-za-7128c0ce8dc9

Best regards,

Comments

Catalin Marinas Jan. 20, 2023, 4:58 p.m. UTC | #1
On Fri, 20 Jan 2023 12:04:08 +0000, Mark Brown wrote:
> While discussing the SME signal handling support I realised that
> we were not verifying that SVE_SIG_FLAG_SM is set for streaming
> SVE, and not explicitly covering the case where we are both in
> streaming mode and have ZA enabled.  Add coverage of these cases,
> I didn't find any problems running these new tests.
> 
> 
> [...]

Applied to arm64 (for-next/kselftest), thanks!

[1/2] kselftest/arm64: Verify that SSVE signal context has SVE_SIG_FLAG_SM set
      https://git.kernel.org/arm64/c/f76cb73a2d7c
[2/2] kselftest/arm64: Verify simultaneous SSVE and ZA context generation
      https://git.kernel.org/arm64/c/bc69da5ff087