Commit 4752dcc1 authored by Mark Brown's avatar Mark Brown Committed by Catalin Marinas
Browse files

kselftest/arm64: Handle attempts to disable SM on SME only systems



The ABI for disabling streaming mode via ptrace is to do a write via the
SVE register set. Following the recent round of fixes to the ptrace code
we don't support this operation on systems without SVE, which is detected
as failures by fp-ptrace. Update the program so that it knows that this
operation is not currently supported.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250718-arm64-fp-ptrace-sme-only-v1-3-3b96dd19a503@kernel.org


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent aa7d3c8b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1061,6 +1061,9 @@ static bool sve_write_supported(struct test_config *config)
		if (config->sme_vl_in != config->sme_vl_expected) {
			return false;
		}

		if (!sve_supported())
			return false;
	}

	return true;