From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 45A9D940EF8 for ; Fri, 1 Mar 2024 01:29:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SZ1zyKZC8MOnamaFDu5IgfGlGjSANn8igYnn8Yu+JR0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1709256572; v=1; b=c189DGIZ2KUi8CeF6iMMe+oKGzhMnDsErcN/ztHAwuNZaI3XHRTzleHPxbp9F+KDEUtPTM1L HAp/6mIepuYgdi+GzecfdzSPsBltIlrok1HsZcpuSTXW77aXBDaHnnE/WoWyWrncFkY5V2zRe0t zypj2n5MkmPIU+km+6gmEc9A= X-Received: by 127.0.0.2 with SMTP id YTRLYY7687511xVNspOECPap; Thu, 29 Feb 2024 17:29:32 -0800 X-Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) by mx.groups.io with SMTP id smtpd.web11.12594.1709256572153003182 for ; Thu, 29 Feb 2024 17:29:32 -0800 X-Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-595b3644acbso1252691eaf.1 for ; Thu, 29 Feb 2024 17:29:32 -0800 (PST) X-Gm-Message-State: N95XCMKRizzuHnGJCNFbp3E5x7686176AA= X-Google-Smtp-Source: AGHT+IEz/LjIilH59B5Y/WH+b32Nmd1Ku7MLGhmuo6fbXXE2YuvIDUL6MiFGQ50EfaN/dw/TsTfkmQ== X-Received: by 2002:a05:6870:d14a:b0:21f:de99:1d90 with SMTP id f10-20020a056870d14a00b0021fde991d90mr98216oac.25.1709256571081; Thu, 29 Feb 2024 17:29:31 -0800 (PST) X-Received: from localhost.localdomain (c-98-210-194-104.hsd1.ca.comcast.net. [98.210.194.104]) by smtp.gmail.com with ESMTPSA id xa20-20020a0568707f1400b0021e7c192093sm755267oab.27.2024.02.29.17.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 17:29:30 -0800 (PST) From: "Tuan Phan" To: devel@edk2.groups.io Cc: michael.d.kinney@intel.com, gaoliming@byosoft.com.cn, zhiguang.liu@intel.com, kraxel@redhat.com, lersek@redhat.com, rahul1.kumar@intel.com, ray.ni@intel.com, sunilvl@ventanamicro.com, jiewen.yao@intel.com, andrei.warkentin@intel.com, ardb+tianocore@kernel.org, Tuan Phan Subject: [edk2-devel] [PATCH v3 0/3] RISC-V: Support Svpbmt extension Date: Thu, 29 Feb 2024 17:29:21 -0800 Message-Id: <20240301012924.16232-1-tphan@ventanamicro.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: 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,tphan@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=c189DGIZ; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This series adds support for RISC-V Svpbmt extension. The GCD EFI_MEMORY_UC and EFI_MEMORY_WC attributes will be mapped to IO and NC mode defined in PBMT field. v3: - Addressed Laszlo's comments. v2: - Generated patch for each package. Tuan Phan (3): MdePkg.dec: RISC-V: Define override bit for Svpbmt extension UefiCpuPkg: RISC-V: MMU: Support Svpbmt extension OvmfPkg/RiscVVirt: Disable Svpbmt extension MdePkg/MdePkg.dec | 2 + OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc | 2 +- .../Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | 101 +++++++++++++++--- .../BaseRiscVMmuLib/BaseRiscVMmuLib.inf | 1 + 4 files changed, 91 insertions(+), 15 deletions(-) -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116196): https://edk2.groups.io/g/devel/message/116196 Mute This Topic: https://groups.io/mt/104656464/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-