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 <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Mark Brown <[email protected]> Cc: Shuah Khan <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent fabf056 commit d3c6e5b

File tree

1 file changed

+4
-0
lines changed
  • tools/testing/selftests/arm64/signal/testcases

1 file changed

+4
-0
lines changed

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)