Skip to content

Commit d3c6e5b

Browse files
jgoulywilldeacon
authored andcommitted
kselftest/arm64: parse POE_MAGIC in a signal frame
Teach the signal frame parsing about the new POE frame, avoids warning when it is generated. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Brown <broonie@kernel.org> Cc: Shuah Khan <shuah@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240822151113.1479789-29-joey.gouly@arm.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent fabf056 commit d3c6e5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • tools/testing/selftests/arm64/signal/testcases

tools/testing/selftests/arm64/signal/testcases/testcases.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err)
161161
if (head->size != sizeof(struct esr_context))
162162
*err = "Bad size for esr_context";
163163
break;
164+
case POE_MAGIC:
165+
if (head->size != sizeof(struct poe_context))
166+
*err = "Bad size for poe_context";
167+
break;
164168
case TPIDR2_MAGIC:
165169
if (head->size != sizeof(struct tpidr2_context))
166170
*err = "Bad size for tpidr2_context";

0 commit comments

Comments
 (0)