Message ID | 20231027180850.1068089-23-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1537AC25B6F for <linux-mm@archiver.kernel.org>; Fri, 27 Oct 2023 18:10:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 80EA86B03DA; Fri, 27 Oct 2023 14:10:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7BF866B03EB; Fri, 27 Oct 2023 14:10:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 638B76B03ED; Fri, 27 Oct 2023 14:10:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 457386B03DA for <linux-mm@kvack.org>; Fri, 27 Oct 2023 14:10:00 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 252B51CB131 for <linux-mm@kvack.org>; Fri, 27 Oct 2023 18:10:00 +0000 (UTC) X-FDA: 81392030160.20.D9ABAFA Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf26.hostedemail.com (Postfix) with ESMTP id 7FB36140024 for <linux-mm@kvack.org>; Fri, 27 Oct 2023 18:09:58 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf26.hostedemail.com: domain of joey.gouly@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=joey.gouly@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698430198; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z8YamzkdwlBfyBazjGrXVJfZIDlJpwhUkoWshLS/zKk=; b=J/jGav6bb3CMvMucTzebeQU//sd1VakwiblvyoIcHHg9NnKo9brfhK7zq3W6dFc2naMEYd j5dRYyAroa2j5ReATii+Rq0zxEd2Nfo+lekEGvbP7hyd691fPomc+dLPzlnVkFVxcDLo+W 0m32vsKjIyLJrHk3UZ/Y4ntUk2soWJw= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf26.hostedemail.com: domain of joey.gouly@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=joey.gouly@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698430198; a=rsa-sha256; cv=none; b=uHF5f8+fw8DaP7BPI7yRUvLD2ccFYA5varurS10t0lLrfpwitcRakiv0Ei8+cn6kwpXPZd OhgmK8ZUK3YZoX/WswW5wRHxIAKf3wlg1hDniB9byvuT5EJtSRedMeIaSJwax8YCcaXMj+ T1Tc52wDpls+4gV6lkleQV+xU3hedog= Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 80B771576; Fri, 27 Oct 2023 11:10:39 -0700 (PDT) Received: from e124191.cambridge.arm.com (e124191.cambridge.arm.com [10.1.197.45]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B29723F64C; Fri, 27 Oct 2023 11:09:55 -0700 (PDT) From: Joey Gouly <joey.gouly@arm.com> To: linux-arm-kernel@lists.infradead.org Cc: akpm@linux-foundation.org, aneesh.kumar@linux.ibm.com, broonie@kernel.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, joey.gouly@arm.com, maz@kernel.org, oliver.upton@linux.dev, shuah@kernel.org, will@kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, James Morse <james.morse@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Zenghui Yu <yuzenghui@huawei.com> Subject: [PATCH v2 22/24] kselftest/arm64: parse POE_MAGIC in a signal frame Date: Fri, 27 Oct 2023 19:08:48 +0100 Message-Id: <20231027180850.1068089-23-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231027180850.1068089-1-joey.gouly@arm.com> References: <20231027180850.1068089-1-joey.gouly@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 7FB36140024 X-Stat-Signature: i9zqcwz46dg95noa5tysry1fsoesq9ox X-Rspam-User: X-HE-Tag: 1698430198-449592 X-HE-Meta: U2FsdGVkX1+CDlPg4QsNRykZG0Z3cD7H75VZBE4RFh9QvqxvTjKDomghsE4E04XZRJfib+SkB6HwfjK/fYUpP2w1pn536XGA5RVA/jPWphCSD3tbBgjVRmkgTQ7ds2ny6ahUrKT1d5kqgF/F5BAS7tKaOK6dhCOoU21+IgeFWgjFrwl/B6anQDtm2v+GyX2GDzJOh3atJfcuL7uVeGbZWaxPxx1KEl20E0LU1GN/zdZd8vBy2XX7oH+xwo1wuZt6B6X/c0X8BuHrEuM6k02thBKeZhw0HvdCUMM3xQdz+bjpEARBpUnHKrOjIXqu+tm3lySuD9RxOG4S2IgseIhu6FciayUY6nn1YHbxDz2nJxQOiYbo33UkEpg7Q6/N3TWAHAnc8pHxzRoIBCpqG0ZmZ/Z6OvBzNeC+7Voap5UpzFCf1k3pAJ6EiMDZYw0qvEqArfhvtIxTt2Re83GJrvCctvOoBj7Ia723DRWf7lA+avF/5YQWCFvrNebuMdR8l1tzxOedMmYKXoLBL1PrdWlasPYcOmQurLNfGFoXtXdmUVmMrzye9crrO8EnzgNsILCExZyfz4j3sVb3BNoT4TvJgcpNgwRS1FNgzQkmLLduOPbxSHrQHxZglm/2rZOmoIz3OogPC0XYK1rsDuJsCiq/0hxyIpC+woLcKrszyLwaw6T7CZzoCkkLtQV5/3liZ6jaX2u013u2g5LUZ2hCGwoD4f9uKxl0O/d1SHjv/TNRQ4p60ESipZlZM2o9FoDxu4/+c++lZLezMXw9GXsgg3oJNWqxkudW3YFbEtST1YRRXrdMmj0WymXz67JZty5m+FwXXR7KxOAfkGNInGOMWJUCZSBu246po/2w5wHzyPuOV0UVDtQXg+J3I2+Hl3VFL3CkD6xmvNL5UYq8FLyJCS3onnW8wbLYBhXTgaYtksuo8lvblaugLrGwnMhhcIue5B2joxKoHIAMVeD2j7alhCA Jtb1pDdx E0C6hWdTKrSA7L4Y0R0BNoSyYwPKWbpbSdBLrNsn8ZYo5gZIFHTPTpV4hSGZvPEnKy2hBrTz3HLFR+R897oQ2QMYrlaSiZ0bWn6tI9nfjrFFJi3Iavj07fesh1RJrqBKbFTFXNCgj7GoRmqd+v4xcIWhZqDgJzrUugN6Nj8rNtVyqKEy9+br0Zo5u6gKeZN9qsmIfDXmGJ2sa5I9t1hJ7sZJkseM6drxhZxjmjlTp/U2pCM8DJSmZXPRy0a9V2bJXuul0xnHtFa+4WR0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Permission Overlay Extension
|
expand
|
On Fri, Oct 27, 2023 at 07:08:48PM +0100, Joey Gouly wrote: > Teach the signal frame parsing about the new POE frame, avoids warning when it > is generated. Reviewed-by: Mark Brown <broonie@kernel.org>
diff --git a/tools/testing/selftests/arm64/signal/testcases/testcases.c b/tools/testing/selftests/arm64/signal/testcases/testcases.c index fe950b6bca6b..5dda753870aa 100644 --- a/tools/testing/selftests/arm64/signal/testcases/testcases.c +++ b/tools/testing/selftests/arm64/signal/testcases/testcases.c @@ -161,6 +161,10 @@ bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err) if (head->size != sizeof(struct esr_context)) *err = "Bad size for esr_context"; break; + case POE_MAGIC: + if (head->size != sizeof(struct poe_context)) + *err = "Bad size for poe_context"; + break; case TPIDR2_MAGIC: if (head->size != sizeof(struct tpidr2_context)) *err = "Bad size for tpidr2_context";
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> --- tools/testing/selftests/arm64/signal/testcases/testcases.c | 4 ++++ 1 file changed, 4 insertions(+)