From patchwork Tue Jan 25 15:09:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 12723950 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD083C433F5 for ; Tue, 25 Jan 2022 15:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8P7ALCAD75NI3Xc5wXDmp2ovJajT/n434R2KXccO2BM=; b=KH5plNtYntKMQi Spmr/KhBq8IIQCVsc+mLnDuqkhueEuwM5CXDeOAOZDAmRpDQmZx98kOMSUPIrBPJ8Oq1f9XR8/Nv7 t8tgeK8yFBdX8J5GhMJzU1cQsSVpHZeA/G79vvdJ4aKwnrQicAch2bv9uWKZoHghazsNhIXZOGLKi wANWVoCLrauUWEXh2aA7dOrSxLhhaM3DQyUIb4SqJB+clhjLCqIgfGyK5F73l/IwtoFn97YeP0uUJ d5e0+R9dlUYDggkkRkEG54OzGfIn5sYNkrSfxwNgPhbAw29heDe7EQdpzdGnA7JIN8XXpK/ULSWYZ tj6Rd/Q5gCWgWj4HaXMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCNaA-008L2p-Gs; Tue, 25 Jan 2022 15:18:10 +0000 Received: from mail-db8eur05on2042.outbound.protection.outlook.com ([40.107.20.42] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCNS5-008IDn-Qf for linux-arm-kernel@lists.infradead.org; Tue, 25 Jan 2022 15:09:48 +0000 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=fH0ALn0ZZEkKk6aYHX4zlG/XoTruJ/raCMCZnzswGO0=; b=El3+nyGAvnSQu1CiawF33FzDDSN+omPChoC2LQd8NT1Rs9/CgHiMQbW1Zet4o4A7j2s308I5OCBzb+VlzGuxaRDVOV03eLP1ItLiaNJIfCMWM27fq6bwrEQtEbDEtjxxRMkVmbweKNJmwGVuMpxsBb05W3ID/K5vGaMZvcs0AgM= Received: from AM6PR10CA0104.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::45) by AM0PR08MB3748.eurprd08.prod.outlook.com (2603:10a6:208:fb::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7; Tue, 25 Jan 2022 15:09:40 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8c:cafe::68) by AM6PR10CA0104.outlook.office365.com (2603:10a6:209:8c::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15 via Frontend Transport; Tue, 25 Jan 2022 15:09:40 +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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7 via Frontend Transport; Tue, 25 Jan 2022 15:09:40 +0000 Received: ("Tessian outbound 31aeb3346a45:v113"); Tue, 25 Jan 2022 15:09:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0aacc08fbf5fbe91 X-CR-MTA-TID: 64aa7808 Received: from d1635c683cdd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 48B6C361-A5B0-4DB5-B593-CA1559244E7C.1; Tue, 25 Jan 2022 15:09:33 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d1635c683cdd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 25 Jan 2022 15:09:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l4ftz1MsRl5q8WOuMG1opdo/uzx3H+oljdPYlmkaKCrDU7yDQQGUanPVYsnifVHpucd+B/vRyS6c3PxDEBKQtKkUCiaDUmYgXmihelmZNdOOK8EF6mUH63B1S2OumKDJdQxHVfXiezfpuf/AF/bFTS4Coou3ro+kBlE6CyFwG99bhql7B0afJGfgehaMYWBjLNPa64fAG6VOyi7+GmLvIlXSAfD2bB3WKpV0Peer4SRBnwhoJ4aCdT21ZHL0rJC5NIJtHU7rrnw0G8/7mkb4t/HZEis9hSBSlZlX9RAYWXnuhPjuDIw9mmnTQsoGuYzWzblBFm3qb8peokpm/sKFXg== 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=fH0ALn0ZZEkKk6aYHX4zlG/XoTruJ/raCMCZnzswGO0=; b=KffeAxXfjNR4sRvpZtcWAorVtaleBNqM/DYkzI+uGDqf8pYhCc5MIFlIWVBXFO+XAVM+pQKJ9kouaWWTQQYLRpP5bLpJI3RCO57x9D7wpK46ywA3J/UhBL9UHyX3boB8QP5HAkXK4lGXRsTQraAvRJQ8/QSqV0fEogV46T042o9Wt77aQIg20GzD3Eauvy2G1gee/pvQ1rRUutKIM9lhlUXppoZQoerXKwoTqf/FjF/E+YxQhvfryvXi0rz2nv/1OYMUhWGLPvhKA+HjMq3Ip/JDqRDSdJyghUzG25CTlt3gXymN4hfILPTWa2JFTqLW6NSjz3oSDTB6SwV+VxO0Lw== 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=fH0ALn0ZZEkKk6aYHX4zlG/XoTruJ/raCMCZnzswGO0=; b=El3+nyGAvnSQu1CiawF33FzDDSN+omPChoC2LQd8NT1Rs9/CgHiMQbW1Zet4o4A7j2s308I5OCBzb+VlzGuxaRDVOV03eLP1ItLiaNJIfCMWM27fq6bwrEQtEbDEtjxxRMkVmbweKNJmwGVuMpxsBb05W3ID/K5vGaMZvcs0AgM= Received: from DB8PR06CA0040.eurprd06.prod.outlook.com (2603:10a6:10:120::14) by DB6PR0802MB2150.eurprd08.prod.outlook.com (2603:10a6:4:85::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.11; Tue, 25 Jan 2022 15:09:31 +0000 Received: from DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:120:cafe::12) by DB8PR06CA0040.outlook.office365.com (2603:10a6:10:120::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15 via Frontend Transport; Tue, 25 Jan 2022 15:09:31 +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; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT033.mail.protection.outlook.com (10.152.20.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4909.7 via Frontend Transport; Tue, 25 Jan 2022 15:09:31 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 15:09:26 +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.2308.20 via Frontend Transport; Tue, 25 Jan 2022 15:09:26 +0000 From: Joey Gouly To: CC: , , , , Subject: [PATCH v1 2/7] kselftest/arm64: mte: user_mem: add tests using tag_offset Date: Tue, 25 Jan 2022 15:09:15 +0000 Message-ID: <20220125150920.23955-3-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220125150920.23955-1-joey.gouly@arm.com> References: <20220125150920.23955-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: a5dc1bac-f256-4f5d-9be1-08d9e014b5d3 X-MS-TrafficTypeDiagnostic: DB6PR0802MB2150:EE_|AM5EUR03FT049:EE_|AM0PR08MB3748:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: DDo3Io+K9G0hYbFBRDII0/viBJ7zBy9W2BJtXtWUYJgCjz4NixLeKzU8We5xoEOgmllkAzoD0kOjmjQNqPxUfNzndBDFotB+tZ1pD1plLdktJr3/y5LC6RLvKCVDWbV4eCt0Ej+OMZmrh+qo+7A+xyB1ZbQloSCjuqokyobfM/qGfSE080NJ/sI2nj1XEcHiUudWofFa2Evpi/oQgQSoaNFQQCTq+bdv0k/pv2MlxLJ9kw+y9Tvo4uR4Voz4yKCyRFxZSEfQfqbWXNH6Q6nNAHVxhN3DsLbeJGgnDKRqQJWjjAlog/4FuKVk+bZ8ChgsCsijDJys2eX3A6E8WfA9y7lt7BQb8d9nLp6KvdweqyCLLuVnm6nc9OVp10nNgZCTdvp20OHCvFma8Q/B86iQE/0L1hc8ulAOWKWWbrpPt9RuBV0rfq+h7etD6epDu+5D2xewXMouTC1CabXOkpU2JmUnmB8/QBA1j9HcwtEJcTQym0o9fuiyXfa2qv4/FPF3y4o0ty2rWWlbF9dA4iGz3Q45teTNDCiU68OLWf28unRkk7erW7ESKs7dP4/7TysIv6+HSXAhQWw0dy3vdq/W5AeauzaQuO49Eegfa7yJBG71Hp61m8z9h8I3tVuGBGFe0lv3zFTrV2KpgMle2AYtffeoAhKoRFQJSU+l/iGXTtlyiYEYiMgYH7xkJvSBzviK+oC+PYdFnesStKMbkVPU5hwoIdFdEPkFfSj8okeIsTmj8k19JSTWYgpQqX8e9PwOG2kYTl4zOiTEJCLE3SDVOtUOW4AAS3Jd3Q19Jc90SQA= 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:(4636009)(40470700004)(36840700001)(46966006)(4326008)(36756003)(508600001)(82310400004)(86362001)(8936002)(6666004)(54906003)(7696005)(47076005)(70586007)(356005)(5660300002)(26005)(40460700003)(44832011)(81166007)(2906002)(8676002)(6916009)(2616005)(36860700001)(1076003)(186003)(426003)(70206006)(316002)(336012)(83380400001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2150 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b6230049-25e9-460a-58d5-08d9e014b09a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TR7JiA0eXK95hMqMTk1eOcjPkMsUfATXWjCtx/7hYmu2OJ3R1515FASLC+3DGqqiZj4Ni79emxVjdcCMP2/j+gc1ycAX13RXctDb+BCYALExpHdojWDOXDfzrJe6kWTd0EQrK0ulRhy5/qo5YzRs+NAUHXT1wNu0H/gUb4+7dICrJ2RhVVibfbrfn1vmZDxXMGYYfw8lhXYVeN/zgBcwWu4LCgfUOWLUK0Be8wjgzJdc/rmVMNJBCFBg2gYTCZwW9Ez75WUURh5WcCpjxmF3UOPVANW0vfQk2SXkTRJxUY4SrtofMX07qf/rcHEZB2pGrT/GFa4yY0y0X8PrM8c9MlCHcLeKv2h6FlqGg0eRUO7tQdMyMj3wCeub+OW1puNcVvnnetCt4dIMW4a0OzheRx//lvuiZbB18S2eitIleOlpQ3HN4Y//plOu5ZZK9b83ZF3eZJEkgf64z5pjn0BO/LOtr6tReY78l4mRsTRCYaLCEOa/Mm7PYr6xurXarLKJktV0oSgFlV6U/ufn1ioPakqYJLeFDKjI4tzmNHcRqnRSVTvFg0WBmxeMAJ0hyH9+gQ90WBun2HHMogMZIyyHpMaXrQ2K5/Yc5S/rmwM3/VPxPWe4KqX7DFueCkLkSdjuqXMuMqgE9JoBv9K/1lFXhQ9/gSuExbehYeylpOnSAxMmmqX0dB6PrVECETCexUSVH5EedDtiTArMjxfaJEvPtBAtyCesRoxrJQxumRJvNKyCFHen102+UxxeepE+f96beQ4MXW2NaiPq6kxhiOU+5w== 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:(4636009)(40470700004)(46966006)(36840700001)(36756003)(47076005)(7696005)(86362001)(6666004)(36860700001)(26005)(54906003)(107886003)(186003)(8936002)(5660300002)(1076003)(508600001)(82310400004)(70586007)(6916009)(44832011)(316002)(81166007)(83380400001)(40460700003)(2906002)(2616005)(70206006)(426003)(336012)(8676002)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2022 15:09:40.3678 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a5dc1bac-f256-4f5d-9be1-08d9e014b5d3 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: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3748 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220125_070945_950185_8F25F8B5 X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add some tests that place the different tag at MT_GRANULE_SIZE to check that less than a full page can also be read. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon --- .../selftests/arm64/mte/check_user_mem.c | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/tools/testing/selftests/arm64/mte/check_user_mem.c b/tools/testing/selftests/arm64/mte/check_user_mem.c index 3ad9d85ca9b7..d33b262ccdb0 100644 --- a/tools/testing/selftests/arm64/mte/check_user_mem.c +++ b/tools/testing/selftests/arm64/mte/check_user_mem.c @@ -84,8 +84,10 @@ static int check_usermem_access_fault_helper(int mem_type, int mode, int mapping return err; } -static int check_usermem_access_fault(int mem_type, int mode, int mapping) { - return check_usermem_access_fault_helper(mem_type, mode, mapping, page_sz, 0); +static int check_usermem_access_fault(int mem_type, int mode, int mapping, + int tag_offset) { + return check_usermem_access_fault_helper(mem_type, mode, mapping, + tag_offset, 0); } int main(int argc, char *argv[]) @@ -105,17 +107,27 @@ int main(int argc, char *argv[]) mte_register_signal(SIGSEGV, mte_default_handler); /* Set test plan */ - ksft_set_plan(4); - - evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE), - "Check memory access from kernel in sync mode, private mapping and mmap memory\n"); - evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED), - "Check memory access from kernel in sync mode, shared mapping and mmap memory\n"); - - evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE), - "Check memory access from kernel in async mode, private mapping and mmap memory\n"); - evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED), - "Check memory access from kernel in async mode, shared mapping and mmap memory\n"); + ksft_set_plan(8); + + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, page_sz), + "Check memory access from kernel in sync mode, private mapping and mmap memory (tag_offset: page_sz)\n"); + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, page_sz), + "Check memory access from kernel in sync mode, shared mapping and mmap memory (tag_offset: page_sz)\n"); + + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE, page_sz), + "Check memory access from kernel in async mode, private mapping and mmap memory (tag_offset: page_sz)\n"); + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED, page_sz), + "Check memory access from kernel in async mode, shared mapping and mmap memory (tag_offset: page_sz)\n"); + + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_PRIVATE, MT_GRANULE_SIZE), + "Check memory access from kernel in sync mode, private mapping and mmap memory (tag_offset: MT_GRANULE_SIZE)\n"); + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_SYNC_ERR, MAP_SHARED, MT_GRANULE_SIZE), + "Check memory access from kernel in sync mode, shared mapping and mmap memory (tag_offset: MT_GRANULE_SIZE)\n"); + + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_PRIVATE, MT_GRANULE_SIZE), + "Check memory access from kernel in async mode, private mapping and mmap memory (tag_offset: MT_GRANULE_SIZE)\n"); + evaluate_test(check_usermem_access_fault(USE_MMAP, MTE_ASYNC_ERR, MAP_SHARED, MT_GRANULE_SIZE), + "Check memory access from kernel in async mode, shared mapping and mmap memory (tag_offset: MT_GRANULE_SIZE)\n"); mte_restore_setup(); ksft_print_cnts();