From nobody Sat Apr 27 01:37:14 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55970+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55970+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=nvidia.com ARC-Seal: i=1; a=rsa-sha256; t=1584571856; cv=none; d=zohomail.com; s=zohoarc; b=jC3NTTVRvlhjFhLLXtKMpgdPencojRTQ+hCAhKRaikvYbrf3TPzuQQvQZohlug4LIUPTrJ2kGnEk8H34cC5qUFAkl7UDTxYOOEe9vphIasAGom5hjrP6VlaQ4G5l819ocEGS1xCw9jhiG2VlmPAoGzksFshWWC5nZgqyJLcsuCg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584571856; h=Content-Type:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=sOXqxvR8fVBNE+J4godZltfyi2nQlB8uUn00HYoEvh0=; b=KIoKy30XKuZ+y2QY908kuaQU/O7UxVv5KC+Xge8nJteeqve1sPsihV2SjVpQxMCRz+92LtpXy00qml5AzTnquHt7jdAy0mFeF9PhYwjXqdTTR5kpm3yy7buHiUzoUVBLVgU2nZ2EQJ+mGquEoswzKDu4tqxZyVPfUD6an6hpGpY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55970+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1584571856948448.41813377385404; Wed, 18 Mar 2020 15:50:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tIN9YY1788612xgiQxdjh8c8; Wed, 18 Mar 2020 15:50:56 -0700 X-Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by mx.groups.io with SMTP id smtpd.web11.1790.1584557153889623637 for ; Wed, 18 Mar 2020 11:45:54 -0700 X-Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 18 Mar 2020 11:45:04 -0700 X-Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 18 Mar 2020 11:45:53 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 18 Mar 2020 11:45:53 -0700 X-Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 18 Mar 2020 18:45:53 +0000 X-Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 18 Mar 2020 18:45:53 +0000 X-Received: from ashishsingha-lnx.nvidia.com (Not Verified[10.28.48.147]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 18 Mar 2020 11:45:53 -0700 From: Name To: , , CC: Ashish Singhal Subject: [edk2-devel] [PATCH] ArmPkg/ArmLib: Fix cache-invalidate initial page tables Date: Wed, 18 Mar 2020 12:45:39 -0600 Message-ID: <512a7c3c31e649633c3fab14d57dbb01f0e37291.1584555937.git.ashishsingha@nvidia.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,username@nvidia.com X-Gm-Message-State: sEvwAlfAt1v9jgW6HNt1MJuRx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1584571856; bh=j9MYQjVzTNMVfG71jjemFY1B8I7JEAJH7JGgFGoD4Xw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=P9AXR/c1wkz+rNiMt4K+fg+ihiC/Wdywrupvxa5itjCySuxLA5RhlP2hLka6ssmVU+S kc16RoQlgKPo+2rsR6LhoD4qmNwEpjivrXVXoHN8FyuCPrJFNuLh4QawYKFNJAz+aPj67 jPSmuwfAHZD7sPZAePDQoKDI3LrWC3nGkJo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Ashish Singhal Because of a bug, current EL gets passed to DC IVAC instruction instead of the VA entry that needs to be invalidated. Signed-off-by: Ashish Singhal --- ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S b/ArmPkg/Library= /ArmLib/AArch64/ArmLibSupport.S index f744cd6..ba0ec56 100644 --- a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S @@ -122,7 +122,7 @@ ASM_FUNC(ArmSetMAIR) ASM_FUNC(ArmUpdateTranslationTableEntry) dsb nshst lsr x1, x1, #12 - EL1_OR_EL2_OR_EL3(x0) + EL1_OR_EL2_OR_EL3(x2) 1: tlbi vaae1, x1 // TLB Invalidate VA , EL1 mrs x2, sctlr_el1 b 4f --=20 2.7.4 ---------------------------------------------------------------------------= -------- This email message is for the sole use of the intended recipient(s) and may= contain confidential information. Any unauthorized review, use, disclosure or dist= ribution is prohibited. If you are not the intended recipient, please contact the s= ender by reply email and destroy all copies of the original message. ---------------------------------------------------------------------------= -------- -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#55970): https://edk2.groups.io/g/devel/message/55970 Mute This Topic: https://groups.io/mt/72062196/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-