Message ID | 20230927140123.5283-20-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 D8BB2E80AAD for <linux-mm@archiver.kernel.org>; Wed, 27 Sep 2023 14:07:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 608968D007E; Wed, 27 Sep 2023 10:07:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5B7D58D007D; Wed, 27 Sep 2023 10:07:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 459258D007E; Wed, 27 Sep 2023 10:07:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 375E68D007D for <linux-mm@kvack.org>; Wed, 27 Sep 2023 10:07:28 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 0C8DFA09E5 for <linux-mm@kvack.org>; Wed, 27 Sep 2023 14:07:28 +0000 (UTC) X-FDA: 81282554976.03.19F3C22 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2053.outbound.protection.outlook.com [40.107.22.53]) by imf23.hostedemail.com (Postfix) with ESMTP id EEE76140022 for <linux-mm@kvack.org>; Wed, 27 Sep 2023 14:07:23 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="IQR/k0k9"; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="IQR/k0k9"; spf=pass (imf23.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.22.53 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1695823644; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ke3PDuWpvvQbAnmsSjQMMQrblM23IAu41vFemH5NCao=; b=rglWrtGslsGqNjoiUCL0BiCJ0EFvzE07Q8NwLssIfXN9hveYUmpo2jyU2bdd8/+hzPLXEa TSEJIpHmaYOeVEQ+03a1m2ncOd6Ku5Wu0qMkDJCsI50NVU46uLn4oWvV5XKIWsc+4P9gqO qmL7o8/399vT0yWJ1YYj4/fqQPhB5d0= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1695823644; a=rsa-sha256; cv=pass; b=7AJroUCKaZQymsSH1KHT+9UVHfv2JMdhjtp22Bqpe3DOCRFYlJ3OgNwScGpYv5hrqqr4Re uyQYthWxrDyTwczYAyB/FyK3oXLHtUjt7jsEXXK1oMtIJ2059jkMVp/PtQML9dbsZdDAWJ vS2lqlvxNOfqIadygMP/UkESg0MBqlw= ARC-Authentication-Results: i=2; imf23.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="IQR/k0k9"; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="IQR/k0k9"; spf=pass (imf23.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.22.53 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ke3PDuWpvvQbAnmsSjQMMQrblM23IAu41vFemH5NCao=; b=IQR/k0k9/DfKrJ/S4f8xeeX8A/FwNUeQ2O1MkVI8zHsEZO5Lo7Ih0Fv+LNatxsL3J7WqClCfdnHC9KvIfCuFAWmdCxYd9n3abgSdzhWp8dJ6hqqmrqTSdvvPeZUXaqoSuQBEbnPDkZrNZN5uaMzqcgFcpZEztwYVlhC4dY+4kd8= Received: from AM6P192CA0003.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:83::16) by DBBPR08MB5963.eurprd08.prod.outlook.com (2603:10a6:10:205::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 14:07:19 +0000 Received: from AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:83:cafe::9f) by AM6P192CA0003.outlook.office365.com (2603:10a6:209:83::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21 via Frontend Transport; Wed, 27 Sep 2023 14:07:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT020.mail.protection.outlook.com (100.127.140.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21 via Frontend Transport; Wed, 27 Sep 2023 14:07:18 +0000 Received: ("Tessian outbound ab4fc72d2cd4:v211"); Wed, 27 Sep 2023 14:07:18 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: dd94921c2097e8bc X-CR-MTA-TID: 64aa7808 Received: from 5a96958b8e32.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9A4998BD-A277-48CB-879B-989D2A77549F.1; Wed, 27 Sep 2023 14:01:58 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5a96958b8e32.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 27 Sep 2023 14:01:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X2CHycpAHVMZQAPmyNTllADynv1x7HnphB+dQn1qGy+h8kwRCN7G8fqM66aIPfW/k8c3kOSZzd8ktf6VC6gz4k0FGCrP4vyko/jHKGEcDJJKq68OFZXvvA6qQDawga5A979ahGbBZIa+0lbwfspwNDDjuXvS7CRFa0kzye45aqLggJ4KU032hxE41R4pmOJv/rVTv/AwsnKjzC77LvFMDc0/gszF65YQyFQtqXvbzix8DFvbrNPbks3Hnt6yzzutP+IVizGrOEBdkmKQfxo0K0r2vlH+EshwSjxCadpkEC8+W8HHVQk85if1jnwmShbiK75xNJDLrtLnNuhZ8sT9Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ke3PDuWpvvQbAnmsSjQMMQrblM23IAu41vFemH5NCao=; b=fbnAPhQsy6WG5d2IhZyWStA09sxc4lAYblSj3meiU6ChLK8zGqRDmveWJ4+4y++4MsYH16KPV7WtWoqnNGyMKRiplpNJSmisZZ/HZCqIa25pnQRxlmS8nAaVSeu7dF2pZVsjqUZlltp08V0AQB8jmWtqvmhna8KWUYBhsNkK9BS8lXWMJEnNP0uJFzPxrW0GM+240BYUSMuCpx/kjxLbhCDow68L4MhuIz3CTVXwGI1Uxkbck92X6+tRhR0Ms1s2F8BOKCB4fKP9FwEv6tK9dNoDBg/7HA3r6dALvi1OcVNCVsS6ONzTjUamEH26OncoY2/pXd/tsoyeZhwsDRUYxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ke3PDuWpvvQbAnmsSjQMMQrblM23IAu41vFemH5NCao=; b=IQR/k0k9/DfKrJ/S4f8xeeX8A/FwNUeQ2O1MkVI8zHsEZO5Lo7Ih0Fv+LNatxsL3J7WqClCfdnHC9KvIfCuFAWmdCxYd9n3abgSdzhWp8dJ6hqqmrqTSdvvPeZUXaqoSuQBEbnPDkZrNZN5uaMzqcgFcpZEztwYVlhC4dY+4kd8= Received: from AS9P194CA0020.EURP194.PROD.OUTLOOK.COM (2603:10a6:20b:46d::20) by AS8PR08MB6277.eurprd08.prod.outlook.com (2603:10a6:20b:23d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.21; Wed, 27 Sep 2023 14:01:56 +0000 Received: from AM7EUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46d:cafe::fa) by AS9P194CA0020.outlook.office365.com (2603:10a6:20b:46d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.35 via Frontend Transport; Wed, 27 Sep 2023 14:01:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT013.mail.protection.outlook.com (100.127.140.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.21 via Frontend Transport; Wed, 27 Sep 2023 14:01:56 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 27 Sep 2023 14:01:43 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Wed, 27 Sep 2023 14:01:42 +0000 From: Joey Gouly <joey.gouly@arm.com> To: <linux-arm-kernel@lists.infradead.org> CC: <nd@arm.com>, <akpm@linux-foundation.org>, <aneesh.kumar@linux.ibm.com>, <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> Subject: [PATCH v1 19/20] selftests: mm: move fpregs printing Date: Wed, 27 Sep 2023 15:01:22 +0100 Message-ID: <20230927140123.5283-20-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230927140123.5283-1-joey.gouly@arm.com> References: <20230927140123.5283-1-joey.gouly@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT013:EE_|AS8PR08MB6277:EE_|AM7EUR03FT020:EE_|DBBPR08MB5963:EE_ X-MS-Office365-Filtering-Correlation-Id: e6c2fb02-bfbf-420f-031f-08dbbf630f5c x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: AeFqx/mCMbHbYbnIAOiKgMsBIU86pTdcduQ8LR9MKXpW3u+PhhFEo3c+uwMEzvjWEAKKBanA4fWz9b1je4eXrxZffLemV0uxT4loJv25U9ASEj11MVxkSH01ON+OiFuKLJjVf+Qe92N5GnOLM1MgGNbGaW6X2++E5Kys89HrLLn6smDYooJvWWYqMRpiaGfyQNb0P3Gdlg3Io0CeKgebv2niQf0RpUZj7A0IWe2DjmYFFXq7TZvXs/tUnKYQE6VYrNN4YxkeMmq3Q2QtOQL3f0To8MWU0kKxQHCv5HTemb1kJVsZllshu9KiWZBZDerTMZrr0frakbr5maG/KZSoHnUGsGVC1a2p4ZtpzFi5zI2ibGzsoOtjWcMOwIoe9OFVaJ/wE717XrudXrfgD2RaDXObvWpIkqSyh+MHPFBQuHxl/v3YKLymCVa3XeACdSG0Ty2F2EdvD6daQGmokHuEnaAGcSPAp12LeJfil30Mt3SOOfXwcj5c3MOAm5vBYkM6II0FiHyhJdqJEOjiyU6i9irv3PUDkygh3+GhuYJGqbyj9MZa7WqbVbbfh4dBC4/j7qwia71ZXGtolcsPkFq+PHA2ersS5J+mvXbg4ryqJbY1SZ/kBXFjMjbe8V37LITrh2mxjgGvtxBV5otrcdyBRzIw3l9ss9jAxGFWoulHcd4slyFP4wv8v2PjMxG9LQb7496TocZ/EBsDbpgPGz2EiT4OnONpwrUba4vLu+fXBZdpyDHKioEwZwUNinZ9SlUdHmmcHop4y1Gc6joT8k+7ig== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(451199024)(82310400011)(1800799009)(186009)(40470700004)(36840700001)(46966006)(2906002)(316002)(7416002)(8936002)(44832011)(41300700001)(5660300002)(4326008)(6916009)(54906003)(8676002)(70206006)(70586007)(478600001)(6666004)(7696005)(2616005)(1076003)(26005)(426003)(336012)(40460700003)(83380400001)(47076005)(40480700001)(36860700001)(82740400003)(81166007)(356005)(86362001)(36756003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6277 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9096ecc8-2ea2-457a-dd14-08dbbf624fab X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QCQncLsoEUxxktRvjSzrYfMJBRmpJoZxUAxcEo7GqnpvtU2eKlmqPtmUJgE6jpYHSpCkb0Jg57peupDnHk1qsXD8mrKkbbh45TXCM3B0gbYQpCNVvxU/Cf4/7nVweCQUaCKriDcfRWYAmTbsB/+czMEEqfn9qG0ot6qJGjKn0mPjGSMZbLBOtPhlX8oflizcfp+bs1zSeOePNFmV601/wFHTOpgUVvw2IIQdeeaIKqb93rd8RWuGLp/zZvEKmbkFpI8MdhpTZtUmbDYJ1rBYUh5gawx6adRMSk3JH0yLav7xRD5BBNK4tm+wiKCc+BKBZJO6h6UZO5G5NvSxoEyK42KwjEFr+KkiakzxePC6BpEK8/7zzpl8zRGKE87zrH9ypnW6FOKZ3J3J/VpbA7RGpr9RKCQgsAiCcvQ1rAglu2nhFEbpjEK8pwJowyFvtQuoixNqfIhyjPoAeYI3WY+5YESRrY2+zd+bpohm9Ntm75Oz8cl89iPnSrX9Hng6+B0TB0W05aGXT/NeZP8Ixpq+WhxVqZuFmQgsNCHoj0SQCHVXKmXgPn1OU/N1uUaT7Mb35NqksScKGJ/I3IhKNxBm9Don36BdGaggvNX+1oqBGlePLh/MLlQyPERy9Qm28/e5YGyh3cLqSkyv9wj1lt0sAUfyrGv1plObK+bWk1S7UYL37k+0cVRAmqcJrR1m/Mv7GyhCXDcKKraOSUqf/ZmTHdW13apnP7CcEfDdlvNRwEiTvgTt0aWZdmYvVzTjq/Lo X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230031)(4636009)(376002)(346002)(136003)(396003)(39860400002)(230922051799003)(451199024)(1800799009)(82310400011)(186009)(46966006)(36840700001)(40470700004)(316002)(41300700001)(40480700001)(426003)(26005)(336012)(2906002)(44832011)(8676002)(5660300002)(478600001)(8936002)(70206006)(70586007)(6862004)(4326008)(54906003)(6666004)(7696005)(40460700003)(1076003)(107886003)(36860700001)(47076005)(2616005)(36756003)(83380400001)(81166007)(86362001)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 14:07:18.2788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6c2fb02-bfbf-420f-031f-08dbbf630f5c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5963 X-Rspamd-Queue-Id: EEE76140022 X-Rspam-User: X-Stat-Signature: 6o315kurws3bb5xrtnoksgt51ie6byc3 X-Rspamd-Server: rspam03 X-HE-Tag: 1695823643-97778 X-HE-Meta: U2FsdGVkX1+bjeNpwj9jiYh1x82VOK2kPQfe1rzCeJ1hUuhFcQeNtpVmU78rwPHiYHvxX/RbjG4ZYz1mB+8YG8CV4icoDZicqiLpscIXfCsRj0rPkRe73Q4vhGbDhsZ2vvg95zev7rIYz7gBtMyIb+a+HA8YJL0f4H3fM1HAwKacmDtajFEEnypxYzE0WLS/iWq+gQZjy/I8vFQA2DxYvn19PFYHTtuf5YY6gSbMEEo0MKUsXtyClJsD7FXpkYBTvaAKkKc609/VuWR5+BUuabdO49PE2Xm4uh4Sw9pVEo42XS6IHQQpWZ+7ENa0TF6cma4JuV9gRYIw2FdkzY3TOAbfw/bk1tYTi0ccVawF3xyK6DsfUiD7BxoQzCbTmLpvllJGs4w+z2tDAs4jwc/ZTg6IF92cdhJ0oeTMz9G02ULjQT7/ifaspGuas3Fj3F4h9MXqOqHDnTQeehQ5mKZZAgGpqD/pMv2MVsM6Wuk8W9sth1T9oOE+arq2lZhUn0nDDbe07+8fVFRHXQ3dhAli7Qz+XWeiTrDDwGf9L/cDVvmk7kog34DrnIVbWbVhnbrvFl7T67OCC7bPQJod4DCCXmSCaB6BputRalJEIELn9hfSxAVerJtZVpvdNSZrxyMywaDN4glM8uuwNuhSRHn1WSGi8Wk6I259OHCOeUaIfqO//4MrlD+uA3rdyTuWpIHbRKU/cKjUCYoyAEHpvOZYHuhbdErEWu2Ax8YLVJf9GbkzsuWKBp7omj0HyW4iHiQs2Vt8V65gISCvnSsiDPBy3a0ycrWm81eoTJF1vlY+La5x9DqdwzTaC6d4acW9EI+Kc4OdhJ5k+RNvBzIKiIdt0eh+TcopCQvWNi+5/LWCpCfEWAnn9NPxB1p+hmAmpJqHF2j3QGQTVP4qSKfcP5kyOaRBCu/BL2XYgicPGA/2X7ip8tR+EWBm2trbZgPjQyGJ/8J6JUGhvcXJy9gVLAM deUATkku 0TARJj8cKkELCsKg83UnJR7dpycvC5nirxwgxSru8G7OfH0XZITlEnUY4CVzRcqKx7BBn6Nm0irnoPhYpjCyiKW3duBNjOiIoj53234iYD4jKIdlxvBD+5Ss8Zc9/z2iPN7DDrmQn6sqpA8qukYXjiIFrxIu1FPvcGe5+8zmlEa1zpUbIyesgi9j8FA5hxk72rNV3Lk+1QzMGNA105aKb7dcRbOC2mTHPrz/A971sATUT9q+XNidlnXywQr7UAUDKoEet8tLqNL4KvWttFTWsc320Jie0SGfl3J05MVxACa+K/U928xJW/PPaLTUsLV5o3TUco3mnF0vfF3M9TfRCFXUpKVrHhRDTZaNpOCc+mxC1ZgtvGoYeqZnMCk2SN40NwXXcR6M8Dnd/xiVYL+a+ciYO19SSgJticAV4E0BmzBVHaKMBNkqrcQYx4wc4eZcg9eYntKHKRycxdmHbPKlV8ZkxvpYODVp/Bz2lHNSD4C6z6he8b/FEaj8eRf03y0+zQZ1R+o2J8kV0IiuDPNj1Nt97MQZ/N+OMwAKLK275ppWLTmpWGiyi4q1ZF8q+mPV2q6RsNRrfKgPiA5pyn1Ju3y9iQKDRRXBvZYMu7XnJlD6eEPLkFs/6l3bYnlfWY29EvE8Vss4zadcbfIP6v0lN0G+J1OHpnLT86a+mKFlLntajqiQ= 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> |
Series |
Permission Overlay Extension
|
expand
|
On 9/27/23 07:01, Joey Gouly wrote: > arm64's fpregs are not at a constant offset from sigcontext. Since this is > not an important part of the test, don't print the fpregs pointer on arm64. Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
diff --git a/tools/testing/selftests/mm/pkey-powerpc.h b/tools/testing/selftests/mm/pkey-powerpc.h index ae5df26104e5..6275d0f474b3 100644 --- a/tools/testing/selftests/mm/pkey-powerpc.h +++ b/tools/testing/selftests/mm/pkey-powerpc.h @@ -9,6 +9,7 @@ #endif #define REG_IP_IDX PT_NIP #define REG_TRAPNO PT_TRAP +#define MCONTEXT_FPREGS #define gregs gp_regs #define fpregs fp_regs #define si_pkey_offset 0x20 diff --git a/tools/testing/selftests/mm/pkey-x86.h b/tools/testing/selftests/mm/pkey-x86.h index 814758e109c0..b9170a26bfcb 100644 --- a/tools/testing/selftests/mm/pkey-x86.h +++ b/tools/testing/selftests/mm/pkey-x86.h @@ -15,6 +15,8 @@ #endif +#define MCONTEXT_FPREGS + #ifndef PKEY_DISABLE_ACCESS # define PKEY_DISABLE_ACCESS 0x1 #endif diff --git a/tools/testing/selftests/mm/protection_keys.c b/tools/testing/selftests/mm/protection_keys.c index 48dc151f8fca..b3dbd76ea27c 100644 --- a/tools/testing/selftests/mm/protection_keys.c +++ b/tools/testing/selftests/mm/protection_keys.c @@ -314,7 +314,9 @@ void signal_handler(int signum, siginfo_t *si, void *vucontext) ucontext_t *uctxt = vucontext; int trapno; unsigned long ip; +#ifdef MCONTEXT_FPREGS char *fpregs; +#endif #if defined(__i386__) || defined(__x86_64__) /* arch */ u32 *pkey_reg_ptr; int pkey_reg_offset; @@ -330,7 +332,9 @@ void signal_handler(int signum, siginfo_t *si, void *vucontext) trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; +#ifdef MCONTEXT_FPREGS fpregs = (char *) uctxt->uc_mcontext.fpregs; +#endif dprintf2("%s() trapno: %d ip: 0x%016lx info->si_code: %s/%d\n", __func__, trapno, ip, si_code_str(si->si_code), @@ -359,7 +363,9 @@ void signal_handler(int signum, siginfo_t *si, void *vucontext) #endif /* arch */ dprintf1("siginfo: %p\n", si); +#ifdef MCONTEXT_FPREGS dprintf1(" fpregs: %p\n", fpregs); +#endif if ((si->si_code == SEGV_MAPERR) || (si->si_code == SEGV_ACCERR) ||
arm64's fpregs are not at a constant offset from sigcontext. Since this is not an important part of the test, don't print the fpregs pointer on arm64. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> --- tools/testing/selftests/mm/pkey-powerpc.h | 1 + tools/testing/selftests/mm/pkey-x86.h | 2 ++ tools/testing/selftests/mm/protection_keys.c | 6 ++++++ 3 files changed, 9 insertions(+)