Message ID | 20230127114108.10025-8-joey.gouly@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 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 7C259C54EAA for <linux-arm-kernel@archiver.kernel.org>; Fri, 27 Jan 2023 12:22:42 +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=qmHPyzfiQ3UTIqGQd4fAF9brBkFxFnPUDGJVaSjCmBA=; b=l0gmnVnkAEi9Y+ siQpv/Np3TKX61zUqo9Wpt8z75s0D25KAb6vIQMUwdYoAjxsNAIebfw2eZ00LTnzJsikuaEKpSu2w 7y3mTu+jqJ4s7REvbS7c0+Ej8fZgj0elR6uKmspCuCjSBfUEwIui7M+sA9AR7FhV3U+FmoQIjOR+f S0juWOTmYJigOb7TyvdeMyQzrNco+pYlzu17x+mngBGGMqp7yz5RIUQ+/U0U1FIz7zeJsNZz3jql5 c4pYsC1wJftSRyG2vwsHlkr4CMdq4XJUnQVagqzqskeafSyHZVpdh7MZ9o59I1yZ7HVj934XdfCqI utU+XaEABIzrNUyugpbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLNj8-00EVkc-Ry; Fri, 27 Jan 2023 12:21:08 +0000 Received: from mail-db5eur01on0608.outbound.protection.outlook.com ([2a01:111:f400:fe02::608] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLN7V-00EDrB-Fv for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 11:42:15 +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=J0EaVl7U6Q2PCuIAajE8wsA6jxr+3lwL//SWR9QcSOM=; b=cjqlq1rZtMcDMTUZRxAc5QNL9pXbuUDa4EYv0HCchCavocC6A3e4pSvvYBgChcG8krMY+ahIomgJ3rZr9xSPej5OfbB8uHduhYLN8X3NRxwVNCt9SV3p88tclvjm4hpCApjpBz9YsUm9sy0PhaNcdDj+L0ekJDNjuCronUqXv/A= Received: from AS9PR05CA0134.eurprd05.prod.outlook.com (2603:10a6:20b:497::11) by DB3PR08MB9136.eurprd08.prod.outlook.com (2603:10a6:10:43c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Fri, 27 Jan 2023 11:42:08 +0000 Received: from AM7EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:497:cafe::c7) by AS9PR05CA0134.outlook.office365.com (2603:10a6:20b:497::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22 via Frontend Transport; Fri, 27 Jan 2023 11:42:08 +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 AM7EUR03FT035.mail.protection.outlook.com (100.127.141.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.21 via Frontend Transport; Fri, 27 Jan 2023 11:42:08 +0000 Received: ("Tessian outbound 3ad958cd7492:v132"); Fri, 27 Jan 2023 11:42:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 996d8be9c24d118f X-CR-MTA-TID: 64aa7808 Received: from f27dfe4e57cf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B2F886A4-2F3B-47B0-B71C-5A76E8E5CCC0.1; Fri, 27 Jan 2023 11:41:59 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f27dfe4e57cf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 27 Jan 2023 11:41:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OsFuiyLcOAjXuAc2Gk9lDrhLA7vrGNstQ8hhVcGsHS5NytUHPimmr4U7JLyPMPlP3STmO1lldTtv1PzTQU1zRqeD/tgpzZMgqVAFJnEV0wAj6pYXqwP7KhCikG8bhjaRWNZXN2lOUefXV4wzt0FwiQnF1lAjqX/p2LxgPzSIilExnjY9YuY9cHN3JPe1YUUN76EhWaSod02+8CkwyVjq3texIZomXhJuWKHKMGleQfiUkDY5X467nc6hi6GfmvXs6Mruvemdy4+NkD0mGekvJcBwxlYK0K7jDGosVzN5HCyAgj24IT2L0xB/p/1V4iiFe0O1C1Ihm5JXCh2wgbUsEg== 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=J0EaVl7U6Q2PCuIAajE8wsA6jxr+3lwL//SWR9QcSOM=; b=Tww42ACJ+XL1uLPNsPRvV3uKtGgPwbZrwoBfqmWyGnm7+GvoQZUiCN8Z9ZfbJNc00hv442hCF0we2EZQBR0gorPQtb9Xn9I81hSu8ekEcnmp+d28REKOrdYIn8s8+vn2cFVebLD4HNND6PiCFL4cS2DSRYXl9Oi8tCDSTqbSuaiO4tG4SAciVmMUj6YeALWd0ev+b4jA13kOIAz9665avJScpHsmPNHX1iTxDgkz0HmXaid4FaOMl8yijeDJus7CItXZK/969hAD7sR857X2jUNenPK3+5DTgJpcvBe4DyO+zcYVAcnyaaYMqjroZUCSOAxUBde5sQi9PFOoCvOiqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=linux.dev 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=J0EaVl7U6Q2PCuIAajE8wsA6jxr+3lwL//SWR9QcSOM=; b=cjqlq1rZtMcDMTUZRxAc5QNL9pXbuUDa4EYv0HCchCavocC6A3e4pSvvYBgChcG8krMY+ahIomgJ3rZr9xSPej5OfbB8uHduhYLN8X3NRxwVNCt9SV3p88tclvjm4hpCApjpBz9YsUm9sy0PhaNcdDj+L0ekJDNjuCronUqXv/A= Received: from AS9PR05CA0079.eurprd05.prod.outlook.com (2603:10a6:20b:499::19) by DU0PR08MB9797.eurprd08.prod.outlook.com (2603:10a6:10:446::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.23; Fri, 27 Jan 2023 11:41:56 +0000 Received: from AM7EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:499:cafe::cb) by AS9PR05CA0079.outlook.office365.com (2603:10a6:20b:499::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.23 via Frontend Transport; Fri, 27 Jan 2023 11:41: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 AM7EUR03FT011.mail.protection.outlook.com (100.127.140.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6043.22 via Frontend Transport; Fri, 27 Jan 2023 11:41:56 +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.2507.16; Fri, 27 Jan 2023 11:41:55 +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.16 via Frontend Transport; Fri, 27 Jan 2023 11:41:50 +0000 From: Joey Gouly <joey.gouly@arm.com> To: Andrew Jones <andrew.jones@linux.dev>, <kvmarm@lists.linux.dev>, <kvm@vger.kernel.org> CC: <joey.gouly@arm.com>, Alexandru Elisei <alexandru.elisei@arm.com>, Christoffer Dall <christoffer.dall@arm.com>, Fuad Tabba <tabba@google.com>, Jean-Philippe Brucker <jean-philippe@linaro.org>, Joey Gouly <Joey.Gouly@arm.com>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Oliver Upton <oliver.upton@linux.dev>, Paolo Bonzini <pbonzini@redhat.com>, Quentin Perret <qperret@google.com>, Steven Price <steven.price@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, "Thomas Huth" <thuth@redhat.com>, Will Deacon <will@kernel.org>, Zenghui Yu <yuzenghui@huawei.com>, <linux-coco@lists.linux.dev>, <kvmarm@lists.cs.columbia.edu>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [RFC kvm-unit-tests 07/27] arm: realm: Make uart available before MMU is enabled Date: Fri, 27 Jan 2023 11:40:48 +0000 Message-ID: <20230127114108.10025-8-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230127114108.10025-1-joey.gouly@arm.com> References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20230127114108.10025-1-joey.gouly@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT011:EE_|DU0PR08MB9797:EE_|AM7EUR03FT035:EE_|DB3PR08MB9136:EE_ X-MS-Office365-Filtering-Correlation-Id: eedea81f-9ca1-4b8a-ba22-08db005b855f 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: Tvq4CII9rffgM6JmDFn9otSRzZulxa51tR8cXthwkUoTaT5Pkf/PylpIs8UfcsN4LC3NQ1YWmJeLBfNkpfZjc5xDw4593sXWPxrvDiONMpKqp44AqgIQw1HbKWIEURf8SZ8P/gnCPbjWAPDU4jsPa2SiD0g/rBVgAHxLaJyTk1w53AccUlvYrlWMwV7EctqdjXn4GrkuvCWxcg6lerPs0gqxcMWeqRjX+BR6UxpMG/yazshjzZYc3mnH82OJLt/DI8I4XL8147GqfIDOiDI6XEjeuyUvERoBO7htyc0lr9Ej9X7IeFUDFFBV0p5aqouLARjdqN7GaqDORurQJQC0zl9CRavHWCk+s27ur7MoTEaECnVWJdb5JPmJe1uEBsXo8IrXZXDEcRTqWt450zshd+eA1eJz8vhqQ0/iY97+QHjy8M4jZmhL+9cHsoMaTpR+7F80QWsAxw8V9ChsCl2JGZbUBg5iSCDDXh9VRrTj5wTY77dNQiPsWPMCO9br4Ofi/U6535SoYDqssN4BRdkF/U4R06vOfaazhn6fN4m5HXcjJG3GzsXZP72pi8qVWTYkt89xSMNke9X2dmz2SyRVQLJCo/OwoOjUdlGCl7JLqYQuoENCPDR4I2x6Jt0yKNAanlxjKAwoSu75C+Le980yRE3aXjmTvD1qFdn40owd0/9qjGlLougxxLylpwy/9ePjStmDwmJjmuxtDgYD2g4wlN8V5qVnCU8RBu/Oyb1nRGciSmnAUS+FTucfkJrYI74r 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:(13230025)(4636009)(396003)(376002)(346002)(39860400002)(136003)(451199018)(40470700004)(46966006)(36840700001)(70206006)(4326008)(70586007)(41300700001)(8676002)(83380400001)(54906003)(8936002)(316002)(5660300002)(82740400003)(110136005)(2906002)(81166007)(44832011)(36756003)(40460700003)(40480700001)(356005)(7416002)(36860700001)(47076005)(426003)(7696005)(336012)(478600001)(86362001)(1076003)(26005)(82310400005)(186003)(2616005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9797 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2ac69784-e906-45bb-db95-08db005b7e5d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6Ry2eAFL+q/IxddEJniTkJZxp799sCN3U5/SP50piqy0A55eugoow0m7/qsIituOSe7vEmOhVOa3lwohBu2cx42fiWBzbVk37vd+egRid/xMfupFsKgHg230ixiSXj0cgYYU6hXyWxPceq9YX9luJAfp3sdgGNJMi0vnscm+qirZWpowyvNXNhYZ3e7hxKTk2a1vG0rEqPYweVp+Lh/NWdxn8FZ+RyC/Jays67zboZ2q666LpTZXrltTOydSfk/DUviux/PANvVEfdCjRQnM5kbOYMhenTedKL+iEDsv3HcUqBvmmu2DOnL24dIggfkaPEEm9TLg+YYCf/erM+TwLvMStQLwpaXIDLkW0JZwAnW4dFbw7ca0R7RygS7x1bngT2Be9LMiriuc4E2unRajQ0RZe6CQlqPG6dVADPuCODNcHVd2QDFK0iihq7mH5QLs7ZB8n+yDU3GJUFgY0t88/A5L7CyepWe9opnDaSWhIECHFo/jpY+GP/ruKaLxekKWZTBnTB40MVAuq9L6ijles9mVJesWKO8/BZ/xMq7t7GLXSmhV9FypA9Q3utejMWw6ELVVmRxEeqDcc59MZfpVVwkvy110bI8RDWo87KRw5qOP1WADJkVZn84hX/11Yqc+lV68+Mp70HZO/ey62vJuRIqUQIdcHxHCBwySAU8HL69qifaPV5TCv9m4FfW4PAbh2D2W81u99fJhWVYIkhyQL/7dpnkI7POCeIntw7sJ0Og= 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:(13230025)(4636009)(136003)(396003)(376002)(39860400002)(346002)(451199018)(36840700001)(40470700004)(46966006)(8936002)(4326008)(47076005)(41300700001)(5660300002)(2906002)(336012)(478600001)(8676002)(1076003)(186003)(86362001)(316002)(26005)(54906003)(2616005)(83380400001)(36860700001)(36756003)(40480700001)(107886003)(44832011)(82310400005)(70586007)(426003)(82740400003)(7696005)(40460700003)(110136005)(70206006)(81166007)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2023 11:42:08.2099 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eedea81f-9ca1-4b8a-ba22-08db005b855f 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: AM7EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB9136 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_034213_602624_EC89025A X-CRM114-Status: GOOD ( 17.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[RFC,kvm-unit-tests,01/27] lib/string: include stddef.h for size_t
|
expand
|
diff --git a/lib/arm/io.c b/lib/arm/io.c index 343e1082..f7c6c771 100644 --- a/lib/arm/io.c +++ b/lib/arm/io.c @@ -15,6 +15,8 @@ #include <asm/psci.h> #include <asm/spinlock.h> #include <asm/io.h> +#include <asm/mmu-api.h> +#include <asm/pgtable.h> #include "io.h" @@ -29,6 +31,24 @@ static struct spinlock uart_lock; #define UART_EARLY_BASE (u8 *)(unsigned long)CONFIG_UART_EARLY_BASE static volatile u8 *uart0_base = UART_EARLY_BASE; +static inline volatile u8 *get_uart_base(void) +{ + /* + * The address of the UART base may be different + * based on whether we are running with/without + * MMU enabled. + * + * For realms, we must force to use the shared physical + * alias with MMU disabled, to make sure the I/O can + * be emulated. + * When the MMU is turned ON, the mappings are created + * appropriately. + */ + if (mmu_enabled()) + return uart0_base; + return (u8 *)arm_shared_phys_alias((void *)uart0_base); +} + static void uart0_init(void) { /* @@ -81,9 +101,11 @@ void io_init(void) void puts(const char *s) { + volatile u8 *uart_base = get_uart_base(); + spin_lock(&uart_lock); while (*s) - writeb(*s++, uart0_base); + writeb(*s++, uart_base); spin_unlock(&uart_lock); } diff --git a/lib/arm64/asm/pgtable.h b/lib/arm64/asm/pgtable.h index 5b9f40b0..871c03e9 100644 --- a/lib/arm64/asm/pgtable.h +++ b/lib/arm64/asm/pgtable.h @@ -28,6 +28,11 @@ extern unsigned long prot_ns_shared; */ #define PTE_NS_SHARED (prot_ns_shared) +static inline unsigned long arm_shared_phys_alias(void *addr) +{ + return ((unsigned long)addr | PTE_NS_SHARED); +} + /* * Highest possible physical address supported. */
A Realm must access any emulated I/O mappings with the PTE_NS_SHARED bit set. This is modelled as a PTE attribute, but is actually part of the address. So, when MMU is disabled, the "physical address" must reflect this bit set. We access the UART early before the MMU is enabled. So, make sure the UART is accessed always with the bit set. Signed-off-by: Joey Gouly <joey.gouly@arm.com> --- lib/arm/io.c | 24 +++++++++++++++++++++++- lib/arm64/asm/pgtable.h | 5 +++++ 2 files changed, 28 insertions(+), 1 deletion(-)