From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web10.49138.1674495979859078900 for ; Mon, 23 Jan 2023 09:46:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nHcgvxmd; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E04FFB80E1A for ; Mon, 23 Jan 2023 17:46:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84928C433EF for ; Mon, 23 Jan 2023 17:46:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674495976; bh=bPp0FTozEZz6ygl0VSJ3uA44ylVqT1UXEo8Oaju6S8g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nHcgvxmdzSZizq4Gm4z8OFmCKHBTSoIYdpqQoxn27BEDzDWzMHA2Uzg4M3due6284 QO6pmqZgNe2aEtxzvkJYw+42+iA+N7qX4lbCzAI6PMiC/tlnRa15C1SAYptDPMR+E1 dq1hd1keuWs5Ve57tfPssuiKAy+MTI2LZgkr+0Rq6/zqeILWta0iiVCxutOqGODAR8 PfMbz9ayQwOZoqUzyI59SPnhHdL6+M+zz1Ep3SvC6AgIkxhOV+qdSfzUhm1wq+vX+W UW0Dty25rtJJu0RPzbqp6UywSF/rBubKqCa+WMOyTXrKQ+DevuvEbkTJTMBH3s9AvX 29aACfHGpkCIA== Received: by mail-lf1-f46.google.com with SMTP id o20so19378490lfk.5 for ; Mon, 23 Jan 2023 09:46:16 -0800 (PST) X-Gm-Message-State: AFqh2koYaem1JE/ZotiT5D6uTPCDMFyt2hFuQGe/Yb8WclKxC5Pk1I6a hx+gYP3FP/vKdEaC5iqjEYTGL/N0Y5B7plj5keo= X-Google-Smtp-Source: AMrXdXtRlblszMmWITstM9SnY6mWi5+AtGokM70a4tR7h7jdbhjG3R6UFbCXlWgvNKqx0uUcowTwmHNxjH35IV2Uah8= X-Received: by 2002:a05:6512:3086:b0:4bc:bdf5:f163 with SMTP id z6-20020a056512308600b004bcbdf5f163mr1339310lfd.583.1674495974572; Mon, 23 Jan 2023 09:46:14 -0800 (PST) MIME-Version: 1.0 References: <173AEF7243293292.25137@groups.io> In-Reply-To: From: "Ard Biesheuvel" Date: Mon, 23 Jan 2023 18:46:03 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] StandaloneMmPkg/StandaloneMmMemLib: Update AARCH64 address size To: "Milosek, Damian" Cc: "devel@edk2.groups.io" , "sami.mujawar@arm.com" , "Yao, Jiewen" Content-Type: text/plain; charset="UTF-8" On Mon, 23 Jan 2023 at 17:14, Milosek, Damian wrote: > > > > -----Original Message----- > From: Ard Biesheuvel > Sent: Monday, January 23, 2023 5:05 PM > To: Milosek, Damian > Cc: devel@edk2.groups.io; sami.mujawar@arm.com; Yao, Jiewen > Subject: Re: [PATCH] StandaloneMmPkg/StandaloneMmMemLib: Update AARCH64 address size > > On Mon, 23 Jan 2023 at 16:51, Milosek, Damian wrote: > > > > > > > > > > > > From: devel@edk2.groups.io On Behalf Of > > Milosek, Damian > > Sent: Monday, January 16, 2023 2:51 PM > > To: devel@edk2.groups.io > > Cc: Milosek, Damian > > Subject: [edk2-devel] [PATCH] StandaloneMmPkg/StandaloneMmMemLib: > > Update AARCH64 address size > > > > > > > > Enable StandaloneMmMemLib to use longer physical addresses than 36 bits. > > > > What is the purpose of this change? > > - Making this Lib working for newer systems that use longer addresses. > What is the symptom? How is it failing currently? > > According to ARM "Learn the architecture - AArch64 memory management" > > > > since Armv8.2-A physical address size was extended to 52 bits. > > > > https://developer.arm.com/documentation/101811/0102/Address-spaces > > > > This is an optional extension. Which hardware are you using that implements this extension? > > - System with Armv9-A Neoverse CPU cores. > Which system? What does the memory map look like?